You are asking about and aggregate query:
Code:SELECT patient, COUNT(*) FROM appointment GROUP BY patient ORDER BY 1;
|
Results 1 to 2 of 2
Thread: selecting row countsThreaded View
|
Click Here to Expand Forum to Full Width |