question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the Nationality Club Team of Quebec remparts (qmjhl)?
CREATE TABLE table_name_53 (nationality VARCHAR, club_team VARCHAR)
SELECT nationality FROM table_name_53 WHERE club_team = "quebec remparts (qmjhl)"
what's the college with position being placekicker
CREATE TABLE table_14655985_1 (college VARCHAR, position VARCHAR)
SELECT college FROM table_14655985_1 WHERE position = "Placekicker"
Name the pinyin for 657 date
CREATE TABLE table_16162581_1 (pinyin VARCHAR, date__ce_ VARCHAR)
SELECT pinyin FROM table_16162581_1 WHERE date__ce_ = "657"
Which department has a small of 11370?
CREATE TABLE table_21249915_1 (department VARCHAR, small__100ha_ VARCHAR)
SELECT department FROM table_21249915_1 WHERE small__100ha_ = 11370
What is the score for the home team Notts County?
CREATE TABLE table_name_97 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_97 WHERE home_team = "notts county"
who else along with scott dixon and graham rahal drove with the most speed
CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR)
SELECT fastest_lap FROM table_13512105_3 WHERE most_laps_led = "Scott Dixon" AND pole_position = "Graham Rahal"
What is the tyre of real racing with leon team member koudai tsukakoshi?
CREATE TABLE table_name_24 (tyre VARCHAR, team VARCHAR, drivers VARCHAR)
SELECT tyre FROM table_name_24 WHERE team = "real racing with leon" AND drivers = "koudai tsukakoshi"
Which 1998 has a 2002 of 2–4?
CREATE TABLE table_name_65 (Id VARCHAR)
SELECT 1998 FROM table_name_65 WHERE 2002 = "2–4"
What was the home team when Carlton was the away team?
CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_59 WHERE away_team = "carlton"
How many races is different distances does Rosehill Guineas compete in?
CREATE TABLE table_1284347_2 (distance VARCHAR, race VARCHAR)
SELECT COUNT(distance) FROM table_1284347_2 WHERE race = "Rosehill Guineas"
What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?
CREATE TABLE table_name_99 (total VARCHAR, usca VARCHAR, joint_music_award VARCHAR, rthk VARCHAR)
SELECT total FROM table_name_99 WHERE joint_music_award = "1" AND rthk = "4" AND usca = "4"
Wjat game 3 has ian french as a game of 2?
CREATE TABLE table_name_92 (game_3 VARCHAR, game_2 VARCHAR)
SELECT game_3 FROM table_name_92 WHERE game_2 = "ian french"
Which Opponent has a Game of 31?
CREATE TABLE table_name_56 (opponent VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_56 WHERE game = 31
What position is Philadelphia Fury?
CREATE TABLE table_237757_9 (position VARCHAR, nasl_club_s_ VARCHAR)
SELECT position FROM table_237757_9 WHERE nasl_club_s_ = "Philadelphia Fury"
The event rip curl pro mademoiselle is in which location?
CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_55 WHERE event = "rip curl pro mademoiselle"
What was the score of the game when the Boston Bruins were the visiting team?
CREATE TABLE table_name_75 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_75 WHERE visitor = "boston bruins"
What country was the golfer with a score of 72-72-72=216 representing?
CREATE TABLE table_name_78 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_78 WHERE score = 72 - 72 - 72 = 216
How many games have 23 goals with a rank greater than 9?
CREATE TABLE table_name_62 (games VARCHAR, goals VARCHAR, rank VARCHAR)
SELECT COUNT(games) FROM table_name_62 WHERE goals = 23 AND rank > 9
Where is Adam Gilchrist from?
CREATE TABLE table_11303072_9 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_11303072_9 WHERE player = "Adam Gilchrist"
What was the grid for suspension time/retired?
CREATE TABLE table_name_8 (grid VARCHAR, time_retired VARCHAR)
SELECT grid FROM table_name_8 WHERE time_retired = "suspension"
what is the minimum total
CREATE TABLE table_1108394_43 (total INTEGER)
SELECT MIN(total) FROM table_1108394_43
What was the highest attendance at Junction Oval?
CREATE TABLE table_name_90 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_90 WHERE venue = "junction oval"
List the names of teachers in ascending order of age.
CREATE TABLE teacher (Name VARCHAR, Age VARCHAR)
SELECT Name FROM teacher ORDER BY Age
Who was the first elected for the republican party?
CREATE TABLE table_name_82 (first_elected VARCHAR, party VARCHAR)
SELECT first_elected FROM table_name_82 WHERE party = "republican"
What is the name of the flag that means decimal digit 2?
CREATE TABLE table_29997112_3 (flag_name VARCHAR, meaning VARCHAR)
SELECT flag_name FROM table_29997112_3 WHERE meaning = "Decimal Digit 2"
What home team has an Away team of richmond?
CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_28 WHERE away_team = "richmond"
What is Tournament, when 2003 is "A"?
CREATE TABLE table_name_90 (tournament VARCHAR)
SELECT tournament FROM table_name_90 WHERE 2003 = "a"
Which Pick # is the highest one that has an Overall larger than 21, and a College of north carolina, and a Round smaller than 3?
CREATE TABLE table_name_14 (pick__number INTEGER, round VARCHAR, overall VARCHAR, college VARCHAR)
SELECT MAX(pick__number) FROM table_name_14 WHERE overall > 21 AND college = "north carolina" AND round < 3
Which Bats have a First of josh, and Throws of r, and a Surname of cakebread?
CREATE TABLE table_name_90 (bats VARCHAR, surname VARCHAR, first VARCHAR, throws VARCHAR)
SELECT bats FROM table_name_90 WHERE first = "josh" AND throws = "r" AND surname = "cakebread"
Name the total number of payout for december 28, 2009
CREATE TABLE table_24427210_1 (payout___us VARCHAR, date VARCHAR)
SELECT COUNT(payout___us) AS $__ FROM table_24427210_1 WHERE date = "December 28, 2009"
What is the sum number of Pl GP when the Reg GP was 0, the Rd number was bigger than 8, and the pick number was bigger than 146?
CREATE TABLE table_name_90 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR, rd__number VARCHAR)
SELECT COUNT(pl_gp) FROM table_name_90 WHERE reg_gp = 0 AND rd__number > 8 AND pick__number > 146
Find the total number of students living in the male dorm (with gender M).
CREATE TABLE dorm (dormid VARCHAR, gender VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR)
SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.gender = 'M'
What is the most unfavorable that is favorable of 34 during 1953 August and has a no opinion score larger than 24?
CREATE TABLE table_name_34 (unfavorable INTEGER, no_opinion VARCHAR, favorable VARCHAR, date VARCHAR)
SELECT MAX(unfavorable) FROM table_name_34 WHERE favorable = 34 AND date = "1953 august" AND no_opinion > 24
Which Circuit has the Winning Team of carlin motorsport, and the Winning Driver of oliver turvey, and a Date of 24 march?
CREATE TABLE table_name_93 (circuit VARCHAR, date VARCHAR, winning_team VARCHAR, winning_driver VARCHAR)
SELECT circuit FROM table_name_93 WHERE winning_team = "carlin motorsport" AND winning_driver = "oliver turvey" AND date = "24 march"
What is the 2009 for 2012 1R in Wimbledon and a 2011 2r?
CREATE TABLE table_name_77 (tournament VARCHAR)
SELECT 2009 FROM table_name_77 WHERE 2012 = "1r" AND tournament = "wimbledon" AND 2011 = "2r"
What position does Denard Walker play?
CREATE TABLE table_name_98 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_98 WHERE player = "denard walker"
Name the fewest touchdowns
CREATE TABLE table_14342480_6 (touchdowns INTEGER)
SELECT MIN(touchdowns) FROM table_14342480_6
How many connections aux in using FIrewire?
CREATE TABLE table_24384861_1 (aux_in VARCHAR, dock_connection VARCHAR)
SELECT COUNT(aux_in) FROM table_24384861_1 WHERE dock_connection = "FireWire"
What was the original air date when ed horowitz wrote it?
CREATE TABLE table_name_89 (original_airdate VARCHAR, written_by VARCHAR)
SELECT original_airdate FROM table_name_89 WHERE written_by = "ed horowitz"
What grand finalist had a year after 1979, a margin smaller than 30, and winners of essendon?
CREATE TABLE table_name_89 (grand_finalist VARCHAR, winners VARCHAR, year VARCHAR, margin VARCHAR)
SELECT grand_finalist FROM table_name_89 WHERE year > 1979 AND margin < 30 AND winners = "essendon"
Which venue does Mardan sponsor?
CREATE TABLE table_17356873_1 (venue VARCHAR, shirt_sponsor VARCHAR)
SELECT venue FROM table_17356873_1 WHERE shirt_sponsor = "Mardan"
What is the name and id of the department with the most number of degrees ?
CREATE TABLE degree_programs (department_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR)
SELECT t2.department_name, t1.department_id FROM degree_programs AS t1 JOIN departments AS t2 ON t1.department_id = t2.department_id GROUP BY t1.department_id ORDER BY COUNT(*) DESC LIMIT 1
On which date was the venue at Windy Hill?
CREATE TABLE table_name_61 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_61 WHERE venue = "windy hill"
What was the Venue on November 26?
CREATE TABLE table_name_4 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_4 WHERE date = "november 26"
What is the sum of the round of the new york jets NFL club, which has a pick less than 166?
CREATE TABLE table_name_60 (round INTEGER, nfl_club VARCHAR, pick VARCHAR)
SELECT SUM(round) FROM table_name_60 WHERE nfl_club = "new york jets" AND pick < 166
How many draws does 12 de Octubre have?
CREATE TABLE table_18594107_1 (draws VARCHAR, team VARCHAR)
SELECT draws FROM table_18594107_1 WHERE team = "12 de Octubre"
What place in Lon Hinkle in?
CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_18 WHERE player = "lon hinkle"
Which Third has a Lead of zanda bikše?
CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR)
SELECT third FROM table_name_78 WHERE lead = "zanda bikše"
What are the candidates in the district whose incumbent is Gus Yatron?
CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341604_39 WHERE incumbent = "Gus Yatron"
Which nationality is the player from the Philadelphia Flyers?
CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR)
SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"
What type entered service in 2000?
CREATE TABLE table_name_70 (type VARCHAR, entered_service VARCHAR)
SELECT type FROM table_name_70 WHERE entered_service = "2000"
Which final has rank of 10?
CREATE TABLE table_name_59 (final VARCHAR, rank VARCHAR)
SELECT final FROM table_name_59 WHERE rank = "10"
Which play had a base of Aosta?
CREATE TABLE table_name_96 (play VARCHAR, base VARCHAR)
SELECT play FROM table_name_96 WHERE base = "aosta"
What was the ticket price at Red Rocks Amphitheatre?
CREATE TABLE table_name_96 (ticket_price_s_ VARCHAR, venue VARCHAR)
SELECT ticket_price_s_ FROM table_name_96 WHERE venue = "red rocks amphitheatre"
What is the Result of the game on 10/11/1930?
CREATE TABLE table_name_63 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_63 WHERE date = "10/11/1930"
What is the Dismissals with a Player with source: cricinfo.com?
CREATE TABLE table_name_67 (dismissals VARCHAR, player VARCHAR)
SELECT dismissals FROM table_name_67 WHERE player = "source: cricinfo.com"
What class had fewer than 336 laps in 2004?
CREATE TABLE table_name_77 (class VARCHAR, laps VARCHAR, year VARCHAR)
SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004
Tell me the lost with tie of 0 and drawn of 47
CREATE TABLE table_name_20 (lost VARCHAR, tied VARCHAR, drawn VARCHAR)
SELECT lost FROM table_name_20 WHERE tied = "0" AND drawn = "47"
Name the aircraft type for furstenau/vorden
CREATE TABLE table_28342423_1 (aircraft_type VARCHAR, geschwader_base VARCHAR)
SELECT aircraft_type FROM table_28342423_1 WHERE geschwader_base = "Furstenau/Vorden"
How many series originally aired before 1999 with more than 7 episodes and a DVD Region 1 release date of 16 april 2013?
CREATE TABLE table_name_24 (series_number VARCHAR, dvd_region_1_release_date VARCHAR, original_air_date VARCHAR, number_of_episodes VARCHAR)
SELECT COUNT(series_number) FROM table_name_24 WHERE original_air_date < 1999 AND number_of_episodes > 7 AND dvd_region_1_release_date = "16 april 2013"
Who is Team Suzuki's rider and ranks higher than 6?
CREATE TABLE table_name_44 (rider VARCHAR, rank VARCHAR, team VARCHAR)
SELECT rider FROM table_name_44 WHERE rank > 6 AND team = "suzuki"
Name the total number of segment c for pressure cookers
CREATE TABLE table_15187735_13 (segment_c VARCHAR, segment_a VARCHAR)
SELECT COUNT(segment_c) FROM table_15187735_13 WHERE segment_a = "Pressure Cookers"
What is the highest Market Value (billion $), when Rank is 02 2, and when Sales (billion $) is greater than 113.1?
CREATE TABLE table_name_99 (market_value__billion_ INTEGER, rank VARCHAR, sales__billion_$_ VARCHAR)
SELECT MAX(market_value__billion_) AS $_ FROM table_name_99 WHERE rank = "02 2" AND sales__billion_$_ > 113.1
Name the high points for 30-23
CREATE TABLE table_23286158_8 (high_points VARCHAR, record VARCHAR)
SELECT high_points FROM table_23286158_8 WHERE record = "30-23"
What city in the east region in North Carolina was the round where the University of Richmond was the host?
CREATE TABLE table_name_20 (city VARCHAR, host VARCHAR, region VARCHAR, state VARCHAR)
SELECT city FROM table_name_20 WHERE region = "east" AND state = "north carolina" AND host = "university of richmond"
What were the January (°F) temperatures in the Corner Brook location?
CREATE TABLE table_21980_1 (january__°f_ VARCHAR, location VARCHAR)
SELECT january__°f_ FROM table_21980_1 WHERE location = "Corner Brook"
Which language has 3 draws?
CREATE TABLE table_name_15 (language VARCHAR, draw VARCHAR)
SELECT language FROM table_name_15 WHERE draw = 3
What is the average year that has a win less than 1, yamaha as the team, with points greater than 2?
CREATE TABLE table_name_30 (year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR)
SELECT AVG(year) FROM table_name_30 WHERE wins < 1 AND team = "yamaha" AND points > 2
Which Country has a To par of –9?
CREATE TABLE table_name_33 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_33 WHERE to_par = "–9"
What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
CREATE TABLE table_name_32 (tournament VARCHAR)
SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters"
Which score has an Opponent of white sox, and a Record of 2-0?
CREATE TABLE table_name_92 (score VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT score FROM table_name_92 WHERE opponent = "white sox" AND record = "2-0"
What date was the location attendance at&t center 18,797, and a game earlier than 57?
CREATE TABLE table_name_24 (date VARCHAR, location_attendance VARCHAR, game VARCHAR)
SELECT date FROM table_name_24 WHERE location_attendance = "at&t center 18,797" AND game < 57
List all dates of succession in the state class Missouri (3).
CREATE TABLE table_2417330_3 (date_of_successors_formal_installation VARCHAR, state__class_ VARCHAR)
SELECT date_of_successors_formal_installation FROM table_2417330_3 WHERE state__class_ = "Missouri (3)"
Who is the opponent at toyota stadium?
CREATE TABLE table_name_75 (opponent VARCHAR, venue VARCHAR)
SELECT opponent FROM table_name_75 WHERE venue = "toyota stadium"
What episode aired on 11july1964?
CREATE TABLE table_1723080_1 (episode VARCHAR, broadcast_date VARCHAR)
SELECT episode FROM table_1723080_1 WHERE broadcast_date = "11July1964"
What is Date, when High Points is "Danny Granger (32)"?
CREATE TABLE table_name_56 (date VARCHAR, high_points VARCHAR)
SELECT date FROM table_name_56 WHERE high_points = "danny granger (32)"
What type of game was held against France with the results of 3:1?
CREATE TABLE table_name_20 (type_of_game VARCHAR, results¹ VARCHAR, opponent VARCHAR)
SELECT type_of_game FROM table_name_20 WHERE results¹ = "3:1" AND opponent = "france"
Name the total number of tracks for of the fallen angel
CREATE TABLE table_name_21 (track VARCHAR, translation VARCHAR)
SELECT COUNT(track) FROM table_name_21 WHERE translation = "the fallen angel"
Name the entries for 6 h 23 min elapsed time
CREATE TABLE table_2534387_10 (entries VARCHAR, elapsed_time VARCHAR)
SELECT entries FROM table_2534387_10 WHERE elapsed_time = "6 h 23 min"
Who was the highest pick
CREATE TABLE table_15353123_1 (pick__number INTEGER)
SELECT MIN(pick__number) FROM table_15353123_1
What is the to par of the player from the United States with a place of t1 and a 76-68=144 score?
CREATE TABLE table_name_50 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_50 WHERE country = "united states" AND place = "t1" AND score = 76 - 68 = 144
What are the total points for sd 15?
CREATE TABLE table_27615896_18 (points INTEGER, sd VARCHAR)
SELECT MAX(points) FROM table_27615896_18 WHERE sd = 15
Tell me the 1968 for 1r
CREATE TABLE table_name_76 (Id VARCHAR)
SELECT 1968 FROM table_name_76 WHERE 1967 = "1r"
What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club?
CREATE TABLE table_name_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR)
SELECT position FROM table_name_79 WHERE first_team_goals = "ongoing" AND current_club = "aston villa"
Which method was used when Alessio Sakara was the opponent?
CREATE TABLE table_name_38 (method VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_38 WHERE opponent = "alessio sakara"
Which season was on 30 October 1977?
CREATE TABLE table_name_50 (season VARCHAR, date VARCHAR)
SELECT season FROM table_name_50 WHERE date = "30 october 1977"
Which country has both stadiums with capacity greater than 60000 and stadiums with capacity less than 50000?
CREATE TABLE stadium (country VARCHAR, capacity INTEGER)
SELECT country FROM stadium WHERE capacity > 60000 INTERSECT SELECT country FROM stadium WHERE capacity < 50000
In what year did the winner of the FIS championship in 1982 win the Winter Olympics?
CREATE TABLE table_174491_1 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT winter_olympics FROM table_174491_1 WHERE fis_nordic_world_ski_championships = "1982"
What date shows Binia Feltscher-Beeli as the runner-up skip?
CREATE TABLE table_name_68 (date VARCHAR, runner_up_skip VARCHAR)
SELECT date FROM table_name_68 WHERE runner_up_skip = "binia feltscher-beeli"
what is the film when the year is earlier than 2002 and the category is outstanding actress?
CREATE TABLE table_name_21 (film VARCHAR, year VARCHAR, category VARCHAR)
SELECT film FROM table_name_21 WHERE year < 2002 AND category = "outstanding actress"
how many na -350- with title and source being bokumo sekai wo sukuitai: battle tournament
CREATE TABLE table_13663434_1 (na__350_ VARCHAR, title_and_source VARCHAR)
SELECT COUNT(na__350_) FROM table_13663434_1 WHERE title_and_source = "Bokumo Sekai wo Sukuitai: Battle Tournament"
Which Partner has a Score of 7–6, 6–3?
CREATE TABLE table_name_38 (partner VARCHAR, score VARCHAR)
SELECT partner FROM table_name_38 WHERE score = "7–6, 6–3"
For the genus/species arabidopsis thaliana, what are the lengths?
CREATE TABLE table_15417439_1 (length VARCHAR, genus_species VARCHAR)
SELECT length FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana"
Where is the headquarters of the airline which has the ICAO code of AAU?
CREATE TABLE table_15637071_1 (headquarters VARCHAR, icao VARCHAR)
SELECT headquarters FROM table_15637071_1 WHERE icao = "AAU"
What was the attendance when South Melbourne was the away team?
CREATE TABLE table_name_88 (crowd INTEGER, away_team VARCHAR)
SELECT SUM(crowd) FROM table_name_88 WHERE away_team = "south melbourne"
what is the silver when the nation is japan and the total is less than 1?
CREATE TABLE table_name_8 (silver INTEGER, nation VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_8 WHERE nation = "japan" AND total < 1
Wich rank is given to the Canton of Schaffhausen?
CREATE TABLE table_name_4 (rank INTEGER, canton VARCHAR)
SELECT SUM(rank) FROM table_name_4 WHERE canton = "schaffhausen"
Who is the player name when eastern michigan is the college?
CREATE TABLE table_20871703_1 (player_name VARCHAR, college VARCHAR)
SELECT player_name FROM table_20871703_1 WHERE college = "Eastern Michigan"
name the title of the episode with production code 201
CREATE TABLE table_28081876_4 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_28081876_4 WHERE production_code = 201
Find all the stores in the district with the most population.
CREATE TABLE store_district (store_id VARCHAR); CREATE TABLE district (district_id VARCHAR, city_population VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)