answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT visitor FROM table_name_59 WHERE date = "march 27"
CREATE TABLE table_name_59 (visitor VARCHAR, date VARCHAR)
Who was the visitor on March 27?
SELECT record FROM table_name_30 WHERE date = "march 14"
CREATE TABLE table_name_30 (record VARCHAR, date VARCHAR)
What was the record on March 14?
SELECT format FROM table_name_14 WHERE frequency = "99.5 fm"
CREATE TABLE table_name_14 (format VARCHAR, frequency VARCHAR)
What format is at frequency 99.5 FM?
SELECT format FROM table_name_42 WHERE call_sign = "dzfe"
CREATE TABLE table_name_42 (format VARCHAR, call_sign VARCHAR)
What format has the call sign DZFE?
SELECT covered_location FROM table_name_32 WHERE frequency = "90.7 fm"
CREATE TABLE table_name_32 (covered_location VARCHAR, frequency VARCHAR)
What covered location has a frequency of 90.7 FM
SELECT frequency FROM table_name_95 WHERE name = "104.3 business radio"
CREATE TABLE table_name_95 (frequency VARCHAR, name VARCHAR)
What is the frequency of 104.3 business radio?
SELECT name FROM table_name_40 WHERE call_sign = "dwys"
CREATE TABLE table_name_40 (name VARCHAR, call_sign VARCHAR)
What name has the call sign DWYS?
SELECT name FROM table_name_19 WHERE dcsf_number = 3373
CREATE TABLE table_name_19 (name VARCHAR, dcsf_number VARCHAR)
Who has a DCSF number of 3373?
SELECT AVG(intake) FROM table_name_62 WHERE type = "primary" AND ofsted_number = 117433 AND dcsf_number > 3335
CREATE TABLE table_name_62 (intake INTEGER, dcsf_number VARCHAR, type VARCHAR, ofsted_number VARCHAR)
What is the average primary intake with an Ofsted number of 117433 and a DCSF number greater than 3335?
SELECT MIN(ofsted_number) FROM table_name_72 WHERE type = "primary" AND faith = "ce" AND intake = 30 AND dcsf_number < 3349
CREATE TABLE table_name_72 (ofsted_number INTEGER, dcsf_number VARCHAR, intake VARCHAR, type VARCHAR, faith VARCHAR)
What is the lowest Ofsted number for a primary with a CE faith, intake of 30 and a DCSF number lower than 3349?
SELECT opponent FROM table_name_25 WHERE result = "w 37-14"
CREATE TABLE table_name_25 (opponent VARCHAR, result VARCHAR)
Can you tell me the Opponent that has the Result of w 37-14?
SELECT opponent FROM table_name_62 WHERE date = "october 11, 1953"
CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR)
Can you tell me the Opponent that has the Date of october 11, 1953?
SELECT established FROM table_name_32 WHERE championships > 0 AND league = "west coast league"
CREATE TABLE table_name_32 (established VARCHAR, championships VARCHAR, league VARCHAR)
What year was the West Coast League established than the championships are greater than 0?
SELECT MAX(established) FROM table_name_65 WHERE championships = 0 AND venue = "apple bowl"
CREATE TABLE table_name_65 (established INTEGER, championships VARCHAR, venue VARCHAR)
During the Apple Bowl having 0 championships, what was the established year?
SELECT sport FROM table_name_3 WHERE venue = "wildcat stadium"
CREATE TABLE table_name_3 (sport VARCHAR, venue VARCHAR)
What sport happened at Wildcat Stadium?
SELECT MAX(championships) FROM table_name_48 WHERE league = "evergreen premier league"
CREATE TABLE table_name_48 (championships INTEGER, league VARCHAR)
How many championships does Evergreen Premier League have?
SELECT position FROM table_name_36 WHERE round > 10 AND name = "shawn mccarthy"
CREATE TABLE table_name_36 (position VARCHAR, round VARCHAR, name VARCHAR)
Which Position has a Round larger than 10, and a Name of shawn mccarthy?
SELECT COUNT(pick__number) FROM table_name_96 WHERE name = "tory epps" AND round > 8
CREATE TABLE table_name_96 (pick__number VARCHAR, name VARCHAR, round VARCHAR)
How many Pick #s have a Name of tory epps, and a Round larger than 8?
SELECT visitor FROM table_name_41 WHERE record = "5-2-0"
CREATE TABLE table_name_41 (visitor VARCHAR, record VARCHAR)
Which team was the visitor with a record of 5-2-0?
SELECT score FROM table_name_10 WHERE date = "november 3"
CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR)
What is the score for the November 3 game?
SELECT others FROM table_name_33 WHERE martin = "9%" AND source = "ogm/news"
CREATE TABLE table_name_33 (others VARCHAR, martin VARCHAR, source VARCHAR)
What percent of others did ogm/news count when MARTIN had 9%?
SELECT undecided FROM table_name_70 WHERE others = "4%"
CREATE TABLE table_name_70 (undecided VARCHAR, others VARCHAR)
What is the Undecided the others was 4%?
SELECT undecided FROM table_name_66 WHERE date = "2009-05-24"
CREATE TABLE table_name_66 (undecided VARCHAR, date VARCHAR)
What is the Undecided on 2009-05-24?
SELECT date FROM table_name_93 WHERE undecided = "–" AND martin = "7–9%"
CREATE TABLE table_name_93 (date VARCHAR, undecided VARCHAR, martin VARCHAR)
What is the Date that has MARTIN of 7–9% and no Undecided?
SELECT date FROM table_name_21 WHERE martin = "8%"
CREATE TABLE table_name_21 (date VARCHAR, martin VARCHAR)
What is the Date when MARTIN had 8%?
SELECT COUNT(attendance) FROM table_name_49 WHERE game < 3 AND date = "october 31"
CREATE TABLE table_name_49 (attendance VARCHAR, game VARCHAR, date VARCHAR)
Which Attendance has a Game smaller than 3, and a Date of october 31?
SELECT rank FROM table_name_2 WHERE player = "charles eady" AND bowling = "12/63"
CREATE TABLE table_name_2 (rank VARCHAR, player VARCHAR, bowling VARCHAR)
What is rank of player Charles Eady and a Bowling of 12/63?
SELECT opponent FROM table_name_18 WHERE surface = "hard" AND outcome = "winner" AND partnering = "jordan kerr"
CREATE TABLE table_name_18 (opponent VARCHAR, partnering VARCHAR, surface VARCHAR, outcome VARCHAR)
Who was the Opponent partnering with Jordan Kerr, on a hard surface that was the winner?
SELECT AVG(year) FROM table_name_25 WHERE power = "bhp (kw)" AND trim = "ls/2lt"
CREATE TABLE table_name_25 (year INTEGER, power VARCHAR, trim VARCHAR)
What's the Year Average that has a Power of BHP (KW) and Trim of LS/2LT?
SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)"
CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)
Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)?
SELECT torque FROM table_name_21 WHERE power = "hp (kw)"
CREATE TABLE table_name_21 (torque VARCHAR, power VARCHAR)
What Torque has a Power of HP (KW)?
SELECT AVG(year) FROM table_name_51 WHERE trim = "ls/lt" AND power = "hp (kw)"
CREATE TABLE table_name_51 (year INTEGER, trim VARCHAR, power VARCHAR)
What's the Year average that's got Trim of LS/LT and Power of HP (KW)?
SELECT college FROM table_name_65 WHERE overall = 17
CREATE TABLE table_name_65 (college VARCHAR, overall VARCHAR)
Name the college with overall of 17
SELECT MIN(overall) FROM table_name_15 WHERE name = "tony baker"
CREATE TABLE table_name_15 (overall INTEGER, name VARCHAR)
Name the least overall for tony baker
SELECT visitor FROM table_name_33 WHERE home = "winnipeg"
CREATE TABLE table_name_33 (visitor VARCHAR, home VARCHAR)
Who was the visiting team when Winnipeg was the home team?
SELECT score FROM table_name_25 WHERE decision = "peeters" AND record = "29–3–11"
CREATE TABLE table_name_25 (score VARCHAR, decision VARCHAR, record VARCHAR)
What was the score of the game with a decision of Peeters and a record of 29–3–11?
SELECT label FROM table_name_14 WHERE country = "united kingdom" AND catalogue__number = "hvnlp26cd"
CREATE TABLE table_name_14 (label VARCHAR, country VARCHAR, catalogue__number VARCHAR)
What is the Label of Catalogue # HVNLP26CD from United Kingdom?
SELECT country FROM table_name_77 WHERE catalogue__number = "asw 50248 (724385024825)"
CREATE TABLE table_name_77 (country VARCHAR, catalogue__number VARCHAR)
What Country is Catalogue # ASW 50248 (724385024825) from?
SELECT winning_team FROM table_name_22 WHERE name = "south pacific trophy"
CREATE TABLE table_name_22 (winning_team VARCHAR, name VARCHAR)
Who is the winning team of the South Pacific Trophy?
SELECT attendance FROM table_name_32 WHERE loss = "gonzález (0–3)"
CREATE TABLE table_name_32 (attendance VARCHAR, loss VARCHAR)
Loss of gonzález (0–3) had what attendance?
SELECT date FROM table_name_70 WHERE record = "92–70"
CREATE TABLE table_name_70 (date VARCHAR, record VARCHAR)
Record of 92–70 had what date?
SELECT record FROM table_name_54 WHERE loss = "kendrick (11–8)"
CREATE TABLE table_name_54 (record VARCHAR, loss VARCHAR)
Loss of kendrick (11–8) had what record?
SELECT record FROM table_name_12 WHERE date = "september 28"
CREATE TABLE table_name_12 (record VARCHAR, date VARCHAR)
Date of september 28 had what record?
SELECT opponent FROM table_name_49 WHERE attendance = "23,150"
CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR)
Attendance of 23,150 had what opponent?
SELECT score FROM table_name_46 WHERE attendance = "36,796"
CREATE TABLE table_name_46 (score VARCHAR, attendance VARCHAR)
Attendance of 36,796 had what score?
SELECT SUM(long) FROM table_name_30 WHERE name = "derrick locke"
CREATE TABLE table_name_30 (long INTEGER, name VARCHAR)
What is the sum of Long for derrick locke?
SELECT MIN(loss) FROM table_name_10 WHERE name = "derrick locke" AND gain > 319
CREATE TABLE table_name_10 (loss INTEGER, name VARCHAR, gain VARCHAR)
What is the lowest Loss with Gain larger than 319 for derrick locke?
SELECT club FROM table_name_96 WHERE head_coach = "wojciech kamiński"
CREATE TABLE table_name_96 (club VARCHAR, head_coach VARCHAR)
Head Coach of wojciech kamiński is what club?
SELECT league FROM table_name_20 WHERE sport = "football" AND venue = "stadion polonii"
CREATE TABLE table_name_20 (league VARCHAR, sport VARCHAR, venue VARCHAR)
Sport of football, and a Venue of stadion polonii is what league?
SELECT league FROM table_name_8 WHERE sport = "gaelic football and hurling"
CREATE TABLE table_name_8 (league VARCHAR, sport VARCHAR)
Sport of gaelic football and hurling is what league?
SELECT club FROM table_name_34 WHERE venue = "pepsi arena"
CREATE TABLE table_name_34 (club VARCHAR, venue VARCHAR)
Venue of Pepsi arena involved what club?
SELECT MAX(earnings___) AS $__ FROM table_name_26 WHERE player = "tom watson" AND rank > 2
CREATE TABLE table_name_26 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
What is the highest earnings for Tom watson who had a ranking larger than 2?
SELECT MAX(earnings___) AS $__ FROM table_name_60 WHERE player = "curtis strange"
CREATE TABLE table_name_60 (earnings___ INTEGER, player VARCHAR)
What is the highest earnings for curtis strange?
SELECT AVG(year) FROM table_name_89 WHERE avg_start < 6.3 AND wins < 0
CREATE TABLE table_name_89 (year INTEGER, avg_start VARCHAR, wins VARCHAR)
What is the average year with an average start smaller than 6.3 and fewer than 0 wins?
SELECT second FROM table_name_27 WHERE skip = "barbora vojtusova"
CREATE TABLE table_name_27 (second VARCHAR, skip VARCHAR)
Which Second has a Skip of barbora vojtusova?
SELECT skip FROM table_name_22 WHERE lead = "marju velga"
CREATE TABLE table_name_22 (skip VARCHAR, lead VARCHAR)
Which Skip did marju velga lead?
SELECT lead FROM table_name_23 WHERE second = "katrin kuusk"
CREATE TABLE table_name_23 (lead VARCHAR, second VARCHAR)
Which Lead has a Second of katrin kuusk?
SELECT third FROM table_name_58 WHERE skip = "ellen vogt"
CREATE TABLE table_name_58 (third VARCHAR, skip VARCHAR)
Which Third has a Skip of ellen vogt?
SELECT third FROM table_name_11 WHERE second = "agnieszka ogrodniczek"
CREATE TABLE table_name_11 (third VARCHAR, second VARCHAR)
Which Third has a Second of agnieszka ogrodniczek?
SELECT skip FROM table_name_92 WHERE nation = "spain"
CREATE TABLE table_name_92 (skip VARCHAR, nation VARCHAR)
What is Spain's skip?
SELECT per_capita_income FROM table_name_49 WHERE median_household_income = "$55,800"
CREATE TABLE table_name_49 (per_capita_income VARCHAR, median_household_income VARCHAR)
What is the Per capita income associated with a Median household income of $55,800?
SELECT margin_of_victory FROM table_name_44 WHERE tournament = "texas international open"
CREATE TABLE table_name_44 (margin_of_victory VARCHAR, tournament VARCHAR)
What was the margin of victory at the Texas International Open?
SELECT margin_of_victory FROM table_name_60 WHERE winning_score = −3(74 - 68 - 72 - 71 = 285)
CREATE TABLE table_name_60 (margin_of_victory VARCHAR, winning_score VARCHAR)
What was the margin of victory in the tournament with a winning score of −3 (74-68-72-71=285)?
SELECT SUM(avg_g) FROM table_name_63 WHERE effic > 129.73 AND cmp_att_int = "333-500-13"
CREATE TABLE table_name_63 (avg_g INTEGER, effic VARCHAR, cmp_att_int VARCHAR)
Which Avg/G has an Effic larger than 129.73, and a Cmp-Att-Int of 333-500-13?
SELECT MAX(effic) FROM table_name_56 WHERE avg_g < 305.6 AND gp_gs = "13-13"
CREATE TABLE table_name_56 (effic INTEGER, avg_g VARCHAR, gp_gs VARCHAR)
Which Effic is the highest one that has an Avg/G smaller than 305.6, and a GP-GS of 13-13?
SELECT SUM(avg_g) FROM table_name_69 WHERE name = "opponents" AND effic < 129.73
CREATE TABLE table_name_69 (avg_g INTEGER, name VARCHAR, effic VARCHAR)
Which Avg/G that has a Name of opponents, and an Effic smaller than 129.73?
SELECT cmp_att_int FROM table_name_61 WHERE gp_gs = "3-0"
CREATE TABLE table_name_61 (cmp_att_int VARCHAR, gp_gs VARCHAR)
Which Cmp-Att-Int has a GP-GS of 3-0?
SELECT AVG(effic) FROM table_name_9 WHERE avg_g > 3.7 AND gp_gs = "13" AND cmp_att_int = "318-521-15"
CREATE TABLE table_name_9 (effic INTEGER, cmp_att_int VARCHAR, avg_g VARCHAR, gp_gs VARCHAR)
Which Effic is the average one that has an Avg/G larger than 3.7, and a GP-GS of 13, and a Cmp-Att-Int of 318-521-15?
SELECT home FROM table_name_87 WHERE date = "january 13"
CREATE TABLE table_name_87 (home VARCHAR, date VARCHAR)
Which home team was playing on January 13?
SELECT SUM(runs) FROM table_name_34 WHERE high_score = 55 AND innings > 12
CREATE TABLE table_name_34 (runs INTEGER, high_score VARCHAR, innings VARCHAR)
How many runs were there when the high score was 55 and there were more than 12 innings?
SELECT SUM(runs) FROM table_name_1 WHERE matches = 1 AND average < 86
CREATE TABLE table_name_1 (runs INTEGER, matches VARCHAR, average VARCHAR)
How many runs were there when there was 1 match and les than 86 average?
SELECT station FROM table_name_78 WHERE programming = "me-tv"
CREATE TABLE table_name_78 (station VARCHAR, programming VARCHAR)
Which station has programming of Me-TV?
SELECT station FROM table_name_33 WHERE programming = "me-tv"
CREATE TABLE table_name_33 (station VARCHAR, programming VARCHAR)
Which station has programming of Me-TV?
SELECT psip_short_name FROM table_name_19 WHERE video = "720p" AND programming = "main kstc-tv programming"
CREATE TABLE table_name_19 (psip_short_name VARCHAR, video VARCHAR, programming VARCHAR)
What is the short name having video of 720p and programming of Main KSTC-TV programming?
SELECT video FROM table_name_36 WHERE psip_short_name = "kstcdt2"
CREATE TABLE table_name_36 (video VARCHAR, psip_short_name VARCHAR)
What is the video associated with a short name of KSTCDT2?
SELECT psip_short_name FROM table_name_95 WHERE station = "kstc-tv" AND channel = 5.5
CREATE TABLE table_name_95 (psip_short_name VARCHAR, station VARCHAR, channel VARCHAR)
What is the short name of channel 5.5, KSTC-TV?
SELECT psip_short_name FROM table_name_2 WHERE channel < 5.2
CREATE TABLE table_name_2 (psip_short_name VARCHAR, channel INTEGER)
What is the short name of the channel under 5.2?
SELECT prefecture FROM table_name_94 WHERE province = "hubei" AND county = "enshi"
CREATE TABLE table_name_94 (prefecture VARCHAR, province VARCHAR, county VARCHAR)
Which prefecture is in Hubei province and Enshi county?
SELECT SUM(tujia_population) FROM table_name_20 WHERE prefecture = "zhangjiajie" AND county = "sangzhi"
CREATE TABLE table_name_20 (tujia_population INTEGER, prefecture VARCHAR, county VARCHAR)
What is the sum of Tujia population with the Zhangjiajie prefecture in Sangzhi county?
SELECT COUNT(attendance) FROM table_name_99 WHERE points > 40 AND home = "detroit"
CREATE TABLE table_name_99 (attendance VARCHAR, points VARCHAR, home VARCHAR)
What is the total number of attendence has points greater than 40, and detroit as the home?
SELECT MAX(tropical_lows) FROM table_name_13 WHERE season = "1990–91" AND tropical_cyclones > 10
CREATE TABLE table_name_13 (tropical_lows INTEGER, season VARCHAR, tropical_cyclones VARCHAR)
What is the largest number for tropical Lows for the 1990–91 season with more than 10 tropical cyclones?
SELECT MIN(Severe) AS tropical_cyclones FROM table_name_88 WHERE strongest_storm = "tiffany" AND tropical_lows > 10
CREATE TABLE table_name_88 (Severe INTEGER, strongest_storm VARCHAR, tropical_lows VARCHAR)
What is the least number of tropical cyclones when the strongest storm was Tiffany and less than 10 tropical lows.
SELECT MIN(Severe) AS tropical_cyclones FROM table_name_61 WHERE season = "1992–93" AND tropical_lows < 6
CREATE TABLE table_name_61 (Severe INTEGER, season VARCHAR, tropical_lows VARCHAR)
What is the least amount of severe tropical cyclones for the 1992–93 season and the tropical Lows smaller than 6?
SELECT MIN(tropical_lows) FROM table_name_41 WHERE season = "1993–94" AND tropical_cyclones < 11
CREATE TABLE table_name_41 (tropical_lows INTEGER, season VARCHAR, tropical_cyclones VARCHAR)
What is the least amount of tropical lows for the 1993–94 season with less than 11 tropical cyclones
SELECT COUNT(week) FROM table_name_22 WHERE date = "september 8, 1980" AND attendance > 55 OFFSET 045
CREATE TABLE table_name_22 (week VARCHAR, date VARCHAR, attendance VARCHAR)
How many Weeks are on september 8, 1980 and Attendances larger than 55,045? Question 4
SELECT round FROM table_name_31 WHERE college = "stanford"
CREATE TABLE table_name_31 (round VARCHAR, college VARCHAR)
Which Round has a College of stanford?
SELECT round FROM table_name_47 WHERE pick = 174
CREATE TABLE table_name_47 (round VARCHAR, pick VARCHAR)
Which Round has a Pick of 174?
SELECT position FROM table_name_66 WHERE pick = 174
CREATE TABLE table_name_66 (position VARCHAR, pick VARCHAR)
Which Position has a Pick of 174?
SELECT event FROM table_name_39 WHERE year = 1964
CREATE TABLE table_name_39 (event VARCHAR, year VARCHAR)
that was held in 1964?
SELECT event FROM table_name_62 WHERE venue = "toronto, canada"
CREATE TABLE table_name_62 (event VARCHAR, venue VARCHAR)
What is the name of the Event with a venue that was in toronto, canada?
SELECT SUM(year) FROM table_name_98 WHERE competition = "british empire and commonwealth games"
CREATE TABLE table_name_98 (year INTEGER, competition VARCHAR)
What is the Year the competition the british empire and commonwealth games were held?
SELECT position FROM table_name_98 WHERE competition = "commonwealth games"
CREATE TABLE table_name_98 (position VARCHAR, competition VARCHAR)
What is the position of the commonwealth games?
SELECT venue FROM table_name_15 WHERE year = 1964
CREATE TABLE table_name_15 (venue VARCHAR, year VARCHAR)
What is the venue with a competition in 1964?
SELECT date FROM table_name_84 WHERE surface = "clay" AND location = "santos, brazil"
CREATE TABLE table_name_84 (date VARCHAR, surface VARCHAR, location VARCHAR)
Name the date for clay surface and location of santos, brazil
SELECT date FROM table_name_25 WHERE outcome = "winner" AND score = "4–6 6–2 7–6 (7–4)"
CREATE TABLE table_name_25 (date VARCHAR, outcome VARCHAR, score VARCHAR)
Name the date with outcome of winner and score of 4–6 6–2 7–6 (7–4)
SELECT MAX(capacity) FROM table_name_81 WHERE position_in_2004 = "5"
CREATE TABLE table_name_81 (capacity INTEGER, position_in_2004 VARCHAR)
What's the highest capacity for a position of 5 in 2004?
SELECT venue FROM table_name_45 WHERE position_in_2004 = "9"
CREATE TABLE table_name_45 (venue VARCHAR, position_in_2004 VARCHAR)
Which venue was number 9 for 2004?
SELECT city FROM table_name_99 WHERE founded = 1857
CREATE TABLE table_name_99 (city VARCHAR, founded VARCHAR)
What city was founded in 1857?
SELECT opponent FROM table_name_42 WHERE time = "2:31"
CREATE TABLE table_name_42 (opponent VARCHAR, time VARCHAR)
Which Opponent has a Time of 2:31?
SELECT method FROM table_name_98 WHERE round = 1 AND time = "0:28"
CREATE TABLE table_name_98 (method VARCHAR, round VARCHAR, time VARCHAR)
Which Method has a Round of 1, and a Time of 0:28?