programming faqs interview questions tech technical educational freshers guide preparation interviews hr telephonic
try another color:
try another fontsize: 60% 70% 80% 90%
Programming FAQs

How to get the students who are in more than one group mysql

Using aggregate function and

Using aggregate function and group by , Having clause you can get the students who are in more than one group

SQL

SELECT
COUNT(*) AS cnt,student_id
FROM
student_groups
GROUP BY
student_id HAVING COUNT(*)>1