Question: How old is the youngest winning pilot and what is their name?

pilot : pilot_id (number) , name (text) , age (number) | aircraft : aircraft_id (number) , aircraft (text) , description (text) , max_gross_weight (text) , total_disk_area (text) , max_disk_loading (text) | match : round (number) , location (text) , country (text) , date (text) , fastest_qualifying (text) , winning_pilot (text) , winning_aircraft (text) | airport : airport_id (number) , airport_name (text) , total_passengers (number) , %_change_2007 (text) , international_passengers (number) , domestic_passengers (number) , transit_passengers (number) , aircraft_movements (number) , freight_metric_tonnes (number) | airport_aircraft : id (number) , airport_id (number) , aircraft_id (number)

pilot : name (text) , age (number) , pilot_id (number) | match : winning_pilot (text) , round (number)


Question: find the name of pilots who did not win the matches held in the country of Australia.

pilot : pilot_id (number) , name (text) , age (number) | aircraft : aircraft_id (number) , aircraft (text) , description (text) , max_gross_weight (text) , total_disk_area (text) , max_disk_loading (text) | match : round (number) , location (text) , country (text) , date (text) , fastest_qualifying (text) , winning_pilot (text) , winning_aircraft (text) | airport : airport_id (number) , airport_name (text) , total_passengers (number) , %_change_2007 (text) , international_passengers (number) , domestic_passengers (number) , transit_passengers (number) , aircraft_movements (number) , freight_metric_tonnes (number) | airport_aircraft : id (number) , airport_id (number) , aircraft_id (number)

pilot : name (text) , pilot_id (number) | match : winning_pilot (text) , country (text) , round (number)


Question: What are the names of the pilots that have not won any matches in Australia?

pilot : pilot_id (number) , name (text) , age (number) | aircraft : aircraft_id (number) , aircraft (text) , description (text) , max_gross_weight (text) , total_disk_area (text) , max_disk_loading (text) | match : round (number) , location (text) , country (text) , date (text) , fastest_qualifying (text) , winning_pilot (text) , winning_aircraft (text) | airport : airport_id (number) , airport_name (text) , total_passengers (number) , %_change_2007 (text) , international_passengers (number) , domestic_passengers (number) , transit_passengers (number) , aircraft_movements (number) , freight_metric_tonnes (number) | airport_aircraft : id (number) , airport_id (number) , aircraft_id (number)

pilot : name (text) , pilot_id (number) | match : winning_pilot (text) , country (text) , round (number)


Question: How many residents does each property have? List property id and resident count.

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

properties : property_id (number) | residents : property_id (number) , resident_id (number)


Question: What is the distinct service types that are provided by the organization which has detail 'Denesik and Sons Party'?

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

services : service_type_code (text) , organization_id (number) , service_id (number) | organizations : organization_id (number) , organization_details (text)


Question: How many services has each resident requested? List the resident id, details, and the count in descending order of the count.

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

residents : resident_id (number) , other_details (text) | residents_services : resident_id (number) , other_details (text)


Question: What is the maximum number that a certain service is provided? List the service id, details and number.

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

services : service_id (number) , service_details (text) | residents_services : service_id (number) , resident_id (number)


Question: List the id and type of each thing, and the details of the organization that owns it.

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

things : thing_id (number) , type_of_thing_code (text) , organization_id (number) | organizations : organization_details (text) , organization_id (number)


Question: What are the id and details of the customers who have at least 3 events?

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

customers : customer_id (number) , customer_details (text) | customer_events : customer_id (number) , customer_event_id (number)


Question: What is each customer's move in date, and the corresponding customer id and details?

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

customer_events : date_moved_in (time) , customer_id (number) , customer_event_id (number) | customers : customer_id (number) , customer_details (text)


Question: Which events have the number of notes between one and three? List the event id and the property id.

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

customer_events : customer_event_id (number) , property_id (number) | customer_event_notes : customer_event_id (number) , property_id (number) , customer_event_note_id (number)


Question: What are the distinct id and type of the thing that has the status 'Close' or has a status record before the date '2017-06-19 02:59:21'

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

things : thing_id (number) , type_of_thing_code (text) | timed_status_of_things : thing_id (number) , status_of_thing_code (text) , date_and_date (time)


Question: How many distinct locations have the things with service detail 'Unsatisfied' been located in?

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

timed_locations_of_things : location_code (text) , thing_id (number) | things : thing_id (number) , service_details (text)


Question: How many different status codes of things are there?

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

timed_status_of_things : status_of_thing_code (text) , thing_id (number)


Question: Which organizations are not a parent organization of others? List the organization id.

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)


Question: When is the last day any resident moved in?

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

