B
bvdahl
Hello,
I have a table where I have a ton of entries for each employee in my
company. To simplify, we can say the table consits of two columns: emplyee_id
and amount. Obviously, grouping the data by employee_id is easy, but I need
to add a little twist.
I want to divide the data into batches of 100 for each employee so that the
query groups by not only employee_id, but returns one row for each group of
100 entries.
Any way of doing this?
Thx in advance
I have a table where I have a ton of entries for each employee in my
company. To simplify, we can say the table consits of two columns: emplyee_id
and amount. Obviously, grouping the data by employee_id is easy, but I need
to add a little twist.
I want to divide the data into batches of 100 for each employee so that the
query groups by not only employee_id, but returns one row for each group of
100 entries.
Any way of doing this?
Thx in advance