answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT COUNT(score) FROM table_27501030_3 WHERE opponent = "Florida Panthers"
What was the score for the opponent florida panthers?
CREATE TABLE table_27501030_3 (score VARCHAR, opponent VARCHAR)
SELECT poll_source FROM table_name_2 WHERE peg_luksik = "9%" AND dates_administered = "may 12, 2010"
Which Poll source has a Peg Luksik of 9%, and Dates administered of may 12, 2010?
CREATE TABLE table_name_2 (poll_source VARCHAR, peg_luksik VARCHAR, dates_administered VARCHAR)
SELECT venue FROM table_name_93 WHERE year < 2009 AND result = "1st"
What is the venue of the competition with a result of 1st before 2009?
CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, result VARCHAR)
SELECT MAX(bike_no) FROM table_17176509_4 WHERE position = 30
Name the max bike number of position for 30
CREATE TABLE table_17176509_4 (bike_no INTEGER, position VARCHAR)
SELECT 1845 AS _disposal FROM table_1184344_1 WHERE name = "Sussex"
What was the 1845 disposal for sussex?
CREATE TABLE table_1184344_1 (name VARCHAR)
SELECT poles FROM table_name_86 WHERE wins = "0" AND points = "0"
what is the poles when the wins is 0 and points is 0?
CREATE TABLE table_name_86 (poles VARCHAR, wins VARCHAR, points VARCHAR)
SELECT place FROM table_name_61 WHERE score = 70 - 71 = 141
What is the Place of the Player with a Score of 70-71=141?
CREATE TABLE table_name_61 (place VARCHAR, score VARCHAR)
SELECT surface FROM table_2112025_3 WHERE year = 1971
What was the court surface on year 1971?
CREATE TABLE table_2112025_3 (surface VARCHAR, year VARCHAR)
SELECT COUNT(_percentage_growth__2000_2008_) FROM table_10733530_3 WHERE nation = "Uganda"
Name the total number of percentage growth 2000-2008 of uganda?
CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ VARCHAR, nation VARCHAR)
SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = "mexico"
What is the average Laps for the Mexico team with a grid number of more than 1?
CREATE TABLE table_name_76 (laps INTEGER, grid VARCHAR, team VARCHAR)
SELECT overall_place FROM table_name_57 WHERE yacht_name = "lg flatron"
Which Overall place has a Yacht name of lg flatron?
CREATE TABLE table_name_57 (overall_place VARCHAR, yacht_name VARCHAR)
SELECT COUNT(time) FROM table_name_68 WHERE swimmer = "luke hall" AND overall_rank > 105
Tell me the total number of time for luke hall overall rank being larger than 105
CREATE TABLE table_name_68 (time VARCHAR, swimmer VARCHAR, overall_rank VARCHAR)
SELECT blocks_per_game FROM table_25774493_3 WHERE field_goal_percentage = ".594 (2nd)"
What were the blocks per game in the selection where the field goal percentage was .594 (2nd)?
CREATE TABLE table_25774493_3 (blocks_per_game VARCHAR, field_goal_percentage VARCHAR)
SELECT college FROM table_name_31 WHERE pba_team = "san miguel beermen"
What is the College of the Player from San Miguel Beermen PBA Team?
CREATE TABLE table_name_31 (college VARCHAR, pba_team VARCHAR)
SELECT skip FROM table_name_58 WHERE country = "denmark"
What skip has denmark as the country?
CREATE TABLE table_name_58 (skip VARCHAR, country VARCHAR)
SELECT place FROM table_name_70 WHERE country = "south africa" AND score = 68 - 73 - 66 = 207
Who scored 68-73-66=207 in South Africa?
CREATE TABLE table_name_70 (place VARCHAR, country VARCHAR, score VARCHAR)
SELECT MIN(game) FROM table_27722734_12
What number was the first game?
CREATE TABLE table_27722734_12 (game INTEGER)
SELECT SUM(a_score) FROM table_name_92 WHERE t_score < 7.3 AND e_score > 7.1
What's the sum of A Score that also has a score lower than 7.3 and an E Score larger than 7.1?
CREATE TABLE table_name_92 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR)
SELECT target FROM table_1661124_1 WHERE approved_treatment_s_ = "non-Hodgkin lymphoma"
What is the target when the approved treatment is non-hodgkin lymphoma?
CREATE TABLE table_1661124_1 (target VARCHAR, approved_treatment_s_ VARCHAR)
SELECT COUNT(no) FROM table_10015132_9 WHERE years_in_toronto = "2005-06"
What are the total amount of numbers on the Toronto team in 2005-06?
CREATE TABLE table_10015132_9 (no VARCHAR, years_in_toronto VARCHAR)
SELECT name FROM table_name_72 WHERE rank = 9
Who is at rank 9?
CREATE TABLE table_name_72 (name VARCHAR, rank VARCHAR)
SELECT date FROM table_23274514_6 WHERE record = "14-27"
What day was the record 14-27?
CREATE TABLE table_23274514_6 (date VARCHAR, record VARCHAR)
SELECT candidates FROM table_2668336_19 WHERE incumbent = "William Wilson"
Who were the candidates in the election where william wilson was the incumbent?
CREATE TABLE table_2668336_19 (candidates VARCHAR, incumbent VARCHAR)
SELECT song FROM table_name_77 WHERE place > 2 AND draw = 1
What song is later than place 2 and has a draw number of 1?
CREATE TABLE table_name_77 (song VARCHAR, place VARCHAR, draw VARCHAR)
SELECT height_in_ft FROM table_11734041_2 WHERE school_club_team_country = "Hartford"
What is the height of the player who attended Hartford?
CREATE TABLE table_11734041_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
SELECT title FROM table_12451376_2 WHERE season_2_ep__number = 1
Please give me the title of Season 2, episode 1.
CREATE TABLE table_12451376_2 (title VARCHAR, season_2_ep__number VARCHAR)
SELECT season FROM table_name_79 WHERE losses = "16" AND team = "hampshire"
Which season had 16 losses for the Hampshire team?
CREATE TABLE table_name_79 (season VARCHAR, losses VARCHAR, team VARCHAR)
SELECT spoofed_title FROM table_name_43 WHERE issue > 509 AND actual_title = "parks and recreation"
What is the spoofed title for Parks and Recreation with an issue larger than 509?
CREATE TABLE table_name_43 (spoofed_title VARCHAR, issue VARCHAR, actual_title VARCHAR)
SELECT competition FROM table_name_5 WHERE date = "june 19, 2004"
What competition has June 19, 2004 as the date?
CREATE TABLE table_name_5 (competition VARCHAR, date VARCHAR)
SELECT label FROM albums GROUP BY label ORDER BY COUNT(*) DESC LIMIT 1
What is the label that has the most albums?
CREATE TABLE albums (label VARCHAR)
SELECT MAX(played) FROM table_name_40 WHERE points = 16 AND position > 4
What is the largest number played with 16 points in a position over 4?
CREATE TABLE table_name_40 (played INTEGER, points VARCHAR, position VARCHAR)
SELECT date FROM table_name_35 WHERE label = "alfa records"
What Date has a label of alfa records?
CREATE TABLE table_name_35 (date VARCHAR, label VARCHAR)
SELECT french FROM table_15040_8 WHERE italian = "nazione"
What is the French word for the Italian word nazione?
CREATE TABLE table_15040_8 (french VARCHAR, italian VARCHAR)
SELECT AVG(year) FROM table_name_57 WHERE position = "5th" AND venue = "santiago, chile"
What is the average year they finished 5th in santiago, chile?
CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, venue VARCHAR)
SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0
Name the average concacaf for merconorte larger than 0 and player of jared borgetti
CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR)
SELECT date FROM table_name_49 WHERE competition = "friendly"
On what Date did the friendly Competition take place?
CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR)
SELECT MAX(decile) FROM table_name_58 WHERE authority = "state" AND name = "tarras school"
What is the highest decile of Tarras school, which had a state authority?
CREATE TABLE table_name_58 (decile INTEGER, authority VARCHAR, name VARCHAR)
SELECT economy FROM table_28797906_3 WHERE wickets = 29
When the number of wickets is 29, what was the economy?
CREATE TABLE table_28797906_3 (economy VARCHAR, wickets VARCHAR)
SELECT result FROM table_name_13 WHERE location = "london 2012 women's olympic football tournament"
What is the result of the London 2012 Women's Olympic Football Tournament?
CREATE TABLE table_name_13 (result VARCHAR, location VARCHAR)
SELECT right_ascension___j2000__ FROM table_name_41 WHERE ngc_number = 3576
what is the right ascension (j2000) when the ngc number is 3576?
CREATE TABLE table_name_41 (right_ascension___j2000__ VARCHAR, ngc_number VARCHAR)
SELECT date FROM table_name_60 WHERE source = "result" AND place = "iffendic"
What is the date for a source of result and a place of iffendic?
CREATE TABLE table_name_60 (date VARCHAR, source VARCHAR, place VARCHAR)
SELECT episode FROM table_2114308_1 WHERE run_time = "22:50"
Name the episode for run time of 22:50
CREATE TABLE table_2114308_1 (episode VARCHAR, run_time VARCHAR)
SELECT COUNT(losingteam) FROM table_12028543_3 WHERE cup_finaldate = "20 August 1989"
How many losingteams were for the cup finaldate 20 August 1989?
CREATE TABLE table_12028543_3 (losingteam VARCHAR, cup_finaldate VARCHAR)
SELECT MAX(area__acres__) FROM table_30121046_1 WHERE townland = "Knockacullen"
What is the maximum area (in acres) of the Knockacullen townland?
CREATE TABLE table_30121046_1 (area__acres__ INTEGER, townland VARCHAR)
SELECT 1 AS _8_finals FROM table_18646111_13 WHERE round_1 = "N/A"
Name the 1/8 finals for round 1 n/a
CREATE TABLE table_18646111_13 (round_1 VARCHAR)
SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory = "1 stroke" AND tournament = "world seniors invitational"
Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational?
CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
SELECT qual_1 FROM table_name_41 WHERE team = "conquest racing"
What is the qual 1 for conquest racing?
CREATE TABLE table_name_41 (qual_1 VARCHAR, team VARCHAR)
SELECT decor, COUNT(*) FROM Rooms WHERE basePrice > 120 GROUP BY decor
Find the number of rooms with price higher than 120 for different decor.
CREATE TABLE Rooms (decor VARCHAR, basePrice INTEGER)
SELECT T2.customer_name FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1
Show the names of customers who have the most mailshots.
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR)
SELECT mens_doubles FROM table_28138035_26 WHERE mens_singles = "Wang Hao"
Who won the mens doubles when wang hao won the mens singles?
CREATE TABLE table_28138035_26 (mens_doubles VARCHAR, mens_singles VARCHAR)
SELECT branding FROM table_23394920_1 WHERE power_kw = "5kW" AND station_type = "Relay"
When relay is the station type and 5kw is the power kw what is the branding?
CREATE TABLE table_23394920_1 (branding VARCHAR, power_kw VARCHAR, station_type VARCHAR)
SELECT neon FROM table_name_91 WHERE atomic_property = "average valence electron energy (avee)"
Which Neon has Atomic property of average valence electron energy (avee)?
CREATE TABLE table_name_91 (neon VARCHAR, atomic_property VARCHAR)
SELECT MIN(rank) FROM table_name_75 WHERE gold < 1 AND silver = 0 AND bronze = 1 AND total < 1
What is the lowest rank with less than 1 gold, 0 silver, 1 bronze, and a total less than 1?
CREATE TABLE table_name_75 (rank INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT AVG(year) FROM table_name_40 WHERE length = "7:42"
In what Year is the length of the Song 7:42?
CREATE TABLE table_name_40 (year INTEGER, length VARCHAR)
SELECT country FROM table_name_85 WHERE name = "pele"
Which country does the player pele belong to?
CREATE TABLE table_name_85 (country VARCHAR, name VARCHAR)
SELECT capacity FROM table_26980923_2 WHERE team = "Dundee United"
What is the capacity for dundee united?
CREATE TABLE table_26980923_2 (capacity VARCHAR, team VARCHAR)
SELECT lead FROM table_name_95 WHERE institute = "election results" AND social_democratic = "31.7% 8 seats"
Name the lead for institute of election results and social democratic of 31.7% 8 seats
CREATE TABLE table_name_95 (lead VARCHAR, institute VARCHAR, social_democratic VARCHAR)
SELECT length FROM table_name_4 WHERE composer_s_ = "sakdatorn" AND arranger_s_ = "jitrakorn mongkoltham"
What is the Length, when the Composer(s) is Sakdatorn, and when the Arranger(s) is Jitrakorn Mongkoltham?
CREATE TABLE table_name_4 (length VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR)
SELECT date_of_appointment FROM table_17275810_7 WHERE team = "Ascoli"
Name the date of appointment for ascoli
CREATE TABLE table_17275810_7 (date_of_appointment VARCHAR, team VARCHAR)
SELECT MIN(1980) FROM table_name_30 WHERE 2006 < 37.8 AND 2000 > 29.4 AND 1970 > 18.2
What was the percentage in 1980 that had less than 37.8% in 2006, more than 29.4% in 2000, and more than 18.2% in 1970?
CREATE TABLE table_name_30 (Id VARCHAR)
SELECT first_elected FROM table_name_55 WHERE district = "california 3"
What is the First elected of california 3?
CREATE TABLE table_name_55 (first_elected VARCHAR, district VARCHAR)
SELECT SUM(attendance) FROM table_name_95 WHERE record = "34-44"
On the game that put the team at 34-44, what was the attendance?
CREATE TABLE table_name_95 (attendance INTEGER, record VARCHAR)
SELECT points_against FROM table_17941032_2 WHERE try_bonus = "0" AND points_for = "150"
List all points against with a 0 try bonus and points for of 150.
CREATE TABLE table_17941032_2 (points_against VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
SELECT year_built FROM table_name_10 WHERE class = "class 253" AND number > 18
What year was the class 253 larger than 18 built?
CREATE TABLE table_name_10 (year_built VARCHAR, class VARCHAR, number VARCHAR)
SELECT floors FROM table_name_61 WHERE location = "ljubljana" AND name = "tr3"
Which Floors have a Location of ljubljana, and a Name of tr3?
CREATE TABLE table_name_61 (floors VARCHAR, location VARCHAR, name VARCHAR)
SELECT result FROM table_name_1 WHERE week < 16 AND attendance = "69,362"
What was the score of the Chiefs pre-Week 16 game that 69,362 people attended?
CREATE TABLE table_name_1 (result VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_49 WHERE country = "united states" AND to_par = "+2" AND player = "phil hancock"
what is the score when the country is united states, the to par is +2 and the player is phil hancock?
CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT years FROM table_name_12 WHERE finals = "9 (0)" AND a_league = "133 (1)"
What years have 9 (0) as the finals and 133 (1) as the A-League?
CREATE TABLE table_name_12 (years VARCHAR, finals VARCHAR, a_league VARCHAR)
SELECT date_of_departure FROM table_name_46 WHERE name = "brendan rodgers"
When did Brendan Rodgers depart his position?
CREATE TABLE table_name_46 (date_of_departure VARCHAR, name VARCHAR)
SELECT MAX(round) FROM table_name_34 WHERE nationality = "united states" AND player = "jimmy hayes"
Which Round has a Nationality of united states, and a Player of jimmy hayes?
CREATE TABLE table_name_34 (round INTEGER, nationality VARCHAR, player VARCHAR)
SELECT date FROM table_name_22 WHERE home = "pittsburgh" AND record = "3–6–5"
Which Date has a Home of pittsburgh, and a Record of 3–6–5?
CREATE TABLE table_name_22 (date VARCHAR, home VARCHAR, record VARCHAR)
SELECT SUM(attendance) FROM table_name_45 WHERE leading_scorer = "stephen jackson" AND date = "12/17"
How many attended the game on 12/17 with stephen jackson as the leading scorer?
CREATE TABLE table_name_45 (attendance INTEGER, leading_scorer VARCHAR, date VARCHAR)
SELECT MIN(place) FROM table_name_95 WHERE language = "croatian"
what is the lowest place when the language is croatian?
CREATE TABLE table_name_95 (place INTEGER, language VARCHAR)
SELECT MAX(stumpings) FROM table_13337302_16 WHERE player = "Tim Latham"
How many stumpings did the player Tim Latham have?
CREATE TABLE table_13337302_16 (stumpings INTEGER, player VARCHAR)
SELECT fcc_info FROM table_name_85 WHERE frequency_mhz < 100.3 AND city_of_license = "lowville, ny"
What's the FCC info with a Frequency MHz thats smaller than 100.3 and a City of License as Lowville, NY?
CREATE TABLE table_name_85 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT main_wins FROM table_name_63 WHERE team = "france"
How many main wins for France?
CREATE TABLE table_name_63 (main_wins VARCHAR, team VARCHAR)
SELECT week FROM table_14656147_2 WHERE record = "0-1"
List the record of 0-1 from the table?
CREATE TABLE table_14656147_2 (week VARCHAR, record VARCHAR)
SELECT lens_35mmequiv__zoom, _aperture FROM table_name_39 WHERE model = "s2600"
Tell me the lens zoom for aperture of model s2600
CREATE TABLE table_name_39 (lens_35mmequiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR)
SELECT new_channel_s_ FROM table_name_19 WHERE programme = "gladiators"
What channel is Gladiators on?
CREATE TABLE table_name_19 (new_channel_s_ VARCHAR, programme VARCHAR)
SELECT AVG(game) FROM table_name_58 WHERE date = "december 23"
What is the average Game, when Date is "December 23"?
CREATE TABLE table_name_58 (game INTEGER, date VARCHAR)
SELECT venue FROM table_name_47 WHERE date = "march 28, 2008"
Name the venue for march 28, 2008
CREATE TABLE table_name_47 (venue VARCHAR, date VARCHAR)
SELECT record FROM table_name_97 WHERE date = "december 9"
What is the Record with a Date with december 9?
CREATE TABLE table_name_97 (record VARCHAR, date VARCHAR)
SELECT COUNT(goals_conceded) FROM table_name_45 WHERE wins = 4 AND draws < 0
What is the total number of goals of the club with 4 wins and less than 0 draws?
CREATE TABLE table_name_45 (goals_conceded VARCHAR, wins VARCHAR, draws VARCHAR)
SELECT SUM(wins) FROM table_name_8 WHERE earnings__$__ > 720 OFFSET 134
How many wins do the players that earned more than 720,134 have?
CREATE TABLE table_name_8 (wins INTEGER, earnings__$__ INTEGER)
SELECT song FROM table_name_25 WHERE score = 6.5 + 6.0 + 6.0 + 5.5 = 24.0
For which song was the score 6.5 + 6.0 + 6.0 + 5.5 = 24.0?
CREATE TABLE table_name_25 (song VARCHAR, score VARCHAR)
SELECT entrant FROM table_name_92 WHERE engine_† = "bmw p82"
who is the entrant when the engine is bmw p82?
CREATE TABLE table_name_92 (entrant VARCHAR, engine_† VARCHAR)
SELECT MAX(laps) FROM table_name_85 WHERE rider = "marco melandri" AND grid < 10
with a Rider of marco melandri, and a Grid smaller than 10, what is the highest lap count?
CREATE TABLE table_name_85 (laps INTEGER, rider VARCHAR, grid VARCHAR)
SELECT COUNT(*) FROM performance
How many performances are there?
CREATE TABLE performance (Id VARCHAR)
SELECT MIN(no_result) FROM table_name_80 WHERE lost > 5 AND _percentage_win_[a_] < 58.06
What is the low no result with more than 5 loss and a win ration lesser than 58.06?
CREATE TABLE table_name_80 (no_result INTEGER, lost VARCHAR, _percentage_win_ VARCHAR, a_ VARCHAR)
SELECT engine FROM table_20866024_3 WHERE model_designation = "97F00"
What type of engine does the model with model designation 97F00 have?
CREATE TABLE table_20866024_3 (engine VARCHAR, model_designation VARCHAR)
SELECT date FROM table_name_59 WHERE venue = "arden street oval"
What was the date of the Arden Street Oval game?
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
SELECT Name, Nationality FROM HOST ORDER BY Age DESC LIMIT 1
Show the name and the nationality of the oldest host.
CREATE TABLE HOST (Name VARCHAR, Nationality VARCHAR, Age VARCHAR)
SELECT COUNT(bronze) FROM table_name_88 WHERE gold > 0 AND total < 1
How much Bronze has a Gold larger than 0, and a Total smaller than 1?
CREATE TABLE table_name_88 (bronze VARCHAR, gold VARCHAR, total VARCHAR)
SELECT candidates FROM table_1342218_43 WHERE result = "Retired to run for U.S. Senate Democratic hold"
When the result is retired to run for U.S. Senate Democratic Hold, who is the candidate?
CREATE TABLE table_1342218_43 (candidates VARCHAR, result VARCHAR)
SELECT COUNT(position) FROM table_name_26 WHERE played > 12
How many positions have a played greater than 12?
CREATE TABLE table_name_26 (position VARCHAR, played INTEGER)
SELECT france FROM table_name_37 WHERE _percentage_people_under_18__2005_ = "sub-saharan africa"
WHAT IS THE FRANCE WITH PEOPLE UNDER 18 OF SUB-SAHARAN AFRICA?
CREATE TABLE table_name_37 (france VARCHAR, _percentage_people_under_18__2005_ VARCHAR)
SELECT indonesia_super_series_2008 FROM table_2544694_3 WHERE 780000 = "5040.00"
Which series occurred when the 7800 was 5040.00?
CREATE TABLE table_2544694_3 (indonesia_super_series_2008 VARCHAR)
SELECT MAX(tie_no) FROM table_24887326_6 WHERE attendance = 19129
What is the highest tie that had 19129 attendance?
CREATE TABLE table_24887326_6 (tie_no INTEGER, attendance VARCHAR)
SELECT Name FROM journalist WHERE Nationality = "England" OR Nationality = "Wales"
Show the names of journalists from "England" or "Wales".
CREATE TABLE journalist (Name VARCHAR, Nationality VARCHAR)
SELECT race_name FROM table_name_37 WHERE circuit = "snetterton"
What is the name of the race for which the circuit was Snetterton?
CREATE TABLE table_name_37 (race_name VARCHAR, circuit VARCHAR)