I\'m (thoroughly) learning SQL at the moment and came across the GROUP BYclause.
GROUP BY
GROUP BY aggregates or groups the resultset according to t
Group by can used in Two way Majorly 1)in conjunction with SQL aggregation functions 2)to eliminate duplicate rows from a result set
SO answer to your question lies in second part of USEs above described.