I have a query where I am trying to count errors from two different fields. The Error Type field should count everything, but the order number field should only count unique order numbers. Right now the fields are coming out the same. Can anyone offer me any advice? Thanks in advance.
My SQL Statement as of right now is:
SELECT SWErrors.[Picker Id], Count(SWErrors.[Error Type]) AS [CountOfError Type], Count(SWErrors.[Order Number]) AS OrderErrors
FROM SWErrors
GROUP BY SWErrors.[Picker Id];
My SQL Statement as of right now is:
SELECT SWErrors.[Picker Id], Count(SWErrors.[Error Type]) AS [CountOfError Type], Count(SWErrors.[Order Number]) AS OrderErrors
FROM SWErrors
GROUP BY SWErrors.[Picker Id];