question
stringlengths
12
244
context
stringlengths
27
489
answer
dict
how many formats of books authored by day, martin martin day
CREATE TABLE table_20174050_24 (format VARCHAR, author VARCHAR)
{ "SQL_Query": "SELECT COUNT(format) FROM table_20174050_24 WHERE author = \"Day, Martin Martin Day\"" }
How many players were drafted from laval?
CREATE TABLE table_20170644_5 (cfl_team VARCHAR, college VARCHAR)
{ "SQL_Query": "SELECT COUNT(cfl_team) FROM table_20170644_5 WHERE college = \"Laval\"" }
What player went to montreal college?
CREATE TABLE table_20170644_5 (player VARCHAR, college VARCHAR)
{ "SQL_Query": "SELECT player FROM table_20170644_5 WHERE college = \"Montreal\"" }
What player(s) drafted by the hamilton tiger-cats?
CREATE TABLE table_20170644_5 (player VARCHAR, cfl_team VARCHAR)
{ "SQL_Query": "SELECT player FROM table_20170644_5 WHERE cfl_team = \"Hamilton Tiger-Cats\"" }
What position(s) drafted by the montreal alouettes?
CREATE TABLE table_20170644_5 (position VARCHAR, cfl_team VARCHAR)
{ "SQL_Query": "SELECT position FROM table_20170644_5 WHERE cfl_team = \"Montreal Alouettes\"" }
which company uses pinborough, sarah sarah pinborough?
CREATE TABLE table_20174050_23 (company VARCHAR, author VARCHAR)
{ "SQL_Query": "SELECT company FROM table_20174050_23 WHERE author = \"Pinborough, Sarah Sarah Pinborough\"" }
who the reader of title department x?
CREATE TABLE table_20174050_23 (reader VARCHAR, title VARCHAR)
{ "SQL_Query": "SELECT reader FROM table_20174050_23 WHERE title = \"Department X\"" }
how many notes were read by reader varma, idria indira varma?
CREATE TABLE table_20174050_23 (notes VARCHAR, reader VARCHAR)
{ "SQL_Query": "SELECT COUNT(notes) FROM table_20174050_23 WHERE reader = \"Varma, Idria Indira Varma\"" }
who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster?
CREATE TABLE table_20174050_23 (reader VARCHAR, format VARCHAR, author VARCHAR)
{ "SQL_Query": "SELECT reader FROM table_20174050_23 WHERE format = \"Download/CD\" AND author = \"Lidster, Joseph Joseph Lidster\"" }
Name the landesliga mitte for fc gundelfingen and vfl frohnlach
CREATE TABLE table_20181270_3 (landesliga_mitte VARCHAR, landesliga_süd VARCHAR, landesliga_nord VARCHAR)
{ "SQL_Query": "SELECT landesliga_mitte FROM table_20181270_3 WHERE landesliga_süd = \"FC Gundelfingen\" AND landesliga_nord = \"VfL Frohnlach\"" }
Name the landesliga nord for freier tus regensburg
CREATE TABLE table_20181270_3 (landesliga_nord VARCHAR, landesliga_mitte VARCHAR)
{ "SQL_Query": "SELECT landesliga_nord FROM table_20181270_3 WHERE landesliga_mitte = \"Freier TuS Regensburg\"" }
Name the landesliga nord for asv neumarkt
CREATE TABLE table_20181270_3 (landesliga_nord VARCHAR, landesliga_mitte VARCHAR)
{ "SQL_Query": "SELECT landesliga_nord FROM table_20181270_3 WHERE landesliga_mitte = \"ASV Neumarkt\"" }
Name the landesliga mitte sv türk gücü münchen
CREATE TABLE table_20181270_3 (landesliga_mitte VARCHAR, bayernliga VARCHAR)
{ "SQL_Query": "SELECT landesliga_mitte FROM table_20181270_3 WHERE bayernliga = \"SV Türk Gücü München\"" }
Name the landesliga sud for sg quelle fürth
CREATE TABLE table_20181270_3 (landesliga_süd VARCHAR, bayernliga VARCHAR)
{ "SQL_Query": "SELECT landesliga_süd FROM table_20181270_3 WHERE bayernliga = \"SG Quelle Fürth\"" }
What's the oil rig of the song that ended on 7th place?
CREATE TABLE table_20183474_1 (oil_rig VARCHAR, place VARCHAR)
{ "SQL_Query": "SELECT oil_rig FROM table_20183474_1 WHERE place = \"7th\"" }
What's the oil rig of the song with a draw number 9?
CREATE TABLE table_20183474_1 (oil_rig INTEGER, draw VARCHAR)
{ "SQL_Query": "SELECT MIN(oil_rig) FROM table_20183474_1 WHERE draw = 9" }
How many press jury points did the song by Frank Aleksandersen get?
CREATE TABLE table_20183474_1 (press_jury INTEGER, artist VARCHAR)
{ "SQL_Query": "SELECT MIN(press_jury) FROM table_20183474_1 WHERE artist = \"Frank Aleksandersen\"" }
How many points did the song with a draw number 3 get?
CREATE TABLE table_20183474_1 (total_points VARCHAR, draw VARCHAR)
{ "SQL_Query": "SELECT total_points FROM table_20183474_1 WHERE draw = 3" }
If the title is Paradox Lost and the reader is Briggs, Nicholas Nicholas Briggs, what are all of the notes?
CREATE TABLE table_20174050_7 (notes VARCHAR, reader VARCHAR, title VARCHAR)
{ "SQL_Query": "SELECT notes FROM table_20174050_7 WHERE reader = \"Briggs, Nicholas Nicholas Briggs\" AND title = \"Paradox Lost\"" }
If the title is The Way Through The Woods, what is the release date?
CREATE TABLE table_20174050_7 (release_date VARCHAR, title VARCHAR)
{ "SQL_Query": "SELECT release_date FROM table_20174050_7 WHERE title = \"The Way Through the Woods\"" }
If the reader is Syal, Meera Meera Syal, what was the release date?
CREATE TABLE table_20174050_7 (release_date VARCHAR, reader VARCHAR)
{ "SQL_Query": "SELECT release_date FROM table_20174050_7 WHERE reader = \"Syal, Meera Meera Syal\"" }
What is the most divisional titles won by a school with an enrollment of 30049?
CREATE TABLE table_20190834_1 (divisional_titles INTEGER, enrollment VARCHAR)
{ "SQL_Query": "SELECT MAX(divisional_titles) FROM table_20190834_1 WHERE enrollment = 30049" }
What is the maximum enrollment of the Sooners?
CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)
{ "SQL_Query": "SELECT MAX(enrollment) FROM table_20190834_1 WHERE team_name = \"Sooners\"" }
What is the minimum enrollment of the cyclones?
CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)
{ "SQL_Query": "SELECT MIN(enrollment) FROM table_20190834_1 WHERE team_name = \"Cyclones\"" }
What is the result of the book title firelands?
CREATE TABLE table_20193855_2 (result VARCHAR, book_title VARCHAR)
{ "SQL_Query": "SELECT result FROM table_20193855_2 WHERE book_title = \"Firelands\"" }
Which year is the book title the ordinary?
CREATE TABLE table_20193855_2 (year VARCHAR, book_title VARCHAR)
{ "SQL_Query": "SELECT year FROM table_20193855_2 WHERE book_title = \"The Ordinary\"" }
Who is the publisher of the book titled daughters of an emerald dusk?
CREATE TABLE table_20193855_2 (publisher VARCHAR, book_title VARCHAR)
{ "SQL_Query": "SELECT publisher FROM table_20193855_2 WHERE book_title = \"Daughters of an Emerald Dusk\"" }
In which year were the authors or editors Delia Sherman?
CREATE TABLE table_20193855_2 (year INTEGER, author_s__or_editor_s_ VARCHAR)
{ "SQL_Query": "SELECT MAX(year) FROM table_20193855_2 WHERE author_s__or_editor_s_ = \"Delia Sherman\"" }
How many authors or editors are there for the book title elf child?
CREATE TABLE table_20193855_2 (author_s__or_editor_s_ VARCHAR, book_title VARCHAR)
{ "SQL_Query": "SELECT COUNT(author_s__or_editor_s_) FROM table_20193855_2 WHERE book_title = \"Elf Child\"" }
What is the title of the book when the publisher is black car publishing?
CREATE TABLE table_20193855_2 (book_title VARCHAR, publisher VARCHAR)
{ "SQL_Query": "SELECT book_title FROM table_20193855_2 WHERE publisher = \"Black Car Publishing\"" }
What are the prizes when 1 is the number of winning tickets?
CREATE TABLE table_20195922_3 (prize__eur_ VARCHAR, number_of_winning_tickets VARCHAR)
{ "SQL_Query": "SELECT prize__eur_ FROM table_20195922_3 WHERE number_of_winning_tickets = 1" }
What are the number of winning tickets that have 180.00 as the prize (eur)?
CREATE TABLE table_20195922_3 (number_of_winning_tickets VARCHAR, prize__eur_ VARCHAR)
{ "SQL_Query": "SELECT number_of_winning_tickets FROM table_20195922_3 WHERE prize__eur_ = \"180.00\"" }
How many odd of winning have 6th as the division?
CREATE TABLE table_20195922_3 (odds_of_winning__1in_ VARCHAR, divisions VARCHAR)
{ "SQL_Query": "SELECT odds_of_winning__1in_ FROM table_20195922_3 WHERE divisions = \"6th\"" }
What is the prize (eur) for the 6th division?
CREATE TABLE table_20195922_3 (prize__eur_ VARCHAR, divisions VARCHAR)
{ "SQL_Query": "SELECT prize__eur_ FROM table_20195922_3 WHERE divisions = \"6th\"" }
Which divisions have 565 as the number of winning tickets?
CREATE TABLE table_20195922_3 (divisions VARCHAR, number_of_winning_tickets VARCHAR)
{ "SQL_Query": "SELECT divisions FROM table_20195922_3 WHERE number_of_winning_tickets = 565" }
what is гә гә [ɡʷ] when ҕь ҕь [ʁʲ/ɣʲ] is ҭә ҭә [tʷʰ]?
CREATE TABLE table_202365_2 (гә_гә_ VARCHAR, ɡʷ VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR)
{ "SQL_Query": "SELECT гә_гә_[ɡʷ] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = \"Ҭә ҭә [tʷʰ]\"" }
What is гә гә [ɡʷ] when ҕ ҕ [ʁ/ɣ] is ҿ ҿ [t͡ʂʼ]?
CREATE TABLE table_202365_2 (гә_гә_ VARCHAR, ɡʷ VARCHAR, ҕ_ҕ_ VARCHAR, ʁ_ɣ VARCHAR)
{ "SQL_Query": "SELECT гә_гә_[ɡʷ] FROM table_202365_2 WHERE ҕ_ҕ_[ʁ_ɣ] = \"Ҿ ҿ [t͡ʂʼ]\"" }
what is г г [ɡ] when а а [a] is ҕә ҕә [ʁʷ/ɣʷ]?
CREATE TABLE table_202365_2 (г_г_ VARCHAR, ɡ VARCHAR, а_а_ VARCHAR, a VARCHAR)
{ "SQL_Query": "SELECT г_г_[ɡ] FROM table_202365_2 WHERE а_а_[a] = \"Ҕә ҕә [ʁʷ/ɣʷ]\"" }
what is а а [a] when ҕь ҕь [ʁʲ/ɣʲ] is ш ш [ʂʃ]?
CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR)
{ "SQL_Query": "SELECT а_а_[a] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = \"Ш ш [ʂʃ]\"" }
what is а а [a] when гь гь [ɡʲ] is л л [l]?
CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR)
{ "SQL_Query": "SELECT а_а_[a] FROM table_202365_2 WHERE гь_гь_[ɡʲ] = \"Л л [l]\"" }
what is ҕь ҕь [ʁʲ/ɣʲ] when гь гь [ɡʲ] is ҷ ҷ [t͡ʃʼ]?
CREATE TABLE table_202365_2 (ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR)
{ "SQL_Query": "SELECT ҕь_ҕь_[ʁʲ_ɣʲ] FROM table_202365_2 WHERE гь_гь_[ɡʲ] = \"Ҷ ҷ [t͡ʃʼ]\"" }
Name the green for otaki
CREATE TABLE table_20217811_1 (green VARCHAR, electorate VARCHAR)
{ "SQL_Query": "SELECT green FROM table_20217811_1 WHERE electorate = \"Otaki\"" }
Name the national for rimutaka
CREATE TABLE table_20217811_1 (national VARCHAR, electorate VARCHAR)
{ "SQL_Query": "SELECT national FROM table_20217811_1 WHERE electorate = \"Rimutaka\"" }
Name the electoraate for united future being 4.47%
CREATE TABLE table_20217811_1 (electorate VARCHAR, united_future VARCHAR)
{ "SQL_Query": "SELECT electorate FROM table_20217811_1 WHERE united_future = \"4.47%\"" }
How many different popular vote counts were there for the candidate Rick Perry?
CREATE TABLE table_20246201_9 (popular_vote VARCHAR, candidate VARCHAR)
{ "SQL_Query": "SELECT COUNT(popular_vote) FROM table_20246201_9 WHERE candidate = \"Rick Perry\"" }
Which office has 1 New Hampshire as a third place state?
CREATE TABLE table_20246201_9 (office VARCHAR, states___third_place VARCHAR)
{ "SQL_Query": "SELECT office FROM table_20246201_9 WHERE states___third_place = \"1 New Hampshire\"" }
What office is Jon Huntsman a candidate for?
CREATE TABLE table_20246201_9 (office VARCHAR, candidate VARCHAR)
{ "SQL_Query": "SELECT office FROM table_20246201_9 WHERE candidate = \"Jon Huntsman\"" }
How many states-first place are there for the office of Governor?
CREATE TABLE table_20246201_9 (states___first_place VARCHAR, office VARCHAR)
{ "SQL_Query": "SELECT COUNT(states___first_place) FROM table_20246201_9 WHERE office = \"Governor\"" }
Name the competition for australia 13, new zealand 40, drawn 3
CREATE TABLE table_20251343_4 (competition VARCHAR, head_to_head VARCHAR)
{ "SQL_Query": "SELECT competition FROM table_20251343_4 WHERE head_to_head = \"Australia 13, New Zealand 40, Drawn 3\"" }
Name the explanation by rank is 10
CREATE TABLE table_2026548_1 (explanation VARCHAR, rank_by_time_in_office VARCHAR)
{ "SQL_Query": "SELECT explanation FROM table_2026548_1 WHERE rank_by_time_in_office = 10" }
Name the order in office for spiro agnew
CREATE TABLE table_2026548_1 (order_in_office VARCHAR, vice_president VARCHAR)
{ "SQL_Query": "SELECT order_in_office FROM table_2026548_1 WHERE vice_president = \"Spiro Agnew\"" }
Name the explanation for alben w. barkley
CREATE TABLE table_2026548_1 (explanation VARCHAR, vice_president VARCHAR)
{ "SQL_Query": "SELECT explanation FROM table_2026548_1 WHERE vice_president = \"Alben W. Barkley\"" }
What percentage of people voted for Obama in Burlington?
CREATE TABLE table_20278716_2 (obama__percentage VARCHAR, county VARCHAR)
{ "SQL_Query": "SELECT obama__percentage FROM table_20278716_2 WHERE county = \"Burlington\"" }
What percentage of voters choise McCain in Burlington?
CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, county VARCHAR)
{ "SQL_Query": "SELECT mccain__percentage FROM table_20278716_2 WHERE county = \"Burlington\"" }
What percentage of voters voted for a third party in the county that had 802 third party voters?
CREATE TABLE table_20278716_2 (others__percentage VARCHAR, others__number VARCHAR)
{ "SQL_Query": "SELECT others__percentage FROM table_20278716_2 WHERE others__number = 802" }
What percentage of voters chose McCain in the county where 1.1% of voters voted third party?
CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)
{ "SQL_Query": "SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = \"1.1%\"" }
What percentage of voters chose McCain in the county where 2.1% of voters voted third party?
CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)
{ "SQL_Query": "SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = \"2.1%\"" }
What county had 915 third party voters?
CREATE TABLE table_20278716_2 (county VARCHAR, others__number VARCHAR)
{ "SQL_Query": "SELECT county FROM table_20278716_2 WHERE others__number = 915" }
Name the ply (uk, nz, au) for fingering
CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, yarn_type__us_ VARCHAR)
{ "SQL_Query": "SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE yarn_type__us_ = \"Fingering\"" }
Name the wraps per inch for 120-240
CREATE TABLE table_20297668_1 (wraps_per_inch__wpi_ VARCHAR, m_100g VARCHAR)
{ "SQL_Query": "SELECT wraps_per_inch__wpi_ FROM table_20297668_1 WHERE m_100g = \"120-240\"" }
Name the ply uk, nz, au for wraps per inch 7 wpi
CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, wraps_per_inch__wpi_ VARCHAR)
{ "SQL_Query": "SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = \"7 wpi\"" }
Name the yarn type for standard yarn weight system for 3 or light
CREATE TABLE table_20297668_1 (yarn_type__us_ VARCHAR, standard_yarn_weight_system VARCHAR)
{ "SQL_Query": "SELECT yarn_type__us_ FROM table_20297668_1 WHERE standard_yarn_weight_system = \"3 or Light\"" }
Name the standard yarn weight system for 7 wpi
CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR)
{ "SQL_Query": "SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = \"7 wpi\"" }
Name the standard yarn weight system for 9 wpi
CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR)
{ "SQL_Query": "SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = \"9 wpi\"" }
When was the motor gear of the LMS 1946 no. 1901 model fitted?
CREATE TABLE table_2030453_1 (date_motor_gear_fitted VARCHAR, lms_1946_no VARCHAR)
{ "SQL_Query": "SELECT date_motor_gear_fitted FROM table_2030453_1 WHERE lms_1946_no = 1901" }
how many matches did wayne mardle play
CREATE TABLE table_20301877_2 (played VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT COUNT(played) FROM table_20301877_2 WHERE player = \"Wayne Mardle\"" }
what is the 3-dart average of raymond van barneveld
CREATE TABLE table_20301877_2 (player VARCHAR)
{ "SQL_Query": "SELECT 3 AS _dart_average FROM table_20301877_2 WHERE player = \"Raymond van Barneveld\"" }
How many different results are there for the season with a 4-3 conference record?
CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR)
{ "SQL_Query": "SELECT COUNT(result) FROM table_20319085_2 WHERE conference_record = \"4-3\"" }
Who coached the team in the season with a 6-1 conference record?
CREATE TABLE table_20319085_2 (coach VARCHAR, conference_record VARCHAR)
{ "SQL_Query": "SELECT coach FROM table_20319085_2 WHERE conference_record = \"6-1\"" }
How many different conference records are there for season 2006?
CREATE TABLE table_20319085_2 (conference_record VARCHAR, season VARCHAR)
{ "SQL_Query": "SELECT COUNT(conference_record) FROM table_20319085_2 WHERE season = 2006" }
How did the season with 7-2 conference record ed?
CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR)
{ "SQL_Query": "SELECT result FROM table_20319085_2 WHERE conference_record = \"7-2\"" }
In what season was the conference record 4-3?
CREATE TABLE table_20319085_2 (season INTEGER, conference_record VARCHAR)
{ "SQL_Query": "SELECT MIN(season) FROM table_20319085_2 WHERE conference_record = \"4-3\"" }
What is the highest number of third place runners up held by any of the countries competing in the Mr. International competition?.
CREATE TABLE table_20325360_2 (Id VARCHAR)
{ "SQL_Query": "SELECT MAX(3 AS rd_runner_up) FROM table_20325360_2" }
The country, competing in the Mr. International competition, that holds a rank of 3, has how many 2nd runners up?
CREATE TABLE table_20325360_2 (rank VARCHAR)
{ "SQL_Query": "SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 3" }
For the country that holds a rank of 2, in the Mr. International Competition, what is the total number of competitors listed as 2nd runner ups?
CREATE TABLE table_20325360_2 (rank VARCHAR)
{ "SQL_Query": "SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 2" }
How many competitors in total, for the Mr. International competition, does Brazil have?
CREATE TABLE table_20325360_2 (total INTEGER, country_territory VARCHAR)
{ "SQL_Query": "SELECT MAX(total) FROM table_20325360_2 WHERE country_territory = \"Brazil\"" }
What's Trina Gulliver's high checkout?
CREATE TABLE table_20351295_2 (high_checkout VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT high_checkout FROM table_20351295_2 WHERE player = \"Trina Gulliver\"" }
How many legs has the player with high checkout of 80 won?
CREATE TABLE table_20351295_2 (legs_won VARCHAR, high_checkout VARCHAR)
{ "SQL_Query": "SELECT legs_won FROM table_20351295_2 WHERE high_checkout = 80" }
Name the sanskrit word and meaning for aquarius
CREATE TABLE table_20354_7 (sanskrit_word_and_meaning VARCHAR, zodiac_sign VARCHAR)
{ "SQL_Query": "SELECT sanskrit_word_and_meaning FROM table_20354_7 WHERE zodiac_sign = \"Aquarius\"" }
Name the zodiac for കന്നി
CREATE TABLE table_20354_7 (zodiac_sign VARCHAR, malayalam_name VARCHAR)
{ "SQL_Query": "SELECT zodiac_sign FROM table_20354_7 WHERE malayalam_name = \"കന്നി\"" }
Name the malayalam name for leo
CREATE TABLE table_20354_7 (malayalam_name VARCHAR, zodiac_sign VARCHAR)
{ "SQL_Query": "SELECT malayalam_name FROM table_20354_7 WHERE zodiac_sign = \"Leo\"" }
Name the transliteration for ചിങ്ങം
CREATE TABLE table_20354_7 (transliteration VARCHAR, malayalam_name VARCHAR)
{ "SQL_Query": "SELECT transliteration FROM table_20354_7 WHERE malayalam_name = \"ചിങ്ങം\"" }
How many votes did McCain get in the county where Obama got 50.7% of the votes?
CREATE TABLE table_20350118_1 (mccain_number INTEGER, obama_percentage VARCHAR)
{ "SQL_Query": "SELECT MAX(mccain_number) FROM table_20350118_1 WHERE obama_percentage = \"50.7%\"" }
Where did McCain get 20226 votes?
CREATE TABLE table_20350118_1 (county VARCHAR, mccain_number VARCHAR)
{ "SQL_Query": "SELECT county FROM table_20350118_1 WHERE mccain_number = 20226" }
How many people voted in Cabarrus county?
CREATE TABLE table_20350118_1 (total INTEGER, county VARCHAR)
{ "SQL_Query": "SELECT MIN(total) FROM table_20350118_1 WHERE county = \"Cabarrus\"" }
How many different results were there for the number of votes fro Obama in the county where he got 27.8% of the votes?
CREATE TABLE table_20350118_1 (obama_number VARCHAR, obama_percentage VARCHAR)
{ "SQL_Query": "SELECT COUNT(obama_number) FROM table_20350118_1 WHERE obama_percentage = \"27.8%\"" }
How many episodes directed by ben jones and written by paul dini?
CREATE TABLE table_20360535_3 (no VARCHAR, directed_by VARCHAR, written_by VARCHAR)
{ "SQL_Query": "SELECT COUNT(no) FROM table_20360535_3 WHERE directed_by = \"Ben Jones\" AND written_by = \"Paul Dini\"" }
What is the title of S02E01?
CREATE TABLE table_20360535_3 (title VARCHAR, television_order VARCHAR)
{ "SQL_Query": "SELECT title FROM table_20360535_3 WHERE television_order = \"S02E01\"" }
What TV order is written by gail simone?
CREATE TABLE table_20360535_3 (television_order VARCHAR, written_by VARCHAR)
{ "SQL_Query": "SELECT television_order FROM table_20360535_3 WHERE written_by = \"Gail Simone\"" }
who won mens doubles when zhou mi won womens singles
CREATE TABLE table_20361783_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
{ "SQL_Query": "SELECT mens_doubles FROM table_20361783_1 WHERE womens_singles = \"Zhou Mi\"" }
who won mixed doubles when zhou mi won womens singles
CREATE TABLE table_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
{ "SQL_Query": "SELECT mixed_doubles FROM table_20361783_1 WHERE womens_singles = \"Zhou Mi\"" }
state the earliest year li xuerui won womens singles
CREATE TABLE table_20361783_1 (year INTEGER, womens_singles VARCHAR)
{ "SQL_Query": "SELECT MIN(year) FROM table_20361783_1 WHERE womens_singles = \"Li Xuerui\"" }
who won womens doubles in 2010
CREATE TABLE table_20361783_1 (womens_doubles VARCHAR, year VARCHAR)
{ "SQL_Query": "SELECT womens_doubles FROM table_20361783_1 WHERE year = 2010" }
who won mixed doubles when wang yihan won womens singles
CREATE TABLE table_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
{ "SQL_Query": "SELECT mixed_doubles FROM table_20361783_1 WHERE womens_singles = \"Wang Yihan\"" }
How many county councils for the communist party of norway
CREATE TABLE table_203802_2 (county_councils___2011__ INTEGER, english_party_name VARCHAR)
{ "SQL_Query": "SELECT MAX(county_councils___2011__) FROM table_203802_2 WHERE english_party_name = \"Communist Party of Norway\"" }
What percent of the parliamentary election did the pensioners party receive
CREATE TABLE table_203802_2 (english_party_name VARCHAR)
{ "SQL_Query": "SELECT 2013 AS _parliamentary_election FROM table_203802_2 WHERE english_party_name = \"Pensioners Party\"" }
How many parties are named the Center Alliance
CREATE TABLE table_203802_2 (english_party_name VARCHAR)
{ "SQL_Query": "SELECT COUNT(2013 AS _parliamentary_election) FROM table_203802_2 WHERE english_party_name = \"Center Alliance\"" }
Name the most withdrawn for 37 lstr no.
CREATE TABLE table_20391799_1 (withdrawn INTEGER, ltsr_no VARCHAR)
{ "SQL_Query": "SELECT MAX(withdrawn) FROM table_20391799_1 WHERE ltsr_no = 37" }
how many won 83 points for?
CREATE TABLE table_20396710_1 (won VARCHAR, points_for VARCHAR)
{ "SQL_Query": "SELECT won FROM table_20396710_1 WHERE points_for = \"83\"" }
which club is listed when bonus points is bonus points
CREATE TABLE table_20396710_1 (club VARCHAR)
{ "SQL_Query": "SELECT club FROM table_20396710_1 WHERE \"bonus_points\" = \"bonus_points\"" }