sort data so that most frequent name appears last

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

please tell me how do i sort data in which the most frequent name appears
last in the datasheet
 
please tell me how do i sort data in which the most frequent name appears
last in the datasheet
Example:

SELECT last_name, COUNT(last_name) AS [last_name count]
FROM Persons
GROUP BY last_name
ORDER BY COUNT(last_name);
 
Back
Top