question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who is the July playmate with a December playmate Morgan Fox?
CREATE TABLE table_name_58 (july VARCHAR, december VARCHAR)
SELECT july FROM table_name_58 WHERE december = "morgan fox"
Who is the March playmate with a November playmate Cara Wakelin?
CREATE TABLE table_name_3 (march VARCHAR, november VARCHAR)
SELECT march FROM table_name_3 WHERE november = "cara wakelin"
In which year did he finish 11th?
CREATE TABLE table_name_31 (year VARCHAR, result VARCHAR)
SELECT COUNT(year) FROM table_name_31 WHERE result = "11th"
In which year did he finish 8th?
CREATE TABLE table_name_3 (year VARCHAR, result VARCHAR)
SELECT year FROM table_name_3 WHERE result = "8th"
What is the number of the game that was played in the time of 2:38?
CREATE TABLE table_name_95 (game INTEGER, time VARCHAR)
SELECT MAX(game) FROM table_name_95 WHERE time = "2:38"
What is the number of the game that was played on October 4?
CREATE TABLE table_name_61 (game INTEGER, date VARCHAR)
SELECT SUM(game) FROM table_name_61 WHERE date = "october 4"
August 16 had what record?
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_72 WHERE date = "august 16"
Tell me the record for the date of August 18.
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_55 WHERE date = "august 18"
For the record of 52-60 what's the date?
CREATE TABLE table_name_60 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_60 WHERE record = "52-60"
What is the average attendance for the date of 7 November 2007 with an H/A of H?
CREATE TABLE table_name_38 (attendance INTEGER, h___a VARCHAR, date VARCHAR)
SELECT AVG(attendance) FROM table_name_38 WHERE h___a = "h" AND date = "7 november 2007"
What is the Group position for the date of 7 November 2007?
CREATE TABLE table_name_9 (group_position VARCHAR, date VARCHAR)
SELECT group_position FROM table_name_9 WHERE date = "7 november 2007"
What year had a 1st round playoff in the NASL indoor league?
CREATE TABLE table_name_6 (year VARCHAR, playoffs VARCHAR, league VARCHAR)
SELECT year FROM table_name_6 WHERE playoffs = "1st round" AND league = "nasl indoor"
What is the normal temperature of Abbotsford, British Columbia?
CREATE TABLE table_name_8 (normal_temperature VARCHAR, city VARCHAR)
SELECT normal_temperature FROM table_name_8 WHERE city = "abbotsford, british columbia"
What is the score on May 18?
CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_75 WHERE date = "may 18"
What is the home team of the game on May 22 with the Edmonton Oilers as the visiting team?
CREATE TABLE table_name_29 (home VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT home FROM table_name_29 WHERE visitor = "edmonton oilers" AND date = "may 22"
What is the record of the game where the visitor team is the Edmonton Oilers?
CREATE TABLE table_name_50 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_50 WHERE visitor = "edmonton oilers"
When is the lane less than 5 and is named ágnes kovács?
CREATE TABLE table_name_65 (time VARCHAR, lane VARCHAR, name VARCHAR)
SELECT time FROM table_name_65 WHERE lane < 5 AND name = "ágnes kovács"
What is the average lane for china?
CREATE TABLE table_name_52 (lane INTEGER, nationality VARCHAR)
SELECT AVG(lane) FROM table_name_52 WHERE nationality = "china"
What is the average lane that is called rebecca brown?
CREATE TABLE table_name_88 (lane INTEGER, name VARCHAR)
SELECT AVG(lane) FROM table_name_88 WHERE name = "rebecca brown"
Which Championship total is over 13?
CREATE TABLE table_name_99 (total INTEGER, championship INTEGER)
SELECT AVG(total) FROM table_name_99 WHERE championship > 13
When Kerry is at 36.7%, what is the total number of others?
CREATE TABLE table_name_88 (others_number VARCHAR, kerry_percentage VARCHAR)
SELECT COUNT(others_number) FROM table_name_88 WHERE kerry_percentage = "36.7%"
When Bush has 52.9%, what is the Bush#?
CREATE TABLE table_name_10 (bush_number VARCHAR, bush_percentage VARCHAR)
SELECT bush_number FROM table_name_10 WHERE bush_percentage = "52.9%"
What is the IATA of Guam?
CREATE TABLE table_name_4 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_4 WHERE city = "guam"
VIE is the IATA for which city?
CREATE TABLE table_name_80 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_80 WHERE iata = "vie"
Which city's ICAO is WADD?
CREATE TABLE table_name_92 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_92 WHERE icao = "wadd"
PER is the IATA for which city?
CREATE TABLE table_name_84 (city VARCHAR, iata VARCHAR)
SELECT city FROM table_name_84 WHERE iata = "per"
Which city's IATA is KUL?
CREATE TABLE table_name_50 (city VARCHAR, iata VARCHAR)
SELECT city FROM table_name_50 WHERE iata = "kul"
The Brisbane airport is located in which country?
CREATE TABLE table_name_85 (country VARCHAR, airport VARCHAR)
SELECT country FROM table_name_85 WHERE airport = "brisbane airport"
Name the opponent for august 26
CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_99 WHERE date = "august 26"
What is the lowest win number of the competitor who had 90 points before 1994?
CREATE TABLE table_name_41 (wins INTEGER, points VARCHAR, year VARCHAR)
SELECT MIN(wins) FROM table_name_41 WHERE points = 90 AND year < 1994
What is the sum of wins after 1999?
CREATE TABLE table_name_47 (wins INTEGER, year INTEGER)
SELECT SUM(wins) FROM table_name_47 WHERE year > 1999
What is the result on Saturday when it's रविवार ravivār on Sunday and मंगळवार mangaḷavār on Tuesday?
CREATE TABLE table_name_41 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR, tuesday_mangala__mars_ VARCHAR)
SELECT saturday_shani__saturn_ FROM table_name_41 WHERE sunday_surya__the_sun_ = "रविवार ravivār" AND tuesday_mangala__mars_ = "मंगळवार mangaḷavār"
What is the result on Saturday that's রবিবার robibar on Sunday
CREATE TABLE table_name_14 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR)
SELECT saturday_shani__saturn_ FROM table_name_14 WHERE sunday_surya__the_sun_ = "রবিবার robibar"
What is the result of Friday that's တ္ၚဲ အၚါ [ŋoa əŋɛ̀a] from sans. aṅgāra on Tuesday?
CREATE TABLE table_name_91 (friday_shukra__venus_ VARCHAR, tuesday_mangala__mars_ VARCHAR)
SELECT friday_shukra__venus_ FROM table_name_91 WHERE tuesday_mangala__mars_ = "တ္ၚဲ အၚါ [ŋoa əŋɛ̀a] from sans. aṅgāra"
What is the result of Saturday that's ថ្ងៃអាទិត្យ [tŋaj ʔaatɨt ] on Sunday?
CREATE TABLE table_name_30 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR)
SELECT saturday_shani__saturn_ FROM table_name_30 WHERE sunday_surya__the_sun_ = "ថ្ងៃអាទិត្យ [tŋaj ʔaatɨt ]"
What is the result on Sunday that's सोमवार somavār on Monday and मंगलवार mangalavār on Tuesday?
CREATE TABLE table_name_29 (sunday_surya__the_sun_ VARCHAR, monday_soma__the_moon_ VARCHAR, tuesday_mangala__mars_ VARCHAR)
SELECT sunday_surya__the_sun_ FROM table_name_29 WHERE monday_soma__the_moon_ = "सोमवार somavār" AND tuesday_mangala__mars_ = "मंगलवार mangalavār"
What year has american music awards?
CREATE TABLE table_name_97 (year VARCHAR, award VARCHAR)
SELECT COUNT(year) FROM table_name_97 WHERE award = "american music awards"
What was album of the year after 2009?
CREATE TABLE table_name_99 (result VARCHAR, year VARCHAR, category VARCHAR)
SELECT result FROM table_name_99 WHERE year > 2009 AND category = "album of the year"
How many years had ozone awards?
CREATE TABLE table_name_43 (year INTEGER, award VARCHAR)
SELECT SUM(year) FROM table_name_43 WHERE award = "ozone awards"
What event did he fight masato shiozawa?
CREATE TABLE table_name_82 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_82 WHERE opponent = "masato shiozawa"
What is the partner with a score of 4–6, 7–5, [10–8]?
CREATE TABLE table_name_25 (partnering VARCHAR, score VARCHAR)
SELECT partnering FROM table_name_25 WHERE score = "4–6, 7–5, [10–8]"
What was the score for the game against Marquette?
CREATE TABLE table_name_68 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_68 WHERE opponent = "marquette"
What was the result of the game in Milwaukee?
CREATE TABLE table_name_34 (result VARCHAR, city VARCHAR)
SELECT result FROM table_name_34 WHERE city = "milwaukee"
What team was the opponent when the score was 25-0?
CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_7 WHERE score = "25-0"
What date was the game in Minneapolis?
CREATE TABLE table_name_21 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_21 WHERE city = "minneapolis"
Which Record has a Result of loss, and a Time of 3:54?
CREATE TABLE table_name_96 (record VARCHAR, res VARCHAR, time VARCHAR)
SELECT record FROM table_name_96 WHERE res = "loss" AND time = "3:54"
Which Record has a Method of submission (heel hook), a Round larger than 1, and a Time of 2:28?
CREATE TABLE table_name_32 (record VARCHAR, time VARCHAR, method VARCHAR, round VARCHAR)
SELECT record FROM table_name_32 WHERE method = "submission (heel hook)" AND round > 1 AND time = "2:28"
What is the smallest round resulting in a draw with an Opponent of mari kaneko?
CREATE TABLE table_name_88 (round INTEGER, res VARCHAR, opponent VARCHAR)
SELECT MIN(round) FROM table_name_88 WHERE res = "draw" AND opponent = "mari kaneko"
What ship type was from SE?
CREATE TABLE table_name_86 (ship_type VARCHAR, nat VARCHAR)
SELECT ship_type FROM table_name_86 WHERE nat = "se"
Who were the victims of the US ship that sank in the Mississippi River near Memphis?
CREATE TABLE table_name_35 (principal_victims VARCHAR, nat VARCHAR, where_sunk VARCHAR)
SELECT principal_victims FROM table_name_35 WHERE nat = "us" AND where_sunk = "mississippi river near memphis"
What was the estimated number of victims for the April 27, 1865 sinking?
CREATE TABLE table_name_78 (estimate VARCHAR, date VARCHAR)
SELECT estimate FROM table_name_78 WHERE date = "april 27, 1865"
Which nation was the ship from that had 372 victims?
CREATE TABLE table_name_26 (nat VARCHAR, estimate VARCHAR)
SELECT nat FROM table_name_26 WHERE estimate = "372"
What type of ship was the HMSST George?
CREATE TABLE table_name_66 (ship_type VARCHAR, name VARCHAR)
SELECT ship_type FROM table_name_66 WHERE name = "hmsst george"
Which region had the CD maxi format?
CREATE TABLE table_name_91 (region VARCHAR, format VARCHAR)
SELECT region FROM table_name_91 WHERE format = "cd maxi"
What was the format in September 1990 for Catalog 887 847-1?
CREATE TABLE table_name_84 (format VARCHAR, catalog VARCHAR, date VARCHAR)
SELECT format FROM table_name_84 WHERE catalog = "887 847-1" AND date = "september 1990"
What was the label in Japan?
CREATE TABLE table_name_14 (label VARCHAR, region VARCHAR)
SELECT label FROM table_name_14 WHERE region = "japan"
In which Tournament was Mansour Bahrami Eric Winogradsky
CREATE TABLE table_name_9 (tournament VARCHAR, opponent_in_final VARCHAR)
SELECT tournament FROM table_name_9 WHERE opponent_in_final = "mansour bahrami eric winogradsky"
What position was less than 421 overall played by Matt Clark?
CREATE TABLE table_name_28 (position VARCHAR, overall VARCHAR, player VARCHAR)
SELECT position FROM table_name_28 WHERE overall < 421 AND player = "matt clark"
What was the lowest overall for Louis Coleman?
CREATE TABLE table_name_91 (overall INTEGER, player VARCHAR)
SELECT MIN(overall) FROM table_name_91 WHERE player = "louis coleman"
What round did Matt Clark play?
CREATE TABLE table_name_94 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_94 WHERE player = "matt clark"
Which position was more than 421 overall for the St. Louis Cardinals?
CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, mlb_team VARCHAR)
SELECT position FROM table_name_45 WHERE overall > 421 AND mlb_team = "st. louis cardinals"
What round was less than 545 overall for San Francisco Giants?
CREATE TABLE table_name_92 (round VARCHAR, overall VARCHAR, mlb_team VARCHAR)
SELECT round FROM table_name_92 WHERE overall < 545 AND mlb_team = "san francisco giants"
What Gender has the area of swannanoa?
CREATE TABLE table_name_53 (gender VARCHAR, area VARCHAR)
SELECT gender FROM table_name_53 WHERE area = "swannanoa"
What years had the decile smaller than 8 in the area of southbrook?
CREATE TABLE table_name_13 (years VARCHAR, decile VARCHAR, area VARCHAR)
SELECT years FROM table_name_13 WHERE decile < 8 AND area = "southbrook"
For a Lost of 10 and a Try Bonus of 4, what are the points against them?
CREATE TABLE table_name_54 (points_against VARCHAR, try_bonus VARCHAR, lost VARCHAR)
SELECT points_against FROM table_name_54 WHERE try_bonus = "4" AND lost = "10"
Having 429 points against, what is the Tries Against?
CREATE TABLE table_name_24 (tries_against VARCHAR, points_against VARCHAR)
SELECT tries_against FROM table_name_24 WHERE points_against = "429"
With a Try Bonus of 8, what is the Tries Against?
CREATE TABLE table_name_47 (tries_against VARCHAR, try_bonus VARCHAR)
SELECT tries_against FROM table_name_47 WHERE try_bonus = "8"
What club has a Try Bonus of 8?
CREATE TABLE table_name_16 (club VARCHAR, try_bonus VARCHAR)
SELECT club FROM table_name_16 WHERE try_bonus = "8"
For Pontyberem RFC that has a Try Bonus of 2, what is the played?
CREATE TABLE table_name_56 (played VARCHAR, try_bonus VARCHAR, club VARCHAR)
SELECT played FROM table_name_56 WHERE try_bonus = "2" AND club = "pontyberem rfc"
With a club that has 400 Points against, what are the points?
CREATE TABLE table_name_50 (points_for VARCHAR, points_against VARCHAR)
SELECT points_for FROM table_name_50 WHERE points_against = "400"
When goals against is greater than 60 and losses less than 29, what is the highest played?
CREATE TABLE table_name_6 (played INTEGER, goals_against VARCHAR, losses VARCHAR)
SELECT MAX(played) FROM table_name_6 WHERE goals_against > 60 AND losses < 29
What club has less than 60 goals against, a goal difference smaller than 1, and a position of 8?
CREATE TABLE table_name_73 (club VARCHAR, position VARCHAR, goals_against VARCHAR, goal_difference VARCHAR)
SELECT club FROM table_name_73 WHERE goals_against < 60 AND goal_difference < 1 AND position = 8
Where did they play in week 14?
CREATE TABLE table_name_57 (game_site VARCHAR, week VARCHAR)
SELECT game_site FROM table_name_57 WHERE week = "14"
Who was the opponent when 48,121 people attended?
CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_49 WHERE attendance = "48,121"
What was the score when 50,514 people were in attendance?
CREATE TABLE table_name_54 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_54 WHERE attendance = "50,514"
Where did they have the divisional playoffs?
CREATE TABLE table_name_59 (game_site VARCHAR, week VARCHAR)
SELECT game_site FROM table_name_59 WHERE week = "divisional playoffs"
What is the result when there was an attendance of 54,418?
CREATE TABLE table_name_21 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_21 WHERE attendance = "54,418"
What year was the role of Rachel active in TV?
CREATE TABLE table_name_83 (year_active VARCHAR, role VARCHAR)
SELECT year_active FROM table_name_83 WHERE role = "rachel"
Name the sum of population 1.1.2008 for tønsberg and population 1.1.2006 more than 45.447
CREATE TABLE table_name_62 (population_112008 INTEGER, urban_area VARCHAR, population_112006 VARCHAR)
SELECT SUM(population_112008) FROM table_name_62 WHERE urban_area = "tønsberg" AND population_112006 > 45.447
Name the least population 1.1.2008 with population per square km of 1.957 and population 1.1.2006 less than 12.67
CREATE TABLE table_name_62 (population_112008 INTEGER, population_per_square_km VARCHAR, population_112006 VARCHAR)
SELECT MIN(population_112008) FROM table_name_62 WHERE population_per_square_km = 1.957 AND population_112006 < 12.67
Name the total number of population per square km with population 1.12006 of 12.757
CREATE TABLE table_name_97 (population_per_square_km VARCHAR, population_112006 VARCHAR)
SELECT COUNT(population_per_square_km) FROM table_name_97 WHERE population_112006 = 12.757
What is the average Points when the engine was a climax straight-4 earlier than 1958?
CREATE TABLE table_name_4 (points INTEGER, engine VARCHAR, year VARCHAR)
SELECT AVG(points) FROM table_name_4 WHERE engine = "climax straight-4" AND year < 1958
What is the number of points for the maserati straight-4 engine, later than 1959?
CREATE TABLE table_name_94 (points VARCHAR, engine VARCHAR, year VARCHAR)
SELECT COUNT(points) FROM table_name_94 WHERE engine = "maserati straight-4" AND year > 1959
What engine had a JBW chassis in 1960?
CREATE TABLE table_name_49 (engine VARCHAR, chassis VARCHAR, year VARCHAR)
SELECT engine FROM table_name_49 WHERE chassis = "jbw" AND year = 1960
What is the highest points for the JBW chassis with a climax straight-4 engine, later than 1961?
CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, chassis VARCHAR, engine VARCHAR)
SELECT MAX(points) FROM table_name_53 WHERE chassis = "jbw" AND engine = "climax straight-4" AND year > 1961
What is the name of the engine in 1961?
CREATE TABLE table_name_83 (engine VARCHAR, year VARCHAR)
SELECT engine FROM table_name_83 WHERE year = 1961
On which date were the 2003 Toronto Blue Jays 54-55?
CREATE TABLE table_name_5 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_5 WHERE record = "54-55"
What is the average attendance of the Mariners' attendance when their record was 62-64?
CREATE TABLE table_name_86 (attendance INTEGER, opponent VARCHAR, record VARCHAR)
SELECT AVG(attendance) FROM table_name_86 WHERE opponent = "mariners" AND record = "62-64"
What was the score when the Blue Jays had an attendance larger than 9,430?
CREATE TABLE table_name_25 (score VARCHAR, attendance INTEGER)
SELECT score FROM table_name_25 WHERE attendance > 9 OFFSET 430
What is the height of the fort peck dam which was built before 1968, is located in the united states and has a dam type of TE ?
CREATE TABLE table_name_93 (structure_height_ VARCHAR, m VARCHAR, name VARCHAR, country VARCHAR, year VARCHAR, type VARCHAR)
SELECT structure_height_[m] FROM table_name_93 WHERE year < 1968 AND type = "te" AND country = "united states" AND name = "fort peck dam"
Who was the runner up before 2007?
CREATE TABLE table_name_93 (runner_up VARCHAR, season INTEGER)
SELECT runner_up FROM table_name_93 WHERE season < 2007
Which season was Manresa the champion?
CREATE TABLE table_name_46 (season VARCHAR, champion VARCHAR)
SELECT season FROM table_name_46 WHERE champion = "manresa"
What year was the cosworth ca2006 2.4 v8 4 series used?
CREATE TABLE table_name_74 (year INTEGER, engine VARCHAR)
SELECT AVG(year) FROM table_name_74 WHERE engine = "cosworth ca2006 2.4 v8 4 series"
What engine did the mclaren mp4-20 use?
CREATE TABLE table_name_40 (engine VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_40 WHERE chassis = "mclaren mp4-20"
What team used the toyota rvx-07 2.4 v8 engine
CREATE TABLE table_name_79 (entrant VARCHAR, engine VARCHAR)
SELECT entrant FROM table_name_79 WHERE engine = "toyota rvx-07 2.4 v8"
in what year were 2 points scored?
CREATE TABLE table_name_19 (year INTEGER, points VARCHAR)
SELECT MAX(year) FROM table_name_19 WHERE points = "2"
What engine scored 17 points?
CREATE TABLE table_name_86 (engine VARCHAR, points VARCHAR)
SELECT engine FROM table_name_86 WHERE points = "17"
What years won when the To par is more than 13?
CREATE TABLE table_name_65 (year_s__won VARCHAR, to_par INTEGER)
SELECT year_s__won FROM table_name_65 WHERE to_par > 13
What is the highest Total for Australia?
CREATE TABLE table_name_78 (total INTEGER, country VARCHAR)
SELECT MAX(total) FROM table_name_78 WHERE country = "australia"
What is the average Total for the United States with a To par more than 6 and 1996 was won?
CREATE TABLE table_name_96 (total INTEGER, year_s__won VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT AVG(total) FROM table_name_96 WHERE country = "united states" AND to_par > 6 AND year_s__won = "1996"