context
stringlengths
27
484
question
stringlengths
12
244
answer
stringlengths
32
484
CREATE TABLE table_2817196_1 (season VARCHAR, goals_against VARCHAR)
What sesaon(s) did they have 254 goals against?
SELECT season FROM table_2817196_1 WHERE goals_against = 254
CREATE TABLE table_name_32 (grid INTEGER, laps INTEGER)
When the laps are over 53, what's the average grid?
SELECT AVG(grid) FROM table_name_32 WHERE laps > 53
CREATE TABLE table_27756014_6 (high_points VARCHAR, date VARCHAR)
How many people scored the most points during the game on December 10?
SELECT COUNT(high_points) FROM table_27756014_6 WHERE date = "December 10"
CREATE TABLE table_26919_6 (sabaean VARCHAR, arabic VARCHAR)
Name the sabaean for sabʕ-
SELECT sabaean FROM table_26919_6 WHERE arabic = "sabʕ-"
CREATE TABLE table_name_51 (laps VARCHAR, grid VARCHAR, rider VARCHAR)
How many Laps have Grid larger than 14, and a Rider of sylvain guintoli?
SELECT COUNT(laps) FROM table_name_51 WHERE grid > 14 AND rider = "sylvain guintoli"
CREATE TABLE table_name_40 (value VARCHAR, british_name VARCHAR)
what is the value when the british name is maxima?
SELECT value FROM table_name_40 WHERE british_name = "maxima"
CREATE TABLE table_name_70 (outcome VARCHAR, date VARCHAR)
Name the outcome on 6 october 2013
SELECT outcome FROM table_name_70 WHERE date = "6 october 2013"
CREATE TABLE table_name_45 (attendance INTEGER, record VARCHAR)
What was the average attendance when the record was 17-18?
SELECT AVG(attendance) FROM table_name_45 WHERE record = "17-18"
CREATE TABLE table_name_3 (home VARCHAR, visitor VARCHAR, record VARCHAR)
What team did the Montreal Canadiens visit when the record was 0-3?
SELECT home FROM table_name_3 WHERE visitor = "montreal canadiens" AND record = "0-3"
CREATE TABLE table_name_59 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
What is the largest number for earnings for tom watson when ranked more than 2?
SELECT MAX(earnings___) AS $__ FROM table_name_59 WHERE player = "tom watson" AND rank > 2
CREATE TABLE table_name_59 (visitor VARCHAR, date VARCHAR)
Who was the visitor on March 27?
SELECT visitor FROM table_name_59 WHERE date = "march 27"
CREATE TABLE table_name_49 (year INTEGER, city VARCHAR, score VARCHAR)
What is the lowest year that has chester-le-street as the city, with 345 runs as the score?
SELECT MIN(year) FROM table_name_49 WHERE city = "chester-le-street" AND score = "345 runs"
CREATE TABLE table_name_25 (year_born VARCHAR, position VARCHAR, current_club VARCHAR)
What year was the Guard who currently plays for the Memphis Grizzlies born?
SELECT year_born FROM table_name_25 WHERE position = "guard" AND current_club = "memphis grizzlies"
CREATE TABLE table_name_43 (wicket VARCHAR, runs__balls_ VARCHAR)
Which wicket had a 100 (45) Runs (balls) amount?
SELECT wicket FROM table_name_43 WHERE runs__balls_ = "100 (45)"
CREATE TABLE table_name_98 (visitor VARCHAR, record VARCHAR)
What is the Visitor in the game with a Record of 11–49–7?
SELECT visitor FROM table_name_98 WHERE record = "11–49–7"
CREATE TABLE table_23292220_3 (episode VARCHAR, seans_team VARCHAR)
In which episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves?
SELECT episode FROM table_23292220_3 WHERE seans_team = "Krishnan Guru-Murthy and Vic Reeves"
CREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
how many times did tunde abdulrahman leave the team?
SELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = "Tunde Abdulrahman"
CREATE TABLE table_28039032_1 (round VARCHAR, winners_from_previous_round VARCHAR)
What was the round that had 32 winners from previous round?
SELECT round FROM table_28039032_1 WHERE winners_from_previous_round = "32"
CREATE TABLE table_24489942_10 (points VARCHAR, name VARCHAR)
Name the points for thomas morgenstern
SELECT points FROM table_24489942_10 WHERE name = "Thomas Morgenstern"
CREATE TABLE table_name_67 (week INTEGER, opponent VARCHAR)
What is the highest Week with the Opponent Buffalo Bills?
SELECT MAX(week) FROM table_name_67 WHERE opponent = "buffalo bills"
CREATE TABLE table_27003186_3 (other VARCHAR, no_party_preference VARCHAR)
What is other when no party preference is 19.1%?
SELECT other FROM table_27003186_3 WHERE no_party_preference = "19.1%"
CREATE TABLE table_name_55 (method VARCHAR, location VARCHAR)
What is the Method for Brazil?
SELECT method FROM table_name_55 WHERE location = "brazil"
CREATE TABLE table_name_96 (iata VARCHAR, airport VARCHAR)
What is the IATA for the chennai international airport?
SELECT iata FROM table_name_96 WHERE airport = "chennai international airport"
CREATE TABLE table_name_20 (city_of_license VARCHAR, frequency VARCHAR)
What is City of License, when Frequency is 101.1?
SELECT city_of_license FROM table_name_20 WHERE frequency = "101.1"
CREATE TABLE table_name_36 (speed VARCHAR, glider VARCHAR, pilot VARCHAR)
What was sebastian kawa's average speed with Diana 2?
SELECT speed FROM table_name_36 WHERE glider = "diana 2" AND pilot = "sebastian kawa"
CREATE TABLE table_name_82 (semifinalists VARCHAR, tournament VARCHAR)
WHO WAS THE SEMIFINALISTS FOR THE HAMBURG TOURNAMENT?
SELECT semifinalists FROM table_name_82 WHERE tournament = "hamburg"
CREATE TABLE table_28201906_1 (pts_for VARCHAR, won VARCHAR)
How many points did the team that won 5 games make?
SELECT pts_for FROM table_28201906_1 WHERE won = 5
CREATE TABLE table_name_40 (constructor VARCHAR, grid VARCHAR)
Who built the grid 2 car?
SELECT constructor FROM table_name_40 WHERE grid = 2
CREATE TABLE table_name_9 (position VARCHAR, nationality VARCHAR, player VARCHAR)
Which position has a Nationality of united states, and a Player of roger powell?
SELECT position FROM table_name_9 WHERE nationality = "united states" AND player = "roger powell"
CREATE TABLE table_17480471_3 (gatchaman VARCHAR, eagle_riders VARCHAR)
Which gatchaman has eagle riders as lukan?
SELECT gatchaman FROM table_17480471_3 WHERE eagle_riders = "Lukan"
CREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR)
Who is the presenter of the episode broadcast in the UK on 1996-09-25?
SELECT presenter FROM table_name_45 WHERE uk_broadcast_date = "1996-09-25"
CREATE TABLE table_name_4 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
What are the average Laps for the time/retired of +16.874 secs, and a grid less than 5?
SELECT AVG(laps) FROM table_name_4 WHERE time_retired = "+16.874 secs" AND grid < 5
CREATE TABLE table_name_56 (elevator VARCHAR, order_and_title VARCHAR)
Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title?
SELECT elevator FROM table_name_56 WHERE order_and_title = "cardinal-deacon of s. nicola in carcere tulliano"
CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR)
What is the score on 22 September 1972?
SELECT score FROM table_name_24 WHERE date = "22 september 1972"
CREATE TABLE table_name_71 (crowd VARCHAR, home_team VARCHAR)
What was the listed attendance when north melbourne was the home team?
SELECT crowd FROM table_name_71 WHERE home_team = "north melbourne"
CREATE TABLE table_16617025_1 (season__number VARCHAR, directed_by VARCHAR)
In what seasons did Kate Woods direct Without A Trace?
SELECT season__number FROM table_16617025_1 WHERE directed_by = "Kate Woods"
CREATE TABLE table_17103566_1 (date VARCHAR, match_number VARCHAR)
How many dates have a Match number of 5?
SELECT COUNT(date) FROM table_17103566_1 WHERE match_number = 5
CREATE TABLE table_name_74 (Id VARCHAR)
What is 2004, when 2005 is "2R", and when 2006 is "1R"
SELECT 2004 FROM table_name_74 WHERE 2005 = "2r" AND 2006 = "1r"
CREATE TABLE table_name_62 (player VARCHAR, club VARCHAR)
Who belongs to the Bologna Milan club?
SELECT player FROM table_name_62 WHERE club = "bologna milan"
CREATE TABLE table_20404716_1 (spanish_title VARCHAR, film_title_used_in_nomination VARCHAR)
What is the Spanish title of the film whose title used in nomination was Ogu and Mampato in Rapa Nui?
SELECT spanish_title FROM table_20404716_1 WHERE film_title_used_in_nomination = "Ogu and Mampato in Rapa Nui"
CREATE TABLE table_name_29 (date INTEGER, record VARCHAR, game VARCHAR)
What was the average date with a record of 30-31-9 in a game over 70?
SELECT AVG(date) FROM table_name_29 WHERE record = "30-31-9" AND game > 70
CREATE TABLE table_name_61 (record VARCHAR, loss VARCHAR)
What was the record at the game with a loss of Cook (14–7)?
SELECT record FROM table_name_61 WHERE loss = "cook (14–7)"
CREATE TABLE table_name_10 (name VARCHAR, rank VARCHAR)
Can you tell me the Name that has the Rank of 4?
SELECT name FROM table_name_10 WHERE rank = 4
CREATE TABLE table_name_90 (date VARCHAR, sport VARCHAR, record VARCHAR)
What is the Date, when the Sport is luge - men's doubles, and when the Record is, "start"?
SELECT date FROM table_name_90 WHERE sport = "luge - men's doubles" AND record = "start"
CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR)
What is the best finish record for Sean O'hair?
SELECT best_finish FROM table_29504351_2 WHERE player = "Sean O'Hair"
CREATE TABLE table_name_13 (college_junior_club_team VARCHAR, pick__number VARCHAR)
Which team has the # 64 pick?
SELECT college_junior_club_team FROM table_name_13 WHERE pick__number = "64"
CREATE TABLE table_name_56 (western_title VARCHAR, genre VARCHAR)
What is the western title for the puzzle genre?
SELECT western_title FROM table_name_56 WHERE genre = "puzzle"
CREATE TABLE table_22319599_1 (colors VARCHAR, school VARCHAR)
If the school is John A. Logan College, what are the colors?
SELECT colors FROM table_22319599_1 WHERE school = "John A. Logan College"
CREATE TABLE table_name_10 (german VARCHAR, icelandic VARCHAR)
What word in German translates into the Icelandic word efja?
SELECT german FROM table_name_10 WHERE icelandic = "efja"
CREATE TABLE table_27988559_1 (original_air_date VARCHAR, production_code VARCHAR)
How many dates did the episode with a production code of 804 originally air on?
SELECT COUNT(original_air_date) FROM table_27988559_1 WHERE production_code = 804
CREATE TABLE table_name_8 (dob VARCHAR, bats VARCHAR, position VARCHAR)
Which DOB has Bats of s, and a Position of inf?
SELECT dob FROM table_name_8 WHERE bats = "s" AND position = "inf"
CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR)
What is the date of the game when the venue is Kardinia Park?
SELECT date FROM table_name_13 WHERE venue = "kardinia park"
CREATE TABLE table_name_32 (loser VARCHAR, result VARCHAR)
What was the Loser of the Game with a Result of 35-27?
SELECT loser FROM table_name_32 WHERE result = "35-27"
CREATE TABLE table_name_42 (surface VARCHAR, partner VARCHAR)
What is the surface when the partner was Robert Haybittel?
SELECT surface FROM table_name_42 WHERE partner = "robert haybittel"
CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR)
Name the percentage for georgia
SELECT percentage FROM table_22825679_1 WHERE team = "Georgia"
CREATE TABLE table_name_11 (attendance INTEGER, date VARCHAR)
What is the average attendance on October 9, 1983?
SELECT AVG(attendance) FROM table_name_11 WHERE date = "october 9, 1983"
CREATE TABLE table_name_59 (chinese VARCHAR, pali VARCHAR)
Which Chinese has a Pali of atappa?
SELECT chinese FROM table_name_59 WHERE pali = "atappa"
CREATE TABLE table_name_40 (week INTEGER, date VARCHAR)
What is the latest week with the date of november 5, 1995?
SELECT MAX(week) FROM table_name_40 WHERE date = "november 5, 1995"
CREATE TABLE table_name_50 (draw VARCHAR, points VARCHAR)
When the points are 98 what is the draw?
SELECT COUNT(draw) FROM table_name_50 WHERE points = 98
CREATE TABLE table_19805130_3 (share VARCHAR, rank__night_ VARCHAR)
If the night rank is 9, what is the total share number?
SELECT COUNT(share) FROM table_19805130_3 WHERE rank__night_ = "9"
CREATE TABLE table_27487336_1 (rushing_yards_per_game VARCHAR, season VARCHAR)
What is every value for rushing yards per game if the season is 1984?
SELECT rushing_yards_per_game FROM table_27487336_1 WHERE season = "1984"
CREATE TABLE table_name_4 (method VARCHAR, event VARCHAR)
What was the method of fight completion for the Mars: Attack 1 event?
SELECT method FROM table_name_4 WHERE event = "mars: attack 1"
CREATE TABLE table_name_22 (site VARCHAR, opponent VARCHAR)
On which site was the game against Louisville played?
SELECT site FROM table_name_22 WHERE opponent = "louisville"
CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
Name the opponent that has attendance of 76,965
SELECT opponent FROM table_name_86 WHERE attendance = "76,965"
CREATE TABLE table_name_75 (money___ INTEGER, place VARCHAR, to_par VARCHAR)
What is the lowest money ($) that has t8 as the place, with a to par greater than 19?
SELECT MIN(money___) AS $__ FROM table_name_75 WHERE place = "t8" AND to_par > 19
CREATE TABLE table_name_98 (driver VARCHAR, date VARCHAR)
Who is the Driver, when the Date is October 6?
SELECT driver FROM table_name_98 WHERE date = "october 6"
CREATE TABLE table_name_12 (themed_area VARCHAR, name VARCHAR)
Which Themed Area has a Name of troublesome trucks runaway coaster?
SELECT themed_area FROM table_name_12 WHERE name = "troublesome trucks runaway coaster"
CREATE TABLE table_name_71 (time VARCHAR, round VARCHAR, opponent VARCHAR)
What was the time for the bout against Amanda Lavoy, which went under 3 rounds?
SELECT time FROM table_name_71 WHERE round < 3 AND opponent = "amanda lavoy"
CREATE TABLE table_23255941_1 (original_air_date VARCHAR, episode__number VARCHAR)
How many original air dates did episode 12 have?h
SELECT COUNT(original_air_date) FROM table_23255941_1 WHERE episode__number = 12
CREATE TABLE table_name_66 (opponent VARCHAR, date VARCHAR)
Which team did they play on September 19?
SELECT opponent FROM table_name_66 WHERE date = "september 19"
CREATE TABLE table_name_15 (region VARCHAR, date VARCHAR)
Which Region has a Date of early september 1999?
SELECT region FROM table_name_15 WHERE date = "early september 1999"
CREATE TABLE table_name_70 (results¹ VARCHAR, city VARCHAR)
What's the result of the game played in Belgrade?
SELECT results¹ FROM table_name_70 WHERE city = "belgrade"
CREATE TABLE table_name_97 (place INTEGER, artist VARCHAR, draw VARCHAR)
What was the highest place a song by Jacques Raymond reached, with a draw over 14?
SELECT MAX(place) FROM table_name_97 WHERE artist = "jacques raymond" AND draw > 14
CREATE TABLE table_name_32 (date VARCHAR, runner_s__up VARCHAR)
On what date is Jerilyn Britz the runner-up?
SELECT date FROM table_name_32 WHERE runner_s__up = "jerilyn britz"
CREATE TABLE table_name_88 (uci_points VARCHAR, team VARCHAR)
How many UCI points did Rabobank score?
SELECT uci_points FROM table_name_88 WHERE team = "rabobank"
CREATE TABLE table_name_72 (points INTEGER, played INTEGER)
What is the average number of points of the team with more than 18 played?
SELECT AVG(points) FROM table_name_72 WHERE played > 18
CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)
What was the date of the game when North Melbourne was the away team?
SELECT date FROM table_name_10 WHERE away_team = "north melbourne"
CREATE TABLE table_name_64 (date VARCHAR, type_of_game VARCHAR)
What is the date of the Euro '64 qualifying game?
SELECT date FROM table_name_64 WHERE type_of_game = "euro '64 qualifying"
CREATE TABLE table_name_10 (decile VARCHAR, authority VARCHAR, roll VARCHAR)
For a school with authority of state and a roll of 798, what is the decile?
SELECT decile FROM table_name_10 WHERE authority = "state" AND roll = 798
CREATE TABLE table_name_25 (density__2005_ INTEGER, area__km²_ VARCHAR, population__2005_ VARCHAR)
Which Density (2005) has an Area (km²) of 340086.7, and a Population (2005) smaller than 5926300?
SELECT SUM(density__2005_) FROM table_name_25 WHERE area__km²_ = 340086.7 AND population__2005_ < 5926300
CREATE TABLE table_21302_1 (area___ha__ INTEGER, no_of_villages VARCHAR)
If there are 18 villages, what is the minimum area ?
SELECT MIN(area___ha__) FROM table_21302_1 WHERE no_of_villages = 18
CREATE TABLE table_name_83 (communes INTEGER, cantons VARCHAR, area__square_km_ VARCHAR)
How many communes associated with over 10 cantons and an area (Square km) of 1,589?
SELECT AVG(communes) FROM table_name_83 WHERE cantons > 10 AND area__square_km_ = 1 OFFSET 589
CREATE TABLE table_2850912_10 (position VARCHAR, nhl_team VARCHAR)
What position was the player who was drafted by the Washington Capitals?
SELECT position FROM table_2850912_10 WHERE nhl_team = "Washington Capitals"
CREATE TABLE table_17356205_1 (season__number VARCHAR, directed_by VARCHAR)
What season episode is directed by Skipp Sudduth?
SELECT season__number FROM table_17356205_1 WHERE directed_by = "Skipp Sudduth"
CREATE TABLE table_name_39 (conceded INTEGER, draws VARCHAR, position VARCHAR)
Which Conceded has Draws smaller than 5, and a Position larger than 6?
SELECT SUM(conceded) FROM table_name_39 WHERE draws < 5 AND position > 6
CREATE TABLE table_name_45 (representative VARCHAR, presentation_of_credentials VARCHAR)
Name the representative with presentation of credentials of august 16, 1928
SELECT representative FROM table_name_45 WHERE presentation_of_credentials = "august 16, 1928"
CREATE TABLE table_28898974_3 (reason VARCHAR, incumbent VARCHAR)
When james seaton is the incumbent what is the reason?
SELECT reason FROM table_28898974_3 WHERE incumbent = "James Seaton"
CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR)
What is the score on April 5?
SELECT score FROM table_name_64 WHERE date = "april 5"
CREATE TABLE table_name_46 (player VARCHAR, pick__number VARCHAR, team_from VARCHAR)
Who was the player that was picked at a number less than 205 from the Michigan State Spartans?
SELECT player FROM table_name_46 WHERE pick__number < 205 AND team_from = "michigan state spartans"
CREATE TABLE table_name_84 (Id VARCHAR)
Which 2009 has a 2008 of A, and a 2010 of 4r?
SELECT 2009 FROM table_name_84 WHERE 2008 = "a" AND 2010 = "4r"
CREATE TABLE table_name_23 (fifth_district VARCHAR, second_district VARCHAR)
Who's the Fifth District with a Second District of paul leidig?
SELECT fifth_district FROM table_name_23 WHERE second_district = "paul leidig"
CREATE TABLE table_name_97 (home_team VARCHAR, away_team VARCHAR)
What was the score of the team that played against Fitzroy?
SELECT home_team AS score FROM table_name_97 WHERE away_team = "fitzroy"
CREATE TABLE table_name_72 (date VARCHAR, score VARCHAR)
What is the Date of the Tournament with a Score of 3–6, 7–6(6), 5–7?
SELECT date FROM table_name_72 WHERE score = "3–6, 7–6(6), 5–7"
CREATE TABLE table_name_3 (date VARCHAR, competition VARCHAR, score VARCHAR)
Which date has a competition type of friendly and a score of 2-1?
SELECT date FROM table_name_3 WHERE competition = "friendly" AND score = "2-1"
CREATE TABLE table_name_31 (colour VARCHAR, compound_name VARCHAR)
What color is the super-soft compound?
SELECT colour FROM table_name_31 WHERE compound_name = "super-soft"
CREATE TABLE table_27821519_1 (manufacturer VARCHAR, no VARCHAR)
who is the manufacturer is no.50?
SELECT manufacturer FROM table_27821519_1 WHERE no = 50
CREATE TABLE table_22368322_2 (_€_million VARCHAR, tier_1_capital VARCHAR, institution VARCHAR)
Name the total number of tier 1 capital for allied irish banks
SELECT COUNT(tier_1_capital), _€_million FROM table_22368322_2 WHERE institution = "Allied Irish Banks"
CREATE TABLE table_26041144_16 (rank VARCHAR, catches VARCHAR)
If the catches is 131, what is the rank total number?
SELECT COUNT(rank) FROM table_26041144_16 WHERE catches = 131
CREATE TABLE table_name_98 (province VARCHAR, centers VARCHAR)
Which province is Parun in?
SELECT province FROM table_name_98 WHERE centers = "parun"
CREATE TABLE table_name_64 (poles INTEGER, season VARCHAR, podiums VARCHAR)
What is the sum of Poles, when Season is greater than 2004, and when Podiums is less than 1?
SELECT SUM(poles) FROM table_name_64 WHERE season < 2004 AND podiums < 1