You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- You are given one table ‘Students’ which consists of Id,Name and Birthdate of students. Write an SQL query to find for each date the number of students having their birthday on that day and their names (seperated by commas). Also the Dates should be ordered in ascending order.
SELECT GROUP_CONCAT(Name) as Names
FROM Students
GROUP BY BirthDate
-- REMARKS : GROUP_CONCAT() --> new function learnt and implemented.