answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT home_city FROM table_name_29 WHERE stadium = "stadion src mladost"
what is the home city for the stadion src mladost?
CREATE TABLE table_name_29 (home_city VARCHAR, stadium VARCHAR)
SELECT player FROM table_28846752_4 WHERE highest_score = "84"
Who is the player when the highest score is 84?
CREATE TABLE table_28846752_4 (player VARCHAR, highest_score VARCHAR)
SELECT scorers FROM table_name_64 WHERE opponent = "neuchâtel xamax" AND date = "10 december 1985"
Who were the scorers in the game against neuchâtel xamax played on 10 December 1985?
CREATE TABLE table_name_64 (scorers VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT MIN(year) FROM table_26108103_2
What was the earliest year?
CREATE TABLE table_26108103_2 (year INTEGER)
SELECT political_party FROM table_name_72 WHERE name = "mehdi bej frashëri (2nd time)"
Which Political Party has a Name of mehdi bej frashëri (2nd time)?
CREATE TABLE table_name_72 (political_party VARCHAR, name VARCHAR)
SELECT SUM(points) FROM table_name_6 WHERE played < 38
What is the points when played is less than 38?
CREATE TABLE table_name_6 (points INTEGER, played INTEGER)
SELECT sign FROM table_name_5 WHERE fall = "venus"
Which sign has a fall of Venus?
CREATE TABLE table_name_5 (sign VARCHAR, fall VARCHAR)
SELECT attendance FROM table_name_18 WHERE date = "1 october 2003"
Date of 1 october 2003 had what attendance?
CREATE TABLE table_name_18 (attendance VARCHAR, date VARCHAR)
SELECT game FROM table_23286223_5 WHERE high_rebounds = "Carlos Boozer (8)"
What's the number of the game in which Carlos Boozer (8) did the high rebounds?
CREATE TABLE table_23286223_5 (game VARCHAR, high_rebounds VARCHAR)
SELECT high_points FROM table_name_85 WHERE location_attendance = "time warner cable arena 12,096"
At Time Warner Cable Arena 12,096, what was the high points?
CREATE TABLE table_name_85 (high_points VARCHAR, location_attendance VARCHAR)
SELECT pop__km² FROM table_2252745_1 WHERE _number = 4
When the # is 4, what is the pop./ km²?
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, _number VARCHAR)
SELECT score FROM table_name_80 WHERE result = "lost"
What is the score with lost as the result?
CREATE TABLE table_name_80 (score VARCHAR, result VARCHAR)
SELECT COUNT(overs_bowled) FROM table_15700367_6 WHERE name = "Muttiah Muralitharan"
How many overs bowled for muttiah muralitharan?
CREATE TABLE table_15700367_6 (overs_bowled VARCHAR, name VARCHAR)
SELECT SUM(top_25) FROM table_name_23 WHERE events < 0
What is the total Top-25 when the events were less than 0?
CREATE TABLE table_name_23 (top_25 INTEGER, events INTEGER)
SELECT AVG(wins) FROM table_name_45 WHERE defeated_by = "furuichi"
How many wins, on average, were defeated by furuichi?
CREATE TABLE table_name_45 (wins INTEGER, defeated_by VARCHAR)
SELECT COUNT(par) FROM table_2417741_1 WHERE winner = "Cary Middlecoff"
When cary middlecoff is the winner how many pars are there?
CREATE TABLE table_2417741_1 (par VARCHAR, winner VARCHAR)
SELECT away_team AS score FROM table_name_53 WHERE away_team = "geelong"
How much did the away team Geelong score?
CREATE TABLE table_name_53 (away_team VARCHAR)
SELECT winner FROM table_25938117_1 WHERE date = "Jan 24"
Name the winner for jan 24
CREATE TABLE table_25938117_1 (winner VARCHAR, date VARCHAR)
SELECT sanction FROM table_16275828_4 WHERE location = "Lincoln, Illinois"
Who sanctioned the event in lincoln, illinois?
CREATE TABLE table_16275828_4 (sanction VARCHAR, location VARCHAR)
SELECT gold_medals FROM table_1305623_18 WHERE silver_medals < 1.0
what are all the gold medals when the silver medals is smaller than 1.0?
CREATE TABLE table_1305623_18 (gold_medals VARCHAR, silver_medals INTEGER)
SELECT MAX(security_forces) FROM table_21636599_1
How many security forces?
CREATE TABLE table_21636599_1 (security_forces INTEGER)
SELECT nat FROM table_19018191_5 WHERE total_apps = 27
Name the nat for total apps for 27
CREATE TABLE table_19018191_5 (nat VARCHAR, total_apps VARCHAR)
SELECT became_consort FROM table_name_86 WHERE spouse = "louis ii"
On what date did the woman married to Louis II become consort?
CREATE TABLE table_name_86 (became_consort VARCHAR, spouse VARCHAR)
SELECT year FROM table_name_46 WHERE category = "supernova award"
What year had the supernova award?
CREATE TABLE table_name_46 (year VARCHAR, category VARCHAR)
SELECT MAX(year) FROM table_1241987_1 WHERE regular_season = "6th, Heartland"
What is the latest year that 6th, Heartland is regular season?
CREATE TABLE table_1241987_1 (year INTEGER, regular_season VARCHAR)
SELECT record FROM table_name_40 WHERE opponent = "atlanta falcons"
What was the record in the game where the opponent wasd the atlanta falcons?
CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_81 WHERE score = "48-12" AND city = "penrith"
What was the result of the match in Penrith that featured a score of 48-12?
CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR, city VARCHAR)
SELECT qual_2 FROM table_name_34 WHERE team = "rocketsports racing" AND best = "1:10.949"
What is the qual 2 of team rocketsports racing, which has the best of 1:10.949?
CREATE TABLE table_name_34 (qual_2 VARCHAR, team VARCHAR, best VARCHAR)
SELECT principal FROM table_1984697_53 WHERE school = "Edgewood High school"
Who's the principal of Edgewood High School?/
CREATE TABLE table_1984697_53 (principal VARCHAR, school VARCHAR)
SELECT employee__real_name_ FROM table_name_67 WHERE pick__number > 9
What is the real name of the Pick # that is greater than 9?
CREATE TABLE table_name_67 (employee__real_name_ VARCHAR, pick__number INTEGER)
SELECT team FROM table_name_52 WHERE high_points = "vince carter (19)"
What was the team when vince carter (19) had the high points?
CREATE TABLE table_name_52 (team VARCHAR, high_points VARCHAR)
SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = "London Gatwick"
Please show the names of aircrafts associated with airport with name "London Gatwick".
CREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)
SELECT season FROM table_name_81 WHERE opponent = "queensland" AND wicket = "4"
What season did they play queensland at wicket 4?
CREATE TABLE table_name_81 (season VARCHAR, opponent VARCHAR, wicket VARCHAR)
SELECT tournament FROM table_name_30 WHERE score = "6-4, 6-4"
Which tournament has a Score of 6-4, 6-4?
CREATE TABLE table_name_30 (tournament VARCHAR, score VARCHAR)
SELECT name FROM table_name_62 WHERE perfection = "73.24%"
Who had a perfection percentage of 73.24%?
CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR)
SELECT react FROM table_name_98 WHERE lane = 3 AND heat = 2
what is the react when the lane is 3 and heat is 2?
CREATE TABLE table_name_98 (react VARCHAR, lane VARCHAR, heat VARCHAR)
SELECT outcome FROM table_name_86 WHERE score = "6–4, 2–6, 6–3"
Which Outcome has a Score of 6–4, 2–6, 6–3?
CREATE TABLE table_name_86 (outcome VARCHAR, score VARCHAR)
SELECT country FROM table_name_46 WHERE ief_2011 = "45.3"
What country has an IEF 2011 of 45.3?
CREATE TABLE table_name_46 (country VARCHAR, ief_2011 VARCHAR)
SELECT viewers__millions_ FROM table_22822468_2 WHERE rating = "2.1"
Name the viewers for 2.1 rating
CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)
SELECT MIN(podiums) FROM table_20398823_1 WHERE wins = 0 AND season = 2005 AND points = "321"
Name the least podiums for 0 wins and 2005 season for 321 points
CREATE TABLE table_20398823_1 (podiums INTEGER, points VARCHAR, wins VARCHAR, season VARCHAR)
SELECT track FROM table_name_44 WHERE date = "june 9"
Tell me the track for june 9
CREATE TABLE table_name_44 (track VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_86 WHERE away_team = "hawthorn"
Which home team has a Away team of hawthorn?
CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR)
SELECT COUNT(week) FROM table_name_65 WHERE opponent = "san francisco 49ers"
How many weeks has the opponent been san francisco 49ers?
CREATE TABLE table_name_65 (week VARCHAR, opponent VARCHAR)
SELECT 2008 AS _09 FROM table_name_9 WHERE event = "autumn gold"
What is the value in 2008-09 for the Autumn Gold event?
CREATE TABLE table_name_9 (event VARCHAR)
SELECT first_elected FROM table_1342218_6 WHERE incumbent = "Clair Engle"
What year was clair engle first elected?
CREATE TABLE table_1342218_6 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(floors) FROM table_23759976_1 WHERE building_[a_] = "Chongqing Poly Tower"
How many different numbers of floors are there for the Chongqing Poly Tower?
CREATE TABLE table_23759976_1 (floors VARCHAR, building_ VARCHAR, a_ VARCHAR)
SELECT outcome FROM table_name_81 WHERE opponent = "jing-jing lu"
What was the outcome when Jing-Jing Lu was the opponent?
CREATE TABLE table_name_81 (outcome VARCHAR, opponent VARCHAR)
SELECT MAX(caps) FROM table_name_65 WHERE name = "rivelino"
Name of rivelino had how many highest caps?
CREATE TABLE table_name_65 (caps INTEGER, name VARCHAR)
SELECT leader_at_the_summit FROM table_name_23 WHERE year = 2005
Who was the leader at the summit for the race in 2005?
CREATE TABLE table_name_23 (leader_at_the_summit VARCHAR, year VARCHAR)
SELECT score FROM table_23248940_9 WHERE game = 50
How did the game number 50 end?
CREATE TABLE table_23248940_9 (score VARCHAR, game VARCHAR)
SELECT round FROM table_name_35 WHERE opponent = "torpedo moscow"
What is the Round with an Opponent that is torpedo moscow?
CREATE TABLE table_name_35 (round VARCHAR, opponent VARCHAR)
SELECT format FROM table_name_53 WHERE date = "february 14, 2002"
What is the format of the date February 14, 2002?
CREATE TABLE table_name_53 (format VARCHAR, date VARCHAR)
SELECT college FROM table_name_43 WHERE team = "new york jets"
The New York Jets picked someone from what college?
CREATE TABLE table_name_43 (college VARCHAR, team VARCHAR)
SELECT khmer FROM table_name_20 WHERE other = "mouy"
for the other of mouy, what's the khmer?
CREATE TABLE table_name_20 (khmer VARCHAR, other VARCHAR)
SELECT share_of_seats FROM table_name_66 WHERE seats < 52 AND name = "sdp–liberal alliance" AND general_election = 1983
Which Share of seats has Seats smaller than 52, and a Name of sdp–liberal alliance, and a General election of 1983?
CREATE TABLE table_name_66 (share_of_seats VARCHAR, general_election VARCHAR, seats VARCHAR, name VARCHAR)
SELECT channel FROM table_name_83 WHERE country = "israel"
Which channel comes out of Israel?
CREATE TABLE table_name_83 (channel VARCHAR, country VARCHAR)
SELECT segment_c FROM table_name_58 WHERE segment_b = "refrigerators"
Which segment c's segment b is refrigerators?
CREATE TABLE table_name_58 (segment_c VARCHAR, segment_b VARCHAR)
SELECT finalist FROM table_name_30 WHERE year = 2008
What is Finalist, when Year is "2008"?
CREATE TABLE table_name_30 (finalist VARCHAR, year VARCHAR)
SELECT stadium FROM table_24039173_1 WHERE team = "San Juan Jabloteh"
San Juan Jabloteh calls which stadium home?
CREATE TABLE table_24039173_1 (stadium VARCHAR, team VARCHAR)
SELECT area__km_2__ FROM table_210279_2 WHERE barangay = "Guadalupe Viejo"
what is the area where barangay is guadalupe viejo?
CREATE TABLE table_210279_2 (area__km_2__ VARCHAR, barangay VARCHAR)
SELECT SUM(drawn) FROM table_name_86 WHERE points > 9
How many drawn having more than 9 points?
CREATE TABLE table_name_86 (drawn INTEGER, points INTEGER)
SELECT MIN(round) FROM table_name_87 WHERE school_club_team = "alabama" AND pick > 43
Which Round is the lowest one that has a School/Club Team of alabama, and a Pick larger than 43?
CREATE TABLE table_name_87 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
SELECT location FROM table_19215259_1 WHERE frequency = "92.3MHz"
Where is the frequency 92.3mhz?
CREATE TABLE table_19215259_1 (location VARCHAR, frequency VARCHAR)
SELECT date FROM table_name_29 WHERE location_attendance = "td banknorth garden 18,624"
What is Date, when Location Attendance is "TD Banknorth Garden 18,624"?
CREATE TABLE table_name_29 (date VARCHAR, location_attendance VARCHAR)
SELECT name FROM table_name_57 WHERE status = "loaned" AND moving_to = "leyton orient"
What is the name listed for the country that has a status of loaned and a moving to listed as leyton orient?
CREATE TABLE table_name_57 (name VARCHAR, status VARCHAR, moving_to VARCHAR)
SELECT SUM(loss) FROM table_name_43 WHERE gp_gs = "8-8" AND gain < 416
What's the total loss for a GP-GS of 8-8 and a gain less than 416?
CREATE TABLE table_name_43 (loss INTEGER, gp_gs VARCHAR, gain VARCHAR)
SELECT leader FROM table_name_18 WHERE seats < 28 AND percentage = "54.03" AND votes > 120 OFFSET 801
Who is the leader of the party which has Seats less than 28, a percentage of votes 54.03, and more votes than 120,801?
CREATE TABLE table_name_18 (leader VARCHAR, votes VARCHAR, seats VARCHAR, percentage VARCHAR)
SELECT MIN(assists) FROM table_name_72 WHERE games < 2
Which player has the fewest assists and played 2 games or fewer?
CREATE TABLE table_name_72 (assists INTEGER, games INTEGER)
SELECT MAX(week) FROM table_name_54 WHERE attendance = 52 OFFSET 714
What week had attendance of 52,714?
CREATE TABLE table_name_54 (week INTEGER, attendance VARCHAR)
SELECT position FROM table_1013129_1 WHERE college_junior_club_team = "Molot Perm (Russia)"
What positions does the college/junior/club team, molot perm (russia) have?
CREATE TABLE table_1013129_1 (position VARCHAR, college_junior_club_team VARCHAR)
SELECT MAX(year_completed) FROM table_name_81 WHERE rank < 3 AND height_ft__m_ = "274 (84)"
What year was the building with a top 3 rank and a height of 274 (84) ft (m) completed?
CREATE TABLE table_name_81 (year_completed INTEGER, rank VARCHAR, height_ft__m_ VARCHAR)
SELECT sign FROM table_name_87 WHERE burmese = "taninganwe တနင်္ဂနွေ"
What is the sign of Burmese taninganwe တနင်္ဂနွေ?
CREATE TABLE table_name_87 (sign VARCHAR, burmese VARCHAR)
SELECT SUM(week) FROM table_name_91 WHERE opponent = "oakland raiders"
On which week was the opponent the oakland raiders?
CREATE TABLE table_name_91 (week INTEGER, opponent VARCHAR)
SELECT result FROM table_name_97 WHERE competition = "uefa euro 2008 qualifying"
What was the result of the UEFA Euro 2008 Qualifying competition?
CREATE TABLE table_name_97 (result VARCHAR, competition VARCHAR)
SELECT 1995 FROM table_name_81 WHERE 1997 = "lq" AND 1989 = "1r"
What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R?
CREATE TABLE table_name_81 (Id VARCHAR)
SELECT venue FROM table_name_55 WHERE attendance > 6 OFFSET 938
What is the Venue with an Attendance that is larger than 6,938?
CREATE TABLE table_name_55 (venue VARCHAR, attendance INTEGER)
SELECT location FROM table_name_78 WHERE opponent_team = "police s.a."
Where was the game when Police S.A. was the opponent?
CREATE TABLE table_name_78 (location VARCHAR, opponent_team VARCHAR)
SELECT COUNT(nhl_team) FROM table_2897457_7 WHERE pick__number = 128
How many NHL teams have a pick number of 128?
CREATE TABLE table_2897457_7 (nhl_team VARCHAR, pick__number VARCHAR)
SELECT score FROM table_name_92 WHERE home = "bobcats"
What was the score when the team played at the bobcats?
CREATE TABLE table_name_92 (score VARCHAR, home VARCHAR)
SELECT team AS captain FROM table_name_88 WHERE shirt_sponsor = "lübzer"
Who is the team captain of the team that Lübzer is the shirt sponsor for?
CREATE TABLE table_name_88 (team VARCHAR, shirt_sponsor VARCHAR)
SELECT champion FROM table_18828487_1 WHERE venue = "Stadthalle Dinslaken, Dinslaken"
How much does the champion get for stadthalle dinslaken, dinslaken?
CREATE TABLE table_18828487_1 (champion VARCHAR, venue VARCHAR)
SELECT MIN(round) FROM table_name_94 WHERE position = "tight end"
What was the lowest round for a tight end position?
CREATE TABLE table_name_94 (round INTEGER, position VARCHAR)
SELECT season AS premiere FROM table_299121_2 WHERE season = "3rd"
When was the 3rd season premiere originally aired?
CREATE TABLE table_299121_2 (season VARCHAR)
SELECT score FROM table_name_2 WHERE date = "august 20, 2007"
What was the score in the August 20, 2007 match?
CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "laurel"
How many characteristics does the product named "laurel" have?
CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
SELECT 925 FROM table_name_44 WHERE press = "282.5"
Who is the 92.5 with the press 282.5?
CREATE TABLE table_name_44 (press VARCHAR)
SELECT third_place FROM table_2429942_2 WHERE champions = "Baník Ostrava (1)"
Who had third place when the champions is baník ostrava (1)?
CREATE TABLE table_2429942_2 (third_place VARCHAR, champions VARCHAR)
SELECT years FROM table_29743928_4 WHERE name = "Chase Harrison Category:Articles with hCards"
When chase harrison category:articles with hcards is the name what is the year?
CREATE TABLE table_29743928_4 (years VARCHAR, name VARCHAR)
SELECT nation FROM table_name_72 WHERE second = "tomas pitonak"
Which Nation has a Second of tomas pitonak?
CREATE TABLE table_name_72 (nation VARCHAR, second VARCHAR)
SELECT district FROM table_2668378_13 WHERE incumbent = "William Hoge"
what was the section where the winner is william hoge
CREATE TABLE table_2668378_13 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(league_cup) FROM table_name_70 WHERE fa_cup < 0
How many league cups have an FA Cup less than 0?
CREATE TABLE table_name_70 (league_cup VARCHAR, fa_cup INTEGER)
SELECT score FROM table_name_45 WHERE result = "loss" AND year = "1980" AND competition = "world group, consolation round"
what is the score when the result is loss, the year is 1980 and the competition is world group, consolation round?
CREATE TABLE table_name_45 (score VARCHAR, competition VARCHAR, result VARCHAR, year VARCHAR)
SELECT lost FROM table_name_33 WHERE "club" = "club"
Which Lost has a Club of club?
CREATE TABLE table_name_33 (lost VARCHAR)
SELECT MAX(weight__kg_) FROM table_name_57 WHERE name = "scott gomez"
What is Scott Gomez's biggest weight?
CREATE TABLE table_name_57 (weight__kg_ INTEGER, name VARCHAR)
SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace"
What is the Tie no when Crystal Palace is the Away team?
CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR)
SELECT gdp__percentage_of_eu__2012_ FROM table_name_19 WHERE gdp_in_s_billion_of_usd__2012_ = 256.3
What is the GDP % of EU in 2012 of the country with a GDP in billions of USD in 2012 of 256.3?
CREATE TABLE table_name_19 (gdp__percentage_of_eu__2012_ VARCHAR, gdp_in_s_billion_of_usd__2012_ VARCHAR)
SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = "1a 2" AND variant_id = "abd'1a 2"
Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?
CREATE TABLE table_name_70 (coding VARCHAR, variant_id VARCHAR)
SELECT genre FROM table_name_4 WHERE type = "3d" AND developer_s_ = "valve corporation"
What type of 3D game did Valve Corporation release?
CREATE TABLE table_name_4 (genre VARCHAR, type VARCHAR, developer_s_ VARCHAR)
SELECT 2003 FROM table_name_94 WHERE product = "general cargo"
What is the 2003 statistic for general cargo?
CREATE TABLE table_name_94 (product VARCHAR)
SELECT high_score FROM table_name_64 WHERE strike_rate = "n/a" AND player = "matthew hoggard"
What was Matthew Hoggard's high score when he had a strike rate of n/a?
CREATE TABLE table_name_64 (high_score VARCHAR, strike_rate VARCHAR, player VARCHAR)