A
A.Select c#, COUNT(s#) from SC GROUP BY c# WHERE count(s#)>3
B
B.Select c#, COUNT(s#) from SC GROUP BY c# WHERE count(s#)>=3
C
C.Select s#, COUNT(s#) from SC GROUP BY s# HAVING count(s#)>3
D
D.Select c#, COUNT(s#) from SC GROUP BY c# HAVING count(s#)>3