littlenicky
New member
- Local time
- Today, 19:24
- Joined
- May 20, 2003
- Messages
- 7
Let's say I have in my database teachers, each one has one subject, and I want to find the most common subject... How do I do this with SQL?
SELECT MAX(*)
FROM Teachers
GROUP BY Subject
??????
SELECT MAX(*)
FROM Teachers
GROUP BY Subject
??????