residents : date_moved_in (time) , resident_id (number)


Question: What are the resident details containing the substring 'Miss'?

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

residents : other_details (text) , resident_id (number)


Question: List the customer event id and the corresponding move in date and property id.

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

customer_events : customer_event_id (number) , date_moved_in (time) , property_id (number)


Question: How many customers did not have any event?

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

customers : customer_id (number) | customer_events : customer_id (number) , customer_event_id (number)


Question: What are the distinct move in dates of the residents?

customers : customer_id (number) , customer_details (text) | properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | residents_services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | things : thing_id (number) , organization_id (number) , type_of_thing_code (text) , service_type_code (text) , service_details (text) | customer_events : customer_event_id (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | customer_event_notes : customer_event_note_id (number) , customer_event_id (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | timed_status_of_things : thing_id (number) , date_and_date (time) , status_of_thing_code (text) | timed_locations_of_things : thing_id (number) , date_and_time (time) , location_code (text)

residents : date_moved_in (time) , resident_id (number)


Question: How many schools are there?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : school (text) , school_id (number)


Question: Count the number of schools.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : school (text) , school_id (number)


Question: List the locations of schools in ascending order of enrollment.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : location (text) , school (text) , enrollment (number) , school_id (number)


Question: What is the list of school locations sorted in ascending order of school enrollment?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : location (text) , school (text) , enrollment (number) , school_id (number)


Question: List the locations of schools in descending order of founded year.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : location (text) , school (text) , founded (number) , school_id (number)


Question: What is the list of school locations sorted in descending order of school foundation year?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : location (text) , school (text) , founded (number) , school_id (number)


Question: What are the enrollments of schools whose denomination is not "Catholic"?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : enrollment (number) , school (text) , denomination (text) , school_id (number)


Question: List the enrollment for each school that does not have "Catholic" as denomination.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : enrollment (number) , school (text) , denomination (text) , school_id (number)


Question: What is the average enrollment of schools?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : enrollment (number) , school (text) , school_id (number)


Question: Take the average of the school enrollment.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : enrollment (number) , school (text) , school_id (number)


Question: What are the teams of the players, sorted in ascending alphabetical order?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

player : team (text) , player (text) , player_id (number)


Question: Find the team of each player and sort them in ascending alphabetical order.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

player : team (text) , player (text) , player_id (number)


Question: How many different positions of players are there?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

player : position (text) , player (text) , player_id (number)


Question: Count the number of distinct player positions.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

player : position (text) , player (text) , player_id (number)


Question: Find the team of the player of the highest age.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

player : team (text) , player (text) , age (number) , player_id (number)


Question: Which team has the oldest player?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

player : team (text) , player (text) , age (number) , player_id (number)


Question: List the teams of the players with the top 5 largest ages.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

player : team (text) , player (text) , age (number) , player_id (number)


Question: What are the teams that have the 5 oldest players?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

player : team (text) , player (text) , age (number) , player_id (number)


Question: For each player, show the team and the location of school they belong to.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

player : team (text) , player (text) , school_id (number) , player_id (number) | school : location (text) , school (text) , school_id (number)


Question: What are the team and the location of school each player belongs to?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

player : team (text) , player (text) , school_id (number) , player_id (number) | school : location (text) , school (text) , school_id (number)


Question: Show the locations of schools that have more than 1 player.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : location (text) , school (text) , school_id (number) | player : player (text) , school_id (number) , player_id (number)


Question: Which schools have more than 1 player? Give me the school locations.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : location (text) , school (text) , school_id (number) | player : player (text) , school_id (number) , player_id (number)


Question: Show the denomination of the school that has the most players.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : denomination (text) , school (text) , school_id (number) | player : player (text) , school_id (number) , player_id (number)


Question: What is the denomination of the school the most players belong to?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : denomination (text) , school (text) , school_id (number) | player : player (text) , school_id (number) , player_id (number)


Question: Show locations and nicknames of schools.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : location (text) , school (text) , school_id (number) | school_details : nickname (text) , school_id (number)


Question: What are the location and nickname of each school?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : location (text) , school (text) , school_id (number) | school_details : nickname (text) , school_id (number)


Question: Please show different denominations and the corresponding number of schools.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : denomination (text) , school (text) , school_id (number)


Question: For each denomination, return the denomination and the count of schools with that denomination.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : denomination (text) , school (text) , school_id (number)


Question: Please show different denominations and the corresponding number of schools in descending order.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : denomination (text) , school (text) , school_id (number)


Question: Order denominations in descending order of the count of schools with the denomination. Return each denomination with the count of schools.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : denomination (text) , school (text) , school_id (number)


Question: List the school color of the school that has the largest enrollment.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : school_colors (text) , school (text) , enrollment (number) , school_id (number)


Question: What is the school color of the school with the largest enrollment?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : school_colors (text) , school (text) , enrollment (number) , school_id (number)


Question: List the locations of schools that do not have any player.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : location (text) , school (text) , school_id (number) | player : school_id (number) , player (text) , player_id (number)


Question: Which schools do not have any player? Give me the school locations.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : location (text) , school (text) , school_id (number) | player : school_id (number) , player (text) , player_id (number)


Question: Show the denomination shared by schools founded before 1890 and schools founded after 1900

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : denomination (text) , school (text) , founded (number) , school_id (number)


Question: What are the denominations used by both schools founded before 1890 and schools founded  after 1900?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : denomination (text) , school (text) , founded (number) , school_id (number)


Question: Show the nicknames of schools that are not in division 1.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school_details : nickname (text) , division (text) , school_id (number)


Question: What are the nicknames of schools whose division is not 1?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school_details : nickname (text) , division (text) , school_id (number)


Question: Show the denomination shared by more than one school.

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : denomination (text) , school (text) , school_id (number)


Question: What are the denomination more than one school have?

school : school_id (number) , school (text) , location (text) , enrollment (number) , founded (number) , denomination (text) , boys_or_girls (text) , day_or_boarding (text) , year_entered_competition (number) , school_colors (text) | school_details : school_id (number) , nickname (text) , colors (text) , league (text) , class (text) , division (text) | school_performance : school_id (number) , school_year (text) , class_a (text) , class_aa (text) | player : player_id (number) , player (text) , team (text) , age (number) , position (text) , school_id (number)

school : denomination (text) , school (text) , school_id (number)


Question: Find all the distinct district names ordered by city area in descending.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , city_area (number) , district_id (number)


Question: What are the different district names in order of descending city area?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , city_area (number) , district_id (number)


Question: Find the list of page size which have more than 3 product listed

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : max_page_size (text) , product (text) , product_id (number)


Question: What is the maximum page size for everything that has more than 3 products listed?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : max_page_size (text) , product (text) , product_id (number)


Question: Find the name and population of district with population between 200000 and 2000000

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , city_population (number) , district_id (number)


Question: What are the district names and city populations for all districts that between 200,000 and 2,000,000 residents?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , city_population (number) , district_id (number)


Question: Find the name all districts with city area greater than 10 or population larger than 100000

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , city_area (number) , city_population (number) , district_id (number)


Question: What are the names of all districts with a city area greater than 10 or have more than 100000 people living there?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , city_area (number) , city_population (number) , district_id (number)


Question: Which district has the largest population?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , city_population (number) , district_id (number)


Question: What is the name of the district with the most residents?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , city_population (number) , district_id (number)


Question: Which district has the least area?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , city_area (number) , district_id (number)


Question: What is the name of the district with the smallest area?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , city_area (number) , district_id (number)


Question: Find the total population of the top 3 districts with the largest area.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : city_population (number) , city_area (number) , district_id (number)


Question: What is the total number of residents for the districts with the 3 largest areas?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : city_population (number) , city_area (number) , district_id (number)


Question: Find all types of store and number of them.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)


Question: For each type of store, how many of them are there?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)


