answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT overall FROM table_name_65 WHERE round < 2
CREATE TABLE table_name_65 (overall VARCHAR, round INTEGER)
Which Overall has a Round smaller than 2?
SELECT name FROM table_name_39 WHERE round > 4 AND overall < 338 AND pick < 11 AND college = "virginia tech"
CREATE TABLE table_name_39 (name VARCHAR, college VARCHAR, pick VARCHAR, round VARCHAR, overall VARCHAR)
Which Name has a Round larger than 4, an Overall smaller than 338, a Pick smaller than 11, and a College of virginia tech?
SELECT name FROM table_name_81 WHERE event = "36 arrow finals"
CREATE TABLE table_name_81 (name VARCHAR, event VARCHAR)
Who has the event of 36 arrow finals?
SELECT COUNT(score) FROM table_name_72 WHERE event = "36 arrow finals"
CREATE TABLE table_name_72 (score VARCHAR, event VARCHAR)
What is the total score for the 36 arrow finals event?
SELECT moving_to FROM table_name_78 WHERE nat = "tri"
CREATE TABLE table_name_78 (moving_to VARCHAR, nat VARCHAR)
Who is moving with the nationality of Tri?
SELECT sspec_number FROM table_name_52 WHERE frequency = "1ghz"
CREATE TABLE table_name_52 (sspec_number VARCHAR, frequency VARCHAR)
What is the sSpec Number of the model with a 1ghz frequency?
SELECT part_number_s_ FROM table_name_32 WHERE frequency = "933mhz"
CREATE TABLE table_name_32 (part_number_s_ VARCHAR, frequency VARCHAR)
What is the part number of the model that has a frequency of 933mhz?
SELECT release_date FROM table_name_89 WHERE part_number_s_ = "rk80533pz933256"
CREATE TABLE table_name_89 (release_date VARCHAR, part_number_s_ VARCHAR)
What date was part number rk80533pz933256 released?
SELECT frequency FROM table_name_72 WHERE sspec_number = "sl5qj"
CREATE TABLE table_name_72 (frequency VARCHAR, sspec_number VARCHAR)
What is the frequency of the model with sSpec number sl5qj?
SELECT years FROM table_name_69 WHERE coach = "jim berryman"
CREATE TABLE table_name_69 (years VARCHAR, coach VARCHAR)
How many years does coach Jim Berryman have?
SELECT location FROM table_name_57 WHERE method = "submission (rear naked choke)" AND round = 1 AND event = "ufc 127"
CREATE TABLE table_name_57 (location VARCHAR, event VARCHAR, method VARCHAR, round VARCHAR)
Which Location has a Method of submission (rear naked choke), a Round of 1, and an Event of ufc 127?
SELECT record FROM table_name_23 WHERE time = "n/a"
CREATE TABLE table_name_23 (record VARCHAR, time VARCHAR)
Which Record has a Time of n/a?
SELECT opponent FROM table_name_26 WHERE location = "gold coast , australia" AND method = "submission (punches)"
CREATE TABLE table_name_26 (opponent VARCHAR, location VARCHAR, method VARCHAR)
Which Opponent has a Location of gold coast , australia, and a Method of submission (punches)?
SELECT location FROM table_name_47 WHERE circuit = "lowood circuit" AND race = "lowood trophy"
CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR)
what is the location when the circuit is lowood circuit and the race is lowood trophy?
SELECT race FROM table_name_81 WHERE date = "23 october"
CREATE TABLE table_name_81 (race VARCHAR, date VARCHAR)
what is the race on 23 october?
SELECT circuit FROM table_name_3 WHERE winner = "stan jones" AND race = "phillip island trophy race"
CREATE TABLE table_name_3 (circuit VARCHAR, winner VARCHAR, race VARCHAR)
what is the circuit when the winner is stan jones and the race is phillip island trophy race?
SELECT displacement_ & _configuration FROM table_name_36 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s"
CREATE TABLE table_name_36 (displacement_ VARCHAR, _configuration VARCHAR, max_speed VARCHAR, car_model VARCHAR)
What is the displacement and configuration with a max speed of km/h (mph) and the car model Panamera 4s?
SELECT displacement_ & _configuration FROM table_name_18 WHERE emissions_co2 = "204 g/km"
CREATE TABLE table_name_18 (displacement_ VARCHAR, _configuration VARCHAR, emissions_co2 VARCHAR)
What is the displacement & configuration with CO2 of 204 g/km emissions?
SELECT displacement_ & _configuration FROM table_name_68 WHERE car_model = "panamera 4s"
CREATE TABLE table_name_68 (displacement_ VARCHAR, _configuration VARCHAR, car_model VARCHAR)
What displacement & configuration does the car model Panamera 4s have?
SELECT emissions_co2 FROM table_name_76 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s"
CREATE TABLE table_name_76 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR)
What is the emissions CO2 with a max speed of km/h (mph) of the car model Panamera 4s?
SELECT tickets_available_since FROM table_name_75 WHERE venue = "halle tony garnier" AND date = "june 15, 2009"
CREATE TABLE table_name_75 (tickets_available_since VARCHAR, venue VARCHAR, date VARCHAR)
How many tickets were available at Halle Tony Garnier on June 15, 2009?
SELECT city FROM table_name_23 WHERE tickets_available_since = "march 28, 2008" AND date = "september 4, 2009"
CREATE TABLE table_name_23 (city VARCHAR, tickets_available_since VARCHAR, date VARCHAR)
What city had tickets available since March 28, 2008 and went on sale on September 4, 2009?
SELECT MIN(pick) FROM table_name_57 WHERE round > 1 AND name = "joe day" AND overall < 150
CREATE TABLE table_name_57 (pick INTEGER, overall VARCHAR, round VARCHAR, name VARCHAR)
WHAT IS THE PICK FOR JOE DAY, ROUND LARGER THAN 1, AND OVERALL SMALLER THAN 150?
SELECT SUM(pick) FROM table_name_62 WHERE overall > 250 AND college = "florida"
CREATE TABLE table_name_62 (pick INTEGER, overall VARCHAR, college VARCHAR)
WHAT IS THE SUM OF PICK WITH AN OVERALL LARGER THAN 250, AND FOR FLORIDA COLLEGE?
SELECT loan_club FROM table_name_41 WHERE start_source = "bbc sport" AND ended = "3 february"
CREATE TABLE table_name_41 (loan_club VARCHAR, start_source VARCHAR, ended VARCHAR)
What is the loan club with bbc sport as the start source and ended in 3 February?
SELECT started FROM table_name_99 WHERE start_source = "enews"
CREATE TABLE table_name_99 (started VARCHAR, start_source VARCHAR)
When did the enews start source start?
SELECT start_source FROM table_name_7 WHERE country = "irl" AND ended = "13 april"
CREATE TABLE table_name_7 (start_source VARCHAR, country VARCHAR, ended VARCHAR)
What is the start source of the irl country, which ended on 13 April?
SELECT country FROM table_name_16 WHERE start_source = "bbc sport" AND name = "feeney"
CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)
What is the country named feeney with a bbc sport start source?
SELECT loan_club FROM table_name_61 WHERE name = "dennehy"
CREATE TABLE table_name_61 (loan_club VARCHAR, name VARCHAR)
What is the loan club named dennehy?
SELECT MAX(races) FROM table_name_27 WHERE position = "1st" AND podiums < 10
CREATE TABLE table_name_27 (races INTEGER, position VARCHAR, podiums VARCHAR)
What's the most races with less than 10 podiums and 1st position?
SELECT SUM(runs) FROM table_name_82 WHERE batting_partners = "mahela jayawardene and thilan samaraweera"
CREATE TABLE table_name_82 (runs INTEGER, batting_partners VARCHAR)
How many runs did mahela jayawardene and thilan samaraweera have?
SELECT venue FROM table_name_42 WHERE batting_partners = "mahela jayawardene and thilan samaraweera"
CREATE TABLE table_name_42 (venue VARCHAR, batting_partners VARCHAR)
What venue did mahela jayawardene and thilan samaraweera play at?
SELECT batting_partners FROM table_name_96 WHERE fielding_team = "india" AND season = "1997"
CREATE TABLE table_name_96 (batting_partners VARCHAR, fielding_team VARCHAR, season VARCHAR)
Who were the batting partners that played for India in 1997?
SELECT defending_forces FROM table_name_21 WHERE name = "al-murassas"
CREATE TABLE table_name_21 (defending_forces VARCHAR, name VARCHAR)
What is the defending forces when Al-Murassas shows for name?
SELECT brigade FROM table_name_68 WHERE name = "tall al-shawk"
CREATE TABLE table_name_68 (brigade VARCHAR, name VARCHAR)
What is the brigade Tall Al-Shawk shows for the name?
SELECT brigade FROM table_name_7 WHERE name = "al-bira"
CREATE TABLE table_name_7 (brigade VARCHAR, name VARCHAR)
What is the brigade when Al-Bira is the name?
SELECT brigade FROM table_name_63 WHERE name = "al-hamra ('arab al-hamra)"
CREATE TABLE table_name_63 (brigade VARCHAR, name VARCHAR)
What is the brigade when Al-Hamra ('arab al-hamra) shows for name?
SELECT defending_forces FROM table_name_41 WHERE population = "120"
CREATE TABLE table_name_41 (defending_forces VARCHAR, population VARCHAR)
What is the Defending forces when the population was 120?
SELECT rank FROM table_name_30 WHERE 2010 = "5,040,000"
CREATE TABLE table_name_30 (rank VARCHAR)
What was the rank of the park that had a value of 5,040,000 in 2010?
SELECT COUNT(overall_pick) FROM table_name_40 WHERE round < 3
CREATE TABLE table_name_40 (overall_pick VARCHAR, round INTEGER)
What was the overall pick number of the player selected before round 3?
SELECT college_junior_club_team__league_ FROM table_name_87 WHERE round > 3 AND player = "julien cayer"
CREATE TABLE table_name_87 (college_junior_club_team__league_ VARCHAR, round VARCHAR, player VARCHAR)
Which College/Junior/Club Team (League) did the player julien cayer who was selected before round 3 play for?
SELECT MIN(bronze) FROM table_name_3 WHERE rank = "3" AND silver < 2
CREATE TABLE table_name_3 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
what is the least bronze when the rank is 3 and silver is less than 2?
SELECT MAX(total) FROM table_name_58 WHERE bronze = 0 AND nation = "hungary"
CREATE TABLE table_name_58 (total INTEGER, bronze VARCHAR, nation VARCHAR)
what is the total when bronze is 0 and the nation is hungary?
SELECT AVG(total) FROM table_name_41 WHERE rank = "7" AND gold > 0
CREATE TABLE table_name_41 (total INTEGER, rank VARCHAR, gold VARCHAR)
what is the total when the rank is 7 and gold is more than 0?
SELECT MAX(gold) FROM table_name_8 WHERE nation = "total" AND "total" < 24
CREATE TABLE table_name_8 (gold INTEGER, nation VARCHAR)
what is the highest gold when the nation is total and the total is less than 24?
SELECT opponent FROM table_name_61 WHERE game > 51 AND score = "99-129"
CREATE TABLE table_name_61 (opponent VARCHAR, game VARCHAR, score VARCHAR)
Looking only at matches occurring after Game 51, who was the opponent for the game that ended with a score of 99-129?
SELECT score FROM table_name_97 WHERE opponent = "washington bullets"
CREATE TABLE table_name_97 (score VARCHAR, opponent VARCHAR)
For the game against the Washington Bullets, what was the final score?
SELECT record FROM table_name_31 WHERE opponent = "@ indiana pacers"
CREATE TABLE table_name_31 (record VARCHAR, opponent VARCHAR)
For the game where the opponent is listed as @ Indiana Pacers, what was the end record?
SELECT game FROM table_name_63 WHERE location = "chicago stadium"
CREATE TABLE table_name_63 (game VARCHAR, location VARCHAR)
Which game number was played at Chicago Stadium?
SELECT AVG(attendance) FROM table_name_51 WHERE home = "motagua"
CREATE TABLE table_name_51 (attendance INTEGER, home VARCHAR)
What was the attendance of the match with motagua as the home team?
SELECT score FROM table_name_90 WHERE home = "real espana"
CREATE TABLE table_name_90 (score VARCHAR, home VARCHAR)
What is the score of the game where real espana was the home team?
SELECT away FROM table_name_45 WHERE attendance = 916
CREATE TABLE table_name_45 (away VARCHAR, attendance VARCHAR)
What team was the away team for the game with 916 in attendance?
SELECT score FROM table_name_78 WHERE home = "deportes savio"
CREATE TABLE table_name_78 (score VARCHAR, home VARCHAR)
What was the score of the game wehre the deportes savio were the home team?
SELECT championship FROM table_name_83 WHERE winning_score = −9(66 - 69 - 73 - 71 = 279)
CREATE TABLE table_name_83 (championship VARCHAR, winning_score VARCHAR)
In which championship did the winner have a score of −9 (66-69-73-71=279)?
SELECT runner_s__up FROM table_name_32 WHERE winning_score = −9(66 - 69 - 73 - 71 = 279)
CREATE TABLE table_name_32 (runner_s__up VARCHAR, winning_score VARCHAR)
During the championship where the winning score was −9 (66-69-73-71=279)?, who was the runner-up?
SELECT winning_score FROM table_name_28 WHERE year = 2002
CREATE TABLE table_name_28 (winning_score VARCHAR, year VARCHAR)
What was the winning score in the year 2002?
SELECT MIN(goals_against) FROM table_name_57 WHERE club = "cd alcoyano" AND points > 25
CREATE TABLE table_name_57 (goals_against INTEGER, club VARCHAR, points VARCHAR)
What is the fewest goals of CD Alcoyano with more than 25 points?
SELECT MIN(wins) FROM table_name_26 WHERE draws < 7 AND played > 30
CREATE TABLE table_name_26 (wins INTEGER, draws VARCHAR, played VARCHAR)
What is the fewest number of wins that had fewer than 7 draws and more than 30 played?
SELECT MIN(points) FROM table_name_42 WHERE goal_difference > 29
CREATE TABLE table_name_42 (points INTEGER, goal_difference INTEGER)
What is the fewest points that has more than 29 goals?
SELECT MAX(date) FROM table_name_90 WHERE type = "0-4-4 forney locomotive" AND number > 20 AND works_number > 23754
CREATE TABLE table_name_90 (date INTEGER, works_number VARCHAR, type VARCHAR, number VARCHAR)
What date have highest 0-4-4 forney locomotive with number larger than 20 and works number larger than 23754?
SELECT COUNT(date) FROM table_name_37 WHERE type = "0-4-4 forney locomotive" AND number < 20 AND works_number = 1251
CREATE TABLE table_name_37 (date VARCHAR, works_number VARCHAR, type VARCHAR, number VARCHAR)
What is the sum of number with type 0-4-4 forney locomotive, number smaller than 20 and works number of 1251?
SELECT MIN(attendance) FROM table_name_58 WHERE time = "3:31" AND game < 7
CREATE TABLE table_name_58 (attendance INTEGER, time VARCHAR, game VARCHAR)
What was the lowest attendance for the game that had a time of 3:31 and was before game 7?
SELECT SUM(attendance) FROM table_name_53 WHERE time = "3:23"
CREATE TABLE table_name_53 (attendance INTEGER, time VARCHAR)
What was the sum of attendance for games with a time of 3:23?
SELECT MIN(bronze) FROM table_name_56 WHERE silver = 9 AND total < 27
CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, total VARCHAR)
WHat is the lowest amount of bronze medals for teams with 9 silvers and less than 27 points?
SELECT to_par FROM table_name_79 WHERE country = "new zealand"
CREATE TABLE table_name_79 (to_par VARCHAR, country VARCHAR)
What is the To par of the New Zealand Player?
SELECT player FROM table_name_80 WHERE score = 70 - 71 = 141
CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR)
What Player had a Score of 70-71=141?
SELECT score FROM table_name_43 WHERE player = "ernie els"
CREATE TABLE table_name_43 (score VARCHAR, player VARCHAR)
What is Ernie Els' Score?
SELECT attendance FROM table_name_25 WHERE away_team = "bournemouth"
CREATE TABLE table_name_25 (attendance VARCHAR, away_team VARCHAR)
What was the attendance when Bournemouth was the away team?
SELECT away_team FROM table_name_19 WHERE home_team = "lincoln city"
CREATE TABLE table_name_19 (away_team VARCHAR, home_team VARCHAR)
Who was the away team when Lincoln City was the home team?
SELECT score FROM table_name_91 WHERE away_team = "walsall"
CREATE TABLE table_name_91 (score VARCHAR, away_team VARCHAR)
What was the score when Walsall was the away team?
SELECT wheels FROM table_name_33 WHERE built = 1920
CREATE TABLE table_name_33 (wheels VARCHAR, built VARCHAR)
Which wheels were built 1920?
SELECT builder FROM table_name_8 WHERE built < 1880
CREATE TABLE table_name_8 (builder VARCHAR, built INTEGER)
Which builder has a Built smaller than 1880?
SELECT place FROM table_name_68 WHERE player = "mike souchak"
CREATE TABLE table_name_68 (place VARCHAR, player VARCHAR)
What is Place, when Player is "Mike Souchak"?
SELECT country FROM table_name_93 WHERE place = "t9" AND player = "jay hebert"
CREATE TABLE table_name_93 (country VARCHAR, place VARCHAR, player VARCHAR)
What is Country, when Place is "T9", and when Player is "Jay Hebert"?
SELECT player FROM table_name_90 WHERE place = "t9" AND score = 73 - 70 = 143
CREATE TABLE table_name_90 (player VARCHAR, place VARCHAR, score VARCHAR)
What is Player, when Place is "T9", and when Score is "73-70=143"?
SELECT country FROM table_name_54 WHERE player = "dow finsterwald"
CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR)
What is Country, when Player is "Dow Finsterwald"?
SELECT score FROM table_name_28 WHERE country = "united states" AND place = "t9" AND player = "jay hebert"
CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
What is Score, when Country is "United States", when Place is "T9", and when Player is "Jay Hebert"?
SELECT score FROM table_name_7 WHERE to_par = "+1" AND player = "mike souchak"
CREATE TABLE table_name_7 (score VARCHAR, to_par VARCHAR, player VARCHAR)
What is Score, when To Par is "+1", and when Player is "Mike Souchak"?
SELECT score FROM table_name_8 WHERE home = "chicago black hawks" AND record = "3-3"
CREATE TABLE table_name_8 (score VARCHAR, home VARCHAR, record VARCHAR)
What is the Score when the Home team is Chicago Black Hawks and the Record is 3-3?
SELECT visitor FROM table_name_78 WHERE score = "0-4"
CREATE TABLE table_name_78 (visitor VARCHAR, score VARCHAR)
Which Visitor has a Score of 0-4?
SELECT record FROM table_name_54 WHERE date = "april 22"
CREATE TABLE table_name_54 (record VARCHAR, date VARCHAR)
What is the Record for April 22?
SELECT date FROM table_name_54 WHERE record = "3-4"
CREATE TABLE table_name_54 (date VARCHAR, record VARCHAR)
Which Date has a Record of 3-4?
SELECT date FROM table_name_30 WHERE record = "3-4"
CREATE TABLE table_name_30 (date VARCHAR, record VARCHAR)
Which Date has a Record of 3-4?
SELECT record FROM table_name_24 WHERE opponent = "anna barone"
CREATE TABLE table_name_24 (record VARCHAR, opponent VARCHAR)
What is the record for opponent Anna Barone?
SELECT record FROM table_name_24 WHERE method = "ko (head kick)"
CREATE TABLE table_name_24 (record VARCHAR, method VARCHAR)
What is the record for the Ko (head kick) method?
SELECT time FROM table_name_57 WHERE round < 2 AND method = "ko (knee to the body)"
CREATE TABLE table_name_57 (time VARCHAR, round VARCHAR, method VARCHAR)
What is the time before round 2, and the ko (knee to the body) method?
SELECT AVG(round) FROM table_name_89 WHERE method = "tko (punches and elbows)"
CREATE TABLE table_name_89 (round INTEGER, method VARCHAR)
What is the average round for the TKO (punches and elbows) method?
SELECT opponent FROM table_name_93 WHERE event = "ufc 19"
CREATE TABLE table_name_93 (opponent VARCHAR, event VARCHAR)
Who was the opponent in UFC 19?
SELECT opponent FROM table_name_75 WHERE round > 1 AND event = "ufc 66"
CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR, event VARCHAR)
Who was the opponent in UFC 66 who lasted for more than 1 round?
SELECT 1989 FROM table_name_56 WHERE 1984 = "a" AND 1985 = "a" AND 1990 = "a"
CREATE TABLE table_name_56 (Id VARCHAR)
What was the 1989 result for the tournament with 1984 of a, 1985 of a, and 1990 of a?
SELECT 1987 FROM table_name_81 WHERE 1989 = "a" AND 1986 = "3r"
CREATE TABLE table_name_81 (Id VARCHAR)
What was the 1987 result for the tournament with 1986 result of 3R and 1989 of A?
SELECT 1989 FROM table_name_71 WHERE 1987 = "1r"
CREATE TABLE table_name_71 (Id VARCHAR)
What is the 1989 result of the tournament that had a 1987 result of 1R?
SELECT 1989 FROM table_name_95 WHERE 1983 = "a" AND 1987 = "a"
CREATE TABLE table_name_95 (Id VARCHAR)
What is the 1989 result for the tournament that had a 1983 and 1987 result of A?
SELECT res FROM table_name_69 WHERE event = "ufc 85"
CREATE TABLE table_name_69 (res VARCHAR, event VARCHAR)
What was the result fot the UFC 85 event?
SELECT location FROM table_name_84 WHERE event = "meca world vale tudo 6"
CREATE TABLE table_name_84 (location VARCHAR, event VARCHAR)
In which location did the Meca World Vale Tudo 6 event happen?
SELECT record FROM table_name_59 WHERE round = "3" AND event = "afc: brazil 1"
CREATE TABLE table_name_59 (record VARCHAR, round VARCHAR, event VARCHAR)
What was his record at the AFC: Brazil 1 event that went 3 rounds?
SELECT country FROM table_name_64 WHERE lane < 2 AND name = "anselmo da silva"
CREATE TABLE table_name_64 (country VARCHAR, lane VARCHAR, name VARCHAR)
Which country has Anselmo Da Silva in lane 2?
SELECT COUNT(heat) FROM table_name_4 WHERE mark = "7.63" AND react < 0.229
CREATE TABLE table_name_4 (heat VARCHAR, mark VARCHAR, react VARCHAR)
What is the heat number at 7.63, and a reaction less than 0.229?
SELECT verb_meaning FROM table_name_36 WHERE part_2 = "band"
CREATE TABLE table_name_36 (verb_meaning VARCHAR, part_2 VARCHAR)
What is the verb meaning when part 2 is band?
SELECT verb_meaning FROM table_name_5 WHERE part_2 = "blēot"
CREATE TABLE table_name_5 (verb_meaning VARCHAR, part_2 VARCHAR)
What is the verb meaning when the part 2 is blēot?