human
Schema:
event (Event_ID, Date, Venue, Name, Event_Attendance)
journalist (journalist_ID, Name, Nationality, Age, Years_working)
news_report (journalist_ID, Event_ID, Work_Type)
Please answer with SQL.
assistant
Sure, I understand.
human
Show me every journalists name and nationality.
assistant
SELECT name , nationality FROM journalist;
human
How many different nationalities are there?
assistant
SELECT COUNT( distinct Nationality ) FROM journalist;
human
What are they?
assistant
SELECT distinct Nationality FROM journalist;
human
Of which one, are the most journalist?
assistant
SELECT Nationality FROM journalist GROUP BY Nationality ORDER BY COUNT( * ) DESC LIMIT 1 ;