Question: Find the names of all stores in Khanewal District.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

store : store_name (text) , store_id (number) | store_district : store_id (number) , district_id (number) | district : district_id (number) , district_name (text)


Question: What are the names of all the stores located in Khanewal District?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

store : store_name (text) , store_id (number) | store_district : store_id (number) , district_id (number) | district : district_id (number) , district_name (text)


Question: Find all the stores in the district with the most population.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

store : store_name (text) , store_id (number) | store_district : store_id (number) , district_id (number) | district : district_id (number) , city_population (number)


Question: What are the names of all the stores in the largest district by population?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

store : store_name (text) , store_id (number) | store_district : store_id (number) , district_id (number) | district : district_id (number) , city_population (number)


Question: Which city is the headquarter of the store named "Blackville" in?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : headquartered_city (text) , district_id (number) | store : store_id (number) , store_name (text) | store_district : store_id (number) , district_id (number)


Question: What city is the headquarter of the store Blackville?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : headquartered_city (text) , district_id (number) | store : store_id (number) , store_name (text) | store_district : store_id (number) , district_id (number)


Question: Find the number of stores in each city.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : headquartered_city (text) , district_id (number) | store : store_id (number) | store_district : store_id (number) , district_id (number)


Question: How many stores are headquarted in each city?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : headquartered_city (text) , district_id (number) | store : store_id (number) | store_district : store_id (number) , district_id (number)


