db_id stringlengths 4 31 | SQL stringlengths 18 1.45k | input_sequence stringlengths 148 11k | question stringlengths 16 325 |
|---|---|---|---|
car_1 | select distinct t1.model from model_list as t1 join car_names as t2 on t1.model = t2.model join cars_data as t3 on t2.makeid = t3.id join car_makers as t4 on t1.maker = t4.id where t3.weight < 3500 and t4.fullname != 'ford motor company'; | Question: what are the different models wthat are lighter than 3500 but were not built by the ford motor company? | Tables: continents -> ContId, Continent. countries -> CountryId, CountryName, Continent. car_makers -> Id, Maker, FullName, Country. model_list -> ModelId, Maker, Model. car_names -> MakeId, Model, Make. ... | what are the different models wthat are lighter than 3500 but were not built by the ford motor company? |
car_1 | select countryname from countries except select t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country; | Question: what are the name of the countries where there is not a single car maker? | Tables: continents -> ContId, Continent. countries -> CountryId, CountryName, Continent. car_makers -> Id, Maker, FullName, Country. model_list -> ModelId, Maker, Model. car_names -> MakeId, Model, Make. cars_data -> Id, MPG, Cylinder... | what are the name of the countries where there is not a single car maker? |
car_1 | select countryname from countries except select t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country; | Question: what are the names of the countries with no car makers? | Tables: continents -> ContId, Continent. countries -> CountryId, CountryName, Continent. car_makers -> Id, Maker, FullName, Country. model_list -> ModelId, Maker, Model. car_names -> MakeId, Model, Make. cars_data -> Id, MPG, Cylinders, Edispl, Horsepo... | what are the names of the countries with no car makers? |
car_1 | select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) >= 2 intersect select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker join car_names as t3 on t2.model = t3.model group by t1.id having count(*) > 3; | Question: which are the car makers which produce at least 2 models and more than 3 car makers ? list the id and the maker . | Tables: continents -> ContId, Continent. countries -> CountryId, CountryName, Continent. car_makers -> Id, Maker, FullName, Country. model_list -> ModelId, Maker, Model. car_names -> MakeId, Mod... | which are the car makers which produce at least 2 models and more than 3 car makers ? list the id and the maker . |
car_1 | select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) >= 2 intersect select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker join car_names as t3 on t2.model = t3.model group by t1.id having count(*) > 3; | Question: what are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars? | Tables: continents -> ContId, Continent. countries -> CountryId, CountryName, Continent. car_makers -> Id, Maker, FullName, Country. model_list -> ModelId, Maker, Model. car_names -> MakeId, Model, Make. ... | what are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars? |
car_1 | select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 3 union select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country join model_list as t3 on t2.id = t3.maker wh... | Question: what are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model? | Tables: continents -> ContId, Continent. countries -> CountryId, CountryName, Continent. car_makers -> Id, Maker, FullName, Country. model_list -> ModelId, Maker, Model. car_names -> MakeId, Model, Make... | what are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model? |
car_1 | select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 3 union select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country join model_list as t3 on t2.id = t3.maker wh... | Question: what are the ids and names of all countries that either have more than 3 car makers or produce fiat model ? | Tables: continents -> ContId, Continent. countries -> CountryId, CountryName, Continent. car_makers -> Id, Maker, FullName, Country. model_list -> ModelId, Maker, Model. car_names -> MakeId, Model, Ma... | what are the ids and names of all countries that either have more than 3 car makers or produce fiat model ? |
flight_2 | select country from airlines where airline = 'jetblue airways' | Question: which country does airline 'jetblue airways' belong to? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAi... | which country does airline 'jetblue airways' belong to? |
flight_2 | select country from airlines where airline = 'jetblue airways' | Question: what country is jetblue airways affiliated with? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport =... | what country is jetblue airways affiliated with? |
flight_2 | select abbreviation from airlines where airline = 'jetblue airways' | Question: what is the abbreviation of airline 'jetblue airways'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAir... | what is the abbreviation of airline 'jetblue airways'? |
flight_2 | select abbreviation from airlines where airline = 'jetblue airways' | Question: which abbreviation corresponds to jetblue airways? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport... | which abbreviation corresponds to jetblue airways? |
flight_2 | select airline , abbreviation from airlines where country = 'usa' | Question: list all airline names and their abbreviations in 'usa'. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceA... | list all airline names and their abbreviations in 'usa'. |
flight_2 | select airline , abbreviation from airlines where country = 'usa' | Question: what are the airline names and abbreviations for airlines in the usa? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, fl... | what are the airline names and abbreviations for airlines in the usa? |
flight_2 | select airportcode , airportname from airports where city = 'anthony' | Question: list the airport code and name in the city of anthony. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAir... | list the airport code and name in the city of anthony. |
flight_2 | select airportcode , airportname from airports where city = 'anthony' | Question: give the airport code and airport name corresonding to the city anthony. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode,... | give the airport code and airport name corresonding to the city anthony. |
flight_2 | select count(*) from airlines | Question: how many airlines do we have? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.AirportCo... | how many airlines do we have? |
flight_2 | select count(*) from airlines | Question: what is the total number of airlines? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.A... | what is the total number of airlines? |
flight_2 | select count(*) from airports | Question: how many airports do we have? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.AirportCo... | how many airports do we have? |
flight_2 | select count(*) from airports | Question: return the number of airports. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.Airport... | return the number of airports. |
flight_2 | select count(*) from flights | Question: how many flights do we have? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.AirportCod... | how many flights do we have? |
flight_2 | select count(*) from flights | Question: return the number of flights. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.AirportCo... | return the number of flights. |
flight_2 | select airline from airlines where abbreviation = 'ual' | Question: which airline has abbreviation 'ual'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.A... | which airline has abbreviation 'ual'? |
flight_2 | select airline from airlines where abbreviation = 'ual' | Question: give the airline with abbreviation 'ual'. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airpor... | give the airline with abbreviation 'ual'. |
flight_2 | select count(*) from airlines where country = 'usa' | Question: how many airlines are from usa? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.Airport... | how many airlines are from usa? |
flight_2 | select count(*) from airlines where country = 'usa' | Question: return the number of airlines in the usa. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airpor... | return the number of airlines in the usa. |
flight_2 | select city , country from airports where airportname = 'alton' | Question: which city and country is the alton airport at? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = ... | which city and country is the alton airport at? |
flight_2 | select city , country from airports where airportname = 'alton' | Question: give the city and country for the alton airport. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport =... | give the city and country for the alton airport. |
flight_2 | select airportname from airports where airportcode = 'ako' | Question: what is the airport name for airport 'ako'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airp... | what is the airport name for airport 'ako'? |
flight_2 | select airportname from airports where airportcode = 'ako' | Question: return the name of the airport with code 'ako'. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = ... | return the name of the airport with code 'ako'. |
flight_2 | select airportname from airports where city = 'aberdeen' | Question: what are airport names at city 'aberdeen'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airpo... | what are airport names at city 'aberdeen'? |
flight_2 | select airportname from airports where city = 'aberdeen' | Question: what are the names of airports in aberdeen? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airp... | what are the names of airports in aberdeen? |
flight_2 | select count(*) from flights where sourceairport = 'apg' | Question: how many flights depart from 'apg'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.Air... | how many flights depart from 'apg'? |
flight_2 | select count(*) from flights where sourceairport = 'apg' | Question: count the number of flights departing from 'apg'. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport ... | count the number of flights departing from 'apg'. |
flight_2 | select count(*) from flights where destairport = 'ato' | Question: how many flights have destination ato? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.... | how many flights have destination ato? |
flight_2 | select count(*) from flights where destairport = 'ato' | Question: count the number of flights into ato. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.A... | count the number of flights into ato. |
flight_2 | select count(*) from flights as t1 join airports as t2 on t1.sourceairport = t2.airportcode where t2.city = 'aberdeen' | Question: how many flights depart from city aberdeen? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airp... | how many flights depart from city aberdeen? |
flight_2 | select count(*) from flights as t1 join airports as t2 on t1.sourceairport = t2.airportcode where t2.city = 'aberdeen' | Question: return the number of flights departing from aberdeen. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirp... | return the number of flights departing from aberdeen. |
flight_2 | select count(*) from flights as t1 join airports as t2 on t1.destairport = t2.airportcode where t2.city = 'aberdeen' | Question: how many flights arriving in aberdeen city? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airp... | how many flights arriving in aberdeen city? |
flight_2 | select count(*) from flights as t1 join airports as t2 on t1.destairport = t2.airportcode where t2.city = 'aberdeen' | Question: return the number of flights arriving in aberdeen. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport... | return the number of flights arriving in aberdeen. |
flight_2 | select count(*) from flights as t1 join airports as t2 on t1.destairport = t2.airportcode join airports as t3 on t1.sourceairport = t3.airportcode where t2.city = 'ashley' and t3.city = 'aberdeen' | Question: how many flights depart from city 'aberdeen' and have destination city 'ashley'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.Airp... | how many flights depart from city 'aberdeen' and have destination city 'ashley'? |
flight_2 | select count(*) from flights as t1 join airports as t2 on t1.destairport = t2.airportcode join airports as t3 on t1.sourceairport = t3.airportcode where t2.city = 'ashley' and t3.city = 'aberdeen' | Question: how many flights fly from aberdeen to ashley? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = ai... | how many flights fly from aberdeen to ashley? |
flight_2 | select count(*) from flights as t1 join airlines as t2 on t1.airline = t2.uid where t2.airline = 'jetblue airways' | Question: how many flights does airline 'jetblue airways' have? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirp... | how many flights does airline 'jetblue airways' have? |
flight_2 | select count(*) from flights as t1 join airlines as t2 on t1.airline = t2.uid where t2.airline = 'jetblue airways' | Question: give the number of jetblue airways flights. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airp... | give the number of jetblue airways flights. |
flight_2 | select count(*) from airlines as t1 join flights as t2 on t2.airline = t1.uid where t1.airline = 'united airlines' and t2.destairport = 'asy' | Question: how many 'united airlines' flights go to airport 'asy'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAi... | how many 'united airlines' flights go to airport 'asy'? |
flight_2 | select count(*) from airlines as t1 join flights as t2 on t2.airline = t1.uid where t1.airline = 'united airlines' and t2.destairport = 'asy' | Question: count the number of united airlines flights arriving in asy airport. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, fli... | count the number of united airlines flights arriving in asy airport. |
flight_2 | select count(*) from airlines as t1 join flights as t2 on t2.airline = t1.uid where t1.airline = 'united airlines' and t2.sourceairport = 'ahd' | Question: how many 'united airlines' flights depart from airport 'ahd'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.So... | how many 'united airlines' flights depart from airport 'ahd'? |
flight_2 | select count(*) from airlines as t1 join flights as t2 on t2.airline = t1.uid where t1.airline = 'united airlines' and t2.sourceairport = 'ahd' | Question: return the number of united airlines flights leaving from ahd airport. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, f... | return the number of united airlines flights leaving from ahd airport. |
flight_2 | select count(*) from flights as t1 join airports as t2 on t1.destairport = t2.airportcode join airlines as t3 on t3.uid = t1.airline where t2.city = 'aberdeen' and t3.airline = 'united airlines' | Question: how many united airlines flights go to city 'aberdeen'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAi... | how many united airlines flights go to city 'aberdeen'? |
flight_2 | select count(*) from flights as t1 join airports as t2 on t1.destairport = t2.airportcode join airlines as t3 on t3.uid = t1.airline where t2.city = 'aberdeen' and t3.airline = 'united airlines' | Question: count the number of united airlines flights that arrive in aberdeen. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, fli... | count the number of united airlines flights that arrive in aberdeen. |
flight_2 | select t1.city from airports as t1 join flights as t2 on t1.airportcode = t2.destairport group by t1.city order by count(*) desc limit 1 | Question: which city has most number of arriving flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = ... | which city has most number of arriving flights? |
flight_2 | select t1.city from airports as t1 join flights as t2 on t1.airportcode = t2.destairport group by t1.city order by count(*) desc limit 1 | Question: which city has the most frequent destination airport? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirp... | which city has the most frequent destination airport? |
flight_2 | select t1.city from airports as t1 join flights as t2 on t1.airportcode = t2.sourceairport group by t1.city order by count(*) desc limit 1 | Question: which city has most number of departing flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport =... | which city has most number of departing flights? |
flight_2 | select t1.city from airports as t1 join flights as t2 on t1.airportcode = t2.sourceairport group by t1.city order by count(*) desc limit 1 | Question: which city is the most frequent source airport? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = ... | which city is the most frequent source airport? |
flight_2 | select t1.airportcode from airports as t1 join flights as t2 on t1.airportcode = t2.destairport or t1.airportcode = t2.sourceairport group by t1.airportcode order by count(*) desc limit 1 | Question: what is the code of airport that has the highest number of flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flig... | what is the code of airport that has the highest number of flights? |
flight_2 | select t1.airportcode from airports as t1 join flights as t2 on t1.airportcode = t2.destairport or t1.airportcode = t2.sourceairport group by t1.airportcode order by count(*) desc limit 1 | Question: what is the airport code of the airport with the most flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.S... | what is the airport code of the airport with the most flights? |
flight_2 | select t1.airportcode from airports as t1 join flights as t2 on t1.airportcode = t2.destairport or t1.airportcode = t2.sourceairport group by t1.airportcode order by count(*) limit 1 | Question: what is the code of airport that has fewest number of flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.S... | what is the code of airport that has fewest number of flights? |
flight_2 | select t1.airportcode from airports as t1 join flights as t2 on t1.airportcode = t2.destairport or t1.airportcode = t2.sourceairport group by t1.airportcode order by count(*) limit 1 | Question: give the code of the airport with the least flights. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirpo... | give the code of the airport with the least flights. |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) desc limit 1 | Question: which airline has most number of flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airpor... | which airline has most number of flights? |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) desc limit 1 | Question: what airline serves the most flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airports.A... | what airline serves the most flights? |
flight_2 | select t1.abbreviation , t1.country from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) limit 1 | Question: find the abbreviation and country of the airline that has fewest number of flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.A... | find the abbreviation and country of the airline that has fewest number of flights? |
flight_2 | select t1.abbreviation , t1.country from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) limit 1 | Question: what is the abbreviation of the airilne has the fewest flights and what country is it in? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airp... | what is the abbreviation of the airilne has the fewest flights and what country is it in? |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = 'ahd' | Question: what are airlines that have some flight departing from airport 'ahd'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, fl... | what are airlines that have some flight departing from airport 'ahd'? |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = 'ahd' | Question: which airlines have a flight with source airport ahd? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirp... | which airlines have a flight with source airport ahd? |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.destairport = 'ahd' | Question: what are airlines that have flights arriving at airport 'ahd'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.S... | what are airlines that have flights arriving at airport 'ahd'? |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.destairport = 'ahd' | Question: which airlines have a flight with destination airport ahd? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.Sourc... | which airlines have a flight with destination airport ahd? |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = 'apg' intersect select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = 'cvo' | Question: find all airlines that have flights from both airports 'apg' and 'cvo'. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, ... | find all airlines that have flights from both airports 'apg' and 'cvo'. |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = 'apg' intersect select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = 'cvo' | Question: which airlines have departing flights from both apg and cvo airports? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, fl... | which airlines have departing flights from both apg and cvo airports? |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = 'cvo' except select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = 'apg' | Question: find all airlines that have flights from airport 'cvo' but not from 'apg'. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCod... | find all airlines that have flights from airport 'cvo' but not from 'apg'. |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = 'cvo' except select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = 'apg' | Question: which airlines have departures from cvo but not from apg airports? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, fligh... | which airlines have departures from cvo but not from apg airports? |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) > 10 | Question: find all airlines that have at least 10 flights. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport =... | find all airlines that have at least 10 flights. |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) > 10 | Question: which airlines have at least 10 flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airport... | which airlines have at least 10 flights? |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) < 200 | Question: find all airlines that have fewer than 200 flights. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirpor... | find all airlines that have fewer than 200 flights. |
flight_2 | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) < 200 | Question: which airlines have less than 200 flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = airpo... | which airlines have less than 200 flights? |
flight_2 | select t1.flightno from flights as t1 join airlines as t2 on t2.uid = t1.airline where t2.airline = 'united airlines' | Question: what are flight numbers of airline 'united airlines'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirp... | what are flight numbers of airline 'united airlines'? |
flight_2 | select t1.flightno from flights as t1 join airlines as t2 on t2.uid = t1.airline where t2.airline = 'united airlines' | Question: which flight numbers correspond to united airlines flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.Sour... | which flight numbers correspond to united airlines flights? |
flight_2 | select flightno from flights where sourceairport = 'apg' | Question: what are flight numbers of flights departing from airport 'apg'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights... | what are flight numbers of flights departing from airport 'apg'? |
flight_2 | select flightno from flights where sourceairport = 'apg' | Question: give the flight numbers of flights leaving from apg. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirpo... | give the flight numbers of flights leaving from apg. |
flight_2 | select flightno from flights where destairport = 'apg' | Question: what are flight numbers of flights arriving at airport 'apg'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.So... | what are flight numbers of flights arriving at airport 'apg'? |
flight_2 | select flightno from flights where destairport = 'apg' | Question: give the flight numbers of flights landing at apg. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport... | give the flight numbers of flights landing at apg. |
flight_2 | select t1.flightno from flights as t1 join airports as t2 on t1.sourceairport = t2.airportcode where t2.city = 'aberdeen' | Question: what are flight numbers of flights departing from city 'aberdeen '? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flig... | what are flight numbers of flights departing from city 'aberdeen '? |
flight_2 | select t1.flightno from flights as t1 join airports as t2 on t1.sourceairport = t2.airportcode where t2.city = 'aberdeen' | Question: give the flight numbers of flights leaving from aberdeen. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.Source... | give the flight numbers of flights leaving from aberdeen. |
flight_2 | select t1.flightno from flights as t1 join airports as t2 on t1.destairport = t2.airportcode where t2.city = 'aberdeen' | Question: what are flight numbers of flights arriving at city 'aberdeen'? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.... | what are flight numbers of flights arriving at city 'aberdeen'? |
flight_2 | select t1.flightno from flights as t1 join airports as t2 on t1.destairport = t2.airportcode where t2.city = 'aberdeen' | Question: give the flight numbers of flights arriving in aberdeen. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceA... | give the flight numbers of flights arriving in aberdeen. |
flight_2 | select count(*) from flights as t1 join airports as t2 on t1.destairport = t2.airportcode where t2.city = 'aberdeen' or t2.city = 'abilene' | Question: find the number of flights landing in the city of aberdeen or abilene. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, f... | find the number of flights landing in the city of aberdeen or abilene. |
flight_2 | select count(*) from flights as t1 join airports as t2 on t1.destairport = t2.airportcode where t2.city = 'aberdeen' or t2.city = 'abilene' | Question: how many flights land in aberdeen or abilene? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.SourceAirport = ai... | how many flights land in aberdeen or abilene? |
flight_2 | select airportname from airports where airportcode not in (select sourceairport from flights union select destairport from flights) | Question: find the name of airports which do not have any flight in and out. | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, fligh... | find the name of airports which do not have any flight in and out. |
flight_2 | select airportname from airports where airportcode not in (select sourceairport from flights union select destairport from flights) | Question: which airports do not have departing or arriving flights? | Tables: airlines -> uid, Airline, Abbreviation, Country. airports -> City, AirportCode, AirportName, Country, CountryAbbrev. flights -> Airline, FlightNo, SourceAirport, DestAirport. | Joins: flights.DestAirport = airports.AirportCode, flights.Source... | which airports do not have departing or arriving flights? |
employee_hire_evaluation | select count(*) from employee | Question: how many employees are there? | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hiring.Employee_ID = employee.Employee_... | how many employees are there? |
employee_hire_evaluation | select count(*) from employee | Question: count the number of employees | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hiring.Employee_ID = employee.Employee_... | count the number of employees |
employee_hire_evaluation | select name from employee order by age | Question: sort employee names by their age in ascending order. | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hiring.Employee_... | sort employee names by their age in ascending order. |
employee_hire_evaluation | select name from employee order by age | Question: list the names of employees and sort in ascending order of age. | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hirin... | list the names of employees and sort in ascending order of age. |
employee_hire_evaluation | select count(*) , city from employee group by city | Question: what is the number of employees from each city? | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hiring.Employee_ID = ... | what is the number of employees from each city? |
employee_hire_evaluation | select count(*) , city from employee group by city | Question: count the number of employees for each city. | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hiring.Employee_ID = emp... | count the number of employees for each city. |
employee_hire_evaluation | select city from employee where age < 30 group by city having count(*) > 1 | Question: which cities do more than one employee under age 30 come from? | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hiring... | which cities do more than one employee under age 30 come from? |
employee_hire_evaluation | select city from employee where age < 30 group by city having count(*) > 1 | Question: find the cities that have more than one employee under age 30. | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hiring... | find the cities that have more than one employee under age 30. |
employee_hire_evaluation | select count(*) , location from shop group by location | Question: find the number of shops in each location. | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hiring.Employee_ID = emplo... | find the number of shops in each location. |
employee_hire_evaluation | select count(*) , location from shop group by location | Question: how many shops are there in each location? | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hiring.Employee_ID = emplo... | how many shops are there in each location? |
employee_hire_evaluation | select manager_name , district from shop order by number_products desc limit 1 | Question: find the manager name and district of the shop whose number of products is the largest. | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarde... | find the manager name and district of the shop whose number of products is the largest. |
employee_hire_evaluation | select manager_name , district from shop order by number_products desc limit 1 | Question: what are the manager name and district of the shop that sells the largest number of products? | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_... | what are the manager name and district of the shop that sells the largest number of products? |
employee_hire_evaluation | select min(number_products) , max(number_products) from shop | Question: find the minimum and maximum number of products of all stores. | Tables: employee -> Employee_ID, Name, Age, City. shop -> Shop_ID, Name, Location, District, Number_products, Manager_name. hiring -> Shop_ID, Employee_ID, Start_from, Is_full_time. evaluation -> Employee_ID, Year_awarded, Bonus. | Joins: hiring... | find the minimum and maximum number of products of all stores. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.