I am trying to write a SQL statement that returns a record with the minimum count value for a table<br><br>Select student_no, count(*)<br> from class<br> group by student_no<br> having count(*) = <br><br>(Select min(count(*))<br> from class<br> group by student_no);<br><br>Access doesn't seem to like the aggregate nested within the aggregate but I think this is valid SQL in other systems. Any ideas on how to do this? Thanks.<br><br>