Hi,
I have a SQL Statement with some joins and grouping applied. I also have a Count() column. This is what the resulting data looks like:
+----------------+-----------------+----------------+ | EMPLOYEEID | REQTYPE | SHORT (count) | +----------------+-----------------+----------------+ | 1 | 5 | 0 | +----------------+-----------------+----------------+ | 2 | 5 | 0 | +----------------+-----------------+----------------+ | 2 | 7 | 1 | +----------------+-----------------+----------------+
I want to group (again) by EmployeeId (the query above is already grouped by EmployeeId once). Is this possible in the same query, or should I use a subquery?
Update: I want to remove the REQTYPE and have a SUM of SHORT for EMPLOYEEID