question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
How many margins have a winner of S. Singaravadivel? | CREATE TABLE table_22753439_1 (margin VARCHAR, winner VARCHAR) | SELECT COUNT(margin) FROM table_22753439_1 WHERE winner = "S. Singaravadivel" |
What was the manner in which Petrik Sander departed? | CREATE TABLE table_17085981_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT manner_of_departure FROM table_17085981_2 WHERE outgoing_manager = "Petrik Sander" |
When the money list rank was n/a, what was the scoring average? | CREATE TABLE table_10021158_3 (scoring_average VARCHAR, money_list_rank VARCHAR) | SELECT scoring_average FROM table_10021158_3 WHERE money_list_rank = "n/a" |
What season had Dalian Wanda as the winner with Yanbian Aodong winning 4th? | CREATE TABLE table_name_1 (season INTEGER, winners VARCHAR, fourth_placed VARCHAR) | SELECT SUM(season) FROM table_name_1 WHERE winners = "dalian wanda" AND fourth_placed = "yanbian aodong" |
What is the place number for adrian vasile with less than 127.74 points? | CREATE TABLE table_name_14 (places INTEGER, name VARCHAR, points VARCHAR) | SELECT SUM(places) FROM table_name_14 WHERE name = "adrian vasile" AND points < 127.74 |
In what edition was the opponent team Zimbabwe? | CREATE TABLE table_27877656_8 (edition VARCHAR, opponent_team VARCHAR) | SELECT edition FROM table_27877656_8 WHERE opponent_team = "Zimbabwe" |
Name the kicks with goals of 1 | CREATE TABLE table_name_40 (kicks VARCHAR, goals VARCHAR) | SELECT kicks FROM table_name_40 WHERE goals = "1" |
What is the population when the area is 4,575? | CREATE TABLE table_name_8 (population VARCHAR, area VARCHAR) | SELECT population FROM table_name_8 WHERE area = "4,575" |
Which player had an opponent of Blackburn Rovers? | CREATE TABLE table_24765815_1 (player VARCHAR, opponent VARCHAR) | SELECT player FROM table_24765815_1 WHERE opponent = "Blackburn Rovers" |
How many Picks have a Round larger than 2, and a Name of lawrence sidbury, and an Overall smaller than 125? | CREATE TABLE table_name_69 (pick__number VARCHAR, overall VARCHAR, round VARCHAR, name VARCHAR) | SELECT COUNT(pick__number) FROM table_name_69 WHERE round > 2 AND name = "lawrence sidbury" AND overall < 125 |
Which location is in 71 St. Joseph county with South Bend Washington school? | CREATE TABLE table_name_97 (location VARCHAR, county VARCHAR, school VARCHAR) | SELECT location FROM table_name_97 WHERE county = "71 st. joseph" AND school = "south bend washington" |
Who had the fastest lap when the winning driver was kristian ghedina? | CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_26920192_5 WHERE winning_driver = "Kristian Ghedina" |
Show the distinct director of films with market estimation in the year of 1995. | CREATE TABLE film (Director VARCHAR, Film_ID VARCHAR); CREATE TABLE film_market_estimation (Film_ID VARCHAR, Year VARCHAR) | SELECT DISTINCT T1.Director FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID WHERE T2.Year = 1995 |
What is Area km 2, when Population is greater than 1,395? | CREATE TABLE table_name_21 (area_km_2 INTEGER, population INTEGER) | SELECT MIN(area_km_2) FROM table_name_21 WHERE population > 1 OFFSET 395 |
Where was the race on 28 dec 2010 held? | CREATE TABLE table_name_69 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_69 WHERE date = "28 dec 2010" |
Name the rank where the municipality is sunndal? | CREATE TABLE table_12280396_1 (rank VARCHAR, municipality VARCHAR) | SELECT rank FROM table_12280396_1 WHERE municipality = "Sunndal" |
Which category was Maite Perroni nominated for earlier than 2009? | CREATE TABLE table_name_37 (category VARCHAR, nominated VARCHAR, year VARCHAR) | SELECT category FROM table_name_37 WHERE nominated = "maite perroni" AND year < 2009 |
Who was game number 8 played against? | CREATE TABLE table_19778010_5 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_19778010_5 WHERE game = 8 |
What Type of game has a Results¹ of 10:1? | CREATE TABLE table_name_33 (type_of_game VARCHAR, results¹ VARCHAR) | SELECT type_of_game FROM table_name_33 WHERE results¹ = "10:1" |
Tell me the average goals with apps less than 3 | CREATE TABLE table_name_16 (goals INTEGER, apps INTEGER) | SELECT AVG(goals) FROM table_name_16 WHERE apps < 3 |
Which Numbers (Quantity Ordered) have a Fuel Propulsion of cng, and a Year smaller than 2008, and a Make/ Model of nabi 40-lfw? | CREATE TABLE table_name_96 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR) | SELECT numbers__quantity_ordered_ FROM table_name_96 WHERE fuel_propulsion = "cng" AND year < 2008 AND make__model = "nabi 40-lfw" |
Where does team #55/#83 robby gordon motorsports rank in the top 10? | CREATE TABLE table_1507423_5 (top_10 INTEGER, team_s_ VARCHAR) | SELECT MAX(top_10) FROM table_1507423_5 WHERE team_s_ = "#55/#83 Robby Gordon Motorsports" |
Where was the quake that began at 14:07? | CREATE TABLE table_25643046_1 (location VARCHAR, origin_time VARCHAR) | SELECT location FROM table_25643046_1 WHERE origin_time = "14:07" |
What is the result for the game on May 27, 2006? | CREATE TABLE table_name_19 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_19 WHERE date = "may 27, 2006" |
On average, how many wins have a rank lower than 1? | CREATE TABLE table_name_14 (wins INTEGER, rank INTEGER) | SELECT AVG(wins) FROM table_name_14 WHERE rank < 1 |
On what date was the 48th Edition raced? | CREATE TABLE table_name_43 (date VARCHAR, edition VARCHAR) | SELECT date FROM table_name_43 WHERE edition = "48th" |
How many touchdowns did the fullback score? | CREATE TABLE table_25711913_8 (touchdowns INTEGER, position VARCHAR) | SELECT MIN(touchdowns) FROM table_25711913_8 WHERE position = "Fullback" |
What was the date of game 21? | CREATE TABLE table_name_85 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_85 WHERE game = 21 |
What was Laurel's division record? | CREATE TABLE table_name_63 (division_record VARCHAR, school VARCHAR) | SELECT division_record FROM table_name_63 WHERE school = "laurel" |
What is the sum of the bronze medals of the nation with less than 0 silvers? | CREATE TABLE table_name_42 (bronze INTEGER, silver INTEGER) | SELECT SUM(bronze) FROM table_name_42 WHERE silver < 0 |
Which home team played against Stoke City? | CREATE TABLE table_name_91 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_91 WHERE away_team = "stoke city" |
Name the number of driver for fin pos of 19 | CREATE TABLE table_17304308_1 (driver VARCHAR, fin_pos VARCHAR) | SELECT COUNT(driver) FROM table_17304308_1 WHERE fin_pos = 19 |
when was the building withdrawn when the builder was ac cars and was introduced before 1958? | CREATE TABLE table_name_78 (withdrawn INTEGER, builder VARCHAR, introduced VARCHAR) | SELECT SUM(withdrawn) FROM table_name_78 WHERE builder = "ac cars" AND introduced < 1958 |
On what date did the New York Giants host a game? | CREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR) | SELECT date FROM table_name_42 WHERE host_team = "new york giants" |
What was the mls cup playoffs when concacaf champions cup / concacaf champions league was quarter-finals (09-10)? | CREATE TABLE table_245695_2 (mls_cup_playoffs VARCHAR, concacaf_champions_cup___concacaf_champions_league VARCHAR) | SELECT mls_cup_playoffs FROM table_245695_2 WHERE concacaf_champions_cup___concacaf_champions_league = "Quarter-Finals (09-10)" |
What are the names of perpetrators? | CREATE TABLE perpetrator (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID |
Which SR number had a wheel arrangement of 0-6-0t, the year made was more recent than 1874, and the year withdrawn was 1963? | CREATE TABLE table_name_87 (sr_no VARCHAR, year_withdrawn VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) | SELECT sr_no FROM table_name_87 WHERE wheel_arrangement = "0-6-0t" AND year_made > 1874 AND year_withdrawn = 1963 |
How many sprint classifications are there where marco frapporti is the winner? | CREATE TABLE table_25655781_17 (sprint_classification VARCHAR, winner VARCHAR) | SELECT COUNT(sprint_classification) FROM table_25655781_17 WHERE winner = "Marco Frapporti" |
Find the name of the makers that produced some cars in the year of 1970? | CREATE TABLE MODEL_LIST (Maker VARCHAR, model VARCHAR); CREATE TABLE CAR_MAKERS (Maker VARCHAR, Id VARCHAR); CREATE TABLE CARS_DATA (id VARCHAR, year VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR) | SELECT DISTINCT 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 JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970' |
What is the Defending forces when the population was 120? | CREATE TABLE table_name_41 (defending_forces VARCHAR, population VARCHAR) | SELECT defending_forces FROM table_name_41 WHERE population = "120" |
Which Rank has a Nation of south korea, and a Silver larger than 0? | CREATE TABLE table_name_53 (rank INTEGER, nation VARCHAR, silver VARCHAR) | SELECT SUM(rank) FROM table_name_53 WHERE nation = "south korea" AND silver > 0 |
On what position number is the club with a w-l-d of 5-7-4? | CREATE TABLE table_13713206_1 (club__city_town_ VARCHAR, w_l_d VARCHAR) | SELECT COUNT(club__city_town_) FROM table_13713206_1 WHERE w_l_d = "5-7-4" |
How long was the walk numbered at 17? | CREATE TABLE table_14125006_1 (total_time_hours VARCHAR, number VARCHAR) | SELECT total_time_hours AS :minutes FROM table_14125006_1 WHERE number = 17 |
Name the won promotion for 1987 | CREATE TABLE table_2119448_3 (won_promotion VARCHAR, season VARCHAR) | SELECT won_promotion FROM table_2119448_3 WHERE season = 1987 |
Which record has 64,053 as the attendance? | CREATE TABLE table_name_51 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_51 WHERE attendance = "64,053" |
what is the name when the west or south terminus is ne 112 west of blue springs? | CREATE TABLE table_name_63 (name VARCHAR, west_or_south_terminus VARCHAR) | SELECT name FROM table_name_63 WHERE west_or_south_terminus = "ne 112 west of blue springs" |
Show institution types, along with the number of institutions and total enrollment for each type. | CREATE TABLE institution (TYPE VARCHAR, enrollment INTEGER) | SELECT TYPE, COUNT(*), SUM(enrollment) FROM institution GROUP BY TYPE |
What is the name of the Conference which Division is south, and the Home Stadium is georgia dome? | CREATE TABLE table_name_69 (conference VARCHAR, division VARCHAR, home_stadium VARCHAR) | SELECT conference FROM table_name_69 WHERE division = "south" AND home_stadium = "georgia dome" |
What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament? | CREATE TABLE table_name_80 (runners_up VARCHAR, year VARCHAR, champions VARCHAR, name_of_tournament VARCHAR) | SELECT runners_up FROM table_name_80 WHERE champions = "ivan lendl" AND name_of_tournament = "seiko super tennis" AND year < 1990 |
Which attendance number was taken in a week less than 16 when the Washington Redskins were the opponents? | CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_39 WHERE week < 16 AND opponent = "washington redskins" |
What competition ended with a score of 38-14? | CREATE TABLE table_13328239_4 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_13328239_4 WHERE score = "38-14" |
What country is the film hi no tsugi ha rekishi from? | CREATE TABLE table_name_21 (country VARCHAR, film VARCHAR) | SELECT country FROM table_name_21 WHERE film = "hi no tsugi ha rekishi" |
What is the total number of weeks that the Steelers had a record of 1–0? | CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR) | SELECT COUNT(week) FROM table_name_99 WHERE record = "1–0" |
Name the D 42 which has a D 46 of r 26 | CREATE TABLE table_name_6 (d_42 VARCHAR, d_46 VARCHAR) | SELECT d_42 FROM table_name_6 WHERE d_46 = "r 26" |
List the population density per kilometer for the city of calintaan? | CREATE TABLE table_261951_1 (pop_density__per_km²_ VARCHAR, municipality VARCHAR) | SELECT pop_density__per_km²_ FROM table_261951_1 WHERE municipality = "Calintaan" |
Name the high rebounds for 77 game | CREATE TABLE table_27755784_11 (high_rebounds VARCHAR, game VARCHAR) | SELECT high_rebounds FROM table_27755784_11 WHERE game = 77 |
how many equivalent daily inflation rate with time required for prices to double being 3.7 days | CREATE TABLE table_13681_2 (equivalent_daily_inflation_rate VARCHAR, time_required_for_prices_to_double VARCHAR) | SELECT COUNT(equivalent_daily_inflation_rate) FROM table_13681_2 WHERE time_required_for_prices_to_double = "3.7 days" |
Which Laps have a Manufacturer of suzuki, and a Grid smaller than 16? | CREATE TABLE table_name_93 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) | SELECT MAX(laps) FROM table_name_93 WHERE manufacturer = "suzuki" AND grid < 16 |
What is the average pick of San Diego State? | CREATE TABLE table_name_63 (pick INTEGER, college VARCHAR) | SELECT AVG(pick) FROM table_name_63 WHERE college = "san diego state" |
What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96? | CREATE TABLE table_name_69 (city VARCHAR, built VARCHAR, spire__m_ VARCHAR, roof___m__ VARCHAR) | SELECT city FROM table_name_69 WHERE spire__m_ = "105" AND roof___m__ < 96 AND built = 1985 |
When the año was 2012, who was the county? | CREATE TABLE table_27501971_2 (country VARCHAR, año VARCHAR) | SELECT country FROM table_27501971_2 WHERE año = 2012 |
Which Score has a Record of 1-2? | CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_40 WHERE record = "1-2" |
What is the name of the player when n is 28? | CREATE TABLE table_22810095_8 (name VARCHAR, n VARCHAR) | SELECT name FROM table_22810095_8 WHERE n = 28 |
what year did naga bonar take place | CREATE TABLE table_name_82 (year__ceremony_ VARCHAR, original_title VARCHAR) | SELECT year__ceremony_ FROM table_name_82 WHERE original_title = "naga bonar" |
Show ids, customer ids, card type codes, card numbers for all cards. | CREATE TABLE Customers_cards (card_id VARCHAR, customer_id VARCHAR, card_type_code VARCHAR, card_number VARCHAR) | SELECT card_id, customer_id, card_type_code, card_number FROM Customers_cards |
How many different counts of the Raiders first downs are there for the game number 9? | CREATE TABLE table_18207285_2 (raiders_first_downs VARCHAR, game VARCHAR) | SELECT COUNT(raiders_first_downs) FROM table_18207285_2 WHERE game = 9 |
What is Date, when Margin Of Victory is 4 Strokes? | CREATE TABLE table_name_1 (date VARCHAR, margin_of_victory VARCHAR) | SELECT date FROM table_name_1 WHERE margin_of_victory = "4 strokes" |
What was the margin of the match on 19 Jan 2002? | CREATE TABLE table_22384475_1 (margin VARCHAR, match_date VARCHAR) | SELECT margin FROM table_22384475_1 WHERE match_date = "19 Jan 2002" |
What is the total number of runs when the average was less than 31.25 and there were fewer than 24 innings? | CREATE TABLE table_name_51 (runs VARCHAR, average VARCHAR, innings VARCHAR) | SELECT COUNT(runs) FROM table_name_51 WHERE average > 31.25 AND innings < 24 |
What school did the player that has been in Toronto from 2010-2012 go to? | CREATE TABLE table_10015132_1 (school_club_team VARCHAR, years_in_toronto VARCHAR) | SELECT school_club_team FROM table_10015132_1 WHERE years_in_toronto = "2010-2012" |
What is the lowest number of bronze medals for nations with over 6 total and 2 golds? | CREATE TABLE table_name_71 (bronze INTEGER, gold VARCHAR, total VARCHAR) | SELECT MIN(bronze) FROM table_name_71 WHERE gold = 2 AND total > 6 |
Where did Kisnorbo move from? | CREATE TABLE table_22810095_8 (moving_from VARCHAR, name VARCHAR) | SELECT moving_from FROM table_22810095_8 WHERE name = "Kisnorbo" |
How many teams are listed for February 18? | CREATE TABLE table_15869204_7 (team VARCHAR, date VARCHAR) | SELECT COUNT(team) FROM table_15869204_7 WHERE date = "February 18" |
Name the circuit for #47 orbit racing | CREATE TABLE table_19598014_2 (circuit VARCHAR, challenge_winning_team VARCHAR) | SELECT circuit FROM table_19598014_2 WHERE challenge_winning_team = "#47 Orbit Racing" |
Which Money ($) has a Score of 70-66-73-69=278? | CREATE TABLE table_name_95 (money___ INTEGER, score VARCHAR) | SELECT AVG(money___) AS $__ FROM table_name_95 WHERE score = 70 - 66 - 73 - 69 = 278 |
What is the order year of obi builder and 05.505 model that is 30 feet long? | CREATE TABLE table_name_89 (order_year VARCHAR, model VARCHAR, builder VARCHAR, length__ft_ VARCHAR) | SELECT order_year FROM table_name_89 WHERE builder = "obi" AND length__ft_ = "30" AND model = "05.505" |
What is the qual when there are 125 laps? | CREATE TABLE table_name_6 (qual VARCHAR, laps VARCHAR) | SELECT qual FROM table_name_6 WHERE laps = 125 |
Which Mac OS X has a Linux of no, and an AmigaOS of no, and an Android of unknown? | CREATE TABLE table_name_88 (mac_os_x VARCHAR, android VARCHAR, linux VARCHAR, amigaos VARCHAR) | SELECT mac_os_x FROM table_name_88 WHERE linux = "no" AND amigaos = "no" AND android = "unknown" |
What is John Shadegg's First Elected date? | CREATE TABLE table_name_18 (first_elected INTEGER, incumbent VARCHAR) | SELECT AVG(first_elected) FROM table_name_18 WHERE incumbent = "john shadegg" |
What year was Caroline Medina Miss Fire (3rd Runner-up)? | CREATE TABLE table_name_21 (year INTEGER, miss_fire__3rd_runner_up_ VARCHAR) | SELECT AVG(year) FROM table_name_21 WHERE miss_fire__3rd_runner_up_ = "caroline medina" |
What is the opponent for the date of august 5? | CREATE TABLE table_name_75 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_75 WHERE date = "august 5" |
What is the Population of Tshepiso with a Code of 70409 or smaller and an Area (km 2) smaller than 5.97? | CREATE TABLE table_name_66 (population INTEGER, place VARCHAR, code VARCHAR, area__km_2__ VARCHAR) | SELECT MIN(population) FROM table_name_66 WHERE code < 70409 AND area__km_2__ < 5.97 AND place = "tshepiso" |
Which average Drawn has Games larger than 7? | CREATE TABLE table_name_29 (drawn INTEGER, games INTEGER) | SELECT AVG(drawn) FROM table_name_29 WHERE games > 7 |
What is the lowest attendance on November 18? | CREATE TABLE table_name_94 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_94 WHERE date = "november 18" |
Which common has an area (km2) of 38.38? | CREATE TABLE table_1449169_1 (common VARCHAR, area__km_2__ VARCHAR) | SELECT common FROM table_1449169_1 WHERE area__km_2__ = "38.38" |
What is the name of the writer for the episode with an Original air date of october 9, 2000? | CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR) | SELECT written_by FROM table_name_71 WHERE original_air_date = "october 9, 2000" |
What is the name of the school where the year of last win is 1985-86? | CREATE TABLE table_14286908_1 (school VARCHAR, year_of_last_win VARCHAR) | SELECT school FROM table_14286908_1 WHERE year_of_last_win = "1985-86" |
List the maximum speed for the 1.150 ton ships? | CREATE TABLE table_23614702_2 (speed___knots__ VARCHAR, tons___lton__ VARCHAR) | SELECT speed___knots__ FROM table_23614702_2 WHERE tons___lton__ = "1.150" |
What is the place of the player from the United States with a score of 74-72=146? | CREATE TABLE table_name_87 (place VARCHAR, country VARCHAR, score VARCHAR) | SELECT place FROM table_name_87 WHERE country = "united states" AND score = 74 - 72 = 146 |
What is the Record for 23 january 2010, with a time smaller than 42.679 seconds? | CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR, time__seconds_ VARCHAR) | SELECT record FROM table_name_42 WHERE date = "23 january 2010" AND time__seconds_ < 42.679 |
How much money was won for the game with a score of 74-76-71-71=292? | CREATE TABLE table_name_17 (money___$__ VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_17 WHERE score = 74 - 76 - 71 - 71 = 292 |
What was the date of the game that had a loss of Johnson (9-8)? | CREATE TABLE table_name_30 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_30 WHERE loss = "johnson (9-8)" |
What is the Name of ङ ng/na? | CREATE TABLE table_name_87 (name VARCHAR, pada_3 VARCHAR) | SELECT name FROM table_name_87 WHERE pada_3 = "ङ ng/na" |
What was the margin of victory when the winning score was –14 (70-68-67=205)? | CREATE TABLE table_name_59 (margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT margin_of_victory FROM table_name_59 WHERE winning_score = –14(70 - 68 - 67 = 205) |
What's the average year Charles N. Felton was re-elected? | CREATE TABLE table_name_92 (first_elected INTEGER, result VARCHAR, incumbent VARCHAR) | SELECT AVG(first_elected) FROM table_name_92 WHERE result = "re-elected" AND incumbent = "charles n. felton" |
What clu was in toronto 1995-96 | CREATE TABLE table_10015132_16 (school_club_team VARCHAR, years_in_toronto VARCHAR) | SELECT school_club_team FROM table_10015132_16 WHERE years_in_toronto = "1995-96" |
What away is there for the q3 round? | CREATE TABLE table_name_68 (away VARCHAR, round VARCHAR) | SELECT away FROM table_name_68 WHERE round = "q3" |
Show the start dates and end dates of all the apartment bookings made by guests with gender code "Female". | CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, guest_id VARCHAR); CREATE TABLE Guests (guest_id VARCHAR, gender_code VARCHAR) | SELECT T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female" |
What is the least wins for a team with against less than 814? | CREATE TABLE table_name_42 (wins INTEGER, against INTEGER) | SELECT MIN(wins) FROM table_name_42 WHERE against < 814 |
what is the maximum aircraft movements with international passengers being 21002260 | CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, international_passengers VARCHAR) | SELECT MAX(aircraft_movements) FROM table_13836704_9 WHERE international_passengers = 21002260 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.