answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT month, _year FROM table_name_73 WHERE sunk_by_aircraft < 106005 AND sunk_by_warship_or_raider = 61857 | What is the month and year less than 106005 were sunk by aircraft and 61857 were sunk by warship or raider? | CREATE TABLE table_name_73 (month VARCHAR, _year VARCHAR, sunk_by_aircraft VARCHAR, sunk_by_warship_or_raider VARCHAR) |
SELECT home_team AS score FROM table_name_29 WHERE away_team = "south melbourne" | What was the score of the Home team in the game that had the Away team of south melbourne? | CREATE TABLE table_name_29 (home_team VARCHAR, away_team VARCHAR) |
SELECT country FROM table_name_98 WHERE iata = "cju" | What is the Country when the IATA shows cju? | CREATE TABLE table_name_98 (country VARCHAR, iata VARCHAR) |
SELECT appointed_by FROM table_name_15 WHERE title = "envoy extraordinary and minister plenipotentiary" AND termination_of_mission = "march 16, 1905" | Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905? | CREATE TABLE table_name_15 (appointed_by VARCHAR, title VARCHAR, termination_of_mission VARCHAR) |
SELECT DISTINCT Name FROM WINE ORDER BY Name | List the names of all distinct wines in alphabetical order. | CREATE TABLE WINE (Name VARCHAR) |
SELECT score FROM table_name_86 WHERE date = "november 15" | What is the score when november 15 is the date? | CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR) |
SELECT MIN(draws) FROM table_name_3 WHERE alianza_goals < 317 AND u_goals < 3 AND alianza_wins < 2 | What is the lowest Draws, when Alianza Goals is less than 317, when U Goals is less than 3, and when Alianza Wins is less than 2? | CREATE TABLE table_name_3 (draws INTEGER, alianza_wins VARCHAR, alianza_goals VARCHAR, u_goals VARCHAR) |
SELECT 1982 AS _83 FROM table_22606461_10 WHERE rank = 1 | What is every entry for 1982-83 for rank 1? | CREATE TABLE table_22606461_10 (rank VARCHAR) |
SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Music" | What is the pinyin for explaining music? | CREATE TABLE table_1216675_1 (pinyin VARCHAR, translation VARCHAR) |
SELECT results FROM table_14154271_2 WHERE gt2_winning_team = "Lars-Erik Nielsen Allan Simonsen Richard Westbrook" | The results for gt2 winning team is all lars-erik nielsen allan simonsen richard westbrook. | CREATE TABLE table_14154271_2 (results VARCHAR, gt2_winning_team VARCHAR) |
SELECT current_manager FROM table_name_15 WHERE location = "tubize" | Who is the current manager of the team located in tubize? | CREATE TABLE table_name_15 (current_manager VARCHAR, location VARCHAR) |
SELECT russian FROM table_name_16 WHERE avoirdupois_value = "0.686 gr" | What Russian has an Avoirdupois value of 0.686 gr? | CREATE TABLE table_name_16 (russian VARCHAR, avoirdupois_value VARCHAR) |
SELECT location_attendance FROM table_17121262_9 WHERE game = 60 | What was the location and attendance for game 60? | CREATE TABLE table_17121262_9 (location_attendance VARCHAR, game VARCHAR) |
SELECT COUNT(seats_in_congress) FROM table_2676980_4 WHERE candidates_per_party = 6 | What is the number of seats in congress when the candidates per party is 6? | CREATE TABLE table_2676980_4 (seats_in_congress VARCHAR, candidates_per_party VARCHAR) |
SELECT position FROM table_name_64 WHERE player = "bernard thompson" | Which Position has a Player of bernard thompson? | CREATE TABLE table_name_64 (position VARCHAR, player VARCHAR) |
SELECT MAX(played) FROM table_name_62 WHERE drawn < 1 | What is the largest played when the drawn is less than 1? | CREATE TABLE table_name_62 (played INTEGER, drawn INTEGER) |
SELECT score FROM table_name_6 WHERE record = "17-27" | Name the score with record of 17-27 | CREATE TABLE table_name_6 (score VARCHAR, record VARCHAR) |
SELECT opponents_in_the_final FROM table_name_4 WHERE date = "june 23, 2003" | Who were the opponents of the final on June 23, 2003? | CREATE TABLE table_name_4 (opponents_in_the_final VARCHAR, date VARCHAR) |
SELECT score FROM table_name_10 WHERE date = "february 29" | What was the score for the game on February 29? | CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR) |
SELECT unemployment_rate FROM table_22815568_13 WHERE market_income_per_capita = "$16,406" | what is the unemployment rate where the market income per capita is $16,406? | CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) |
SELECT total_copies_sold FROM table_21458142_1 WHERE release_date = "October 23, 2008" | How many copies were sold of the game released on october 23, 2008? | CREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR) |
SELECT laps FROM table_name_3 WHERE time_retired = "+ 4 laps" AND driver = "graham hill" | How many laps have a Time/Retired of + 4 laps, and a Driver of graham hill? | CREATE TABLE table_name_3 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR) |
SELECT attendance FROM table_name_26 WHERE week = 7 | What was the attendance on week 7? | CREATE TABLE table_name_26 (attendance VARCHAR, week VARCHAR) |
SELECT region FROM table_22901612_2 WHERE chief_judge = "Jeffrey L. Viken" | If the chief judge is Jeffrey L. Viken, what is the region? | CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR) |
SELECT result FROM table_name_93 WHERE week = "week 2" | What was the result of week 2? | CREATE TABLE table_name_93 (result VARCHAR, week VARCHAR) |
SELECT MIN(earnings___) AS $__ FROM table_name_49 WHERE wins = 28 AND player = "lee trevino" | What is the lowest earnings of Lee Trevino who has 28 wins? | CREATE TABLE table_name_49 (earnings___ INTEGER, wins VARCHAR, player VARCHAR) |
SELECT SUM(bronze) FROM table_name_19 WHERE silver < 0 | What is the number of bronze medals when there are fewer than 0 silver medals? | CREATE TABLE table_name_19 (bronze INTEGER, silver INTEGER) |
SELECT assists FROM table_name_94 WHERE blocks = "2 tied (1)" AND year > 1995 | What is Assists that has a Blocks of 2 tied (1) with a Year larger than 1995 | CREATE TABLE table_name_94 (assists VARCHAR, blocks VARCHAR, year VARCHAR) |
SELECT took_office FROM table_name_53 WHERE vice > 6 | When did the vice president with a vice over 6 take office? | CREATE TABLE table_name_53 (took_office VARCHAR, vice INTEGER) |
SELECT COUNT(rank) FROM table_22916979_5 WHERE densest_incorporated_place = "Stone Park" | Name the number of rank for stone park | CREATE TABLE table_22916979_5 (rank VARCHAR, densest_incorporated_place VARCHAR) |
SELECT circuit FROM table_name_77 WHERE date = "july 24" | Which circuit is on July 24? | CREATE TABLE table_name_77 (circuit VARCHAR, date VARCHAR) |
SELECT COUNT(cyrillic_name_other_names) FROM table_2562572_22 WHERE settlement = "Stanišić" | Name the number of cyrillic name for stanišić | CREATE TABLE table_2562572_22 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) |
SELECT year FROM table_name_39 WHERE laps = 54 | What year resulted in 54 laps? | CREATE TABLE table_name_39 (year VARCHAR, laps VARCHAR) |
SELECT to_par FROM table_name_63 WHERE place = "t4" AND score = 72 - 69 - 73 = 214 | What is the To par of the T4 Place Player with a Score of 72-69-73=214? | CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR, score VARCHAR) |
SELECT player FROM table_10621256_1 WHERE 50 = 2 AND n_o = 0 | what's the player where 50 is 2 and n/o is 0 | CREATE TABLE table_10621256_1 (player VARCHAR, n_o VARCHAR) |
SELECT proto_oceanic FROM table_name_86 WHERE animal = "louse" | What proto-oceanic has louse as the animal? | CREATE TABLE table_name_86 (proto_oceanic VARCHAR, animal VARCHAR) |
SELECT location_attendance FROM table_11965481_13 WHERE date = "June 10" | Name the location on june 10 | CREATE TABLE table_11965481_13 (location_attendance VARCHAR, date VARCHAR) |
SELECT year FROM table_name_51 WHERE venue = "landshut" | What year was the venue Landshut? | CREATE TABLE table_name_51 (year VARCHAR, venue VARCHAR) |
SELECT away_team AS score FROM table_name_80 WHERE venue = "brunswick street oval" | What is the away team's score at brunswick street oval? | CREATE TABLE table_name_80 (away_team VARCHAR, venue VARCHAR) |
SELECT set_3 FROM table_name_61 WHERE time = "10:00" AND score = "3–2" AND total = "113–102" | Which set 3 has a Time of 10:00, and a Score of 3–2, and a Total of 113–102? | CREATE TABLE table_name_61 (set_3 VARCHAR, total VARCHAR, time VARCHAR, score VARCHAR) |
SELECT visitor FROM table_name_4 WHERE decision = "ward" AND record = "22–21–4" | Who was the visitor when ward recorded the decision with a record of 22–21–4? | CREATE TABLE table_name_4 (visitor VARCHAR, decision VARCHAR, record VARCHAR) |
SELECT COUNT(gf_attendance) FROM table_11236195_2 WHERE location = "Sydney Football Stadium, Sydney (6)" | What was the GF attendance at the location of Sydney Football Stadium, Sydney (6)? | CREATE TABLE table_11236195_2 (gf_attendance VARCHAR, location VARCHAR) |
SELECT score FROM table_name_82 WHERE game = 2 | What was the score for game 2? | CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR) |
SELECT candidates FROM table_1342331_18 WHERE district = "Louisiana 6" | What candidate is in Louisiana 6? | CREATE TABLE table_1342331_18 (candidates VARCHAR, district VARCHAR) |
SELECT game FROM table_20928661_1 WHERE record = "3-0" | Name the game for record being 3-0 | CREATE TABLE table_20928661_1 (game VARCHAR, record VARCHAR) |
SELECT date FROM table_name_24 WHERE record = "22-22" | Which date has a Record of 22-22? | CREATE TABLE table_name_24 (date VARCHAR, record VARCHAR) |
SELECT away_team FROM table_name_19 WHERE home_team = "footscray" | What team was the away team when Footscray was the home team? | CREATE TABLE table_name_19 (away_team VARCHAR, home_team VARCHAR) |
SELECT college_junior_club_team FROM table_1965650_11 WHERE position = "Centre" AND player = "Russ Wiechnik" | What team did Russ Wiechnik, on the centre position, come from? | CREATE TABLE table_1965650_11 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR) |
SELECT MAX(year) FROM table_name_43 WHERE chassis = "tyrrell 018" AND points < 3 | What is the latest year for the Tyrrell 018 Chassis that has less than 3 points? | CREATE TABLE table_name_43 (year INTEGER, chassis VARCHAR, points VARCHAR) |
SELECT T2.title FROM artists AS T1 JOIN albums AS T2 ON T1.id = T2.artist_id WHERE T1.name LIKE '%Led%' | List the name of albums that are released by aritist whose name has 'Led' | CREATE TABLE artists (id VARCHAR, name VARCHAR); CREATE TABLE albums (title VARCHAR, artist_id VARCHAR) |
SELECT álbum FROM table_name_65 WHERE year = 1996 | What álbum was in the year 1996? | CREATE TABLE table_name_65 (álbum VARCHAR, year VARCHAR) |
SELECT 1 AS st_ship_delivery_date FROM table_name_87 WHERE total_number_of_ways = "6 ways" | What is the 1st ship delivery date of 6 ways? | CREATE TABLE table_name_87 (total_number_of_ways VARCHAR) |
SELECT COUNT(production_code) FROM table_21550870_1 WHERE written_by = "Steve Cohen & Andrew Dettman" | Name the total number of production code for episode by steve cohen & andrew dettman | CREATE TABLE table_21550870_1 (production_code VARCHAR, written_by VARCHAR) |
SELECT venue FROM table_name_7 WHERE home_team = "geelong" | Where does Geelong play their home game? | CREATE TABLE table_name_7 (venue VARCHAR, home_team VARCHAR) |
SELECT MAX(round) FROM table_name_36 WHERE res = "loss" AND time = "40:00" | What round has the highest Res loss, and a time of 40:00? | CREATE TABLE table_name_36 (round INTEGER, res VARCHAR, time VARCHAR) |
SELECT chinese_name FROM table_name_85 WHERE station_name = "wudaokou" | What's the Chinese name of the wudaokou station? | CREATE TABLE table_name_85 (chinese_name VARCHAR, station_name VARCHAR) |
SELECT event_name FROM table_name_98 WHERE pole_winner = "michael mcdowell" AND race_winner = "billy leslie" | Tell me the event name for michael mcdowell and billy leslie | CREATE TABLE table_name_98 (event_name VARCHAR, pole_winner VARCHAR, race_winner VARCHAR) |
SELECT name FROM table_name_96 WHERE heat > 2 AND lane < 5 AND time = "1:01.53" | What is the Name of the racer with a heat higher than 2 and a lane less than 5, with a time of 1:01.53? | CREATE TABLE table_name_96 (name VARCHAR, time VARCHAR, heat VARCHAR, lane VARCHAR) |
SELECT MIN(closed) FROM table_1987995_5 WHERE demod = 1994 | When was the park demolished in 1994 closed? | CREATE TABLE table_1987995_5 (closed INTEGER, demod VARCHAR) |
SELECT home FROM table_name_84 WHERE guest = "fk kom" | Who was the home team when FK kom were the guests? | CREATE TABLE table_name_84 (home VARCHAR, guest VARCHAR) |
SELECT winner FROM table_name_82 WHERE prize = "£50,000" AND runner_up = "korosh nejad" | What is Winner, when Prize is "£50,000", and when Runner-Up is "Korosh Nejad"? | CREATE TABLE table_name_82 (winner VARCHAR, prize VARCHAR, runner_up VARCHAR) |
SELECT COUNT(series__number) FROM table_25800134_9 WHERE airdate = "December 26, 1964" | what is the number of series where the airdate is december 26, 1964? | CREATE TABLE table_25800134_9 (series__number VARCHAR, airdate VARCHAR) |
SELECT MAX(weight__kg_) FROM table_name_41 WHERE position = "f" AND jersey__number = 12 | What was the highest weight in kg for F Position, Jersey #12? | CREATE TABLE table_name_41 (weight__kg_ INTEGER, position VARCHAR, jersey__number VARCHAR) |
SELECT team FROM table_name_40 WHERE score = "2-1" | Which team scored 2-1? | CREATE TABLE table_name_40 (team VARCHAR, score VARCHAR) |
SELECT team FROM table_name_12 WHERE points > 9 AND year > 1971 AND class = "250cc" | Name the Team which has Points larger than 9, and a Year larger than 1971, and a Class of 250cc? | CREATE TABLE table_name_12 (team VARCHAR, class VARCHAR, points VARCHAR, year VARCHAR) |
SELECT week FROM table_name_59 WHERE date = "december 21, 2003" | Which week was the December 21, 2003 game? | CREATE TABLE table_name_59 (week VARCHAR, date VARCHAR) |
SELECT COUNT(founded) FROM table_10581768_2 WHERE institution = "Carlow University 1" | how many founded dates are listed for carlow university 1 | CREATE TABLE table_10581768_2 (founded VARCHAR, institution VARCHAR) |
SELECT finalist FROM table_19651669_1 WHERE season = "2007-08" | Who was the finalist in the season 2007-08? | CREATE TABLE table_19651669_1 (finalist VARCHAR, season VARCHAR) |
SELECT MIN(french_open) FROM table_197638_7 WHERE player = "Serena Williams" | When is the French Open when serena williams is the player? | CREATE TABLE table_197638_7 (french_open INTEGER, player VARCHAR) |
SELECT channel FROM table_name_10 WHERE aspect = "4:3" AND programming = "me-tv" | Which Channel has an Aspect of 4:3 and a Programming of me-tv? | CREATE TABLE table_name_10 (channel VARCHAR, aspect VARCHAR, programming VARCHAR) |
SELECT track FROM table_name_2 WHERE city = "holland" | What is the name of the track in Holland? | CREATE TABLE table_name_2 (track VARCHAR, city VARCHAR) |
SELECT date FROM table_name_54 WHERE race_name = "gp città di camaiore" | What is the date of the gp città di camaiore race? | CREATE TABLE table_name_54 (date VARCHAR, race_name VARCHAR) |
SELECT gender, COUNT(*) FROM Customers GROUP BY gender | Show the number of customers for each gender. | CREATE TABLE Customers (gender VARCHAR) |
SELECT co_champions FROM table_name_49 WHERE solo = 3 AND mrc_championships > 3 | What was the co-champions value when solo was 3 and MRC Championships is greater than 3? | CREATE TABLE table_name_49 (co_champions VARCHAR, solo VARCHAR, mrc_championships VARCHAR) |
SELECT tennessee FROM table_name_11 WHERE kentucky = "larry seiple" | What is the Tennessee with a Kentucky of Larry Seiple | CREATE TABLE table_name_11 (tennessee VARCHAR, kentucky VARCHAR) |
SELECT type FROM table_22058547_1 WHERE mascot = "Trappers" | What school classifications have trappers as mascot? | CREATE TABLE table_22058547_1 (type VARCHAR, mascot VARCHAR) |
SELECT branding FROM table_14623167_1 WHERE owner = "Forum Communications" | Name the branding for forum communications | CREATE TABLE table_14623167_1 (branding VARCHAR, owner VARCHAR) |
SELECT score FROM table_name_6 WHERE home = "pittsburgh penguins" AND date = "february 21" | What was the score on February 21 when the home team was the Pittsburgh Penguins? | CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR) |
SELECT score FROM table_name_33 WHERE place = "t3" | What is the Score of the T3 Place Player? | CREATE TABLE table_name_33 (score VARCHAR, place VARCHAR) |
SELECT stadium FROM table_name_65 WHERE club = "fc seoul" | Which stadium has FC Seoul? | CREATE TABLE table_name_65 (stadium VARCHAR, club VARCHAR) |
SELECT MAX(bronze) FROM table_name_74 WHERE silver = 1 AND gold = 0 AND rank = "11" AND total > 1 | what is the bronze when silver is 1, gold is 0 the rank is 11 and the total is more than 1? | CREATE TABLE table_name_74 (bronze INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR, gold VARCHAR) |
SELECT TYPE, COUNT(*) FROM ship GROUP BY TYPE | Show different types of ships and the number of ships of each type. | CREATE TABLE ship (TYPE VARCHAR) |
SELECT result FROM table_name_73 WHERE score = "2-1" | What result had a score of 2-1? | CREATE TABLE table_name_73 (result VARCHAR, score VARCHAR) |
SELECT constellation FROM table_name_24 WHERE object_type = "spiral galaxy" AND ngc_number < 3593 AND right_ascension___j2000__ = "11h05m48.9s" | what is the constellation when the object type is spiral galaxy, the ngc number is less than 3593 and the right ascension (j2000) is 11h05m48.9s? | CREATE TABLE table_name_24 (constellation VARCHAR, right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR) |
SELECT points FROM table_name_34 WHERE races = "7" | What was the points with 7 races? | CREATE TABLE table_name_34 (points VARCHAR, races VARCHAR) |
SELECT MIN(attendance) FROM table_name_26 WHERE opponent = "brewers" AND date = "july 25" | On July 25 what is the lowest attendance with the Brewers as the opponent? | CREATE TABLE table_name_26 (attendance INTEGER, opponent VARCHAR, date VARCHAR) |
SELECT SUM(gold) FROM table_name_98 WHERE rank = "3" AND silver > 7 | What is the sum of gold with a rank that is 3 and a silver larger than 7? | CREATE TABLE table_name_98 (gold INTEGER, rank VARCHAR, silver VARCHAR) |
SELECT 1821 FROM table_name_1 WHERE 1811 = "1921" | Name the 1821 with 1811 of 1921 | CREATE TABLE table_name_1 (Id VARCHAR) |
SELECT COUNT(starts) FROM table_1637041_2 WHERE year = 2003 | How many instances do you see the year 2003? | CREATE TABLE table_1637041_2 (starts VARCHAR, year VARCHAR) |
SELECT vote FROM table_24233848_2 WHERE eliminated = "Thiago" | Name the vote for thiago | CREATE TABLE table_24233848_2 (vote VARCHAR, eliminated VARCHAR) |
SELECT temperature_classification FROM table_name_22 WHERE glass_bulb_color = "purple" | What is the temperature classification of a purple colored glass bulb? | CREATE TABLE table_name_22 (temperature_classification VARCHAR, glass_bulb_color VARCHAR) |
SELECT date FROM table_name_76 WHERE week = 9 | What was the date of the week 9 game? | CREATE TABLE table_name_76 (date VARCHAR, week VARCHAR) |
SELECT MIN(crude_birth_rate__per_1000_) FROM table_name_49 WHERE natural_change = "42 689" | Natural change of 42 689 has which lowest Crude birth rate (per 1000)? | CREATE TABLE table_name_49 (crude_birth_rate__per_1000_ INTEGER, natural_change VARCHAR) |
SELECT player FROM table_name_17 WHERE home_town = "swift current, ab" | Which player's home town is Swift Current, AB? | CREATE TABLE table_name_17 (player VARCHAR, home_town VARCHAR) |
SELECT Name FROM People ORDER BY Height | What are the names of people in ascending order of height? | CREATE TABLE People (Name VARCHAR, Height VARCHAR) |
SELECT objectnumber FROM table_name_95 WHERE location = "barrow hill" AND wheels = "4-4-0" | What is the Object Number for the item with wheels 4-4-0 and a location of Barrow Hill? | CREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR) |
SELECT winning_constructor FROM table_name_81 WHERE winning_drivers = "tazio nuvolari" | What brand of vehicle won a race driven by Tazio Nuvolari? | CREATE TABLE table_name_81 (winning_constructor VARCHAR, winning_drivers VARCHAR) |
SELECT COUNT(points) FROM table_name_2 WHERE record = "21–29–10" | Record of 21–29–10 had what total number of points? | CREATE TABLE table_name_2 (points VARCHAR, record VARCHAR) |
SELECT name_of_member_organization FROM table_104858_1 WHERE year_member_organization_was_founded = "1972" AND year_current_scouting_organization_joined_wosm = "1977" | Which organizations were founded in 1972, but became WOSM members until 1977? | CREATE TABLE table_104858_1 (name_of_member_organization VARCHAR, year_member_organization_was_founded VARCHAR, year_current_scouting_organization_joined_wosm VARCHAR) |
SELECT director FROM table_25800134_12 WHERE airdate = "September 25, 1967" | Who directed the episode that aired on September 25, 1967? | CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.