question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
what is th copa libertadores 1997 is qf?
CREATE TABLE table_14310205_1 (copa_libertadores_1997 VARCHAR, supercopa_1996 VARCHAR)
SELECT copa_libertadores_1997 FROM table_14310205_1 WHERE supercopa_1996 = "QF"
What were the scores for matches with irving wright hazel hotchkiss wightman?
CREATE TABLE table_2127933_3 (score VARCHAR, opponents VARCHAR)
SELECT score FROM table_2127933_3 WHERE opponents = "Irving Wright Hazel Hotchkiss Wightman"
Where is lincoln high school located?
CREATE TABLE table_11677691_6 (hometown VARCHAR, school VARCHAR)
SELECT hometown FROM table_11677691_6 WHERE school = "Lincoln High school"
What week did the Galaxy play the Amsterdam Admirals?
CREATE TABLE table_24814477_2 (week VARCHAR, opponent VARCHAR)
SELECT week FROM table_24814477_2 WHERE opponent = "Amsterdam Admirals"
Show the names and total passengers for all train stations not in London.
CREATE TABLE station (name VARCHAR, total_passengers VARCHAR, LOCATION VARCHAR)
SELECT name, total_passengers FROM station WHERE LOCATION <> 'London'
What is the highest erp w with a 90.5 frequency mhz?
CREATE TABLE table_name_38 (erp_w INTEGER, frequency_mhz VARCHAR)
SELECT MAX(erp_w) FROM table_name_38 WHERE frequency_mhz = 90.5
Which round has an H/A of A with Notts County as opponents?
CREATE TABLE table_name_72 (round VARCHAR, h___a VARCHAR, opponents VARCHAR)
SELECT round FROM table_name_72 WHERE h___a = "a" AND opponents = "notts county"
List the locations of schools in descending order of founded year.
CREATE TABLE school (LOCATION VARCHAR, Founded VARCHAR)
SELECT LOCATION FROM school ORDER BY Founded DESC
Name the total number of moto2 winners for laguna seca
CREATE TABLE table_27948565_1 (moto2_winner VARCHAR, circuit VARCHAR)
SELECT COUNT(moto2_winner) FROM table_27948565_1 WHERE circuit = "Laguna Seca"
What is the category when the version is 1.0 and the title is Chord finder?
CREATE TABLE table_18138132_2 (category VARCHAR, version VARCHAR, title VARCHAR)
SELECT category FROM table_18138132_2 WHERE version = "1.0" AND title = "Chord Finder"
Which team had a league of regionalliga süd?
CREATE TABLE table_name_84 (teams VARCHAR, league VARCHAR)
SELECT teams FROM table_name_84 WHERE league = "regionalliga süd"
WHAT IS THE GROSS WITH A DIRECTOR OF RICHARD TUGGLE?
CREATE TABLE table_name_73 (gross VARCHAR, director VARCHAR)
SELECT gross FROM table_name_73 WHERE director = "richard tuggle"
What is the first year that the Favorite Male Replacement category had Ben Vereen as a nominee?
CREATE TABLE table_name_48 (year INTEGER, category VARCHAR, nominee VARCHAR)
SELECT MIN(year) FROM table_name_48 WHERE category = "favorite male replacement" AND nominee = "ben vereen"
What is High Rebounds, when Location Attendance is "Madison Square Garden Unknown", and when Date is "May 18"?
CREATE TABLE table_name_15 (high_rebounds VARCHAR, location_attendance VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_15 WHERE location_attendance = "madison square garden unknown" AND date = "may 18"
Name the number of colleges for jerome pathon
CREATE TABLE table_28059992_2 (college VARCHAR, player VARCHAR)
SELECT COUNT(college) FROM table_28059992_2 WHERE player = "Jerome Pathon"
Name the most abama number for mccain being 29266
CREATE TABLE table_20468206_1 (obama_number INTEGER, mccain_number VARCHAR)
SELECT MAX(obama_number) FROM table_20468206_1 WHERE mccain_number = 29266
Find the name of students who took any class in the years of 2009 and 2010.
CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE takes (id VARCHAR)
SELECT DISTINCT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE YEAR = 2009 OR YEAR = 2010
What's the title for year n.m.?
CREATE TABLE table_name_43 (title VARCHAR, year VARCHAR)
SELECT title FROM table_name_43 WHERE year = "n.m."
When melbourne was the away team, what was the lowest crowd turnout they had?
CREATE TABLE table_name_75 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_75 WHERE away_team = "melbourne"
What is the Area with 26 in Roll
CREATE TABLE table_name_63 (area VARCHAR, roll VARCHAR)
SELECT area FROM table_name_63 WHERE roll = 26
What is the election year of the president with a Birth State of lost connecticut?
CREATE TABLE table_name_61 (election_year INTEGER, birth_state VARCHAR)
SELECT AVG(election_year) FROM table_name_61 WHERE birth_state = "lost connecticut"
List all the MCs with peak ranking of 6 who were inducted in 2007.
CREATE TABLE table_29160596_1 (top_mc VARCHAR, year_inducted VARCHAR, peak_ranking VARCHAR)
SELECT top_mc FROM table_29160596_1 WHERE year_inducted = 2007 AND peak_ranking = 6
What was the conference matchup in the bowl game with a $3 million payout?
CREATE TABLE table_name_81 (conference_matchups VARCHAR, payout___us$__ VARCHAR)
SELECT conference_matchups FROM table_name_81 WHERE payout___us$__ = "$3 million"
what is the date in 1986?
CREATE TABLE table_name_14 (date VARCHAR, year VARCHAR)
SELECT date FROM table_name_14 WHERE year = 1986
What is the lowest elevation(m) for the peak Mount Taylor?
CREATE TABLE table_18946749_4 (elevation__m_ INTEGER, peak VARCHAR)
SELECT MIN(elevation__m_) FROM table_18946749_4 WHERE peak = "Mount Taylor"
What was the score for the Essendon home team?
CREATE TABLE table_name_31 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_31 WHERE home_team = "essendon"
Which number has a 0.35 percentage?
CREATE TABLE table_name_26 (number VARCHAR, percentage___percentage_ VARCHAR)
SELECT number FROM table_name_26 WHERE percentage___percentage_ = "0.35"
What is the number of Silver medals with 2 Bronze and 0 Gold?
CREATE TABLE table_name_78 (silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT COUNT(silver) FROM table_name_78 WHERE bronze = 2 AND gold < 0
What's the total of Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1?
CREATE TABLE table_name_69 (lost INTEGER, place VARCHAR, points VARCHAR, draw VARCHAR)
SELECT SUM(lost) FROM table_name_69 WHERE points > 28 AND draw = 5 AND place < 1
Where is the lowest area with a population of 7,616?
CREATE TABLE table_name_55 (area__km²_ INTEGER, population__2010_ VARCHAR)
SELECT MIN(area__km²_) FROM table_name_55 WHERE population__2010_ = 7 OFFSET 616
What is the lowest swimsuit score a contestant from Rhode Island with an average larger than 9.235 has?
CREATE TABLE table_name_66 (swimsuit INTEGER, state VARCHAR, average VARCHAR)
SELECT MIN(swimsuit) FROM table_name_66 WHERE state = "rhode island" AND average > 9.235
what date was mallala motor sport park the circuit?
CREATE TABLE table_name_76 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_76 WHERE circuit = "mallala motor sport park"
\What is the class of the station with the call sign w254ah?
CREATE TABLE table_name_35 (class VARCHAR, call_sign VARCHAR)
SELECT class FROM table_name_35 WHERE call_sign = "w254ah"
1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990?
CREATE TABLE table_name_89 (Id VARCHAR)
SELECT SUM(1980) FROM table_name_89 WHERE 1996[2] = 127 AND 1990 < 120
What was the 09-10 oi best of the player with 949 points?
CREATE TABLE table_24990183_5 (ws_points VARCHAR)
SELECT COUNT(09 AS _10_oi_best) FROM table_24990183_5 WHERE ws_points = 949
Which Oberliga Bayern has a Season of 1981-82?
CREATE TABLE table_name_24 (oberliga_bayern VARCHAR, season VARCHAR)
SELECT oberliga_bayern FROM table_name_24 WHERE season = "1981-82"
What is the maximum pages per minute for the Xerox Travel Scanner 100?
CREATE TABLE table_16409745_1 (pages_per_minute__color_ INTEGER, product VARCHAR)
SELECT MAX(pages_per_minute__color_) FROM table_16409745_1 WHERE product = "Xerox Travel Scanner 100"
What GEO ID has a longitude of -102.693028?
CREATE TABLE table_name_83 (geo_id VARCHAR, longitude VARCHAR)
SELECT geo_id FROM table_name_83 WHERE longitude = -102.693028
What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins?
CREATE TABLE table_name_89 (Home INTEGER, institution VARCHAR, wins VARCHAR)
SELECT SUM(Home) AS wins FROM table_name_89 WHERE institution = "boston college eagles" AND wins > 6
What is the record of the match with Columbus as the home team on March 7?
CREATE TABLE table_name_96 (record VARCHAR, home VARCHAR, date VARCHAR)
SELECT record FROM table_name_96 WHERE home = "columbus" AND date = "march 7"
What was the earliest year that Târlea took 7th place?
CREATE TABLE table_name_6 (year INTEGER, position VARCHAR)
SELECT MIN(year) FROM table_name_6 WHERE position = "7th"
Which NBA Draft had Labradford Smith?
CREATE TABLE table_name_61 (nba_draft VARCHAR, player VARCHAR)
SELECT nba_draft FROM table_name_61 WHERE player = "labradford smith"
What week had a game that was played on November 11, 1962?
CREATE TABLE table_name_86 (week INTEGER, date VARCHAR)
SELECT AVG(week) FROM table_name_86 WHERE date = "november 11, 1962"
How many different scores did Team Europe get when Mika Koivuniemi played for them?
CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)
SELECT COUNT(score) FROM table_19072602_1 WHERE team_europe = "Mika Koivuniemi"
What percentage did Obama get in Rutherford county?
CREATE TABLE table_20799905_1 (obama_percentage VARCHAR, county VARCHAR)
SELECT obama_percentage FROM table_20799905_1 WHERE county = "RUTHERFORD"
The Soviet Union has won more than 2 Silver, but how many Bronzes?
CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR, silver VARCHAR)
SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "soviet union" AND silver > 2
What is the share of votes with 3,567,021 NDC votes?
CREATE TABLE table_name_40 (share_of_votes VARCHAR, number_of_ndc_votes VARCHAR)
SELECT share_of_votes FROM table_name_40 WHERE number_of_ndc_votes = "3,567,021"
What competition took place in a year later than 2009 with team notes?
CREATE TABLE table_name_8 (competition VARCHAR, year VARCHAR, notes VARCHAR)
SELECT competition FROM table_name_8 WHERE year > 2009 AND notes = "team"
How many points does Kohta Nozane have with a Motobi TSR 6?
CREATE TABLE table_name_42 (points VARCHAR, bike VARCHAR, riders VARCHAR)
SELECT points FROM table_name_42 WHERE bike = "motobi tsr 6" AND riders = "kohta nozane"
Name the tries against when tries for is 30
CREATE TABLE table_17941032_3 (tries_against VARCHAR, tries_for VARCHAR)
SELECT tries_against FROM table_17941032_3 WHERE tries_for = "30"
WHo Became Duchess that has a Death of 26 october 1614?
CREATE TABLE table_name_84 (became_duchess VARCHAR, death VARCHAR)
SELECT became_duchess FROM table_name_84 WHERE death = "26 october 1614"
Name the most points for 1-3-1 record
CREATE TABLE table_27539272_4 (points INTEGER, record VARCHAR)
SELECT MAX(points) FROM table_27539272_4 WHERE record = "1-3-1"
Who did the most high rebounds in the game 24?
CREATE TABLE table_11961582_4 (high_rebounds VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_11961582_4 WHERE game = 24
What is the city where the number is 47?
CREATE TABLE table_10992_3 (city_district__stadtteil_ VARCHAR, no VARCHAR)
SELECT city_district__stadtteil_ FROM table_10992_3 WHERE no = "47"
How much Long has a Loss larger than 2, and a Gain of 157, and an Avg/G smaller than 129?
CREATE TABLE table_name_58 (long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR)
SELECT SUM(long) FROM table_name_58 WHERE loss > 2 AND gain = 157 AND avg_g < 129
Who was the player that was picked by Los Angeles Kings?
CREATE TABLE table_2886617_6 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_2886617_6 WHERE nhl_team = "Los Angeles Kings"
What is the Venue of the Competition with a Score of 2–0?
CREATE TABLE table_name_89 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_89 WHERE score = "2–0"
When westcott 1935 is in division two how many leagues are in division three?
CREATE TABLE table_24575253_4 (division_three VARCHAR, division_two VARCHAR)
SELECT COUNT(division_three) FROM table_24575253_4 WHERE division_two = "Westcott 1935"
What is the home team score when the crowd was larger than 30,100?
CREATE TABLE table_name_11 (home_team VARCHAR, crowd INTEGER)
SELECT home_team AS score FROM table_name_11 WHERE crowd > 30 OFFSET 100
What is the score of the competition on November 10?
CREATE TABLE table_name_90 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_90 WHERE date = "november 10"
Which Season has an Opponent of hibernians?
CREATE TABLE table_name_4 (season VARCHAR, opponent VARCHAR)
SELECT season FROM table_name_4 WHERE opponent = "hibernians"
What date was the Silverstone circuit driven?
CREATE TABLE table_1140119_5 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_1140119_5 WHERE circuit = "Silverstone"
what is the date that the away team is aldershot?
CREATE TABLE table_name_16 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_16 WHERE away_team = "aldershot"
what is the record when the round is before 3 and the time si 4:59?
CREATE TABLE table_name_41 (record VARCHAR, round VARCHAR, time VARCHAR)
SELECT record FROM table_name_41 WHERE round < 3 AND time = "4:59"
How many goals were scored on the goalkeeper with fewer than 37 matches and an average of 1.5?
CREATE TABLE table_name_24 (goals VARCHAR, matches VARCHAR, average VARCHAR)
SELECT goals FROM table_name_24 WHERE matches < 37 AND average = 1.5
When there were 30 races and the final placing was 13th, how many points were scored?
CREATE TABLE table_26794530_1 (points VARCHAR, final_placing VARCHAR, races VARCHAR)
SELECT points FROM table_26794530_1 WHERE final_placing = "13th" AND races = 30
Who wrote the episode with a production code greater than 1.4 direcyed by rick wallace?
CREATE TABLE table_name_5 (written_by VARCHAR, prod_code VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_name_5 WHERE prod_code > 1.4 AND directed_by = "rick wallace"
What Tournament had a Score of 4–6, 6–7, 3–6?
CREATE TABLE table_name_95 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_95 WHERE score = "4–6, 6–7, 3–6"
Which events have a Rank of 1?
CREATE TABLE table_name_7 (events VARCHAR, rank VARCHAR)
SELECT events FROM table_name_7 WHERE rank = 1
How many scores did Helen Sildna give when Iiris Vesik gave a 3?
CREATE TABLE table_29261215_4 (helen_sildna VARCHAR, iiris_vesik VARCHAR)
SELECT COUNT(helen_sildna) FROM table_29261215_4 WHERE iiris_vesik = 3
Which circuit did alfa romeo win?
CREATE TABLE table_name_41 (circuit VARCHAR, winning_constructor VARCHAR)
SELECT circuit FROM table_name_41 WHERE winning_constructor = "alfa romeo"
Name the won promotion for kalmar ff
CREATE TABLE table_2119448_3 (won_promotion VARCHAR, lost_promotion_playoffs VARCHAR)
SELECT won_promotion FROM table_2119448_3 WHERE lost_promotion_playoffs = "Kalmar FF"
Who is from south africa and has a score of 76-75-73-71=295?
CREATE TABLE table_name_25 (player VARCHAR, country VARCHAR, score VARCHAR)
SELECT player FROM table_name_25 WHERE country = "south africa" AND score = 76 - 75 - 73 - 71 = 295
What is the total tenure time of Warren Magnuson, who had an uninterrupted rank larger than 4 and a total tenure rank larger than 9?
CREATE TABLE table_name_31 (total_tenure_time VARCHAR, name VARCHAR, uninterrupted_rank VARCHAR, total_tenure_rank VARCHAR)
SELECT total_tenure_time FROM table_name_31 WHERE uninterrupted_rank > 4 AND total_tenure_rank > 9 AND name = "warren magnuson"
If 2006 is 13% and 2001 is greater than 12.1%, what is the greatest number of seats for 2001?
CREATE TABLE table_name_71 (seats_2001 INTEGER, _percentage_2006 VARCHAR, _percentage_2001 VARCHAR)
SELECT MAX(seats_2001) FROM table_name_71 WHERE _percentage_2006 = 13 AND _percentage_2001 > 12.1
What was the competition that was played in Zurich?
CREATE TABLE table_name_96 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_96 WHERE venue = "zurich"
What is the highest number of Silver, when the Nation is Japan (JPN), and when the Total is greater than 37?
CREATE TABLE table_name_50 (silver INTEGER, nation VARCHAR, total VARCHAR)
SELECT MAX(silver) FROM table_name_50 WHERE nation = "japan (jpn)" AND total > 37
What is Opponent, when Week is "5"?
CREATE TABLE table_name_70 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_70 WHERE week = 5
What is the final Vuelta position associated with a final Giro position over 39 and a final Tour position of 90?
CREATE TABLE table_name_26 (final_position___vuelta VARCHAR, final_position___giro VARCHAR, final_position___tour VARCHAR)
SELECT final_position___vuelta FROM table_name_26 WHERE final_position___giro > 39 AND final_position___tour = 90
What was the host for the round in Nashville?
CREATE TABLE table_name_78 (host VARCHAR, city VARCHAR)
SELECT host FROM table_name_78 WHERE city = "nashville"
On April 15 who is the Home team?
CREATE TABLE table_name_80 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_80 WHERE date = "april 15"
What is the lowest Position, when Lost is greater than 15, when Team is Cheadle Town, and when Drawn is greater than 8?
CREATE TABLE table_name_21 (position INTEGER, drawn VARCHAR, lost VARCHAR, team VARCHAR)
SELECT MIN(position) FROM table_name_21 WHERE lost > 15 AND team = "cheadle town" AND drawn > 8
What round did he win rof 29: aftershock in?
CREATE TABLE table_name_3 (round VARCHAR, res VARCHAR, event VARCHAR)
SELECT round FROM table_name_3 WHERE res = "win" AND event = "rof 29: aftershock"
What is the highest round of Ed Smith, who had a pick higher than 261 and played halfback?
CREATE TABLE table_name_78 (round INTEGER, player VARCHAR, pick VARCHAR, position VARCHAR)
SELECT MAX(round) FROM table_name_78 WHERE pick < 261 AND position = "halfback" AND player = "ed smith"
what is the total number of results where the district is south carolina 5?
CREATE TABLE table_1342370_39 (result VARCHAR, district VARCHAR)
SELECT COUNT(result) FROM table_1342370_39 WHERE district = "South Carolina 5"
Name the swimsuit for arizona
CREATE TABLE table_15532342_2 (swimsuit VARCHAR, state VARCHAR)
SELECT swimsuit FROM table_15532342_2 WHERE state = "Arizona"
What is the smallest total number of medals for rank 11 and more than 0 silver medals?
CREATE TABLE table_name_25 (total INTEGER, rank VARCHAR, silver VARCHAR)
SELECT MIN(total) FROM table_name_25 WHERE rank = "11" AND silver > 0
What is the location shared by most counties?
CREATE TABLE county_public_safety (LOCATION VARCHAR)
SELECT LOCATION FROM county_public_safety GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1
what game was played on june 14
CREATE TABLE table_name_27 (type_of_game VARCHAR, date VARCHAR)
SELECT type_of_game FROM table_name_27 WHERE date = "june 14"
Which route has a Date of 2 july?
CREATE TABLE table_name_12 (route VARCHAR, date VARCHAR)
SELECT route FROM table_name_12 WHERE date = "2 july"
Who did the fastest lap in the race won by Paul Tracy, with Emerson Fittipaldi at the pole position?
CREATE TABLE table_19908651_3 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_19908651_3 WHERE pole_position = "Emerson Fittipaldi" AND winning_driver = "Paul Tracy"
When Audra Lynn was featured in Week 2, who was the cyber girl for Week 5?
CREATE TABLE table_name_36 (week_5 VARCHAR, week_2 VARCHAR)
SELECT week_5 FROM table_name_36 WHERE week_2 = "audra lynn"
At the match in windy hill, how much did the home team score?
CREATE TABLE table_name_33 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_33 WHERE venue = "windy hill"
Who is the kitmaker for Fc Augsburg?
CREATE TABLE table_name_38 (kitmaker VARCHAR, team VARCHAR)
SELECT kitmaker FROM table_name_38 WHERE team = "fc augsburg"
How many pints does the Cambrian Welfare RFC have?
CREATE TABLE table_name_50 (points_for VARCHAR, club VARCHAR)
SELECT points_for FROM table_name_50 WHERE club = "cambrian welfare rfc"
what's the evening gown where state is south dakota
CREATE TABLE table_12094609_1 (evening_gown VARCHAR, state VARCHAR)
SELECT evening_gown FROM table_12094609_1 WHERE state = "South Dakota"
Who organized Alston Church?
CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR)
SELECT organized_by FROM table_name_68 WHERE church_name = "alston church"
What engine was used after 1984?
CREATE TABLE table_name_87 (engine VARCHAR, year INTEGER)
SELECT engine FROM table_name_87 WHERE year > 1984
What is the IHSAA class for the school where the mascot is the Rebels?
CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_80 WHERE mascot = "rebels"
What is the lowest SOL?
CREATE TABLE table_1888157_1 (SOl INTEGER)
SELECT MIN(SOl) FROM table_1888157_1