Question: Find the city with the most number of stores.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : headquartered_city (text) , district_id (number) | store : store_id (number) | store_district : store_id (number) , district_id (number)


Question: What is the city with the most number of flagship stores?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : headquartered_city (text) , district_id (number) | store : store_id (number) | store_district : store_id (number) , district_id (number)


Question: What is the average pages per minute color?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : pages_per_minute_color (number) , product (text) , product_id (number)


Question: What is the average number of pages per minute color?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : pages_per_minute_color (number) , product (text) , product_id (number)


Question: What products are available at store named "Miramichi"?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : product (text) , product_id (number) | store_product : product_id (number) , store_id (number) | store : store_id (number) , store_name (text)


Question: What products are sold at the store named Miramichi?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : product (text) , product_id (number) | store_product : product_id (number) , store_id (number) | store : store_id (number) , store_name (text)


Question: Find products with max page size as "A4" and pages per minute color smaller than 5.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : product (text) , max_page_size (text) , pages_per_minute_color (number) , product_id (number)


Question: What are the products with the maximum page size A4 that also have a pages per minute color smaller than 5?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : product (text) , max_page_size (text) , pages_per_minute_color (number) , product_id (number)


Question: Find products with max page size as "A4" or pages per minute color smaller than 5.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : product (text) , max_page_size (text) , pages_per_minute_color (number) , product_id (number)


Question: What are the products with the maximum page size eqal to A4 or a pages per minute color less than 5?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : product (text) , max_page_size (text) , pages_per_minute_color (number) , product_id (number)


Question: Find all the product whose name contains the word "Scanner".

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : product (text) , product_id (number)


Question: What are all of the products whose name includes the substring "Scanner"?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : product (text) , product_id (number)


Question: Find the most prominent max page size among all the products.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : max_page_size (text) , product (text) , product_id (number)


Question: What is the most common maximum page size?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : max_page_size (text) , product (text) , product_id (number)


Question: Find the name of the products that are not using the most frequently-used max page size.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : product (text) , max_page_size (text) , product_id (number)


Question: What are the names of all products that are not the most frequently-used maximum page size?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

product : product (text) , max_page_size (text) , product_id (number)


Question: Find the total population of the districts where the area is bigger than the average city area.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : city_population (number) , city_area (number) , district_id (number)


Question: What is the total population for all the districts that have an area larger tahn the average city area?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : city_population (number) , city_area (number) , district_id (number)


Question: Find the names of districts where have both city mall and village store type stores.

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , district_id (number) | store : store_id (number) , type (text) | store_district : store_id (number) , district_id (number)


Question: What are the names of the districts that have both mall and village store style shops?

product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : store_id (number) , store_name (text) , type (text) , area_size (number) , number_of_product_category (number) , ranking (number) | district : district_id (number) , district_name (text) , headquartered_city (text) , city_population (number) , city_area (number) | store_product : store_id (number) , product_id (number) | store_district : store_id (number) , district_id (number)

district : district_name (text) , district_id (number) | store : store_id (number) , type (text) | store_district : store_id (number) , district_id (number)


Question: What is the total enrollment number of all colleges?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many students are enrolled in college?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What is the average enrollment number?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many students, on average, does each college have enrolled?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many colleges in total?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many different colleges are there?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many players have more than 1000 hours of training?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many different players trained for more than 1000 hours?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many colleges has more than 15000 students?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What is the number of colleges with a student population greater than 15000?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What is the average training hours of all players?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many hours do the players train on average?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: Find the name and training hours of players whose hours are below 1500.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , hs (number) , pid (number)


Question: What are the names and number of hours spent training for each player who trains for less than 1500 hours?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , hs (number) , pid (number)


Question: How many different colleges do attend the tryout test?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many different colleges were represented at tryouts?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What are the unique types of player positions in the tryout?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What are the different types of player positions?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many students got accepted after the tryout?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many students received a yes from tryouts?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many students whose are playing the role of goalie?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What is the number of students playing as a goalie?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: Find the max, average and min training hours of all players.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What is the average, maximum, and minimum for the number of hours spent training?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What is average enrollment of colleges in the state FL?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : enr (number) , state (text) , cname (text)


Question: What is average number of students enrolled in Florida colleges?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : enr (number) , state (text) , cname (text)


Question: What are the names of players whose training hours is between 500 and 1500?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , hs (number) , pid (number)


Question: What are the names of players who train between 500 and 1500 hours?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , hs (number) , pid (number)


Question: Find the players whose names contain letter 'a'.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: Who are the players that have names containing the letter a?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : cname (text) , enr (number) , state (text)


Question: What are the names and enrollment numbers for colleges that have more than 10000 enrolled and are located in Louisiana?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : cname (text) , enr (number) , state (text)