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
List all the names of the events!
assistant
SELECT name FROM event;
human
Show many attended each one!
assistant
SELECT name , event_attendance FROM event;
human
What is the average event _attendance?
assistant
SELECT AVG ( event_attendance ) FROM event ;