answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT outcome FROM table_name_57 WHERE score = "w/o"
What was the Outcome of the match with a Score of w/o?
CREATE TABLE table_name_57 (outcome VARCHAR, score VARCHAR)
SELECT season FROM table_name_6 WHERE position = "guard" AND school_club_team = "perpetual help"
What season was School/Club Team perpetual help in the guard position?
CREATE TABLE table_name_6 (season VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT SUM(podiums) FROM table_name_92 WHERE final_placing = "14th" AND season > 2008 AND races < 1
What is the sum of podiums of the teams with a final placing of 14th, seasons after 2008, and less than 1 races?
CREATE TABLE table_name_92 (podiums INTEGER, races VARCHAR, final_placing VARCHAR, season VARCHAR)
SELECT class FROM table_name_33 WHERE score = 95.1
What class had a score of 95.1?
CREATE TABLE table_name_33 (class VARCHAR, score VARCHAR)
SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari"
How many Grid has a Rider of ryuichi kiyonari?
CREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR)
SELECT incumbent FROM table_1341549_10 WHERE first_elected = "1954"
Name the incumbent for 1954
CREATE TABLE table_1341549_10 (incumbent VARCHAR, first_elected VARCHAR)
SELECT COUNT(year) FROM table_20142629_2 WHERE fairburn > 54.0
when fairburn is bigger than 54.0, how many years?
CREATE TABLE table_20142629_2 (year VARCHAR, fairburn INTEGER)
SELECT strongs_transliteration FROM table_1242447_1 WHERE hebrew_word = "יוֹחָנָן"
What is the strongs transliteration of the hebrew word יוֹחָנָן?
CREATE TABLE table_1242447_1 (strongs_transliteration VARCHAR, hebrew_word VARCHAR)
SELECT MIN(year) FROM table_name_46 WHERE team = "pramac d'antin ducati"
Question doesn't make sense since there is no team of pramac d'antin ducati
CREATE TABLE table_name_46 (year INTEGER, team VARCHAR)
SELECT MIN(cuchumuela_municipality) FROM table_2509112_3
What is the Cuchumela Municipality minimum?
CREATE TABLE table_2509112_3 (cuchumuela_municipality INTEGER)
SELECT sepal_width FROM table_10477224_1 WHERE species = "I.virginica" AND petal_length = "5.1"
Name the sepal width for i.virginica with petal length of 5.1
CREATE TABLE table_10477224_1 (sepal_width VARCHAR, species VARCHAR, petal_length VARCHAR)
SELECT region FROM table_name_68 WHERE format = "stereo lp" AND catalog = "amlh 66078"
What is the region for Catalog amlh 66078 in stereo lp format?
CREATE TABLE table_name_68 (region VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT COUNT(manner_of_departure) FROM table_27495117_3 WHERE outgoing_manager = "Antonio Gómez"
How many teams had an outgoing manager of antonio gómez
CREATE TABLE table_27495117_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
SELECT country FROM table_19001916_2 WHERE entities = "EBISA"
What are all the countries where the electric company Ebisa has a presence?
CREATE TABLE table_19001916_2 (country VARCHAR, entities VARCHAR)
SELECT MIN(poles) FROM table_1708050_3
Name the most poles
CREATE TABLE table_1708050_3 (poles INTEGER)
SELECT us_viewers__millions_ FROM table_22265225_1 WHERE no_in_season = "12"
How many million U.s. Viewers watched episode 12 in the season?
CREATE TABLE table_22265225_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
SELECT nationality FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)"
What is the nationality of the player from the University of Michigan (NCAA)?
CREATE TABLE table_1965650_11 (nationality VARCHAR, college_junior_club_team VARCHAR)
SELECT MAX(laps) FROM table_name_98 WHERE finish = "8"
What is the highest number of laps that also has a finish total of 8?
CREATE TABLE table_name_98 (laps INTEGER, finish VARCHAR)
SELECT reference FROM table_name_38 WHERE strain = "msb8"
what is the reference when the strain is msb8?
CREATE TABLE table_name_38 (reference VARCHAR, strain VARCHAR)
SELECT title FROM table_name_29 WHERE box_office = "$1,659,542"
What movie earned $1,659,542 at the box office?
CREATE TABLE table_name_29 (title VARCHAR, box_office VARCHAR)
SELECT category FROM table_name_95 WHERE result = "won" AND nominee = "bebe neuwirth"
What is Category, when Result is "Won", and when Nominee is "Bebe Neuwirth"?
CREATE TABLE table_name_95 (category VARCHAR, result VARCHAR, nominee VARCHAR)
SELECT studio_analysts FROM table_14902507_2 WHERE year = "2008-09"
Who are the studio analysts for the year 2008-09?
CREATE TABLE table_14902507_2 (studio_analysts VARCHAR, year VARCHAR)
SELECT 454 AS _gs_flx FROM table_127511_1 WHERE pacbio = "100-500 Mb"
What is 454 gs flx when pacbio is 100-500 mb?
CREATE TABLE table_127511_1 (pacbio VARCHAR)
SELECT result FROM table_name_35 WHERE date = "may 9, 2012"
What was the result of the game played on May 9, 2012?
CREATE TABLE table_name_35 (result VARCHAR, date VARCHAR)
SELECT release_date FROM table_name_8 WHERE title = "rabbit romeo"
What was the release date of Rabbit Romeo?
CREATE TABLE table_name_8 (release_date VARCHAR, title VARCHAR)
SELECT opponent FROM table_name_69 WHERE field = "mitchel athletic complex"
Name the opponent when the field is mitchel athletic complex
CREATE TABLE table_name_69 (opponent VARCHAR, field VARCHAR)
SELECT no FROM table_26202812_7 WHERE score_in_the_final = "7–6 (7–0) , 6–7 (5–7) , 4–6, 6–2, 6–7 (5–7)"
Which match was the final score 7–6 (7–0) , 6–7 (5–7) , 4–6, 6–2, 6–7 (5–7)?
CREATE TABLE table_26202812_7 (no VARCHAR, score_in_the_final VARCHAR)
SELECT date FROM table_name_43 WHERE away_team = "geelong"
What is the date of the game where Geelong was the away team?
CREATE TABLE table_name_43 (date VARCHAR, away_team VARCHAR)
SELECT AVG(game) FROM table_name_82 WHERE date = "january 9"
What is the mean game played on January 9?
CREATE TABLE table_name_82 (game INTEGER, date VARCHAR)
SELECT score FROM table_name_46 WHERE home_team = "maine road"
What is home team Maine Road's score?
CREATE TABLE table_name_46 (score VARCHAR, home_team VARCHAR)
SELECT acquisition_via FROM table_name_41 WHERE number < 22 AND season = "2002"
What is the Acquisition that has less than 22, in the 2002 season?
CREATE TABLE table_name_41 (acquisition_via VARCHAR, number VARCHAR, season VARCHAR)
SELECT COUNT(avg_g) FROM table_name_47 WHERE att_cmp_int = "117–215–6"
What was the aveg/g for the qb with the Att-Cmp-Int of 117–215–6?
CREATE TABLE table_name_47 (avg_g VARCHAR, att_cmp_int VARCHAR)
SELECT mixed_doubles FROM table_name_53 WHERE year = "2008"
Who won in mixed doubles in 2008?
CREATE TABLE table_name_53 (mixed_doubles VARCHAR, year VARCHAR)
SELECT match_report FROM table_name_13 WHERE venue = "stark's park" AND competition = "second division" AND date = "23 august 2008"
What is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition?
CREATE TABLE table_name_13 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
SELECT stumpings FROM table_11303072_9 WHERE player = "Paul Nixon"
How many stumpings has Paul Nixon in his career?
CREATE TABLE table_11303072_9 (stumpings VARCHAR, player VARCHAR)
SELECT birth_country FROM player GROUP BY birth_country ORDER BY COUNT(*) LIMIT 3
List three countries which are the origins of the least players.
CREATE TABLE player (birth_country VARCHAR)
SELECT tied FROM table_name_95 WHERE matches = "1" AND lost = "0" AND team = "durham"
Which Tied has Matches of 1, and a Lost of 0, and a Team of durham?
CREATE TABLE table_name_95 (tied VARCHAR, team VARCHAR, matches VARCHAR, lost VARCHAR)
SELECT written_by FROM table_27397948_2 WHERE no_in_season = 7
Who was the writer for season episode 7?
CREATE TABLE table_27397948_2 (written_by VARCHAR, no_in_season VARCHAR)
SELECT MAX(position) FROM table_name_51 WHERE goals_for = 52 AND goals_against > 70
Which Position has Goals For of 52, and Goals Against larger than 70?
CREATE TABLE table_name_51 (position INTEGER, goals_for VARCHAR, goals_against VARCHAR)
SELECT COUNT(clean_electric_grid_california__san_francisco_) FROM table_24620684_2 WHERE vehicle = "BMW ActiveE"
When bmw activee is the vehicle type how many clean electric grid california (san francisco) measurements are there?
CREATE TABLE table_24620684_2 (clean_electric_grid_california__san_francisco_ VARCHAR, vehicle VARCHAR)
SELECT club FROM table_name_47 WHERE losses < 10 AND goals_for < 55 AND wins = 13
What club has less than 10 losses, less than 55 goals, and 13 wins?
CREATE TABLE table_name_47 (club VARCHAR, wins VARCHAR, losses VARCHAR, goals_for VARCHAR)
SELECT location FROM table_name_19 WHERE record = "4-3"
Which location held the bout that led to a 4-3 record?
CREATE TABLE table_name_19 (location VARCHAR, record VARCHAR)
SELECT wins FROM table_name_44 WHERE points < 91 AND rank = "25th"
How many wins had less than 91 points in 25th rank?
CREATE TABLE table_name_44 (wins VARCHAR, points VARCHAR, rank VARCHAR)
SELECT constructor FROM table_28190534_1 WHERE no = 10
Name the constructor for number 10
CREATE TABLE table_28190534_1 (constructor VARCHAR, no VARCHAR)
SELECT time_retired FROM table_name_7 WHERE driver = "scott dixon"
What time or retired does Scott Dixon have?
CREATE TABLE table_name_7 (time_retired VARCHAR, driver VARCHAR)
SELECT installation_date FROM table_21821014_1 WHERE chapter = "Delta"
What is the installation date for the Delta Chapter?
CREATE TABLE table_21821014_1 (installation_date VARCHAR, chapter VARCHAR)
SELECT dates_active FROM table_name_78 WHERE storm_name = "irwin"
what date did the irwin storm take place
CREATE TABLE table_name_78 (dates_active VARCHAR, storm_name VARCHAR)
SELECT * FROM student_course_registrations WHERE NOT student_id IN (SELECT student_id FROM student_course_attendance)
What are all info of students who registered courses but not attended courses?
CREATE TABLE student_course_attendance (student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR)
SELECT date FROM table_name_28 WHERE record = "61-66"
On what date was the team's record 61-66?
CREATE TABLE table_name_28 (date VARCHAR, record VARCHAR)
SELECT date FROM table_17360840_4 WHERE record = "1-2-3"
State the dates of games with record 1-2-3
CREATE TABLE table_17360840_4 (date VARCHAR, record VARCHAR)
SELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = "Otkrytie Arena"
What is the maximum capacity of the Otkrytie Arena stadium?
CREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR)
SELECT 3 AS rd FROM table_1310499_1 WHERE input_splines = 26 AND tag_id = "1386-000-017"
What is the 3rd ratio for tag number 1386-000-017 and input splines of 26?
CREATE TABLE table_1310499_1 (input_splines VARCHAR, tag_id VARCHAR)
SELECT COUNT(period) FROM table_24565004_13 WHERE name = "Yvon Le Roux"
Name the total number of period for yvon le roux
CREATE TABLE table_24565004_13 (period VARCHAR, name VARCHAR)
SELECT COUNT(country) FROM table_28005160_2 WHERE city = "Ljungskile"
How many countries played in the city of ljungskile?
CREATE TABLE table_28005160_2 (country VARCHAR, city VARCHAR)
SELECT COUNT(losses) FROM table_name_45 WHERE name = "blair kiel"
How many Losses have a Name of blair kiel?
CREATE TABLE table_name_45 (losses VARCHAR, name VARCHAR)
SELECT date FROM table_name_30 WHERE venue = "candlestick park"
What date(s) was the game(s) at Candlestick Park?
CREATE TABLE table_name_30 (date VARCHAR, venue VARCHAR)
SELECT years FROM table_name_99 WHERE wins < 82 AND losses > 24
What years did the person coach who had less than 82 wins and more than 24 losses?
CREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT result FROM table_name_25 WHERE director = "elia schneider" AND film_title_used_in_nomination = "punto y raya"
What's the result for director elia schneider's punto y raya?
CREATE TABLE table_name_25 (result VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT MIN(population) FROM table_2374338_2 WHERE serbs = "73.53%"
What is the smallest value of population if the value for Serbs is 73.53%?
CREATE TABLE table_2374338_2 (population INTEGER, serbs VARCHAR)
SELECT player FROM table_name_89 WHERE team = "fort wayne pistons" AND position = "f"
Who is the player that plays position f from Fort Wayne Pistons?
CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, position VARCHAR)
SELECT visitor FROM table_name_63 WHERE decision = "osgood" AND date = "february 15"
Which Visitor has a Decision of osgood, and a Date of february 15?
CREATE TABLE table_name_63 (visitor VARCHAR, decision VARCHAR, date VARCHAR)
SELECT MAX(laps) FROM table_name_6 WHERE driver = "ayrton senna"
What is the most laps for Ayrton Senna?
CREATE TABLE table_name_6 (laps INTEGER, driver VARCHAR)
SELECT COUNT(location_s_) FROM table_19897294_10 WHERE family_families = "The Bailey Family"
In how many locations was the episode with the Bailey family filmed?
CREATE TABLE table_19897294_10 (location_s_ VARCHAR, family_families VARCHAR)
SELECT MAX(background) FROM table_1855342_5 WHERE ability_to_compromise = 13
When the ability to compromise is 13, what is background?
CREATE TABLE table_1855342_5 (background INTEGER, ability_to_compromise VARCHAR)
SELECT high_points FROM table_17323042_6 WHERE date = "December 17"
Who had the high points on December 17?
CREATE TABLE table_17323042_6 (high_points VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_84 WHERE result = "l 27-20"
Tell me the opponent that had a result of l 27-20
CREATE TABLE table_name_84 (opponent VARCHAR, result VARCHAR)
SELECT price___usd__ FROM table_12740151_8 WHERE l3 = "18 MB"
What's the price (in USD) of the model whose L3 is 18 mb?
CREATE TABLE table_12740151_8 (price___usd__ VARCHAR, l3 VARCHAR)
SELECT AVG(caps) FROM table_name_67 WHERE player = "ryota asano"
What is the mean number of caps for Ryota Asano?
CREATE TABLE table_name_67 (caps INTEGER, player VARCHAR)
SELECT SUM(grid) FROM table_name_86 WHERE constructor = "alfa romeo" AND driver = "toulo de graffenried"
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 AVG(losses) FROM table_name_58 WHERE played > 34
Which mean number of losses had a played number that was bigger than 34?
CREATE TABLE table_name_58 (losses INTEGER, played INTEGER)
SELECT dates FROM table_name_6 WHERE squadron = "squadron 33"
What are the dates of squadron 33?
CREATE TABLE table_name_6 (dates VARCHAR, squadron VARCHAR)
SELECT score_in_final FROM table_name_97 WHERE tournament = "$10,000 – tarakan , indonesia f2"
What is the score of the final in $10,000 – tarakan , indonesia f2?
CREATE TABLE table_name_97 (score_in_final VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_48 WHERE silbert = "10.0%"
What is the date of the poll with Silbert at 10.0%?
CREATE TABLE table_name_48 (date VARCHAR, silbert VARCHAR)
SELECT COUNT(high_points) FROM table_23274514_6 WHERE game = 35
How many people got high points in game 35?
CREATE TABLE table_23274514_6 (high_points VARCHAR, game VARCHAR)
SELECT league FROM table_2553861_1 WHERE year = 2000
Name the league for 2000
CREATE TABLE table_2553861_1 (league VARCHAR, year VARCHAR)
SELECT label FROM table_name_8 WHERE date = "june 6, 2005" AND region = "germany" AND format = "cd"
What is the Label of the CD released in Germany on June 6, 2005?
CREATE TABLE table_name_8 (label VARCHAR, format VARCHAR, date VARCHAR, region VARCHAR)
SELECT date FROM table_name_86 WHERE result = "lost" AND competition = "friendly" AND score = "1-2"
What date has lost as the result and a competition of friendly with 1-2 as the score?
CREATE TABLE table_name_86 (date VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
SELECT SUM(prominence__m_) FROM table_name_88 WHERE peak = "moussa ali terara"
What is the sum of the prominence in m of moussa ali terara peak?
CREATE TABLE table_name_88 (prominence__m_ INTEGER, peak VARCHAR)
SELECT SUM(grid) FROM table_name_25 WHERE time_retired = "engine" AND laps < 9
What is the number of the grid when there was a Time/Retired of engine and less than 9 laps?
CREATE TABLE table_name_25 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT fuel_propulsion FROM table_name_41 WHERE year = 1975 AND numbers__quantity_ordered_ = "4756-4788 (33 buses)"
For the year 1975, what is Propulsion, with a Number (quantity ordered) of 4756-4788 (33 buses)?
CREATE TABLE table_name_41 (fuel_propulsion VARCHAR, year VARCHAR, numbers__quantity_ordered_ VARCHAR)
SELECT total_receipts FROM table_name_83 WHERE candidate = "mike gravel"
How many receipts does Mike Gravel have?
CREATE TABLE table_name_83 (total_receipts VARCHAR, candidate VARCHAR)
SELECT 1996 FROM table_name_44 WHERE 1997 = "3r"
What's the 1996 when 1997 is 3R?
CREATE TABLE table_name_44 (Id VARCHAR)
SELECT closed FROM table_name_6 WHERE opened < 1877 AND distance_from_wellington = "2.44km"
Opened prior to 1877 only 2.44km from Wellington, when did this station close?
CREATE TABLE table_name_6 (closed VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)
SELECT producer_s_ FROM table_name_25 WHERE length = "4:16"
Who produced the track that is 4:16 long?
CREATE TABLE table_name_25 (producer_s_ VARCHAR, length VARCHAR)
SELECT MIN(against) FROM table_name_74 WHERE ballarat_fl = "lake wendouree" AND losses > 7
What is the lowest number of Against that Lake Wendouree had when they had more than 7 Losses?
CREATE TABLE table_name_74 (against INTEGER, ballarat_fl VARCHAR, losses VARCHAR)
SELECT result FROM table_name_13 WHERE year > 2008 AND event = "20 km" AND venue = "metz, france"
Wat was the result for the 20 km after 2008 when the venue was Metz, France?
CREATE TABLE table_name_13 (result VARCHAR, venue VARCHAR, year VARCHAR, event VARCHAR)
SELECT no FROM table_12962773_10 WHERE height = "2.10"
Which player number is 2.10 meters tall?
CREATE TABLE table_12962773_10 (no VARCHAR, height VARCHAR)
SELECT COUNT(wins) FROM table_name_85 WHERE games < 7 AND goals_for > 2 AND goals_against < 6 AND draws = 1
what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Against smaller than 6, and Draws of 1
CREATE TABLE table_name_85 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, games VARCHAR, goals_for VARCHAR)
SELECT play_by_play FROM table_name_13 WHERE studio_host = "ward cornell" AND colour_commentator_s_ = "bob goldham"
Who did the play-by-play with studio host Ward Cornell and color commentator Bob Goldham?
CREATE TABLE table_name_13 (play_by_play VARCHAR, studio_host VARCHAR, colour_commentator_s_ VARCHAR)
SELECT location FROM table_name_49 WHERE score = "match reports"
where has a Score of match reports?
CREATE TABLE table_name_49 (location VARCHAR, score VARCHAR)
SELECT COUNT(latin_america_caribbean) FROM table_19017269_5 WHERE asia = "4,894 (46.1%)"
what row is the population of Latin America/Caribbean when Asia is 4,894 (46.1%)?
CREATE TABLE table_19017269_5 (latin_america_caribbean VARCHAR, asia VARCHAR)
SELECT intra_molecular_structure FROM table_name_76 WHERE comparative = "no" AND name = "mitarget"
Which Intra-molecular structure has a Comparative of no, and a Name of mitarget?
CREATE TABLE table_name_76 (intra_molecular_structure VARCHAR, comparative VARCHAR, name VARCHAR)
SELECT COUNT(drumset_name) FROM table_2889300_6 WHERE drumstand__oftenoptional_ = "HD-1/3Stand" AND tom_tom_pads = "3xCloth-Head"
how many drumsets of drumstand (oftenoptional) with hd-1/3stand and tom-tom pads is 3xcloth-head are
CREATE TABLE table_2889300_6 (drumset_name VARCHAR, drumstand__oftenoptional_ VARCHAR, tom_tom_pads VARCHAR)
SELECT time_retired FROM table_name_61 WHERE driver = "ivan capelli"
What's the Time/Retired of Ivan Capelli?
CREATE TABLE table_name_61 (time_retired VARCHAR, driver VARCHAR)
SELECT source_model FROM table_name_97 WHERE release_date = "1992-04-06"
Which Source model has a Release date of 1992-04-06?
CREATE TABLE table_name_97 (source_model VARCHAR, release_date VARCHAR)
SELECT cover_model FROM table_name_77 WHERE centerfold_model = "jennifer walcott"
which Cover model has a Centerfold model of jennifer walcott?
CREATE TABLE table_name_77 (cover_model VARCHAR, centerfold_model VARCHAR)
SELECT nation FROM table_name_88 WHERE world_rank = "6" AND birth_date = "1971-07-31"
what is the nation when the world rank is 6 and the birth date is 1971-07-31?
CREATE TABLE table_name_88 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR)
SELECT notes FROM table_name_32 WHERE venue = "toronto, canada"
What were the notes in Toronto, Canada?
CREATE TABLE table_name_32 (notes VARCHAR, venue VARCHAR)
SELECT to_par FROM table_name_62 WHERE player = "chris riley"
What is the To Par for Player Chris Riley?
CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR)
SELECT nation FROM table_name_70 WHERE gold = "1" AND bronze = "1" AND total = 2
Which nation won 1 gold medal and 1 bronze, for a total of 2 medals?
CREATE TABLE table_name_70 (nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)