instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the most divisional titles won by a school with an enrollment of 30049?
The relevant table was constructed using the following SQL : CREATE TABLE table_20190834_1 (divisional_titles INTEGER, enrollment VARCHAR)
SELECT MAX(divisional_titles) FROM table_20190834_1 WHERE enrollment = 30049
Write a SQL query that answers the following question: What is the maximum enrollment of the Sooners?
The relevant table was constructed using the following SQL : CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)
SELECT MAX(enrollment) FROM table_20190834_1 WHERE team_name = "Sooners"
Write a SQL query that answers the following question: What is the minimum enrollment of the cyclones?
The relevant table was constructed using the following SQL : CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)
SELECT MIN(enrollment) FROM table_20190834_1 WHERE team_name = "Cyclones"
Write a SQL query that answers the following question: What is the result of the book title firelands?
The relevant table was constructed using the following SQL : CREATE TABLE table_20193855_2 (result VARCHAR, book_title VARCHAR)
SELECT result FROM table_20193855_2 WHERE book_title = "Firelands"
Write a SQL query that answers the following question: Which year is the book title the ordinary?
The relevant table was constructed using the following SQL : CREATE TABLE table_20193855_2 (year VARCHAR, book_title VARCHAR)
SELECT year FROM table_20193855_2 WHERE book_title = "The Ordinary"
Write a SQL query that answers the following question: Who is the publisher of the book titled daughters of an emerald dusk?
The relevant table was constructed using the following SQL : CREATE TABLE table_20193855_2 (publisher VARCHAR, book_title VARCHAR)
SELECT publisher FROM table_20193855_2 WHERE book_title = "Daughters of an Emerald Dusk"
Write a SQL query that answers the following question: In which year were the authors or editors Delia Sherman?
The relevant table was constructed using the following SQL : CREATE TABLE table_20193855_2 (year INTEGER, author_s__or_editor_s_ VARCHAR)
SELECT MAX(year) FROM table_20193855_2 WHERE author_s__or_editor_s_ = "Delia Sherman"
Write a SQL query that answers the following question: How many authors or editors are there for the book title elf child?
The relevant table was constructed using the following SQL : CREATE TABLE table_20193855_2 (author_s__or_editor_s_ VARCHAR, book_title VARCHAR)
SELECT COUNT(author_s__or_editor_s_) FROM table_20193855_2 WHERE book_title = "Elf Child"
Write a SQL query that answers the following question: What is the title of the book when the publisher is black car publishing?
The relevant table was constructed using the following SQL : CREATE TABLE table_20193855_2 (book_title VARCHAR, publisher VARCHAR)
SELECT book_title FROM table_20193855_2 WHERE publisher = "Black Car Publishing"
Write a SQL query that answers the following question: What are the prizes when 1 is the number of winning tickets?
The relevant table was constructed using the following SQL : CREATE TABLE table_20195922_3 (prize__eur_ VARCHAR, number_of_winning_tickets VARCHAR)
SELECT prize__eur_ FROM table_20195922_3 WHERE number_of_winning_tickets = 1
Write a SQL query that answers the following question: What are the number of winning tickets that have 180.00 as the prize (eur)?
The relevant table was constructed using the following SQL : CREATE TABLE table_20195922_3 (number_of_winning_tickets VARCHAR, prize__eur_ VARCHAR)
SELECT number_of_winning_tickets FROM table_20195922_3 WHERE prize__eur_ = "180.00"
Write a SQL query that answers the following question: How many odd of winning have 6th as the division?
The relevant table was constructed using the following SQL : CREATE TABLE table_20195922_3 (odds_of_winning__1in_ VARCHAR, divisions VARCHAR)
SELECT odds_of_winning__1in_ FROM table_20195922_3 WHERE divisions = "6th"
Write a SQL query that answers the following question: What is the prize (eur) for the 6th division?
The relevant table was constructed using the following SQL : CREATE TABLE table_20195922_3 (prize__eur_ VARCHAR, divisions VARCHAR)
SELECT prize__eur_ FROM table_20195922_3 WHERE divisions = "6th"
Write a SQL query that answers the following question: Which divisions have 565 as the number of winning tickets?
The relevant table was constructed using the following SQL : CREATE TABLE table_20195922_3 (divisions VARCHAR, number_of_winning_tickets VARCHAR)
SELECT divisions FROM table_20195922_3 WHERE number_of_winning_tickets = 565
Write a SQL query that answers the following question: what is гә гә [ɡʷ] when ҕь ҕь [ʁʲ/ɣʲ] is ҭә ҭә [tʷʰ]?
The relevant table was constructed using the following SQL : CREATE TABLE table_202365_2 (гә_гә_ VARCHAR, ɡʷ VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR)
SELECT гә_гә_[ɡʷ] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = "Ҭә ҭә [tʷʰ]"
Write a SQL query that answers the following question: What is гә гә [ɡʷ] when ҕ ҕ [ʁ/ɣ] is ҿ ҿ [t͡ʂʼ]?
The relevant table was constructed using the following SQL : CREATE TABLE table_202365_2 (гә_гә_ VARCHAR, ɡʷ VARCHAR, ҕ_ҕ_ VARCHAR, ʁ_ɣ VARCHAR)
SELECT гә_гә_[ɡʷ] FROM table_202365_2 WHERE ҕ_ҕ_[ʁ_ɣ] = "Ҿ ҿ [t͡ʂʼ]"
Write a SQL query that answers the following question: what is г г [ɡ] when а а [a] is ҕә ҕә [ʁʷ/ɣʷ]?
The relevant table was constructed using the following SQL : CREATE TABLE table_202365_2 (г_г_ VARCHAR, ɡ VARCHAR, а_а_ VARCHAR, a VARCHAR)
SELECT г_г_[ɡ] FROM table_202365_2 WHERE а_а_[a] = "Ҕә ҕә [ʁʷ/ɣʷ]"
Write a SQL query that answers the following question: what is а а [a] when ҕь ҕь [ʁʲ/ɣʲ] is ш ш [ʂʃ]?
The relevant table was constructed using the following SQL : CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR)
SELECT а_а_[a] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = "Ш ш [ʂʃ]"
Write a SQL query that answers the following question: what is а а [a] when гь гь [ɡʲ] is л л [l]?
The relevant table was constructed using the following SQL : CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR)
SELECT а_а_[a] FROM table_202365_2 WHERE гь_гь_[ɡʲ] = "Л л [l]"
Write a SQL query that answers the following question: what is ҕь ҕь [ʁʲ/ɣʲ] when гь гь [ɡʲ] is ҷ ҷ [t͡ʃʼ]?
The relevant table was constructed using the following SQL : CREATE TABLE table_202365_2 (ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR)
SELECT ҕь_ҕь_[ʁʲ_ɣʲ] FROM table_202365_2 WHERE гь_гь_[ɡʲ] = "Ҷ ҷ [t͡ʃʼ]"
Write a SQL query that answers the following question: Name the green for otaki
The relevant table was constructed using the following SQL : CREATE TABLE table_20217811_1 (green VARCHAR, electorate VARCHAR)
SELECT green FROM table_20217811_1 WHERE electorate = "Otaki"
Write a SQL query that answers the following question: Name the national for rimutaka
The relevant table was constructed using the following SQL : CREATE TABLE table_20217811_1 (national VARCHAR, electorate VARCHAR)
SELECT national FROM table_20217811_1 WHERE electorate = "Rimutaka"
Write a SQL query that answers the following question: Name the electoraate for united future being 4.47%
The relevant table was constructed using the following SQL : CREATE TABLE table_20217811_1 (electorate VARCHAR, united_future VARCHAR)
SELECT electorate FROM table_20217811_1 WHERE united_future = "4.47%"
Write a SQL query that answers the following question: How many different popular vote counts were there for the candidate Rick Perry?
The relevant table was constructed using the following SQL : CREATE TABLE table_20246201_9 (popular_vote VARCHAR, candidate VARCHAR)
SELECT COUNT(popular_vote) FROM table_20246201_9 WHERE candidate = "Rick Perry"
Write a SQL query that answers the following question: Which office has 1 New Hampshire as a third place state?
The relevant table was constructed using the following SQL : CREATE TABLE table_20246201_9 (office VARCHAR, states___third_place VARCHAR)
SELECT office FROM table_20246201_9 WHERE states___third_place = "1 New Hampshire"
Write a SQL query that answers the following question: What office is Jon Huntsman a candidate for?
The relevant table was constructed using the following SQL : CREATE TABLE table_20246201_9 (office VARCHAR, candidate VARCHAR)
SELECT office FROM table_20246201_9 WHERE candidate = "Jon Huntsman"
Write a SQL query that answers the following question: How many states-first place are there for the office of Governor?
The relevant table was constructed using the following SQL : CREATE TABLE table_20246201_9 (states___first_place VARCHAR, office VARCHAR)
SELECT COUNT(states___first_place) FROM table_20246201_9 WHERE office = "Governor"
Write a SQL query that answers the following question: Name the competition for australia 13, new zealand 40, drawn 3
The relevant table was constructed using the following SQL : CREATE TABLE table_20251343_4 (competition VARCHAR, head_to_head VARCHAR)
SELECT competition FROM table_20251343_4 WHERE head_to_head = "Australia 13, New Zealand 40, Drawn 3"
Write a SQL query that answers the following question: Name the explanation by rank is 10
The relevant table was constructed using the following SQL : CREATE TABLE table_2026548_1 (explanation VARCHAR, rank_by_time_in_office VARCHAR)
SELECT explanation FROM table_2026548_1 WHERE rank_by_time_in_office = 10
Write a SQL query that answers the following question: Name the order in office for spiro agnew
The relevant table was constructed using the following SQL : CREATE TABLE table_2026548_1 (order_in_office VARCHAR, vice_president VARCHAR)
SELECT order_in_office FROM table_2026548_1 WHERE vice_president = "Spiro Agnew"
Write a SQL query that answers the following question: Name the explanation for alben w. barkley
The relevant table was constructed using the following SQL : CREATE TABLE table_2026548_1 (explanation VARCHAR, vice_president VARCHAR)
SELECT explanation FROM table_2026548_1 WHERE vice_president = "Alben W. Barkley"
Write a SQL query that answers the following question: What percentage of people voted for Obama in Burlington?
The relevant table was constructed using the following SQL : CREATE TABLE table_20278716_2 (obama__percentage VARCHAR, county VARCHAR)
SELECT obama__percentage FROM table_20278716_2 WHERE county = "Burlington"
Write a SQL query that answers the following question: What percentage of voters choise McCain in Burlington?
The relevant table was constructed using the following SQL : CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, county VARCHAR)
SELECT mccain__percentage FROM table_20278716_2 WHERE county = "Burlington"
Write a SQL query that answers the following question: What percentage of voters voted for a third party in the county that had 802 third party voters?
The relevant table was constructed using the following SQL : CREATE TABLE table_20278716_2 (others__percentage VARCHAR, others__number VARCHAR)
SELECT others__percentage FROM table_20278716_2 WHERE others__number = 802
Write a SQL query that answers the following question: What percentage of voters chose McCain in the county where 1.1% of voters voted third party?
The relevant table was constructed using the following SQL : CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)
SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "1.1%"
Write a SQL query that answers the following question: What percentage of voters chose McCain in the county where 2.1% of voters voted third party?
The relevant table was constructed using the following SQL : CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)
SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "2.1%"
Write a SQL query that answers the following question: What county had 915 third party voters?
The relevant table was constructed using the following SQL : CREATE TABLE table_20278716_2 (county VARCHAR, others__number VARCHAR)
SELECT county FROM table_20278716_2 WHERE others__number = 915
Write a SQL query that answers the following question: Name the ply (uk, nz, au) for fingering
The relevant table was constructed using the following SQL : CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, yarn_type__us_ VARCHAR)
SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE yarn_type__us_ = "Fingering"
Write a SQL query that answers the following question: Name the wraps per inch for 120-240
The relevant table was constructed using the following SQL : CREATE TABLE table_20297668_1 (wraps_per_inch__wpi_ VARCHAR, m_100g VARCHAR)
SELECT wraps_per_inch__wpi_ FROM table_20297668_1 WHERE m_100g = "120-240"
Write a SQL query that answers the following question: Name the ply uk, nz, au for wraps per inch 7 wpi
The relevant table was constructed using the following SQL : CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, wraps_per_inch__wpi_ VARCHAR)
SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "7 wpi"
Write a SQL query that answers the following question: Name the yarn type for standard yarn weight system for 3 or light
The relevant table was constructed using the following SQL : CREATE TABLE table_20297668_1 (yarn_type__us_ VARCHAR, standard_yarn_weight_system VARCHAR)
SELECT yarn_type__us_ FROM table_20297668_1 WHERE standard_yarn_weight_system = "3 or Light"
Write a SQL query that answers the following question: Name the standard yarn weight system for 7 wpi
The relevant table was constructed using the following SQL : CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR)
SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "7 wpi"
Write a SQL query that answers the following question: Name the standard yarn weight system for 9 wpi
The relevant table was constructed using the following SQL : CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR)
SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "9 wpi"
Write a SQL query that answers the following question: When was the motor gear of the LMS 1946 no. 1901 model fitted?
The relevant table was constructed using the following SQL : CREATE TABLE table_2030453_1 (date_motor_gear_fitted VARCHAR, lms_1946_no VARCHAR)
SELECT date_motor_gear_fitted FROM table_2030453_1 WHERE lms_1946_no = 1901
Write a SQL query that answers the following question: how many matches did wayne mardle play
The relevant table was constructed using the following SQL : CREATE TABLE table_20301877_2 (played VARCHAR, player VARCHAR)
SELECT COUNT(played) FROM table_20301877_2 WHERE player = "Wayne Mardle"
Write a SQL query that answers the following question: what is the 3-dart average of raymond van barneveld
The relevant table was constructed using the following SQL : CREATE TABLE table_20301877_2 (player VARCHAR)
SELECT 3 AS _dart_average FROM table_20301877_2 WHERE player = "Raymond van Barneveld"
Write a SQL query that answers the following question: How many different results are there for the season with a 4-3 conference record?
The relevant table was constructed using the following SQL : CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR)
SELECT COUNT(result) FROM table_20319085_2 WHERE conference_record = "4-3"
Write a SQL query that answers the following question: Who coached the team in the season with a 6-1 conference record?
The relevant table was constructed using the following SQL : CREATE TABLE table_20319085_2 (coach VARCHAR, conference_record VARCHAR)
SELECT coach FROM table_20319085_2 WHERE conference_record = "6-1"
Write a SQL query that answers the following question: How many different conference records are there for season 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_20319085_2 (conference_record VARCHAR, season VARCHAR)
SELECT COUNT(conference_record) FROM table_20319085_2 WHERE season = 2006
Write a SQL query that answers the following question: How did the season with 7-2 conference record ed?
The relevant table was constructed using the following SQL : CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR)
SELECT result FROM table_20319085_2 WHERE conference_record = "7-2"
Write a SQL query that answers the following question: In what season was the conference record 4-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_20319085_2 (season INTEGER, conference_record VARCHAR)
SELECT MIN(season) FROM table_20319085_2 WHERE conference_record = "4-3"
Write a SQL query that answers the following question: What is the highest number of third place runners up held by any of the countries competing in the Mr. International competition?.
The relevant table was constructed using the following SQL : CREATE TABLE table_20325360_2 (Id VARCHAR)
SELECT MAX(3 AS rd_runner_up) FROM table_20325360_2
Write a SQL query that answers the following question: The country, competing in the Mr. International competition, that holds a rank of 3, has how many 2nd runners up?
The relevant table was constructed using the following SQL : CREATE TABLE table_20325360_2 (rank VARCHAR)
SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 3
Write a SQL query that answers the following question: 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?
The relevant table was constructed using the following SQL : CREATE TABLE table_20325360_2 (rank VARCHAR)
SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 2
Write a SQL query that answers the following question: How many competitors in total, for the Mr. International competition, does Brazil have?
The relevant table was constructed using the following SQL : CREATE TABLE table_20325360_2 (total INTEGER, country_territory VARCHAR)
SELECT MAX(total) FROM table_20325360_2 WHERE country_territory = "Brazil"
Write a SQL query that answers the following question: What's Trina Gulliver's high checkout?
The relevant table was constructed using the following SQL : CREATE TABLE table_20351295_2 (high_checkout VARCHAR, player VARCHAR)
SELECT high_checkout FROM table_20351295_2 WHERE player = "Trina Gulliver"
Write a SQL query that answers the following question: How many legs has the player with high checkout of 80 won?
The relevant table was constructed using the following SQL : CREATE TABLE table_20351295_2 (legs_won VARCHAR, high_checkout VARCHAR)
SELECT legs_won FROM table_20351295_2 WHERE high_checkout = 80
Write a SQL query that answers the following question: Name the sanskrit word and meaning for aquarius
The relevant table was constructed using the following SQL : CREATE TABLE table_20354_7 (sanskrit_word_and_meaning VARCHAR, zodiac_sign VARCHAR)
SELECT sanskrit_word_and_meaning FROM table_20354_7 WHERE zodiac_sign = "Aquarius"
Write a SQL query that answers the following question: Name the zodiac for കന്നി
The relevant table was constructed using the following SQL : CREATE TABLE table_20354_7 (zodiac_sign VARCHAR, malayalam_name VARCHAR)
SELECT zodiac_sign FROM table_20354_7 WHERE malayalam_name = "കന്നി"
Write a SQL query that answers the following question: Name the malayalam name for leo
The relevant table was constructed using the following SQL : CREATE TABLE table_20354_7 (malayalam_name VARCHAR, zodiac_sign VARCHAR)
SELECT malayalam_name FROM table_20354_7 WHERE zodiac_sign = "Leo"
Write a SQL query that answers the following question: Name the transliteration for ചിങ്ങം
The relevant table was constructed using the following SQL : CREATE TABLE table_20354_7 (transliteration VARCHAR, malayalam_name VARCHAR)
SELECT transliteration FROM table_20354_7 WHERE malayalam_name = "ചിങ്ങം"
Write a SQL query that answers the following question: How many votes did McCain get in the county where Obama got 50.7% of the votes?
The relevant table was constructed using the following SQL : CREATE TABLE table_20350118_1 (mccain_number INTEGER, obama_percentage VARCHAR)
SELECT MAX(mccain_number) FROM table_20350118_1 WHERE obama_percentage = "50.7%"
Write a SQL query that answers the following question: Where did McCain get 20226 votes?
The relevant table was constructed using the following SQL : CREATE TABLE table_20350118_1 (county VARCHAR, mccain_number VARCHAR)
SELECT county FROM table_20350118_1 WHERE mccain_number = 20226
Write a SQL query that answers the following question: How many people voted in Cabarrus county?
The relevant table was constructed using the following SQL : CREATE TABLE table_20350118_1 (total INTEGER, county VARCHAR)
SELECT MIN(total) FROM table_20350118_1 WHERE county = "Cabarrus"
Write a SQL query that answers the following question: How many different results were there for the number of votes fro Obama in the county where he got 27.8% of the votes?
The relevant table was constructed using the following SQL : CREATE TABLE table_20350118_1 (obama_number VARCHAR, obama_percentage VARCHAR)
SELECT COUNT(obama_number) FROM table_20350118_1 WHERE obama_percentage = "27.8%"
Write a SQL query that answers the following question: How many episodes directed by ben jones and written by paul dini?
The relevant table was constructed using the following SQL : CREATE TABLE table_20360535_3 (no VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT COUNT(no) FROM table_20360535_3 WHERE directed_by = "Ben Jones" AND written_by = "Paul Dini"
Write a SQL query that answers the following question: What is the title of S02E01?
The relevant table was constructed using the following SQL : CREATE TABLE table_20360535_3 (title VARCHAR, television_order VARCHAR)
SELECT title FROM table_20360535_3 WHERE television_order = "S02E01"
Write a SQL query that answers the following question: What TV order is written by gail simone?
The relevant table was constructed using the following SQL : CREATE TABLE table_20360535_3 (television_order VARCHAR, written_by VARCHAR)
SELECT television_order FROM table_20360535_3 WHERE written_by = "Gail Simone"
Write a SQL query that answers the following question: who won mens doubles when zhou mi won womens singles
The relevant table was constructed using the following SQL : CREATE TABLE table_20361783_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
SELECT mens_doubles FROM table_20361783_1 WHERE womens_singles = "Zhou Mi"
Write a SQL query that answers the following question: who won mixed doubles when zhou mi won womens singles
The relevant table was constructed using the following SQL : CREATE TABLE table_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
SELECT mixed_doubles FROM table_20361783_1 WHERE womens_singles = "Zhou Mi"
Write a SQL query that answers the following question: state the earliest year li xuerui won womens singles
The relevant table was constructed using the following SQL : CREATE TABLE table_20361783_1 (year INTEGER, womens_singles VARCHAR)
SELECT MIN(year) FROM table_20361783_1 WHERE womens_singles = "Li Xuerui"
Write a SQL query that answers the following question: who won womens doubles in 2010
The relevant table was constructed using the following SQL : CREATE TABLE table_20361783_1 (womens_doubles VARCHAR, year VARCHAR)
SELECT womens_doubles FROM table_20361783_1 WHERE year = 2010
Write a SQL query that answers the following question: who won mixed doubles when wang yihan won womens singles
The relevant table was constructed using the following SQL : CREATE TABLE table_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
SELECT mixed_doubles FROM table_20361783_1 WHERE womens_singles = "Wang Yihan"
Write a SQL query that answers the following question: How many county councils for the communist party of norway
The relevant table was constructed using the following SQL : CREATE TABLE table_203802_2 (county_councils___2011__ INTEGER, english_party_name VARCHAR)
SELECT MAX(county_councils___2011__) FROM table_203802_2 WHERE english_party_name = "Communist Party of Norway"
Write a SQL query that answers the following question: What percent of the parliamentary election did the pensioners party receive
The relevant table was constructed using the following SQL : CREATE TABLE table_203802_2 (english_party_name VARCHAR)
SELECT 2013 AS _parliamentary_election FROM table_203802_2 WHERE english_party_name = "Pensioners Party"
Write a SQL query that answers the following question: How many parties are named the Center Alliance
The relevant table was constructed using the following SQL : CREATE TABLE table_203802_2 (english_party_name VARCHAR)
SELECT COUNT(2013 AS _parliamentary_election) FROM table_203802_2 WHERE english_party_name = "Center Alliance"
Write a SQL query that answers the following question: Name the most withdrawn for 37 lstr no.
The relevant table was constructed using the following SQL : CREATE TABLE table_20391799_1 (withdrawn INTEGER, ltsr_no VARCHAR)
SELECT MAX(withdrawn) FROM table_20391799_1 WHERE ltsr_no = 37
Write a SQL query that answers the following question: how many won 83 points for?
The relevant table was constructed using the following SQL : CREATE TABLE table_20396710_1 (won VARCHAR, points_for VARCHAR)
SELECT won FROM table_20396710_1 WHERE points_for = "83"
Write a SQL query that answers the following question: which club is listed when bonus points is bonus points
The relevant table was constructed using the following SQL : CREATE TABLE table_20396710_1 (club VARCHAR)
SELECT club FROM table_20396710_1 WHERE "bonus_points" = "bonus_points"
Write a SQL query that answers the following question: when the points for is 139 is points difference?
The relevant table was constructed using the following SQL : CREATE TABLE table_20396710_1 (points_difference VARCHAR, points_for VARCHAR)
SELECT COUNT(points_difference) FROM table_20396710_1 WHERE points_for = "139"
Write a SQL query that answers the following question: when points against is points again, which are the drawn?
The relevant table was constructed using the following SQL : CREATE TABLE table_20396710_1 (drawn VARCHAR)
SELECT drawn FROM table_20396710_1 WHERE "points_against" = "points_against"
Write a SQL query that answers the following question: when points for is 39 what is the total number of drawn
The relevant table was constructed using the following SQL : CREATE TABLE table_20396710_1 (drawn VARCHAR, points_for VARCHAR)
SELECT drawn FROM table_20396710_1 WHERE points_for = "39"
Write a SQL query that answers the following question: what is the mccain % where obama got 19.3%
The relevant table was constructed using the following SQL : CREATE TABLE table_20424014_1 (mccain__percentage VARCHAR, obama__percentage VARCHAR)
SELECT mccain__percentage FROM table_20424014_1 WHERE obama__percentage = "19.3%"
Write a SQL query that answers the following question: what is the highest mccain # where obama got 33.7%
The relevant table was constructed using the following SQL : CREATE TABLE table_20424014_1 (mccain__number INTEGER, obama__percentage VARCHAR)
SELECT MAX(mccain__number) FROM table_20424014_1 WHERE obama__percentage = "33.7%"
Write a SQL query that answers the following question: where did obama get 39.8%
The relevant table was constructed using the following SQL : CREATE TABLE table_20424014_1 (county VARCHAR, obama__percentage VARCHAR)
SELECT county FROM table_20424014_1 WHERE obama__percentage = "39.8%"
Write a SQL query that answers the following question: what is the obama # in carson city
The relevant table was constructed using the following SQL : CREATE TABLE table_20424014_1 (obama__number VARCHAR, county VARCHAR)
SELECT obama__number FROM table_20424014_1 WHERE county = "Carson City"
Write a SQL query that answers the following question: where did obama get 41.3%
The relevant table was constructed using the following SQL : CREATE TABLE table_20424014_1 (county VARCHAR, obama__percentage VARCHAR)
SELECT county FROM table_20424014_1 WHERE obama__percentage = "41.3%"
Write a SQL query that answers the following question: Name the number of season for team bruichladdich
The relevant table was constructed using the following SQL : CREATE TABLE table_20398823_1 (season VARCHAR, team VARCHAR)
SELECT COUNT(season) FROM table_20398823_1 WHERE team = "team Bruichladdich"
Write a SQL query that answers the following question: Name the least podiums for 49 points
The relevant table was constructed using the following SQL : CREATE TABLE table_20398823_1 (podiums INTEGER, points VARCHAR)
SELECT MIN(podiums) FROM table_20398823_1 WHERE points = "49"
Write a SQL query that answers the following question: Name the least f/laps
The relevant table was constructed using the following SQL : CREATE TABLE table_20398823_1 (f_laps INTEGER)
SELECT MIN(f_laps) FROM table_20398823_1
Write a SQL query that answers the following question: Namet he season for wins being 0 and 20 races
The relevant table was constructed using the following SQL : CREATE TABLE table_20398823_1 (season VARCHAR, wins VARCHAR, races VARCHAR)
SELECT season FROM table_20398823_1 WHERE wins = 0 AND races = 20
Write a SQL query that answers the following question: Name the least podiums for 0 wins and 2005 season for 321 points
The relevant table was constructed using the following SQL : CREATE TABLE table_20398823_1 (podiums INTEGER, points VARCHAR, wins VARCHAR, season VARCHAR)
SELECT MIN(podiums) FROM table_20398823_1 WHERE wins = 0 AND season = 2005 AND points = "321"
Write a SQL query that answers the following question: What is the Spanish title of the film whose title used in nomination was Ogu and Mampato in Rapa Nui?
The relevant table was constructed using the following SQL : CREATE TABLE table_20404716_1 (spanish_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT spanish_title FROM table_20404716_1 WHERE film_title_used_in_nomination = "Ogu and Mampato in Rapa Nui"
Write a SQL query that answers the following question: Who was the director of the film that was not nominated and had the Spanish title of play?
The relevant table was constructed using the following SQL : CREATE TABLE table_20404716_1 (director VARCHAR, result VARCHAR, spanish_title VARCHAR)
SELECT director FROM table_20404716_1 WHERE result = "Not Nominated" AND spanish_title = "Play"
Write a SQL query that answers the following question: How many couples have an average of 25.3?
The relevant table was constructed using the following SQL : CREATE TABLE table_20424140_3 (couple VARCHAR, average VARCHAR)
SELECT COUNT(couple) FROM table_20424140_3 WHERE average = "25.3"
Write a SQL query that answers the following question: How many different numbers of total dances are there for the couple ranked at number 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_20424140_3 (number_of_dances VARCHAR, place VARCHAR)
SELECT COUNT(number_of_dances) FROM table_20424140_3 WHERE place = 6
Write a SQL query that answers the following question: What couple has an average of 17.2?
The relevant table was constructed using the following SQL : CREATE TABLE table_20424140_3 (couple VARCHAR, average VARCHAR)
SELECT couple FROM table_20424140_3 WHERE average = "17.2"
Write a SQL query that answers the following question: What's the minimal number of dances a couple has danced?
The relevant table was constructed using the following SQL : CREATE TABLE table_20424140_3 (number_of_dances INTEGER)
SELECT MIN(number_of_dances) FROM table_20424140_3
Write a SQL query that answers the following question: What's the highest number a couple has ranked at?
The relevant table was constructed using the following SQL : CREATE TABLE table_20424140_3 (place INTEGER)
SELECT MAX(place) FROM table_20424140_3
Write a SQL query that answers the following question: How many crops were damaged when the public property damage was 1,03,049.60?
The relevant table was constructed using the following SQL : CREATE TABLE table_20403667_2 (crop_damaged__in_lakh_inr__ VARCHAR, public_property_damaged__in_lakh_inr__ VARCHAR)
SELECT crop_damaged__in_lakh_inr__ FROM table_20403667_2 WHERE public_property_damaged__in_lakh_inr__ = "1,03,049.60"