db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
aircraft
|
What are the name of pilots aged 25 or older?
|
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)
| 0.928571 |
aircraft
|
what is the name of every pilot who is at least 25 years old?
|
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)
| 0.928571 |
aircraft
|
List all pilot names in ascending alphabetical order.
|
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)
| 0.964286 |
aircraft
|
What are the names of the pilots in alphabetical order?
|
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)
| 0.964286 |
aircraft
|
List names of all pilot aged 30 or younger in descending alphabetical order.
|
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)
| 0.928571 |
aircraft
|
What are the names of all pilots 30 years old or young in descending alphabetical order?
|
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)
| 0.928571 |
aircraft
|
Please show the names of aircrafts associated with airport with name "London Gatwick".
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | airport_aircraft : aircraft_id (number) , airport_id (number) | airport : airport_id (number) , airport_name (text)
| 0.785714 |
aircraft
|
What are the names of all the aircrafts associated with London Gatwick airport?
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | airport_aircraft : aircraft_id (number) , airport_id (number) | airport : airport_id (number) , airport_name (text)
| 0.785714 |
aircraft
|
Please show the names and descriptions of aircrafts associated with airports that have a total number of passengers bigger than 10000000.
|
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)
|
aircraft : aircraft (text) , description (text) , aircraft_id (number) | airport_aircraft : aircraft_id (number) , airport_id (number) | airport : airport_id (number) , total_passengers (number)
| 0.75 |
aircraft
|
What are the names and descriptions of aircrafts associated with an airport that has more total passengers than 10000000?
|
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)
|
aircraft : aircraft (text) , description (text) , aircraft_id (number) | airport_aircraft : aircraft_id (number) , airport_id (number) | airport : airport_id (number) , total_passengers (number)
| 0.75 |
aircraft
|
What is the average total number of passengers of airports that are associated with aircraft "Robinson R-22"?
|
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)
|
airport : total_passengers (number) , airport_id (number) | aircraft : aircraft (text) , aircraft_id (number) | airport_aircraft : aircraft_id (number) , airport_id (number)
| 0.785714 |
aircraft
|
What is the average total number of passengers for all airports that the aircraft "Robinson R-22" visits?
|
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)
|
airport : total_passengers (number) , airport_id (number) | aircraft : aircraft (text) , aircraft_id (number) | airport_aircraft : aircraft_id (number) , airport_id (number)
| 0.785714 |
aircraft
|
Please list the location and the winning aircraft 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)
|
match : location (text) , winning_aircraft (text) | aircraft : aircraft (text) , aircraft_id (number)
| 0.857143 |
aircraft
|
What is the location and name of the winning aircraft?
|
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)
|
match : location (text) , winning_aircraft (text) | aircraft : aircraft (text) , aircraft_id (number)
| 0.857143 |
aircraft
|
List the name of the aircraft that has been named winning aircraft the most number of times.
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | match : winning_aircraft (text) , round (number)
| 0.857143 |
aircraft
|
What is the name of the aircraft that has won an award the most?
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | match : winning_aircraft (text) , round (number)
| 0.857143 |
aircraft
|
List the names of aircrafts and the number of times it won matches.
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | match : winning_aircraft (text) , round (number)
| 0.857143 |
aircraft
|
For each aircraft that has won an award, what is its name and how many time has it won?
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | match : winning_aircraft (text) , round (number)
| 0.857143 |
aircraft
|
List names of all pilot in descending order of age.
|
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)
| 0.928571 |
aircraft
|
What are the names of all pilots listed by descending age?
|
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)
| 0.928571 |
aircraft
|
List the names of aircrafts and that won matches at least twice.
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | match : winning_aircraft (text) , round (number)
| 0.857143 |
aircraft
|
What are the names of all aircrafts that have won a match at least twice?
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | match : winning_aircraft (text) , round (number)
| 0.857143 |
aircraft
|
List the names of aircrafts and that did not win any match.
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | match : winning_aircraft (text)
| 0.892857 |
aircraft
|
What are the names of all aicrafts that have never won any match?
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | match : winning_aircraft (text)
| 0.892857 |
aircraft
|
Show the names of aircrafts that are associated with both an airport named "London Heathrow" and an airport named "London Gatwick"
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | airport_aircraft : aircraft_id (number) , airport_id (number) | airport : airport_id (number) , airport_name (text)
| 0.785714 |
aircraft
|
What are the names of all aircrafts that are associated with both London Heathrow and Gatwick airports?
|
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)
|
aircraft : aircraft (text) , aircraft_id (number) | airport_aircraft : aircraft_id (number) , airport_id (number) | airport : airport_id (number) , airport_name (text)
| 0.785714 |
aircraft
|
Show all information on the airport that has the largest number of international passengers.
|
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)
|
airport : international_passengers (number) , airport_id (number)
| 0.928571 |
aircraft
|
What is all the information on the airport with the largest number of international passengers?
|
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)
|
airport : international_passengers (number) , airport_id (number)
| 0.928571 |
aircraft
|
find the name and age of the pilot who has won the most number of times among the pilots who are younger than 30.
|
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)
| 0.821429 |
aircraft
|
What is the name and age of the pilot younger than 30 who has won the most number of times?
|
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)
| 0.821429 |
aircraft
|
what is the name and age of the youngest winning pilot?
|
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)
| 0.857143 |
aircraft
|
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)
| 0.857143 |
aircraft
|
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)
| 0.857143 |
aircraft
|
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)
| 0.857143 |
local_govt_and_lot
|
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)
| 0.9375 |
local_govt_and_lot
|
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) | organizations : organization_id (number) , organization_details (text)
| 0.916667 |
local_govt_and_lot
|
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)
| 0.916667 |
local_govt_and_lot
|
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)
| 0.916667 |
local_govt_and_lot
|
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)
| 0.895833 |
local_govt_and_lot
|
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)
| 0.916667 |
local_govt_and_lot
|
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) | customers : customer_id (number) , customer_details (text)
| 0.916667 |
local_govt_and_lot
|
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)
| 0.895833 |
local_govt_and_lot
|
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)
| 0.895833 |
local_govt_and_lot
|
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)
| 0.916667 |
local_govt_and_lot
|
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)
| 0.979167 |
local_govt_and_lot
|
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)
|
organizations : organization_id (number) , parent_organization_id (number)
| 0.958333 |
local_govt_and_lot
|
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)
| 0.979167 |
local_govt_and_lot
|
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)
| 0.979167 |
local_govt_and_lot
|
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)
| 0.9375 |
local_govt_and_lot
|
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)
| 0.9375 |
local_govt_and_lot
|
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)
| 0.979167 |
school_player
|
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)
| 0.923077 |
school_player
|
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)
| 0.923077 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.923077 |
school_player
|
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)
| 0.923077 |
school_player
|
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)
| 0.923077 |
school_player
|
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)
| 0.923077 |
school_player
|
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)
| 0.923077 |
school_player
|
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)
| 0.923077 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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) | school : location (text) , school (text) , school_id (number)
| 0.769231 |
school_player
|
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) | school : location (text) , school (text) , school_id (number)
| 0.769231 |
school_player
|
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)
| 0.769231 |
school_player
|
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)
| 0.769231 |
school_player
|
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)
| 0.769231 |
school_player
|
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)
| 0.769231 |
school_player
|
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)
| 0.807692 |
school_player
|
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)
| 0.807692 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.807692 |
school_player
|
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)
| 0.807692 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.923077 |
school_player
|
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)
| 0.923077 |
school_player
|
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)
| 0.884615 |
school_player
|
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)
| 0.884615 |
store_product
|
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)
| 0.909091 |
store_product
|
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)
| 0.909091 |
store_product
|
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)
| 0.863636 |
store_product
|
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)
| 0.863636 |
store_product
|
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)
| 0.909091 |
store_product
|
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)
| 0.909091 |
store_product
|
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)
| 0.863636 |
store_product
|
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)
| 0.863636 |
store_product
|
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)
| 0.909091 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.