hello
I have one table with 14 rows (employee information including an employee nr)
in a second large table I have raw data containing
example view (this table have 600 rows)
A is employee nr B is order nr C is time used
....A.................B................C....................D...........E...........................F.............G
13993.........156 019......2,43...........TIMER.........0..................Z569KAA..Planlagt
12651.........395 122......1,2..............TIMER........0..................Z569PON..Startet
12661.........395 122.....1,08............TIMER.........0..................Z569PON..Startet
13547.........395 122.....0,57............TIMER.........0..................Z569PON..Startet
12657.........416 091.....-2,8..............QTY............2,8..............Z569HH......Avrapportert
12657.........416 091.....-0,9..............QTY............0,9..............Z569HH......Avrapportert
12651.........438 554......0,8..............TIMER........0.................Z569PON....Avrapportert
12651.........438 554......0,6..............TIMER........0..................Z569PON...Avrapportert
12651.........438 554.....0,45............TIMER.........0.................Z569PON....Avrapportert
12649.........456 267.....2,34............TIMER.........0.................Z569ARJ.....Avrapportert
12649.........456 267......0,93...........TIMER.........0.................Z569ARJ.....Avrapportert
12649.........462 211......3,85...........TIMER.........0.................Z569TNA......Avrapportert
I want to be able to find all the orders connected with each of the employees and for each ordernumber I want to sum the hours spent on them. I would like this to be returned as a row underneath each employee.
Bookmarks