question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
how many notes are form the date (from) 14 march 1910?
CREATE TABLE table_12562214_1 (notes VARCHAR, date__from_ VARCHAR)
SELECT COUNT(notes) FROM table_12562214_1 WHERE date__from_ = "14 March 1910"
What was the opponent of the game when the reocrd was 0-12?
CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_94 WHERE record = "0-12"
For a long scale of one million, what is the power notion?
CREATE TABLE table_name_35 (power_notation VARCHAR, long_scale VARCHAR)
SELECT power_notation FROM table_name_35 WHERE long_scale = "one million"
How many laps for grid 12?
CREATE TABLE table_name_50 (laps VARCHAR, grid VARCHAR)
SELECT laps FROM table_name_50 WHERE grid = 12
Which Water (sqmi) has a Township of yorktown, and a GEO ID smaller than 3802187940?
CREATE TABLE table_name_22 (water__sqmi_ INTEGER, township VARCHAR, geo_id VARCHAR)
SELECT MIN(water__sqmi_) FROM table_name_22 WHERE township = "yorktown" AND geo_id < 3802187940
What country placed t6 with player Vijay Singh?
CREATE TABLE table_name_91 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_91 WHERE place = "t6" AND player = "vijay singh"
What is the Opponents in Final in the match with a Score in Final of 4–6, 1–6 played on Clay Surface?
CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR)
SELECT opponents_in_final FROM table_name_48 WHERE score_in_final = "4–6, 1–6" AND surface = "clay"
What number of Yards has 32 as an In 20?
CREATE TABLE table_name_90 (yards VARCHAR, in_20 VARCHAR)
SELECT COUNT(yards) FROM table_name_90 WHERE in_20 = 32
In what Round is the Position Goaltender?
CREATE TABLE table_name_24 (round VARCHAR, position VARCHAR)
SELECT round FROM table_name_24 WHERE position = "goaltender"
What was the result of the game with the attendance of 45,320?
CREATE TABLE table_name_31 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_31 WHERE attendance = "45,320"
Which region had a release format of CD Maxi?
CREATE TABLE table_name_8 (region VARCHAR, format VARCHAR)
SELECT region FROM table_name_8 WHERE format = "cd maxi"
What is the Last 10 Meetings when Norman is ou, 18-6?
CREATE TABLE table_name_48 (last_10_meetings VARCHAR, at_norman VARCHAR)
SELECT last_10_meetings FROM table_name_48 WHERE at_norman = "ou, 18-6"
What is the method of the match with a 3-4 record?
CREATE TABLE table_name_69 (method VARCHAR, record VARCHAR)
SELECT method FROM table_name_69 WHERE record = "3-4"
How many games or records were played on the Miami Orange Bowl?
CREATE TABLE table_17386066_2 (record VARCHAR, stadium VARCHAR)
SELECT COUNT(record) FROM table_17386066_2 WHERE stadium = "Miami Orange Bowl"
What time has jules croft as the rider?
CREATE TABLE table_name_15 (time VARCHAR, rider VARCHAR)
SELECT time FROM table_name_15 WHERE rider = "jules croft"
What was the South Asian population in Nova Scotia in 2001?
CREATE TABLE table_1717824_1 (south_asians_2001 VARCHAR, province VARCHAR)
SELECT south_asians_2001 FROM table_1717824_1 WHERE province = "Nova Scotia"
How many people have a vl type in a region greater than 3?
CREATE TABLE table_name_49 (population INTEGER, type VARCHAR, region VARCHAR)
SELECT SUM(population) FROM table_name_49 WHERE type = "vl" AND region > 3
What club/province for the player with over 18 caps and plays the fly-half?
CREATE TABLE table_name_28 (club_province VARCHAR, caps VARCHAR, position VARCHAR)
SELECT club_province FROM table_name_28 WHERE caps > 18 AND position = "fly-half"
Name the episodes when region 1 is september 19, 2006
CREATE TABLE table_14562722_2 (episodes VARCHAR, region_1 VARCHAR)
SELECT episodes FROM table_14562722_2 WHERE region_1 = "September 19, 2006"
what tournament has 2000 of 3r?
CREATE TABLE table_name_35 (tournament VARCHAR)
SELECT tournament FROM table_name_35 WHERE 2000 = "3r"
What was the 1st leg that had a 1st get home for the Boca Juniors?
CREATE TABLE table_name_82 (home__1st_leg_ VARCHAR)
SELECT 1 AS st_leg FROM table_name_82 WHERE home__1st_leg_ = "boca juniors"
Which Opponent is on mar 10?
CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_63 WHERE date = "mar 10"
What was the score when the opponent was Detroit Pistons?
CREATE TABLE table_name_46 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_46 WHERE opponent = "detroit pistons"
What was the score on March 23?
CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_2 WHERE date = "march 23"
Which aircraft Weapon Systems Officer Capt Charles B. Debellevue belongs on?
CREATE TABLE table_name_27 (aircraft VARCHAR, weapon_systems_officer VARCHAR)
SELECT aircraft FROM table_name_27 WHERE weapon_systems_officer = "capt charles b. debellevue"
How many episodes have been directed and written by Darrick Bachman and Brett Varon?
CREATE TABLE table_14035132_3 (directed_by VARCHAR, written_by VARCHAR)
SELECT COUNT(directed_by) FROM table_14035132_3 WHERE written_by = "Darrick Bachman and Brett Varon"
How many attended tie number 1?
CREATE TABLE table_name_47 (attendance INTEGER, tie_no VARCHAR)
SELECT SUM(attendance) FROM table_name_47 WHERE tie_no = "1"
Name the series for april 30
CREATE TABLE table_name_2 (series VARCHAR, date VARCHAR)
SELECT series FROM table_name_2 WHERE date = "april 30"
List the ranks of all dismissals with a value of 4
CREATE TABLE table_13337302_16 (rank VARCHAR, dismissals VARCHAR)
SELECT rank FROM table_13337302_16 WHERE dismissals = 4
What's the total number of gold where the total is less than 23 and the rank is over 10?
CREATE TABLE table_name_96 (gold VARCHAR, total VARCHAR, rank VARCHAR)
SELECT COUNT(gold) FROM table_name_96 WHERE total < 23 AND rank > 10
Who was the opponent when the result was w24-7?
CREATE TABLE table_name_1 (opponent_number VARCHAR, result VARCHAR)
SELECT opponent_number FROM table_name_1 WHERE result = "w24-7"
What is the place of the song 'Never Change'?
CREATE TABLE table_name_79 (place INTEGER, song VARCHAR)
SELECT SUM(place) FROM table_name_79 WHERE song = "never change"
What is the rank of london borough in southwark?
CREATE TABLE table_19149550_7 (rank VARCHAR, london_borough VARCHAR)
SELECT rank FROM table_19149550_7 WHERE london_borough = "Southwark"
What chassis did the BRM V8 engine have?
CREATE TABLE table_name_92 (chassis VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_92 WHERE engine = "brm v8"
What was the Overall number for the player with a position of C and a round greater than 7?
CREATE TABLE table_name_58 (overall INTEGER, round VARCHAR, position VARCHAR)
SELECT SUM(overall) FROM table_name_58 WHERE round > 7 AND position = "c"
Which kit maker does Aston Villa use?
CREATE TABLE table_name_42 (kit_maker VARCHAR, team VARCHAR)
SELECT kit_maker FROM table_name_42 WHERE team = "aston villa"
What's the circuit that had an event cancelled?
CREATE TABLE table_name_11 (circuit VARCHAR, winner VARCHAR)
SELECT circuit FROM table_name_11 WHERE winner = "event cancelled"
Who is the opponent in the Tournament of Lahore final?
CREATE TABLE table_name_90 (opponent_in_the_final VARCHAR, tournament VARCHAR)
SELECT opponent_in_the_final FROM table_name_90 WHERE tournament = "lahore"
Name the award won for category of choice tv villain in years after 2008
CREATE TABLE table_name_94 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)
SELECT award FROM table_name_94 WHERE result = "won" AND category = "choice tv villain" AND year > 2008
Name the number of players for field goals being 25 and blocks is 6
CREATE TABLE table_23184448_4 (player VARCHAR, field_goals VARCHAR, blocks VARCHAR)
SELECT COUNT(player) FROM table_23184448_4 WHERE field_goals = 25 AND blocks = 6
What was the highest average point rating for a modern suspense show with 21 episodes?
CREATE TABLE table_name_29 (highest_average_point_ratings INTEGER, genre VARCHAR, number_of_episodes VARCHAR)
SELECT SUM(highest_average_point_ratings) FROM table_name_29 WHERE genre = "modern suspense" AND number_of_episodes = 21
Which release had 6 DVDs?
CREATE TABLE table_25721_4 (release VARCHAR, _number_of_discs VARCHAR)
SELECT release FROM table_25721_4 WHERE _number_of_discs = 6
What are the region names affected by the storm with a number of deaths of least 10?
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE storm (storm_id VARCHAR, number_deaths VARCHAR)
SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T3.number_deaths >= 10
What is the engine of the goodyear tire and Herdez as a sponsor?
CREATE TABLE table_name_16 (engine VARCHAR, tire VARCHAR, sponsor VARCHAR)
SELECT engine FROM table_name_16 WHERE tire = "goodyear" AND sponsor = "herdez"
Which team has a Game of 49?
CREATE TABLE table_name_18 (team VARCHAR, game VARCHAR)
SELECT team FROM table_name_18 WHERE game = 49
What is the week number for the date of September 14, 1980?
CREATE TABLE table_name_96 (week INTEGER, date VARCHAR)
SELECT MAX(week) FROM table_name_96 WHERE date = "september 14, 1980"
What type is locomotive CTN 1364?
CREATE TABLE table_name_29 (type VARCHAR, locomotive_number VARCHAR)
SELECT type FROM table_name_29 WHERE locomotive_number = "ctn 1364"
Which elementary schools list Cort Monroe as the principal from 2013 to 2014?
CREATE TABLE table_14254419_3 (elementary_schools VARCHAR, principal__2013_2014_ VARCHAR)
SELECT elementary_schools FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe"
What is the average draw number of an entrant with a time of 22:29?
CREATE TABLE table_name_29 (draw INTEGER, time VARCHAR)
SELECT AVG(draw) FROM table_name_29 WHERE time = "22:29"
Name the nec record for 11th standing
CREATE TABLE table_20774360_2 (nec_record VARCHAR, standing VARCHAR)
SELECT nec_record FROM table_20774360_2 WHERE standing = "11th"
Where did Jack Badcock play?
CREATE TABLE table_name_22 (venue VARCHAR, player VARCHAR)
SELECT venue FROM table_name_22 WHERE player = "jack badcock"
What Career has a Super G of 5, and a Combined of 6?
CREATE TABLE table_name_61 (career VARCHAR, super_g VARCHAR, combined VARCHAR)
SELECT career FROM table_name_61 WHERE super_g = "5" AND combined = "6"
Which position is player bernie doan?
CREATE TABLE table_22402438_7 (position VARCHAR, player VARCHAR)
SELECT position FROM table_22402438_7 WHERE player = "Bernie Doan"
What is Spandau 04 Player Jens Pohlmann's Pos.?
CREATE TABLE table_name_1 (pos VARCHAR, club VARCHAR, name VARCHAR)
SELECT pos FROM table_name_1 WHERE club = "spandau 04" AND name = "jens pohlmann"
What is the lowest value for Events, when the value for Top-5 is greater than 1?
CREATE TABLE table_name_56 (events INTEGER, top_5 INTEGER)
SELECT MIN(events) FROM table_name_56 WHERE top_5 > 1
How much money did Crafty Bear wins with a dist of 1 mile?
CREATE TABLE table_name_30 (purse___us$__ VARCHAR, dist VARCHAR, winning_horse VARCHAR)
SELECT purse___us$__ FROM table_name_30 WHERE dist = "1 mile" AND winning_horse = "crafty bear"
What is Ben-Tahir when Bello is 51?
CREATE TABLE table_11447995_2 (ben_tahir VARCHAR, bello VARCHAR)
SELECT ben_tahir FROM table_11447995_2 WHERE bello = "51"
From which party is the incumbent who was first elected to office in 1990?
CREATE TABLE table_name_8 (party VARCHAR, first_elected VARCHAR)
SELECT party FROM table_name_8 WHERE first_elected = 1990
Who is the opponent on June 6?
CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_23 WHERE date = "june 6"
When did the venue of round 3 happen?
CREATE TABLE table_name_23 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_23 WHERE venue = "round 3"
what is the school with the location of alexandria?
CREATE TABLE table_name_58 (school VARCHAR, location VARCHAR)
SELECT school FROM table_name_58 WHERE location = "alexandria"
Which title had Muriel Evans as leading lady?
CREATE TABLE table_name_28 (title VARCHAR, leading_lady VARCHAR)
SELECT title FROM table_name_28 WHERE leading_lady = "muriel evans"
What are the first name and last name of Linda Smith's advisor?
CREATE TABLE Student (advisor VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR)
SELECT T1.fname, T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor WHERE T2.fname = "Linda" AND T2.lname = "Smith"
What was the score for a goal of 6?
CREATE TABLE table_name_57 (score VARCHAR, goal VARCHAR)
SELECT score FROM table_name_57 WHERE goal = 6
What day in January was the game greater than 49 and had @ Montreal Canadiens as opponents?
CREATE TABLE table_name_70 (january INTEGER, opponent VARCHAR, game VARCHAR)
SELECT SUM(january) FROM table_name_70 WHERE opponent = "@ montreal canadiens" AND game > 49
What is the margin when periyakulam is the constituency?
CREATE TABLE table_22754491_1 (margin VARCHAR, constituency VARCHAR)
SELECT margin FROM table_22754491_1 WHERE constituency = "Periyakulam"
What are the members listed with the sorority classification
CREATE TABLE table_10054296_1 (member VARCHAR, classification VARCHAR)
SELECT member FROM table_10054296_1 WHERE classification = "Sorority"
Notes of bbc radio 3, and a Title of carnival involves which director?
CREATE TABLE table_name_74 (director VARCHAR, notes VARCHAR, title VARCHAR)
SELECT director FROM table_name_74 WHERE notes = "bbc radio 3" AND title = "carnival"
Name the D 41 which has a D 43 of r 18
CREATE TABLE table_name_45 (d_41 VARCHAR, d_43 VARCHAR)
SELECT d_41 FROM table_name_45 WHERE d_43 = "r 18"
What was the total number for the PIW Class' The Adventures Of... and had a score bigger than 94.6?
CREATE TABLE table_name_56 (year VARCHAR, score VARCHAR, class VARCHAR, program_title VARCHAR)
SELECT COUNT(year) FROM table_name_56 WHERE class = "piw" AND program_title = "the adventures of..." AND score > 94.6
What network is working in 2014?
CREATE TABLE table_name_19 (network VARCHAR, year VARCHAR)
SELECT network FROM table_name_19 WHERE year = 2014
Who was Melbourne's away team opponent?
CREATE TABLE table_name_48 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_48 WHERE home_team = "melbourne"
What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold?
CREATE TABLE table_name_55 (bronze VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT bronze FROM table_name_55 WHERE silver = "tatiana ryabkina" AND gold = "anne margrethe hausken"
What is the score on April 5?
CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_64 WHERE date = "april 5"
What is the most number of rounds that the Team from RBR Enterprises and having a Chevrolet Silverado ran?
CREATE TABLE table_name_40 (rounds INTEGER, truck_s_ VARCHAR, team VARCHAR)
SELECT MAX(rounds) FROM table_name_40 WHERE truck_s_ = "chevrolet silverado" AND team = "rbr enterprises"
What was the value in 2011 for United States?
CREATE TABLE table_name_95 (country VARCHAR)
SELECT 2011 FROM table_name_95 WHERE country = "united states"
Who was the Locomotive superintendent has a NER class of d45?
CREATE TABLE table_name_45 (locomotive_superintendent VARCHAR, lner_class VARCHAR)
SELECT locomotive_superintendent FROM table_name_45 WHERE lner_class = "d45"
What was the venue when David Jacobs was the host?
CREATE TABLE table_name_30 (venue VARCHAR, semi_final_heat_host VARCHAR)
SELECT venue FROM table_name_30 WHERE semi_final_heat_host = "david jacobs"
Name the result for cowboys points being 23
CREATE TABLE table_22815259_1 (result VARCHAR, cowboys_points VARCHAR)
SELECT COUNT(result) FROM table_22815259_1 WHERE cowboys_points = 23
What is the minimum number of poles?
CREATE TABLE table_3005915_3 (poles INTEGER)
SELECT MIN(poles) FROM table_3005915_3
What game in the season does this list start?
CREATE TABLE table_27713030_7 (game INTEGER)
SELECT MIN(game) FROM table_27713030_7
with a share of 44.2% and 77 seats, what is the greatest seat total?
CREATE TABLE table_name_82 (total_seats INTEGER, seats VARCHAR, share_of_votes VARCHAR)
SELECT MAX(total_seats) FROM table_name_82 WHERE seats = 77 AND share_of_votes = "44.2%"
Frequency (MHz) that has a Call letters of krmd-fm has what sum?
CREATE TABLE table_name_99 (frequency__mhz_ INTEGER, call_letters VARCHAR)
SELECT SUM(frequency__mhz_) FROM table_name_99 WHERE call_letters = "krmd-fm"
Which Engine has a Team of Chesterfield Racing and include a Chassis of March 761?
CREATE TABLE table_name_51 (engine VARCHAR, team VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_51 WHERE team = "chesterfield racing" AND chassis = "march 761"
What was the surface where the opponent was Nathalie Dechy Meilen Tu?
CREATE TABLE table_name_63 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_name_63 WHERE opponent_in_the_final = "nathalie dechy meilen tu"
Name the number of δs ‡ /cal mol −1 k −1 for butadiene being 1,2-dimethylene-cyclohexane
CREATE TABLE table_2068719_1 (δs_ VARCHAR, _butadiene VARCHAR)
SELECT COUNT(δs_) AS ‡__cal_mol_−1_k_−1 FROM table_2068719_1 WHERE _butadiene = "1,2-dimethylene-cyclohexane"
What is the Nickname in the Competition of 1982-1994?
CREATE TABLE table_name_76 (nickname VARCHAR, years_in_competition VARCHAR)
SELECT nickname FROM table_name_76 WHERE years_in_competition = "1982-1994"
When total costs (2005) are $700,116, what is the cost per capita?
CREATE TABLE table_12340907_1 (cost_per_capita VARCHAR, total_costs__2005_ VARCHAR)
SELECT cost_per_capita FROM table_12340907_1 WHERE total_costs__2005_ = "$700,116"
What are the winnings for the season where the average finish is 11.1?
CREATE TABLE table_1637041_6 (winnings VARCHAR, avg_finish VARCHAR)
SELECT winnings FROM table_1637041_6 WHERE avg_finish = "11.1"
What are the highest number of games played that had game starts of 10, receptions of 6 and fumbles smaller than 3?
CREATE TABLE table_name_9 (games_played INTEGER, fumbles VARCHAR, receptions VARCHAR, games_started VARCHAR)
SELECT MAX(games_played) FROM table_name_9 WHERE receptions = 6 AND games_started = 10 AND fumbles < 3
Which Race has a Date of 31st may 1953, and an Event of grand prix de l'albigeois final?
CREATE TABLE table_name_20 (race VARCHAR, date VARCHAR, event VARCHAR)
SELECT race FROM table_name_20 WHERE date = "31st may 1953" AND event = "grand prix de l'albigeois final"
What was the date of Circuit Hockenheimring and the winning manufacturer being Mercedes-Benz?
CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR, winning_manufacturer VARCHAR)
SELECT date FROM table_name_34 WHERE circuit = "hockenheimring" AND winning_manufacturer = "mercedes-benz"
Who was the original artist of the First solo theme?
CREATE TABLE table_26250155_1 (original_artist VARCHAR, theme VARCHAR)
SELECT original_artist FROM table_26250155_1 WHERE theme = "First Solo"
Who was the winning team of the game that was contested on February 1, 2009?
CREATE TABLE table_10548224_1 (winning_team VARCHAR, date_contested VARCHAR)
SELECT winning_team FROM table_10548224_1 WHERE date_contested = "February 1, 2009"
What country placed t3 with a score of 70-65=135?
CREATE TABLE table_name_52 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_52 WHERE place = "t3" AND score = 70 - 65 = 135
What was the record of Game 43?
CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_68 WHERE game = 43
what is the name of the episode whose number of the series episode was 31?
CREATE TABLE table_228973_3 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_228973_3 WHERE no_in_series = 31
With 14 under the date, what is the tonnage of the ship?
CREATE TABLE table_name_19 (tonnage VARCHAR, date VARCHAR)
SELECT tonnage FROM table_name_19 WHERE date = "14"
What is the code of airport that has the highest number of flights?
CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR)
SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY COUNT(*) DESC LIMIT 1
How many different results for red (e8) does the model with parchment/saddle interior/roof have?
CREATE TABLE table_2066296_5 (red__e8_ VARCHAR, interior_roof VARCHAR)
SELECT COUNT(red__e8_) FROM table_2066296_5 WHERE interior_roof = "Parchment/saddle"