answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT college_junior_club_team__league_ FROM table_name_82 WHERE round > 6
WHAT IS THE LEAGUE WITH A ROUND LARGER THAN 6?
CREATE TABLE table_name_82 (college_junior_club_team__league_ VARCHAR, round INTEGER)
SELECT proto_semitic FROM table_26919_7 WHERE english = "house"
If in English it's house, what is it in proto-semitic?
CREATE TABLE table_26919_7 (proto_semitic VARCHAR, english VARCHAR)
SELECT loss FROM table_name_84 WHERE opponent = "angels" AND record = "50-31"
What loss was against the angels with a 50-31 record?
CREATE TABLE table_name_84 (loss VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT week FROM table_name_96 WHERE record = "0-5"
What week was the record 0-5?
CREATE TABLE table_name_96 (week VARCHAR, record VARCHAR)
SELECT MAX(total_wins) FROM table_22839669_12
What is the maximum total wins he had for any year?
CREATE TABLE table_22839669_12 (total_wins INTEGER)
SELECT mark FROM table_name_65 WHERE name = "laura turner"
What is the mark set by Laura Turner?
CREATE TABLE table_name_65 (mark VARCHAR, name VARCHAR)
SELECT chip_model, screen_mode FROM phone WHERE Hardware_Model_name = "LG-P760"
What are the chip model and screen mode of the phone with hardware model name "LG-P760"?
CREATE TABLE phone (chip_model VARCHAR, screen_mode VARCHAR, Hardware_Model_name VARCHAR)
SELECT venue FROM table_name_3 WHERE away_team = "carlton"
What was the venue where Carlton was the away team?
CREATE TABLE table_name_3 (venue VARCHAR, away_team VARCHAR)
SELECT MAX(year) FROM table_name_84 WHERE points < 2 AND chassis = "mclaren m28" AND entrant = "löwenbräu team mclaren"
What is the latest year with less than 2 points, a Mclaren m28 chassis and an Entrant of löwenbräu team mclaren?
CREATE TABLE table_name_84 (year INTEGER, entrant VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT date FROM table_name_90 WHERE game_site = "lp field"
When did the Texans play at LP Field?
CREATE TABLE table_name_90 (date VARCHAR, game_site VARCHAR)
SELECT home_team FROM table_name_89 WHERE away_team = "preston north end"
Who is the home team when Preston North End is the away team?
CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR)
SELECT MAX(pick) FROM table_name_75 WHERE player = "mario elie" AND round < 7
When was Mario Elie picked in a round before 7?
CREATE TABLE table_name_75 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT date FROM table_name_44 WHERE record = "9-14"
On what date did the Cavaliers have a record of 9-14?
CREATE TABLE table_name_44 (date VARCHAR, record VARCHAR)
SELECT total FROM table_name_15 WHERE a_score < 6.6 AND b_score = 8.925
What is the total when the A score was less than 6.6, and the B score was 8.925?
CREATE TABLE table_name_15 (total VARCHAR, a_score VARCHAR, b_score VARCHAR)
SELECT SUM(points) FROM table_name_77 WHERE class = "500cc" AND wins > 0 AND year > 1974
How many points have 500cc for the class, a win greater than 0, with a year after 1974?
CREATE TABLE table_name_77 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR)
SELECT COUNT(draw) FROM table_name_92 WHERE rank = "3rd" AND performer = "noelle" AND points > 79
How much Draw has a Rank of 3rd, and a Performer of noelle, and Points larger than 79?
CREATE TABLE table_name_92 (draw VARCHAR, points VARCHAR, rank VARCHAR, performer VARCHAR)
SELECT AVG(goals_against) FROM table_name_15 WHERE club = "cd castellón" AND points < 24
Which Goals against have a Club of cd castellón, and Points smaller than 24?
CREATE TABLE table_name_15 (goals_against INTEGER, club VARCHAR, points VARCHAR)
SELECT province FROM table_1193568_1 WHERE member = "Frederick Merriman Category:Articles with hCards"
what's the province where member is frederick merriman category:articles with hcards
CREATE TABLE table_1193568_1 (province VARCHAR, member VARCHAR)
SELECT closure_date FROM table_name_96 WHERE on_air_date = "june 2003"
When was the ensemble closed that went on air in June 2003?
CREATE TABLE table_name_96 (closure_date VARCHAR, on_air_date VARCHAR)
SELECT type FROM table_name_81 WHERE country = "aut"
What is thr type in Aut country?
CREATE TABLE table_name_81 (type VARCHAR, country VARCHAR)
SELECT producer_s_ FROM table_name_43 WHERE songwriter_s_ = "sezen aksu"
Who is sezen aksu's producer?
CREATE TABLE table_name_43 (producer_s_ VARCHAR, songwriter_s_ VARCHAR)
SELECT second_year FROM table_12148147_2 WHERE fourth_year = "Physics"
What is the second year course in the program where physics is taken in the fourth year?
CREATE TABLE table_12148147_2 (second_year VARCHAR, fourth_year VARCHAR)
SELECT start FROM table_name_36 WHERE laps < 200 AND rank = "11"
What is the start number for a rank 11 race with less than 200 laps?
CREATE TABLE table_name_36 (start VARCHAR, laps VARCHAR, rank VARCHAR)
SELECT 2007 AS _08_season FROM table_name_75 WHERE stadium = "stadio silvio piola"
What is the 2007-08 season at Stadio Silvio Piola?
CREATE TABLE table_name_75 (stadium VARCHAR)
SELECT SUM(failures) FROM table_name_33 WHERE orbital_regime = "heliocentric orbit" AND launches < 1
What is the total failures of heliocentric orbit orbital regimes and launches less than 1?
CREATE TABLE table_name_33 (failures INTEGER, orbital_regime VARCHAR, launches VARCHAR)
SELECT writer_s_ FROM table_26702078_1 WHERE no_in_series = 46
Name the writers for 46 in series
CREATE TABLE table_26702078_1 (writer_s_ VARCHAR, no_in_series VARCHAR)
SELECT position_in_1960_1961 FROM table_name_2 WHERE clubs = "belenenses"
What position did the Belenenses club occupy in 1960/61?
CREATE TABLE table_name_2 (position_in_1960_1961 VARCHAR, clubs VARCHAR)
SELECT MAX(lost) FROM table_name_94 WHERE drawn > 12 AND goals_against = 54
Which Lost has Drawn larger than 12, and Goals Against of 54?
CREATE TABLE table_name_94 (lost INTEGER, drawn VARCHAR, goals_against VARCHAR)
SELECT MAX(for_round_trip) FROM table_19787093_1 WHERE till_agra = 1050
If the till agra is 1050, what is the max round trip?
CREATE TABLE table_19787093_1 (for_round_trip INTEGER, till_agra VARCHAR)
SELECT score FROM table_name_16 WHERE record = "6–1"
Record of 6–1 had what score?
CREATE TABLE table_name_16 (score VARCHAR, record VARCHAR)
SELECT lms_nos FROM table_name_63 WHERE date = "1879-81" AND no_built = 4
In 1879-81 with number built 4, what is the LMS nos?
CREATE TABLE table_name_63 (lms_nos VARCHAR, date VARCHAR, no_built VARCHAR)
SELECT starts FROM table_2626564_2 WHERE winnings = "$101,438"
How many starts did Pearson have when his winnings were $101,438?
CREATE TABLE table_2626564_2 (starts VARCHAR, winnings VARCHAR)
SELECT attendance FROM table_name_73 WHERE tie_no = "45"
What is the attendance with a 45 tie no.?
CREATE TABLE table_name_73 (attendance VARCHAR, tie_no VARCHAR)
SELECT opponent FROM table_17104539_10 WHERE score = "L 68-60"
Who was the oppenent what the score was L 68-60?
CREATE TABLE table_17104539_10 (opponent VARCHAR, score VARCHAR)
SELECT area FROM table_name_67 WHERE decile = 8 AND roll = 25
What is the area with decile of 8, and a 25 roll?
CREATE TABLE table_name_67 (area VARCHAR, decile VARCHAR, roll VARCHAR)
SELECT city___state FROM table_name_65 WHERE team = "peter stuyvesant international racing"
What's the location of the team Peter Stuyvesant International Racing?
CREATE TABLE table_name_65 (city___state VARCHAR, team VARCHAR)
SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE t2.Company_name = "Nokia Corporation" AND T1.Type <> "Text"
List the hardware model name for the phons that were produced by "Nokia Corporation" but whose screen mode type is not Text.
CREATE TABLE phone (Hardware_Model_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR)
SELECT tournament FROM table_name_87 WHERE date = "7 aug 2011"
What tournament took place on 7 Aug 2011?
CREATE TABLE table_name_87 (tournament VARCHAR, date VARCHAR)
SELECT home FROM table_name_51 WHERE decision = "price" AND visitor = "new jersey devils"
What is the home team of the game with a price decision and the new jersey devils as the visitor team?
CREATE TABLE table_name_51 (home VARCHAR, decision VARCHAR, visitor VARCHAR)
SELECT result FROM table_1342292_45 WHERE first_elected = 1918
What was the election result for the candidate first elected in 1918?
CREATE TABLE table_1342292_45 (result VARCHAR, first_elected VARCHAR)
SELECT date_of_inauguration FROM table_name_71 WHERE "lifespan" = "lifespan"
What was the date of the inauguration in the row with an entry of lifespan in the lifespan column?
CREATE TABLE table_name_71 (date_of_inauguration VARCHAR)
SELECT label FROM table_name_51 WHERE date = "29 july 1997"
What's listed for the Label with a Date of 29 July 1997?
CREATE TABLE table_name_51 (label VARCHAR, date VARCHAR)
SELECT MIN AS $50___1_2_oz FROM table_name_59 WHERE year = 1997 AND $25___1_4_oz > 27 OFFSET 100
WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THAN $27,100?
CREATE TABLE table_name_59 (MIN VARCHAR, year VARCHAR, $25___1_4_oz VARCHAR)
SELECT entrant FROM table_name_62 WHERE constructor = "benetton - playlife"
Which entrant had a constructor of benetton - playlife?
CREATE TABLE table_name_62 (entrant VARCHAR, constructor VARCHAR)
SELECT date FROM table_22464685_1 WHERE georgian_name = "ცხოვრება და უწყება ბაგრატონიანთა"
what is the date for when the georgian name is ცხოვრება და უწყება ბაგრატონიანთა?
CREATE TABLE table_22464685_1 (date VARCHAR, georgian_name VARCHAR)
SELECT COUNT(week) FROM table_name_74 WHERE attendance > 68 OFFSET 000
How many weeks had an attendance of over 68,000?
CREATE TABLE table_name_74 (week VARCHAR, attendance INTEGER)
SELECT MIN(position) FROM table_name_2 WHERE points = 32 AND wins > 13
What is the minimum position when points are 32 and wins are greater than 13?
CREATE TABLE table_name_2 (position INTEGER, points VARCHAR, wins VARCHAR)
SELECT 1999 FROM table_name_21 WHERE 2003 = "a" AND career_sr = "0 / 4"
What is 1999, when 2003 is "A", and when Career SR is "0 / 4"?
CREATE TABLE table_name_21 (career_sr VARCHAR)
SELECT to_par FROM table_name_27 WHERE player = "bob tway"
What is Bob Tway's To par?
CREATE TABLE table_name_27 (to_par VARCHAR, player VARCHAR)
SELECT host FROM table_name_30 WHERE ratings = "9.6/26"
Who was the host that garnered ratings of 9.6/26?
CREATE TABLE table_name_30 (host VARCHAR, ratings VARCHAR)
SELECT MIN(merconorte) FROM table_name_92 WHERE interliga = 2 AND matches > 260 AND superliga > 7
Name the least merconorte for interliga of 2 and matches more than 260 with superliga more than 7
CREATE TABLE table_name_92 (merconorte INTEGER, superliga VARCHAR, interliga VARCHAR, matches VARCHAR)
SELECT points FROM table_name_58 WHERE club = "newport rfc"
How many points did Newport RFC get?
CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR)
SELECT source FROM table_name_54 WHERE michael_signer = "5%"
Which polling source gave Michael Signer 5%?
CREATE TABLE table_name_54 (source VARCHAR, michael_signer VARCHAR)
SELECT competition FROM table_name_28 WHERE date = "28 march 2009"
For what competition was the game played on 28 March 2009?
CREATE TABLE table_name_28 (competition VARCHAR, date VARCHAR)
SELECT time FROM table_name_78 WHERE opponent = "satoshi honma"
What is the time for an opponent of Satoshi Honma?
CREATE TABLE table_name_78 (time VARCHAR, opponent VARCHAR)
SELECT internet_explorer FROM table_name_91 WHERE chrome = "29.07%"
What internet explorer has 29.07% for the chrome?
CREATE TABLE table_name_91 (internet_explorer VARCHAR, chrome VARCHAR)
SELECT COUNT(code) FROM table_name_54 WHERE place = "amadiba"
What is the total code number for Amadiba?
CREATE TABLE table_name_54 (code VARCHAR, place VARCHAR)
SELECT conference FROM table_name_80 WHERE city = "portland, oregon"
Which conference is in Portland, Oregon?
CREATE TABLE table_name_80 (conference VARCHAR, city VARCHAR)
SELECT members_of_parliament FROM table_name_97 WHERE trailing_party = "bharatiya lok dal"
What is Members of Parliament, when Trailing Party is "Bharatiya Lok Dal"?
CREATE TABLE table_name_97 (members_of_parliament VARCHAR, trailing_party VARCHAR)
SELECT location_attendance FROM table_name_65 WHERE game = 44
What is the location and attendance of game 44?
CREATE TABLE table_name_65 (location_attendance VARCHAR, game VARCHAR)
SELECT image_name, image_url FROM images ORDER BY image_name
List all the image name and URLs in the order of their names.
CREATE TABLE images (image_name VARCHAR, image_url VARCHAR)
SELECT record FROM table_name_2 WHERE games = "2013 nassau"
What is the Record of the 2013 Nassau Games?
CREATE TABLE table_name_2 (record VARCHAR, games VARCHAR)
SELECT MIN(bronze) FROM table_name_23 WHERE silver = 15 AND total < 54
Which Bronze has a Silver of 15, and a Total smaller than 54?
CREATE TABLE table_name_23 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT pba_team FROM table_name_10 WHERE college = "ateneo" AND pick = 17
What PBA team is the player from Ateneo college and a pick of 17?
CREATE TABLE table_name_10 (pba_team VARCHAR, college VARCHAR, pick VARCHAR)
SELECT current_conference FROM table_27816698_2 WHERE institution = "Boise State University"
Which conference did boise state university play at?
CREATE TABLE table_27816698_2 (current_conference VARCHAR, institution VARCHAR)
SELECT cmdexe___commandcom FROM table_14465871_1 WHERE unix_shell = "echo"
What are all values of CMD.EXE / COMMAND.COM for the unix shell echo?
CREATE TABLE table_14465871_1 (cmdexe___commandcom VARCHAR, unix_shell VARCHAR)
SELECT result FROM table_19744915_16 WHERE couple = "Zoe and Matt"
What is Zoe and Matt's result?
CREATE TABLE table_19744915_16 (result VARCHAR, couple VARCHAR)
SELECT game_site FROM table_14984078_1 WHERE opponent = "Detroit Lions"
Where did the team play the Detroit Lions?
CREATE TABLE table_14984078_1 (game_site VARCHAR, opponent VARCHAR)
SELECT high_rebounds FROM table_name_17 WHERE team = "@ charlotte"
What are the high rebounds of team @ Charlotte?
CREATE TABLE table_name_17 (high_rebounds VARCHAR, team VARCHAR)
SELECT planet FROM table_180802_3 WHERE transcription = "wan suk"
Which planet has the transcription of wan suk?
CREATE TABLE table_180802_3 (planet VARCHAR, transcription VARCHAR)
SELECT away_team FROM table_name_96 WHERE round = "6th" AND home_team = "bahia"
In the 6th round match with home team Bahia, who was the away team?
CREATE TABLE table_name_96 (away_team VARCHAR, round VARCHAR, home_team VARCHAR)
SELECT int_percentage FROM table_name_80 WHERE rlng = "4"
What % has 4 RLng?
CREATE TABLE table_name_80 (int_percentage VARCHAR, rlng VARCHAR)
SELECT MIN(07 AS _08_oi_best) FROM table_23938357_7
What is the smallest 07-08 oi best value?
CREATE TABLE table_23938357_7 (Id VARCHAR)
SELECT MIN(total) FROM table_name_13 WHERE rank = "3" AND gold > 4
What is the lowest Total for rank 3 with more than 4 gold?
CREATE TABLE table_name_13 (total INTEGER, rank VARCHAR, gold VARCHAR)
SELECT provider FROM table_14465871_2 WHERE application = "Exchange Server"
Which providers use exchange server?
CREATE TABLE table_14465871_2 (provider VARCHAR, application VARCHAR)
SELECT T1.product_name FROM products AS T1 JOIN ref_colors AS T2 ON T1.color_code = T2.color_code WHERE T2.color_description = 'yellow'
What is the name of the product with the color description 'yellow'?
CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, color_code VARCHAR)
SELECT elector FROM table_name_31 WHERE elevator = "alexander iii" AND cardinalatial_title = "bishop of palestrina"
What Elector has an Elevator of Alexander III and a Cardinalatial title of Bishop of Palestrina?
CREATE TABLE table_name_31 (elector VARCHAR, elevator VARCHAR, cardinalatial_title VARCHAR)
SELECT date FROM table_name_78 WHERE home = "washington" AND visitor = "florida" AND record = "8-15-2"
Which date has a Home of washington, a Visitor of florida, and a Record of 8-15-2?
CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT position FROM table_name_81 WHERE birthplace = "phoenix, new york"
What is the Position of the person with a birthplace of phoenix, new york?
CREATE TABLE table_name_81 (position VARCHAR, birthplace VARCHAR)
SELECT score FROM table_name_20 WHERE tournament = "rabat" AND opponent_in_the_final = "yannik reuter"
What was the Score of the Rabat Tournament with Opponent in the final Yannik Reuter?
CREATE TABLE table_name_20 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT COUNT(pre_race_analyst) FROM table_10716893_3 WHERE lap_by_lap = "Allen Bestwick"
How many pre-race analysis occur when Allen Bestwick does the lap-by-lap?
CREATE TABLE table_10716893_3 (pre_race_analyst VARCHAR, lap_by_lap VARCHAR)
SELECT originalairdate FROM table_13403120_1 WHERE repeatairdate_s_ = "26/01/1969"
What is the original date of the repeat air date of 26/01/1969?
CREATE TABLE table_13403120_1 (originalairdate VARCHAR, repeatairdate_s_ VARCHAR)
SELECT mission_name FROM table_1558077_8 WHERE lunar_blastoff_date = "21 November 1969"
Name the mission name for 21 november 1969
CREATE TABLE table_1558077_8 (mission_name VARCHAR, lunar_blastoff_date VARCHAR)
SELECT goals FROM table_name_8 WHERE nationality = "england" AND position = "mf" AND club_apps = "170"
How many goals did the player from England who played the position of mf and had 170 club apps had?
CREATE TABLE table_name_8 (goals VARCHAR, club_apps VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT SUM(wins) FROM table_name_16 WHERE against < 1067
What is the sum of wins for teams with against under 1067?
CREATE TABLE table_name_16 (wins INTEGER, against INTEGER)
SELECT SUM(swing_to_gain) FROM table_name_48 WHERE constituency = "caithness, sutherland and easter ross"
Can you tell me the sum of Swing to gain that has Constituency of caithness, sutherland and easter ross?
CREATE TABLE table_name_48 (swing_to_gain INTEGER, constituency VARCHAR)
SELECT year FROM table_name_21 WHERE site = "tainan city" AND score = "8–6"
When has a Site of tainan city and a Score of 8–6?
CREATE TABLE table_name_21 (year VARCHAR, site VARCHAR, score VARCHAR)
SELECT week_3 FROM table_name_30 WHERE week_1 = "kristy dwyer"
Which week 3 had a week 1 of Kristy Dwyer?
CREATE TABLE table_name_30 (week_3 VARCHAR, week_1 VARCHAR)
SELECT COUNT(silver) FROM table_name_93 WHERE nation = "china"
How many silver medals does China have?
CREATE TABLE table_name_93 (silver VARCHAR, nation VARCHAR)
SELECT drawn FROM table_name_44 WHERE lost < 12 AND goal_difference = "+20"
How many times was the player drawn that had less than 12 losses and a goal difference of +20?
CREATE TABLE table_name_44 (drawn VARCHAR, lost VARCHAR, goal_difference VARCHAR)
SELECT date FROM table_name_28 WHERE week > 4 AND attendance = "60,658"
What is the date of the game played after week 4 with 60,658 people in attendance?
CREATE TABLE table_name_28 (date VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT attendance FROM table_name_25 WHERE week = "15"
What is the attendance in week 15?
CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR)
SELECT time_retired FROM table_name_61 WHERE grid = 7
What time is grid 7 in?
CREATE TABLE table_name_61 (time_retired VARCHAR, grid VARCHAR)
SELECT date FROM table_name_17 WHERE home_away = "home" AND opponent = "bayhawks"
On what date were the opponents the Bayhawks at a home game?
CREATE TABLE table_name_17 (date VARCHAR, home_away VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_28 WHERE game > 32 AND points < 42 AND december > 19 AND record = "18–12–5"
Which Score has a Game larger than 32, and Points smaller than 42, and a December larger than 19, and a Record of 18–12–5?
CREATE TABLE table_name_28 (score VARCHAR, record VARCHAR, december VARCHAR, game VARCHAR, points VARCHAR)
SELECT number FROM table_name_22 WHERE name = "tony dixon"
What number is Tony Dixon?
CREATE TABLE table_name_22 (number VARCHAR, name VARCHAR)
SELECT MIN(fa_cup) FROM table_name_3 WHERE total = "0 2" AND league_cup < 0
How many FA cups were there without any league cups, but a total of 0 2?
CREATE TABLE table_name_3 (fa_cup INTEGER, total VARCHAR, league_cup VARCHAR)
SELECT COUNT(season) FROM table_27631002_1 WHERE position = "2nd"
How many season are shown for the 2nd position?
CREATE TABLE table_27631002_1 (season VARCHAR, position VARCHAR)
SELECT score FROM table_name_4 WHERE visitor = "edmonton oilers"
What was the score for the game in which the Edmonton Oilers were visitors?
CREATE TABLE table_name_4 (score VARCHAR, visitor VARCHAR)
SELECT MIN(wickets) FROM table_27268238_5
What is the lowest wickets?
CREATE TABLE table_27268238_5 (wickets INTEGER)