db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
gas_company
|
What is the minimum, maximum, and average market value for every company?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : market_value (number) , company (text)
| 0.888889 |
gas_company
|
Show all main industry for all companies.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : main_industry (text) , company (text)
| 0.888889 |
gas_company
|
What are the different main industries for all companies?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : main_industry (text) , company (text)
| 0.888889 |
gas_company
|
List all headquarters and the number of companies in each headquarter.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : headquarters (text) , company (text) , company_id (number)
| 0.833333 |
gas_company
|
For each headquarter, what are the headquarter and how many companies are centered there?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : headquarters (text) , company (text) , company_id (number)
| 0.833333 |
gas_company
|
Show all main industry and total market value in each industry.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : main_industry (text) , market_value (number) , company (text)
| 0.833333 |
gas_company
|
What are the main indstries and total market value for each industry?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : main_industry (text) , market_value (number) , company (text)
| 0.833333 |
gas_company
|
List the main industry with highest total market value and its number of companies.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : main_industry (text) , company (text) , market_value (number) , company_id (number)
| 0.777778 |
gas_company
|
For each main industry, what is the total number of companies for the industry with the highest total market value?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : main_industry (text) , company (text) , market_value (number) , company_id (number)
| 0.777778 |
gas_company
|
Show headquarters with at least two companies in the banking industry.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : headquarters (text) , company (text) , main_industry (text) , company_id (number)
| 0.777778 |
gas_company
|
What are the headquarters with at least two companies in the banking industry?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : headquarters (text) , company (text) , main_industry (text) , company_id (number)
| 0.777778 |
gas_company
|
Show gas station id, location, and manager_name for all gas stations ordered by open year.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : station_id (number) , location (text) , manager_name (text) , open_year (number)
| 0.777778 |
gas_company
|
What are the gas station ids, locations, and manager names for the gas stations ordered by opening year?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : station_id (number) , location (text) , manager_name (text) , open_year (number)
| 0.777778 |
gas_company
|
How many gas station are opened between 2000 and 2005?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : open_year (number) , station_id (number)
| 0.888889 |
gas_company
|
What is the total number of gas stations that opened between 2000 and 2005?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : open_year (number) , station_id (number)
| 0.888889 |
gas_company
|
Show all locations and the number of gas stations in each location ordered by the count.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : location (text) , station_id (number)
| 0.888889 |
gas_company
|
For each location, how many gas stations are there in order?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : location (text) , station_id (number)
| 0.888889 |
gas_company
|
Show all headquarters with both a company in banking industry and a company in Oil and gas.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : headquarters (text) , company (text) , main_industry (text)
| 0.833333 |
gas_company
|
What are the headquarters that have both a company in the banking and 'oil and gas' industries?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : headquarters (text) , company (text) , main_industry (text)
| 0.833333 |
gas_company
|
Show all headquarters without a company in banking industry.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : headquarters (text) , company (text) , main_industry (text)
| 0.833333 |
gas_company
|
What are the headquarters without companies that are in the banking industry?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : headquarters (text) , company (text) , main_industry (text)
| 0.833333 |
gas_company
|
Show the company name with the number of gas station.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : company (text) , company_id (number) | station_company : company_id (number) , station_id (number)
| 0.777778 |
gas_company
|
For each company id, what are the companies and how many gas stations does each one operate?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : company (text) , company_id (number) | station_company : company_id (number) , station_id (number)
| 0.777778 |
gas_company
|
Show company name and main industry without a gas station.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : company (text) , main_industry (text) , company_id (number) | station_company : company_id (number)
| 0.777778 |
gas_company
|
What are the main industries of the companies without gas stations and what are the companies?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : company (text) , main_industry (text) , company_id (number) | station_company : company_id (number)
| 0.777778 |
gas_company
|
Show the manager name for gas stations belonging to the ExxonMobil company.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : manager_name (text) , station_id (number) | company : company (text) , company_id (number) | station_company : company_id (number) , station_id (number)
| 0.666667 |
gas_company
|
What are the names of the managers for gas stations that are operated by the ExxonMobil company?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : manager_name (text) , station_id (number) | company : company (text) , company_id (number) | station_company : company_id (number) , station_id (number)
| 0.666667 |
gas_company
|
Show all locations where a gas station for company with market value greater than 100 is located.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : location (text) , station_id (number) | company : company (text) , company_id (number) , market_value (number) | station_company : company_id (number) , station_id (number)
| 0.611111 |
gas_company
|
What are the locations that have gas stations owned by a company with a market value greater than 100?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : location (text) , station_id (number) | company : company (text) , company_id (number) , market_value (number) | station_company : company_id (number) , station_id (number)
| 0.611111 |
gas_company
|
Show the manager name with most number of gas stations opened after 2000.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : manager_name (text) , open_year (number) , station_id (number)
| 0.833333 |
gas_company
|
What is the name of the manager with the most gas stations that opened after 2000?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : manager_name (text) , open_year (number) , station_id (number)
| 0.833333 |
gas_company
|
order all gas station locations by the opening year.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : location (text) , open_year (number)
| 0.888889 |
gas_company
|
What are the locations of all the gas stations ordered by opening year?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : location (text) , open_year (number)
| 0.888889 |
gas_company
|
find the rank, company names, market values of the companies in the banking industry order by their sales and profits in billion.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : rank (number) , company (text) , market_value (number) , main_industry (text) , sales_billion (number) , profits_billion (number)
| 0.666667 |
gas_company
|
What is the rank, company, and market value of every comapny in the banking industry ordered by sales and profits?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
company : rank (number) , company (text) , market_value (number) , main_industry (text) , sales_billion (number) , profits_billion (number)
| 0.666667 |
gas_company
|
find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts.
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : location (text) , representative_name (text) , station_id (number) | company : company (text) , company_id (number) , assets_billion (number) | station_company : company_id (number) , station_id (number)
| 0.555556 |
gas_company
|
What are the locations and representatives' names of the gas stations owned by the companies with the 3 largest amounts of assets?
|
company : company_id (number) , rank (number) , company (text) , headquarters (text) , main_industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value (number) | gas_station : station_id (number) , open_year (number) , location (text) , manager_name (text) , vice_manager_name (text) , representative_name (text) | station_company : station_id (number) , company_id (number) , rank_of_the_year (number)
|
gas_station : location (text) , representative_name (text) , station_id (number) | company : company (text) , company_id (number) , assets_billion (number) | station_company : company_id (number) , station_id (number)
| 0.555556 |
party_people
|
How many regions do we have?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
region : region_id (number)
| 0.95 |
party_people
|
Count the number of regions.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
region : region_id (number)
| 0.95 |
party_people
|
Show all distinct region names ordered by their labels.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
region : region_name (text) , label (text)
| 0.9 |
party_people
|
What are the different region names, ordered by labels?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
region : region_name (text) , label (text)
| 0.9 |
party_people
|
How many parties do we have?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text)
| 0.95 |
party_people
|
Count the number of different parties.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text)
| 0.95 |
party_people
|
Show the ministers and the time they took and left office, listed by the time they left office.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : minister (text) , took_office (text) , left_office (text)
| 0.85 |
party_people
|
Who are the ministers, when did they take office, and when did they leave office, ordered by when they left office?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : minister (text) , took_office (text) , left_office (text)
| 0.85 |
party_people
|
Show the minister who took office after 1961 or before 1959.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : minister (text) , took_office (text)
| 0.9 |
party_people
|
Who are the ministers who took office after 1961 or before 1959?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : minister (text) , took_office (text)
| 0.9 |
party_people
|
Show all ministers who do not belong to Progress Party.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : minister (text) , party_name (text)
| 0.9 |
party_people
|
Which ministers are not a part of the Progress Party?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : minister (text) , party_name (text)
| 0.9 |
party_people
|
Show all ministers and parties they belong to in descending order of the time they took office.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : minister (text) , party_name (text) , took_office (text)
| 0.85 |
party_people
|
Who are the ministers and what parties do they belong to, listed descending by the times they took office?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : minister (text) , party_name (text) , took_office (text)
| 0.85 |
party_people
|
Return the minister who left office at the latest time.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : minister (text) , left_office (text)
| 0.9 |
party_people
|
Which minister left office the latest?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : minister (text) , left_office (text)
| 0.9 |
party_people
|
List member names and their party names.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
member : member_name (text) , party_id (text) | party : party_name (text) , party_id (number)
| 0.8 |
party_people
|
What are the names of members and their corresponding parties?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
member : member_name (text) , party_id (text) | party : party_name (text) , party_id (number)
| 0.8 |
party_people
|
Show all party names and the number of members in each party.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , party_id (number) | member : party_id (text) , member_id (number)
| 0.8 |
party_people
|
How many members are in each party?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , party_id (number) | member : party_id (text) , member_id (number)
| 0.8 |
party_people
|
What is the name of party with most number of members?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , party_id (number) | member : party_id (text) , member_id (number)
| 0.8 |
party_people
|
Return the name of the party with the most members.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , party_id (number) | member : party_id (text) , member_id (number)
| 0.8 |
party_people
|
Show all party names and their region names.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , region_id (number) | region : region_name (text) , region_id (number)
| 0.8 |
party_people
|
What are the names of parties and their respective regions?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , region_id (number) | region : region_name (text) , region_id (number)
| 0.8 |
party_people
|
Show names of parties that does not have any members.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , party_id (number) | member : party_id (text)
| 0.85 |
party_people
|
What are the names of parties that have no members?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , party_id (number) | member : party_id (text)
| 0.85 |
party_people
|
Show the member names which are in both the party with id 3 and the party with id 1.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
member : member_name (text) , party_id (text)
| 0.9 |
party_people
|
Which member names are shared among members in the party with the id 3 and the party with the id 1?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
member : member_name (text) , party_id (text)
| 0.9 |
party_people
|
Show member names that are not in the Progress Party.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
member : member_name (text) , party_id (text) | party : party_id (number) , party_name (text)
| 0.8 |
party_people
|
Which member names corresponding to members who are not in the Progress Party?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
member : member_name (text) , party_id (text) | party : party_id (number) , party_name (text)
| 0.8 |
party_people
|
How many party events do we have?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party_events : event_id (number)
| 0.95 |
party_people
|
Count the number of party events.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party_events : event_id (number)
| 0.95 |
party_people
|
Show party names and the number of events for each party.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , party_id (number) | party_events : party_id (number) , event_id (number)
| 0.8 |
party_people
|
How many events are there for each party?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , party_id (number) | party_events : party_id (number) , event_id (number)
| 0.8 |
party_people
|
Show all member names who are not in charge of any event.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
member : member_name (text) , member_id (number) | party_events : member_in_charge_id (number)
| 0.85 |
party_people
|
What are the names of members who are not in charge of any events?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
member : member_name (text) , member_id (number) | party_events : member_in_charge_id (number)
| 0.85 |
party_people
|
What are the names of parties with at least 2 events?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , party_id (number) | party_events : party_id (number) , event_id (number)
| 0.8 |
party_people
|
Return the names of parties that have two or more events.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party : party_name (text) , party_id (number) | party_events : party_id (number) , event_id (number)
| 0.8 |
party_people
|
What is the name of member in charge of greatest number of events?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
member : member_name (text) , member_id (number) | party_events : member_in_charge_id (number) , event_id (number)
| 0.8 |
party_people
|
Return the name of the member who is in charge of the most events.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
member : member_name (text) , member_id (number) | party_events : member_in_charge_id (number) , event_id (number)
| 0.8 |
party_people
|
find the event names that have more than 2 records.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party_events : event_name (text) , event_id (number)
| 0.9 |
party_people
|
Which event names were used more than twice for party events?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
party_events : event_name (text) , event_id (number)
| 0.9 |
party_people
|
How many Annual Meeting events happened in the United Kingdom region?
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
region : region_id (number) , region_name (text) | party : region_id (number) , party_id (number) | party_events : party_id (number) , event_name (text) , event_id (number)
| 0.65 |
party_people
|
Count the number of Annual Meeting events that took place in the region of the United Kingdom.
|
region : region_id (number) , region_name (text) , date (text) , label (text) , format (text) , catalogue (text) | party : party_id (number) , minister (text) , took_office (text) , left_office (text) , region_id (number) , party_name (text) | member : member_id (number) , member_name (text) , party_id (text) , in_office (text) | party_events : event_id (number) , event_name (text) , party_id (number) , member_in_charge_id (number)
|
region : region_id (number) , region_name (text) | party : region_id (number) , party_id (number) | party_events : party_id (number) , event_name (text) , event_id (number)
| 0.65 |
pilot_record
|
How many pilots are there?
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : pilot_id (number)
| 0.947368 |
pilot_record
|
List the names of pilots in ascending order of rank.
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : pilot_name (text) , rank (number)
| 0.894737 |
pilot_record
|
What are the positions and teams of pilots?
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : position (text) , team (text)
| 0.894737 |
pilot_record
|
List the distinct positions of pilots older than 30.
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : position (text) , age (number)
| 0.894737 |
pilot_record
|
Show the names of pilots from team "Bradley" or "Fordham".
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : pilot_name (text) , team (text)
| 0.894737 |
pilot_record
|
What is the joined year of the pilot of the highest rank?
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : join_year (number) , rank (number)
| 0.894737 |
pilot_record
|
What are the different nationalities of pilots? Show each nationality and the number of pilots of each nationality.
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : nationality (text) , pilot_id (number)
| 0.894737 |
pilot_record
|
Show the most common nationality of pilots.
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : nationality (text) , pilot_id (number)
| 0.894737 |
pilot_record
|
Show the pilot positions that have both pilots joining after year 2005 and pilots joining before 2000.
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : position (text) , join_year (number)
| 0.894737 |
pilot_record
|
Show the names of pilots and models of aircrafts they have flied with.
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : pilot_name (text) , pilot_id (number) | aircraft : model (text) , aircraft_id (number) | pilot_record : aircraft_id (number) , pilot_id (number)
| 0.684211 |
pilot_record
|
Show the names of pilots and fleet series of the aircrafts they have flied with in ascending order of the rank of the pilot.
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : pilot_name (text) , pilot_id (number) , rank (number) | aircraft : fleet_series (text) , aircraft_id (number) | pilot_record : aircraft_id (number) , pilot_id (number)
| 0.631579 |
pilot_record
|
Show the fleet series of the aircrafts flied by pilots younger than 34
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
aircraft : fleet_series (text) , aircraft_id (number) | pilot_record : aircraft_id (number) , pilot_id (number) | pilot : pilot_id (number) , age (number)
| 0.684211 |
pilot_record
|
Show the names of pilots and the number of records they have.
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : pilot_name (text) , pilot_id (number) | pilot_record : pilot_id (number)
| 0.842105 |
pilot_record
|
Show names of pilots that have more than one record.
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : pilot_name (text) , pilot_id (number) | pilot_record : pilot_id (number)
| 0.842105 |
pilot_record
|
List the names of pilots that do not have any record.
|
aircraft : aircraft_id (number) , order_year (number) , manufacturer (text) , model (text) , fleet_series (text) , powertrain (text) , fuel_propulsion (text) | pilot : pilot_id (number) , pilot_name (text) , rank (number) , age (number) , nationality (text) , position (text) , join_year (number) , team (text) | pilot_record : record_id (number) , pilot_id (number) , aircraft_id (number) , date (text)
|
pilot : pilot_name (text) , pilot_id (number) | pilot_record : pilot_id (number)
| 0.842105 |
cre_Doc_Control_Systems
|
What document status codes do we have?
|
ref_document_types : document_type_code (text) , document_type_description (text) | roles : role_code (text) , role_description (text) | addresses : address_id (number) , address_details (text) | ref_document_status : document_status_code (text) , document_status_description (text) | ref_shipping_agents : shipping_agent_code (text) , shipping_agent_name (text) , shipping_agent_description (text) | documents : document_id (number) , document_status_code (text) , document_type_code (text) , shipping_agent_code (text) , receipt_date (time) , receipt_number (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , other_details (text) | document_drafts : document_id (number) , draft_number (number) , draft_details (text) | draft_copies : document_id (number) , draft_number (number) , copy_number (number) | circulation_history : document_id (number) , draft_number (number) , copy_number (number) , employee_id (number) | documents_mailed : document_id (number) , mailed_to_address_id (number) , mailing_date (time)
|
ref_document_status : document_status_code (text)
| 0.971429 |
cre_Doc_Control_Systems
|
What is the description of document status code 'working'?
|
ref_document_types : document_type_code (text) , document_type_description (text) | roles : role_code (text) , role_description (text) | addresses : address_id (number) , address_details (text) | ref_document_status : document_status_code (text) , document_status_description (text) | ref_shipping_agents : shipping_agent_code (text) , shipping_agent_name (text) , shipping_agent_description (text) | documents : document_id (number) , document_status_code (text) , document_type_code (text) , shipping_agent_code (text) , receipt_date (time) , receipt_number (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , other_details (text) | document_drafts : document_id (number) , draft_number (number) , draft_details (text) | draft_copies : document_id (number) , draft_number (number) , copy_number (number) | circulation_history : document_id (number) , draft_number (number) , copy_number (number) , employee_id (number) | documents_mailed : document_id (number) , mailed_to_address_id (number) , mailing_date (time)
|
ref_document_status : document_status_description (text) , document_status_code (text)
| 0.942857 |
cre_Doc_Control_Systems
|
What document type codes do we have?
|
ref_document_types : document_type_code (text) , document_type_description (text) | roles : role_code (text) , role_description (text) | addresses : address_id (number) , address_details (text) | ref_document_status : document_status_code (text) , document_status_description (text) | ref_shipping_agents : shipping_agent_code (text) , shipping_agent_name (text) , shipping_agent_description (text) | documents : document_id (number) , document_status_code (text) , document_type_code (text) , shipping_agent_code (text) , receipt_date (time) , receipt_number (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , other_details (text) | document_drafts : document_id (number) , draft_number (number) , draft_details (text) | draft_copies : document_id (number) , draft_number (number) , copy_number (number) | circulation_history : document_id (number) , draft_number (number) , copy_number (number) , employee_id (number) | documents_mailed : document_id (number) , mailed_to_address_id (number) , mailing_date (time)
|
ref_document_types : document_type_code (text)
| 0.971429 |
cre_Doc_Control_Systems
|
What is the description of document type 'Paper'?
|
ref_document_types : document_type_code (text) , document_type_description (text) | roles : role_code (text) , role_description (text) | addresses : address_id (number) , address_details (text) | ref_document_status : document_status_code (text) , document_status_description (text) | ref_shipping_agents : shipping_agent_code (text) , shipping_agent_name (text) , shipping_agent_description (text) | documents : document_id (number) , document_status_code (text) , document_type_code (text) , shipping_agent_code (text) , receipt_date (time) , receipt_number (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , other_details (text) | document_drafts : document_id (number) , draft_number (number) , draft_details (text) | draft_copies : document_id (number) , draft_number (number) , copy_number (number) | circulation_history : document_id (number) , draft_number (number) , copy_number (number) , employee_id (number) | documents_mailed : document_id (number) , mailed_to_address_id (number) , mailing_date (time)
|
ref_document_types : document_type_description (text) , document_type_code (text)
| 0.942857 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.