instruction: What are names of patients who made an appointment, and count them by a bar chart, I want to rank by the Y in desc.
response: SELECT Name, COUNT(Name) FROM Appointment AS T1 JOIN Patient AS T2 ON T1.Patient = T2.SSN GROUP BY Name ORDER BY COUNT(Name) DESC