RE: Can GROUP BY and ORDERED BY used in a single query...
GROUP BY and ORDER BY can be used in the same query and it is NOT required that they be the same column. GROUP BY controls the way the data is organized for sumarization. ORDER BY simply sorts the rows of the result. The following is legal: