aherntech/sparc huggingface dataset:
Database: customers_card_transactions
Question sequence:
What information can you provide for the customer Art Turcotte?
What is his phone number?
How many cards does he have?
SQL query sequence:
SELECT * FROM Customers WHERE customer_first_name  =  "Art" AND customer_last_name  =  "Turcotte"
SELECT customer_phone FROM Customers WHERE customer_first_name  =  "Art" AND customer_last_name  =  "Turcotte"
SELECT count(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  "Art" AND T2.customer_last_name  =  "Turcotte"
Final question: How many cards does customer Art Turcotte have?
Final SQL: SELECT count(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  "Art" AND T2.customer_last_name  =  "Turcotte"
Database: local_govt_in_alabama
Question sequence:
List all the event ids with the type code being "Death Proof".
What about 'Marriage'?
What are the event details of them?
SQL query sequence:
SELECT T1.event_id FROM EVENTS AS T1 JOIN Services AS T2 ON T1.Service_ID  =  T2.Service_ID WHERE T2.Service_Type_Code  =  'Death Proof'
SELECT T1.event_id FROM EVENTS AS T1 JOIN Services AS T2 ON T1.Service_ID  =  T2.Service_ID WHERE T2.Service_Type_Code  =  'Marriage'
SELECT T1.event_details FROM EVENTS AS T1 JOIN Services AS T2 ON T1.Service_ID  =  T2.Service_ID WHERE T2.Service_Type_Code  =  'Marriage'
Final question: what are the event details of the services that have the type code 'Marriage'?
Final SQL: SELECT T1.event_details FROM EVENTS AS T1 JOIN Services AS T2 ON T1.Service_ID  =  T2.Service_ID WHERE T2.Service_Type_Code  =  'Marriage'
Database: local_govt_in_alabama
Question sequence:
How many participants are there for event 3?
How many events have 3 participants, list the event id and details.
What about more than one participants?
SQL query sequence:
SELECT count(*) FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID  =  T2.Event_ID where T1.event_id = 3
SELECT T1.event_id ,  T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID  =  T2.Event_ID GROUP BY T1.Event_ID HAVING count(*)  = 3
SELECT T1.event_id ,  T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID  =  T2.Event_ID GROUP BY T1.Event_ID HAVING count(*)  >  1
Final question: What are the ids and details of events that have more than one participants?
Final SQL: SELECT T1.event_id ,  T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID  =  T2.Event_ID GROUP BY T1.Event_ID HAVING count(*)  >  1
Database: local_govt_in_alabama
Question sequence:
List all the events that participant 66 has joined.
How many events are there?
Show how many events for each participant that one has attended, keep the participant id, type and the count.
SQL query sequence:
SELECT * FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID WHERE T2.PARTICIPANT_ID = 66
SELECT count(*) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID WHERE T2.PARTICIPANT_ID = 66
SELECT T1.Participant_ID ,  T1.Participant_Type_Code ,  count(*) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID GROUP BY T1.Participant_ID
Final question: How many events have each participants attended? List the participant id, type and the number.
Final SQL: SELECT T1.Participant_ID ,  T1.Participant_Type_Code ,  count(*) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID GROUP BY T1.Participant_ID
Database: local_govt_in_alabama
Question sequence:
Show all the information about participants.
What are the participant ids, type code and details about them?
SQL query sequence:
SELECT * FROM  Participants
SELECT Participant_ID ,  Participant_Type_Code ,  Participant_Details FROM  Participants
Final question: What are all the the participant ids, type code and details?
Final SQL: SELECT Participant_ID ,  Participant_Type_Code ,  Participant_Details FROM  Participants
Database: local_govt_in_alabama
Question sequence:
How many unique participant types are there?
How many people are with the type 'Participant'?
What about 'Organizer'?
SQL query sequence:
SELECT count(distinct participant_type_code) FROM participants
SELECT count(*) FROM participants WHERE participant_type_code  =  'Participant'
SELECT count(*) FROM participants WHERE participant_type_code  =  'Organizer'
Final question: How many participants belong to the type 'Organizer'?
Final SQL: SELECT count(*) FROM participants WHERE participant_type_code  =  'Organizer'
Database: local_govt_in_alabama
Question sequence:
How many service type codes are there?
Order them in alphabetical order.
SQL query sequence:
SELECT count(service_type_code) FROM services
SELECT service_type_code FROM services ORDER BY service_type_code
Final question: List the type of the services in alphabetical order.
Final SQL: SELECT service_type_code FROM services ORDER BY service_type_code
Database: local_govt_in_alabama
Question sequence:
List all the information about events.
Only keep service id and details.
SQL query sequence:
SELECT * FROM EVENTS
SELECT service_id ,  event_details FROM EVENTS
Final question: List the service id and details for the events.
Final SQL: SELECT service_id ,  event_details FROM EVENTS
Database: local_govt_in_alabama
Question sequence:
How many events are there in total?
Among those, which of them had participants whose details had the substring 'Miss'
What about 'Dr.'?
How many are there in total?
SQL query sequence:
SELECT count(*) FROM participants
SELECT * FROM participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID WHERE T1.participant_details LIKE '%Miss%'
SELECT * FROM participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID WHERE T1.participant_details LIKE '%Dr.%'
SELECT count(*) FROM participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID WHERE T1.participant_details LIKE '%Dr.%'
Final question: How many events had participants whose details had the substring 'Dr.'
Final SQL: SELECT count(*) FROM participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID WHERE T1.participant_details LIKE '%Dr.%'
Database: local_govt_in_alabama
Question sequence:
List all the participant types.
How many unique participant types are there?
Among those which one is the most popular one?
SQL query sequence:
SELECT participant_type_code FROM participants
SELECT count(DISTINCT participant_type_code) FROM participants
SELECT participant_type_code FROM participants GROUP BY participant_type_code ORDER BY count(*) DESC LIMIT 1
Final question: What is the most common participant type?
Final SQL: SELECT participant_type_code FROM participants GROUP BY participant_type_code ORDER BY count(*) DESC LIMIT 1
Database: local_govt_in_alabama
Question sequence:
Count the number of participants for each event.
Among those, which event id has the least participants?
What service id is it?
Also list the service type of it.
SQL query sequence:
SELECT event_id,count(*) FROM Participants_in_Events group by event_id
SELECT event_id FROM Participants_in_Events group by event_id order by count(*) asc limit 1
SELECT service_id FROM Events where event_id = (SELECT event_id FROM Participants_in_Events group by event_id order by count(*) asc limit 1)
SELECT T3.service_id ,  T4.Service_Type_Code FROM participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID JOIN EVENTS AS T3 ON T2.Event_ID   =  T3.Event_ID JOIN services AS T4 ON T3.service_id  =  T4.service_id GROUP BY T3.service_id ORDER BY count(*) ASC LIMIT 1
Final question: Which service id and type has the least number of participants?
Final SQL: SELECT T3.service_id ,  T4.Service_Type_Code FROM participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID JOIN EVENTS AS T3 ON T2.Event_ID   =  T3.Event_ID JOIN services AS T4 ON T3.service_id  =  T4.service_id GROUP BY T3.service_id ORDER BY count(*) ASC LIMIT 1
Database: local_govt_in_alabama
Question sequence:
Count the number of participants for each event.
Among those, which event id has the least participants?
What about the one that has the mose participants?
SQL query sequence:
SELECT event_id,count(*) FROM Participants_in_Events group by event_id
SELECT event_id FROM Participants_in_Events group by event_id order by count(*) ASC limit 1
SELECT Event_ID FROM Participants_in_Events GROUP BY Event_ID ORDER BY count(*) DESC LIMIT 1
Final question: What is the id of the event with the most participants?
Final SQL: SELECT Event_ID FROM Participants_in_Events GROUP BY Event_ID ORDER BY count(*) DESC LIMIT 1
Database: local_govt_in_alabama
Question sequence:
How many events are there?
List the events that have participant details with 'Lupe Deckow'?
What about the ones with 'Kenyatta Kuhn'?
Show the id of the events where the above participants did not participate.
SQL query sequence:
SELECT count(*) FROM EVENTS
SELECT * FROM Participants where participant_details = 'Lupe Deckow'
SELECT * FROM Participants where participant_details = 'Kenyatta Kuhn'
SELECT event_id FROM EVENTS EXCEPT SELECT T1.event_id FROM Participants_in_Events AS T1 JOIN Participants AS T2 ON T1.Participant_ID  =  T2.Participant_ID WHERE Participant_Details  =  'Kenyatta Kuhn'
Final question: Which events id does not have any participant with detail 'Kenyatta Kuhn'?
Final SQL: SELECT event_id FROM EVENTS EXCEPT SELECT T1.event_id FROM Participants_in_Events AS T1 JOIN Participants AS T2 ON T1.Participant_ID  =  T2.Participant_ID WHERE Participant_Details  =  'Kenyatta Kuhn'
Database: local_govt_in_alabama
Question sequence:
List all the service types.
Which service code has successful details?
Then which has both successful and failure event details?
SQL query sequence:
SELECT service_type_code FROM Services
SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id  =  T2.service_id WHERE T2.event_details  =  'Success'
SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id  =  T2.service_id WHERE T2.event_details  =  'Success' INTERSECT SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id  =  T2.service_id WHERE T2.event_details  =  'Fail'
Final question: Which services type had both successful and failure event details?
Final SQL: SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id  =  T2.service_id WHERE T2.event_details  =  'Success' INTERSECT SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id  =  T2.service_id WHERE T2.event_details  =  'Fail'
Database: local_govt_in_alabama
Question sequence:
How many events are there?
List all the event ids.
Show all the event information if the event has someone participated.
How about nobody has participated?
How many are there?
SQL query sequence:
SELECT count(*) FROM EVENTS
SELECT event_id FROM Participants_in_Events
SELECT * FROM EVENTS WHERE event_id IN (SELECT event_id FROM Participants_in_Events)
SELECT * FROM EVENTS WHERE event_id NOT IN (SELECT event_id FROM Participants_in_Events)
SELECT count(*) FROM EVENTS WHERE event_id NOT IN (SELECT event_id FROM Participants_in_Events)
Final question: How many events did not have any participants?
Final SQL: SELECT count(*) FROM EVENTS WHERE event_id NOT IN (SELECT event_id FROM Participants_in_Events)
Database: body_builder
Question sequence:
Show all body builder information.
Then how many are there?
SQL query sequence:
SELECT * FROM body_builder
SELECT count(*) FROM body_builder
Final question: How many body builders are there?
Final SQL: SELECT count(*) FROM body_builder
Database: body_builder
Question sequence:
What are the total scores for each body builder?
How do you order them in ascending order?
SQL query sequence:
SELECT Total FROM body_builder
SELECT Total FROM body_builder ORDER BY Total ASC
Final question: List the total scores of body builders in ascending order.
Final SQL: SELECT Total FROM body_builder ORDER BY Total ASC
Database: body_builder
Question sequence:
What are the snatch scores of each body builder?
What are the snatch score and clean jerk score of each body_builder?
Order the results in ascending order of snatch score.
SQL query sequence:
SELECT Snatch FROM body_builder
SELECT Snatch ,  Clean_Jerk FROM body_builder
SELECT Snatch ,  Clean_Jerk FROM body_builder ORDER BY Snatch ASC
Final question: List the snatch score and clean jerk score of body builders in ascending order of snatch score.
Final SQL: SELECT Snatch ,  Clean_Jerk FROM body_builder ORDER BY Snatch ASC
Database: body_builder
Question sequence:
What is the snatch score of each body builder?
What is the minimum value of the them?
What about the mean value?
SQL query sequence:
SELECT Snatch FROM body_builder
SELECT min(Snatch) FROM body_builder
SELECT avg(Snatch) FROM body_builder
Final question: What is the average snatch score of body builders?
Final SQL: SELECT avg(Snatch) FROM body_builder
Database: body_builder
Question sequence:
What are all the information about the body builders?
Which have the top three total score?
What about top one?
Show the clean and jerk score of it.
SQL query sequence:
SELECT * FROM body_builder
SELECT * FROM body_builder ORDER BY Total DESC LIMIT 3
SELECT * FROM body_builder ORDER BY Total DESC LIMIT 1
SELECT Clean_Jerk FROM body_builder ORDER BY Total DESC LIMIT 1
Final question: What are the clean and jerk score of the body builder with the highest total score?
Final SQL: SELECT Clean_Jerk FROM body_builder ORDER BY Total DESC LIMIT 1
Database: body_builder
Question sequence:
Show everything about the people.
What are the birthdays?
Order the results in descending order of height.
What about ascending order?
SQL query sequence:
SELECT * FROM People
SELECT Birth_Date FROM People
SELECT Birth_Date FROM People ORDER BY Height DESC
SELECT Birth_Date FROM People ORDER BY Height ASC
Final question: What are the birthdays of people in ascending order of height?
Final SQL: SELECT Birth_Date FROM People ORDER BY Height ASC
Database: body_builder
Question sequence:
What are the names of all the people?
How many are there?
Show the names of body builders.
SQL query sequence:
SELECT Name FROM people
SELECT count(Name) FROM people
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID
Final question: What are the names of body builders?
Final SQL: SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID
Database: body_builder
Question sequence:
What are the names of all the people?
Show the names of body builders.
Among those, which total score is higher than 200?
What about higher than 300?
SQL query sequence:
SELECT Name FROM people
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Total  >  200
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Total  >  300
Final question: What are the names of body builders whose total score is higher than 300?
Final SQL: SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Total  >  300
Database: body_builder
Question sequence:
What are the names of all the people?
Show the names of body builders.
Show the names of them which has the greatest body weight.
SQL query sequence:
SELECT Name FROM people
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Weight DESC LIMIT 1
Final question: What is the name of the body builder with the greatest body weight?
Final SQL: SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Weight DESC LIMIT 1
Database: body_builder
Question sequence:
Show the information of all the people.
Show the Birth Date and Birth Place about each one.
What about the body builders?
Among those, show the three which have the highest total points?
What about the highest total point?
SQL query sequence:
SELECT * from people
SELECT Birth_Date, Birth_Place from people
SELECT T2.Birth_Date ,  T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID
SELECT T2.Birth_Date ,  T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Total DESC LIMIT 3
SELECT T2.Birth_Date ,  T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Total DESC LIMIT 1
Final question: What are the birth date and birth place of the body builder with the highest total points?
Final SQL: SELECT T2.Birth_Date ,  T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Total DESC LIMIT 1
Database: body_builder
Question sequence:
What are the heights of the people?
What is the average?
What are the heights of the body builders?
For those results, which ones have weight larger than 91.0?
What about the total score is smaller than 315?
SQL query sequence:
SELECT Height FROM people
SELECT avg(Height) FROM people
SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID
SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Weight  >  91.0
SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Total  <  315
Final question: What are the heights of body builders with total score smaller than 315?
Final SQL: SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Total  <  315
Database: body_builder
Question sequence:
What are the total scores of body builder?
How about the average value of those scores?
What are the average scores of those results where the people weight is larger than 100.0?
What about the people height larger than 200?
SQL query sequence:
SELECT Total FROM body_builder
SELECT avg(Total) FROM body_builder
SELECT avg(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Weight  >  100.0
SELECT avg(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Height  >  200
Final question: What is the average total score of body builders with height bigger than 200?
Final SQL: SELECT avg(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Height  >  200
Database: body_builder
Question sequence:
What are the names of body builders?
List these results in ascending order by the weight.
Now list them in descending order by the total score.
SQL query sequence:
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Weight ASC
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Total DESC
Final question: What are the names of body builders in descending order of total scores?
Final SQL: SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Total DESC
Database: body_builder
Question sequence:
What are the birth places?
How many people in each birth place?
SQL query sequence:
SELECT Birth_Place FROM people
SELECT Birth_Place, COUNT(*) FROM people GROUP BY Birth_Place
Final question: List each birth place along with the number of people from there.
Final SQL: SELECT Birth_Place, COUNT(*) FROM people GROUP BY Birth_Place
Database: body_builder
Question sequence:
What are the information of all the people?
What are the birth places of all the people?
How many people in each of the birth place?
What are the four most popular birth places?
What about top one?
SQL query sequence:
SELECT * FROM people
SELECT Birth_Place FROM people
SELECT Birth_Place, count(*) FROM people GROUP BY Birth_Place
SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 4
SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1
Final question: What is the most common birth place of people?
Final SQL: SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1
Database: body_builder
Question sequence:
What are the birth places of all the people?
How many people in each of the birth place?
Keep the birth places where the birth place is only token by one person.
What about at least two people?
SQL query sequence:
SELECT Birth_Place FROM people
SELECT Birth_Place, count(*) FROM people GROUP BY Birth_Place
SELECT Birth_Place FROM people GROUP BY Birth_Place HAVING COUNT(*)  =  1
SELECT Birth_Place FROM people GROUP BY Birth_Place HAVING COUNT(*)  >=  2
Final question: What are the birth places that are shared by at least two people?
Final SQL: SELECT Birth_Place FROM people GROUP BY Birth_Place HAVING COUNT(*)  >=  2
Database: body_builder
Question sequence:
What are the heights and weights of all the people?
Show those results in descending order?
SQL query sequence:
SELECT Height ,  Weight FROM people
SELECT Height ,  Weight FROM people ORDER BY Height DESC
Final question: List the height and weight of people in descending order of height.
Final SQL: SELECT Height ,  Weight FROM people ORDER BY Height DESC
Database: body_builder
Question sequence:
What information about all the body builders?
SQL query sequence:
SELECT * FROM body_builder
Final question: Show all information about each body builder.
Final SQL: SELECT * FROM body_builder
Database: body_builder
Question sequence:
Show the name and birth place about the people.
Show that of all the body builders
What are the name and birth place of people who are not body builders?
SQL query sequence:
SELECT Name ,  birth_place FROM people
SELECT T1.Name ,  T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id  =  T2.people_id
SELECT Name ,  birth_place FROM people EXCEPT SELECT T1.Name ,  T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id  =  T2.people_id
Final question: List the names and origins of people who are not body builders.
Final SQL: SELECT Name ,  birth_place FROM people EXCEPT SELECT T1.Name ,  T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id  =  T2.people_id
Database: body_builder
Question sequence:
What are the birth places are there?
What are the unique birth places?
How many are there?
SQL query sequence:
SELECT Birth_Place FROM people
SELECT DISTINCT Birth_Place FROM people
SELECT count(DISTINCT Birth_Place) FROM people
Final question: How many distinct birth places are there?
Final SQL: SELECT count(DISTINCT Birth_Place) FROM people
Database: body_builder
Question sequence:
Show the people Id of the body builders.
Which people are there?
What about people who are not there?
How many such people in total?
SQL query sequence:
SELECT People_ID FROM body_builder
SELECT * FROM people WHERE people_id IN (SELECT People_ID FROM body_builder)
SELECT * FROM people WHERE people_id NOT IN (SELECT People_ID FROM body_builder)
SELECT count(*) FROM people WHERE people_id NOT IN (SELECT People_ID FROM body_builder)
Final question: How many persons are not body builders?
Final SQL: SELECT count(*) FROM people WHERE people_id NOT IN (SELECT People_ID FROM body_builder)