question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who is the player that plays position c on the New York Knicks?
CREATE TABLE table_name_54 (player VARCHAR, team VARCHAR, position VARCHAR)
SELECT player FROM table_name_54 WHERE team = "new york knicks" AND position = "c"
What is the club when the chairman is roger lambrecht?
CREATE TABLE table_27374004_2 (club VARCHAR, chairman VARCHAR)
SELECT club FROM table_27374004_2 WHERE chairman = "Roger Lambrecht"
Which away team has Tie no 3?
CREATE TABLE table_name_80 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_80 WHERE tie_no = "3"
what's the department with incumbent being enrique ona
CREATE TABLE table_1331313_1 (department VARCHAR, incumbent VARCHAR)
SELECT department FROM table_1331313_1 WHERE incumbent = "Enrique Ona"
In which season did the évora settlements join the league?
CREATE TABLE table_name_28 (season_joined_league VARCHAR, settlements VARCHAR)
SELECT season_joined_league FROM table_name_28 WHERE settlements = "évora"
How many times is the settlement karlovčić?
CREATE TABLE table_2562572_52 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
SELECT COUNT(dominant_religion__2002_) FROM table_2562572_52 WHERE settlement = "Karlovčić"
What is the lowest number of bids in the Missouri Valley conference?
CREATE TABLE table_name_47 (_number_of_bids INTEGER, conference VARCHAR)
SELECT MIN(_number_of_bids) FROM table_name_47 WHERE conference = "missouri valley"
Tell me the sum of the grid with alfa romeo and toulo de graffenried
CREATE TABLE table_name_86 (grid INTEGER, constructor VARCHAR, driver VARCHAR)
SELECT SUM(grid) FROM table_name_86 WHERE constructor = "alfa romeo" AND driver = "toulo de graffenried"
Cowansville has less than 16 regions and is a Brome-Missisquoi Municipality, what is their population?
CREATE TABLE table_name_38 (population INTEGER, region VARCHAR, regional_county_municipality VARCHAR, name VARCHAR)
SELECT MIN(population) FROM table_name_38 WHERE regional_county_municipality = "brome-missisquoi" AND name = "cowansville" AND region < 16
What is the Country with a Launched that is april 3, 1990?
CREATE TABLE table_name_70 (country VARCHAR, launched VARCHAR)
SELECT country FROM table_name_70 WHERE launched = "april 3, 1990"
What is Player, when Year(s) Won is 1955?
CREATE TABLE table_name_84 (player VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_84 WHERE year_s__won = "1955"
What is listed as the Highest Played and that has a Place that is larger than 10?
CREATE TABLE table_name_9 (played INTEGER, place INTEGER)
SELECT MAX(played) FROM table_name_9 WHERE place > 10
What is the highest rank of a company that has 1,715.8 billion in assets?
CREATE TABLE table_1682026_6 (rank INTEGER, assets__billion_$_ VARCHAR)
SELECT MAX(rank) FROM table_1682026_6 WHERE assets__billion_$_ = "1,715.8"
Who was in control the year that Labour Party won 12 (+6) seats?
CREATE TABLE table_name_36 (control VARCHAR, labour_party VARCHAR)
SELECT control FROM table_name_36 WHERE labour_party = "12 (+6)"
What is the plural present that has a past participle of e and an infinitive stem of e?
CREATE TABLE table_name_61 (plur_pres VARCHAR, past_part VARCHAR, inf_stem VARCHAR)
SELECT plur_pres FROM table_name_61 WHERE past_part = "e" AND inf_stem = "e"
what's the party with first elected being 1926
CREATE TABLE table_1342256_6 (party VARCHAR, first_elected VARCHAR)
SELECT party FROM table_1342256_6 WHERE first_elected = "1926"
What links were used on flight day 16?
CREATE TABLE table_name_81 (links VARCHAR, flight_day VARCHAR)
SELECT links FROM table_name_81 WHERE flight_day = "day 16"
Find all the campuses opened in 1958.
CREATE TABLE campuses (campus VARCHAR, YEAR VARCHAR)
SELECT campus FROM campuses WHERE YEAR = 1958
What year is guard Mario Chalmers?
CREATE TABLE table_name_53 (year VARCHAR, position VARCHAR, name VARCHAR)
SELECT year FROM table_name_53 WHERE position = "guard" AND name = "mario chalmers"
What are the customer phone numbers under the policy "Life Insurance"?
CREATE TABLE available_policies (customer_phone VARCHAR, policy_type_code VARCHAR)
SELECT customer_phone FROM available_policies WHERE policy_type_code = "Life Insurance"
How many results do Ellery and Frankie have?
CREATE TABLE table_19744915_15 (result VARCHAR, couple VARCHAR)
SELECT COUNT(result) FROM table_19744915_15 WHERE couple = "Ellery and Frankie"
What shows for round when the race was Int. Adac Preis Von Zweibrücken?
CREATE TABLE table_name_43 (round VARCHAR, race VARCHAR)
SELECT round FROM table_name_43 WHERE race = "int. adac preis von zweibrücken"
What is the largest crowd for North Melbourne home games?
CREATE TABLE table_name_48 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_48 WHERE home_team = "north melbourne"
Where was Kristen Kirchner from?
CREATE TABLE table_1289860_2 (hometown VARCHAR, candidate VARCHAR)
SELECT hometown FROM table_1289860_2 WHERE candidate = "Kristen Kirchner"
Name the league for conference finals
CREATE TABLE table_2553861_1 (league VARCHAR, playoffs VARCHAR)
SELECT league FROM table_2553861_1 WHERE playoffs = "Conference Finals"
What is the High points of charles oakley , kevin willis (11)?
CREATE TABLE table_name_55 (high_points VARCHAR, high_rebounds VARCHAR)
SELECT high_points FROM table_name_55 WHERE high_rebounds = "charles oakley , kevin willis (11)"
what is the maximum game where high points is mickaël gelabale (21)
CREATE TABLE table_11964154_9 (game INTEGER, high_points VARCHAR)
SELECT MAX(game) FROM table_11964154_9 WHERE high_points = "Mickaël Gelabale (21)"
Which Region has a Date of early september 1999?
CREATE TABLE table_name_67 (region VARCHAR, date VARCHAR)
SELECT region FROM table_name_67 WHERE date = "early september 1999"
What is Trial Start Date, when Candidate Name is PBT2?
CREATE TABLE table_name_89 (trial_start_date VARCHAR, candidate_name VARCHAR)
SELECT trial_start_date FROM table_name_89 WHERE candidate_name = "pbt2"
What is the Place of the Player with a Score of 68-73-76=217?
CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_86 WHERE score = 68 - 73 - 76 = 217
who did highest rebounds in the game with score w 105–88 (ot)
CREATE TABLE table_17190012_7 (high_rebounds VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_17190012_7 WHERE score = "W 105–88 (OT)"
What was the greatest number of Losses for the team that had 1427 Against and more than 5 Wins?
CREATE TABLE table_name_52 (losses INTEGER, against VARCHAR, wins VARCHAR)
SELECT MAX(losses) FROM table_name_52 WHERE against > 1427 AND wins > 5
What is the United States rank?
CREATE TABLE table_150343_3 (rank VARCHAR, country_territory VARCHAR)
SELECT COUNT(rank) FROM table_150343_3 WHERE country_territory = "United States"
During the Tournament in which Jiří Novák was absent(A) in 1995, absent(A) in 1997, and made it to the 3rd round (3R) in 2003, how did he do in 2006?
CREATE TABLE table_name_31 (Id VARCHAR)
SELECT 2006 FROM table_name_31 WHERE 1995 = "a" AND 1997 = "a" AND 2003 = "3r"
On how many days in October was the score 6-1?
CREATE TABLE table_27537870_3 (october VARCHAR, score VARCHAR)
SELECT COUNT(october) FROM table_27537870_3 WHERE score = "6-1"
What was the score when the opposition was West Coast in Wanganui?
CREATE TABLE table_26847237_1 (score VARCHAR, opposition VARCHAR, location VARCHAR)
SELECT score FROM table_26847237_1 WHERE opposition = "West Coast" AND location = "Wanganui"
Which station has a license in Fort Collins, Colorado?
CREATE TABLE table_1353096_2 (station VARCHAR, city_of_license_market VARCHAR)
SELECT station FROM table_1353096_2 WHERE city_of_license_market = "Fort Collins, Colorado"
What was the attendance during the game against Philadelphia?
CREATE TABLE table_name_45 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_name_45 WHERE team = "philadelphia"
For the team whose shirt sponsor is Krombacher, who is the team captain?
CREATE TABLE table_name_12 (team VARCHAR, shirt_sponsor VARCHAR)
SELECT team AS Captain FROM table_name_12 WHERE shirt_sponsor = "krombacher"
Name the zodiac for കന്നി
CREATE TABLE table_20354_7 (zodiac_sign VARCHAR, malayalam_name VARCHAR)
SELECT zodiac_sign FROM table_20354_7 WHERE malayalam_name = "കന്നി"
What did Steve Stricker score?
CREATE TABLE table_name_54 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_54 WHERE player = "steve stricker"
Which Partnering has a Score of 7–6 7 , 6–1?
CREATE TABLE table_name_11 (partnering VARCHAR, score VARCHAR)
SELECT partnering FROM table_name_11 WHERE score = "7–6 7 , 6–1"
Rutgers college holds what position?
CREATE TABLE table_name_32 (position VARCHAR, college VARCHAR)
SELECT position FROM table_name_32 WHERE college = "rutgers"
What was the fastest lap at the Mexican Grand Prix?
CREATE TABLE table_1137718_2 (fastest_lap VARCHAR, grand_prix VARCHAR)
SELECT fastest_lap FROM table_1137718_2 WHERE grand_prix = "Mexican grand_prix"
What is the highest points for the JBW chassis with a climax straight-4 engine, later than 1961?
CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, chassis VARCHAR, engine VARCHAR)
SELECT MAX(points) FROM table_name_53 WHERE chassis = "jbw" AND engine = "climax straight-4" AND year > 1961
What country was the prix uip ghent nominating festival?
CREATE TABLE table_name_49 (country VARCHAR, nominating_festival VARCHAR)
SELECT country FROM table_name_49 WHERE nominating_festival = "prix uip ghent"
what is distance for the 7th position?
CREATE TABLE table_25429986_1 (distance VARCHAR, position VARCHAR)
SELECT COUNT(distance) FROM table_25429986_1 WHERE position = "7th"
What are the years for the 250 model?
CREATE TABLE table_name_97 (years VARCHAR, model VARCHAR)
SELECT years FROM table_name_97 WHERE model = "250"
Which away team played at MCG?
CREATE TABLE table_name_55 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_55 WHERE venue = "mcg"
What is the 2011 value of the 2012 grand slam tournaments?
CREATE TABLE table_name_10 (Id VARCHAR)
SELECT 2011 FROM table_name_10 WHERE 2012 = "grand slam tournaments"
Which entrant before 1965 scored more than 0 point with the lotus 25 chassis?
CREATE TABLE table_name_23 (entrant VARCHAR, chassis VARCHAR, year VARCHAR, points VARCHAR)
SELECT entrant FROM table_name_23 WHERE year < 1965 AND points > 0 AND chassis = "lotus 25"
What was the surface for the opponent Roger Federer?
CREATE TABLE table_name_94 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_94 WHERE opponent = "roger federer"
What is the team they played on november 25?
CREATE TABLE table_27721131_6 (team VARCHAR, date VARCHAR)
SELECT team FROM table_27721131_6 WHERE date = "November 25"
What is the 1913 Class of the d32 LNER Class?
CREATE TABLE table_name_68 (lner_class VARCHAR)
SELECT 1913 AS _class FROM table_name_68 WHERE lner_class = "d32"
in how many dates the game was 2
CREATE TABLE table_30049462_3 (date VARCHAR, game VARCHAR)
SELECT COUNT(date) FROM table_30049462_3 WHERE game = 2
What was the highest pick for a player from a school or club team of Arkansas?
CREATE TABLE table_name_9 (pick INTEGER, school_club_team VARCHAR)
SELECT MAX(pick) FROM table_name_9 WHERE school_club_team = "arkansas"
Which player from Scotland has a To Par score of +7?
CREATE TABLE table_name_50 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_50 WHERE to_par = "+7" AND country = "scotland"
What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79?
CREATE TABLE table_1618358_1 (stamp_duty_reserve_tax VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR)
SELECT stamp_duty_reserve_tax FROM table_1618358_1 WHERE over_total_tax_revenue__in__percentage_ = "0.79"
What year was the aircraft retired when it was replaced by 737-300s?
CREATE TABLE table_name_91 (retired VARCHAR, notes VARCHAR)
SELECT retired FROM table_name_91 WHERE notes = "replaced by 737-300s"
What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent?
CREATE TABLE Tourist_Attractions (Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE Locations (Location_ID VARCHAR, Address VARCHAR)
SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = "660 Shea Crescent" OR T2.How_to_Get_There = "walk"
Who was the Broadway equivalent of Sharon D. Clarke's character?
CREATE TABLE table_22460085_1 (original_broadway_performer VARCHAR, original_west_end_performer VARCHAR)
SELECT original_broadway_performer FROM table_22460085_1 WHERE original_west_end_performer = "Sharon D. Clarke"
what's the played status when the club was banwen rfc?
CREATE TABLE table_name_88 (played VARCHAR, club VARCHAR)
SELECT played FROM table_name_88 WHERE club = "banwen rfc"
What outcome occurs on a hard surface with a score of 4–6, 6–7(3)?
CREATE TABLE table_name_3 (outcome VARCHAR, surface VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_3 WHERE surface = "hard" AND score = "4–6, 6–7(3)"
Name the to par for score of 74-74-74-71=293
CREATE TABLE table_name_64 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_64 WHERE score = 74 - 74 - 74 - 71 = 293
What round did the MWEHL team, Detroit Honeybaked, and the NHL Team Columbus Blue Jackets play?
CREATE TABLE table_name_9 (round VARCHAR, mwehl_team VARCHAR, nhl_team VARCHAR)
SELECT round FROM table_name_9 WHERE mwehl_team = "detroit honeybaked" AND nhl_team = "columbus blue jackets"
What is the id and last name of the driver who participated in the most races after 2010?
CREATE TABLE drivers (driverid VARCHAR, surname VARCHAR); CREATE TABLE races (raceid VARCHAR, year INTEGER); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR)
SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid WHERE T3.year > 2010 GROUP BY T1.driverid ORDER BY COUNT(*) DESC LIMIT 1
What is the Competition name of the competition that ended with a score of 2-1?
CREATE TABLE table_name_74 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_74 WHERE score = "2-1"
What is the record when jameer nelson (19) had the high points?
CREATE TABLE table_27700530_10 (record VARCHAR, high_points VARCHAR)
SELECT record FROM table_27700530_10 WHERE high_points = "Jameer Nelson (19)"
How many episodes are written by Lew Schneider?
CREATE TABLE table_25356350_2 (series__number VARCHAR, written_by VARCHAR)
SELECT COUNT(series__number) FROM table_25356350_2 WHERE written_by = "Lew Schneider"
Name the umbr of creators for flash of two worlds
CREATE TABLE table_19534677_1 (creators VARCHAR, volume_title VARCHAR)
SELECT COUNT(creators) FROM table_19534677_1 WHERE volume_title = "Flash of Two Worlds"
What is the 6th dail share of votes?
CREATE TABLE table_name_67 (share_of_votes VARCHAR, dáil VARCHAR)
SELECT share_of_votes FROM table_name_67 WHERE dáil = "6th"
What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9?
CREATE TABLE table_name_33 (silver INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT MIN(silver) FROM table_name_33 WHERE bronze < 6 AND total = 3 AND rank < 9
What's the lowest Year with a Venue of casablanca and has the Time of 20.63w?
CREATE TABLE table_name_71 (year INTEGER, venue VARCHAR, time VARCHAR)
SELECT MIN(year) FROM table_name_71 WHERE venue = "casablanca" AND time = "20.63w"
Which downhill has 7 overalls?
CREATE TABLE table_name_90 (downhill VARCHAR, overall VARCHAR)
SELECT downhill FROM table_name_90 WHERE overall = "7"
What is the ANSI code of the township where the area is 35.737 square miles?
CREATE TABLE table_18600760_18 (ansi_code INTEGER, land___sqmi__ VARCHAR)
SELECT MIN(ansi_code) FROM table_18600760_18 WHERE land___sqmi__ = "35.737"
What type of proposal is measure number 3?
CREATE TABLE table_256286_21 (type VARCHAR, meas_num VARCHAR)
SELECT type FROM table_256286_21 WHERE meas_num = 3
In 1962, what was the total number of points, when the Engine was Ferrari v6?
CREATE TABLE table_name_97 (points VARCHAR, engine VARCHAR, year VARCHAR)
SELECT COUNT(points) FROM table_name_97 WHERE engine = "ferrari v6" AND year = 1962
What week did Cleveland Browns played?
CREATE TABLE table_name_31 (week INTEGER, opponent VARCHAR)
SELECT AVG(week) FROM table_name_31 WHERE opponent = "cleveland browns"
Name the date for margalita chakhnashvili salome devidze
CREATE TABLE table_16893837_4 (date VARCHAR, opponents VARCHAR)
SELECT date FROM table_16893837_4 WHERE opponents = "Margalita Chakhnashvili Salome Devidze"
Who did the cubs play on june 3?
CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_60 WHERE date = "june 3"
Who won bronze in 1994?
CREATE TABLE table_name_72 (bronze VARCHAR, year VARCHAR)
SELECT bronze FROM table_name_72 WHERE year = 1994
What is the Runner-up with the tier was tier ii, and a Winner of gigi fernández natalia zvereva 5–7, 6–1, 6–4?
CREATE TABLE table_name_43 (runner_up VARCHAR, tier VARCHAR, winner VARCHAR)
SELECT runner_up FROM table_name_43 WHERE tier = "tier ii" AND winner = "gigi fernández natalia zvereva 5–7, 6–1, 6–4"
What is the character for 2005?
CREATE TABLE table_name_43 (character VARCHAR, year VARCHAR)
SELECT character FROM table_name_43 WHERE year = 2005
How many were penanced with 0 executions in effigie for a total of 21?
CREATE TABLE table_name_65 (penanced VARCHAR, executions_in_effigie VARCHAR, total VARCHAR)
SELECT penanced FROM table_name_65 WHERE executions_in_effigie = "0" AND total = "21"
What Venue has a Position of 12th (sf)?
CREATE TABLE table_name_97 (venue VARCHAR, position VARCHAR)
SELECT venue FROM table_name_97 WHERE position = "12th (sf)"
When 12th is the final placing what is the wins?
CREATE TABLE table_26815674_1 (wins VARCHAR, final_placing VARCHAR)
SELECT wins FROM table_26815674_1 WHERE final_placing = "12th"
What is the Home Team Score at Windy Hill?
CREATE TABLE table_name_64 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_64 WHERE venue = "windy hill"
What is the date southampton was the away team?
CREATE TABLE table_name_52 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_52 WHERE away_team = "southampton"
For years before 1996, having a rank of 3rd in the 125cc class, what is the sum of the points?
CREATE TABLE table_name_65 (points INTEGER, year VARCHAR, class VARCHAR, rank VARCHAR)
SELECT SUM(points) FROM table_name_65 WHERE class = "125cc" AND rank = "3rd" AND year < 1996
What was the time of the driver with a finish position of 19?
CREATE TABLE table_name_13 (time_retired VARCHAR, fin_pos VARCHAR)
SELECT time_retired FROM table_name_13 WHERE fin_pos = "19"
What is the name of the stadium which held the most events?
CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (stadium_id VARCHAR)
SELECT t1.name FROM stadium AS t1 JOIN event AS t2 ON t1.id = t2.stadium_id GROUP BY t2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1
Name the position in table for 1 july 2008 when manner of departure is resigned
CREATE TABLE table_17039232_3 (position_in_table VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR)
SELECT position_in_table FROM table_17039232_3 WHERE date_of_appointment = "1 July 2008" AND manner_of_departure = "Resigned"
If the vote percentage is 2.111%, what was the minimum rank?
CREATE TABLE table_19744915_17 (rank INTEGER, vote_percentage VARCHAR)
SELECT MIN(rank) FROM table_19744915_17 WHERE vote_percentage = "2.111%"
What is the highest floors with rank greater than 1 in Conrad Dubai?
CREATE TABLE table_name_96 (floors INTEGER, rank VARCHAR, name VARCHAR)
SELECT MAX(floors) FROM table_name_96 WHERE rank > 1 AND name = "conrad dubai"
What is listed for the Elevator that has the Elector of Gerardo?
CREATE TABLE table_name_10 (elevator VARCHAR, elector VARCHAR)
SELECT elevator FROM table_name_10 WHERE elector = "gerardo"
which Pada 4 has a Pada 2 of थ tha?
CREATE TABLE table_name_32 (pada_4 VARCHAR, pada_2 VARCHAR)
SELECT pada_4 FROM table_name_32 WHERE pada_2 = "थ tha"
Which Team has a Head Coach of michalis pamboris?
CREATE TABLE table_name_60 (team VARCHAR, head_coach VARCHAR)
SELECT team FROM table_name_60 WHERE head_coach = "michalis pamboris"
What is the To par of the Player who won in 1936?
CREATE TABLE table_name_45 (to_par VARCHAR, year_s__won VARCHAR)
SELECT to_par FROM table_name_45 WHERE year_s__won = "1936"
Name the home for 21-17
CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR)
SELECT home FROM table_name_93 WHERE score = "21-17"
When was Mount Tahoma established?
CREATE TABLE table_1414702_3 (established INTEGER, high_school VARCHAR)
SELECT MAX(established) FROM table_1414702_3 WHERE high_school = "Mount Tahoma"