question
stringlengths
12
244
context
stringlengths
27
489
answer
dict
When was the incumbent first elected in the district where the result was a democratic-republican gain?
CREATE TABLE table_2668401_17 (first_elected VARCHAR, result VARCHAR)
{ "SQL_Query": "SELECT first_elected FROM table_2668401_17 WHERE result = \"Democratic-Republican gain\"" }
In what district was the incumbent Edwin Gray?
CREATE TABLE table_2668401_17 (district VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT district FROM table_2668401_17 WHERE incumbent = \"Edwin Gray\"" }
When was the incumbent from the Virginia 10 district first elected?
CREATE TABLE table_2668401_17 (first_elected VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT first_elected FROM table_2668401_17 WHERE district = \"Virginia 10\"" }
Name the result for walter jones (dr) 99.0% henry lee (f) 1.0%
CREATE TABLE table_2668387_18 (result VARCHAR, candidates VARCHAR)
{ "SQL_Query": "SELECT result FROM table_2668387_18 WHERE candidates = \"Walter Jones (DR) 99.0% Henry Lee (F) 1.0%\"" }
Name the district for matthew clay
CREATE TABLE table_2668387_18 (district VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT district FROM table_2668387_18 WHERE incumbent = \"Matthew Clay\"" }
Name the number of first elected for john smith
CREATE TABLE table_2668387_18 (first_elected VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT COUNT(first_elected) FROM table_2668387_18 WHERE incumbent = \"John Smith\"" }
Name the incumbent for virginia 18
CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT incumbent FROM table_2668387_18 WHERE district = \"Virginia 18\"" }
Name the district for john randolph (dr)
CREATE TABLE table_2668387_18 (district VARCHAR, candidates VARCHAR)
{ "SQL_Query": "SELECT district FROM table_2668387_18 WHERE candidates = \"John Randolph (DR)\"" }
Name the incumbent for virginia 4
CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT incumbent FROM table_2668387_18 WHERE district = \"Virginia 4\"" }
When was the earliest person elected?
CREATE TABLE table_2668420_17 (first_elected INTEGER)
{ "SQL_Query": "SELECT MIN(first_elected) FROM table_2668420_17" }
What party was re-elected to Virginia 12?
CREATE TABLE table_2668420_17 (party VARCHAR, result VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT party FROM table_2668420_17 WHERE result = \"Re-elected\" AND district = \"Virginia 12\"" }
What is the latest first elected?
CREATE TABLE table_2668405_17 (first_elected INTEGER)
{ "SQL_Query": "SELECT MAX(first_elected) FROM table_2668405_17" }
How many times were the candidates leven powell (f) 63.8% roger west (dr) 36.4%?
CREATE TABLE table_2668405_17 (first_elected VARCHAR, candidates VARCHAR)
{ "SQL_Query": "SELECT COUNT(first_elected) FROM table_2668405_17 WHERE candidates = \"Leven Powell (F) 63.8% Roger West (DR) 36.4%\"" }
What is the district with the candidates leven powell (f) 63.8% roger west (dr) 36.4%?
CREATE TABLE table_2668405_17 (district VARCHAR, candidates VARCHAR)
{ "SQL_Query": "SELECT district FROM table_2668405_17 WHERE candidates = \"Leven Powell (F) 63.8% Roger West (DR) 36.4%\"" }
What is the district with the incumbent john nicholas?
CREATE TABLE table_2668405_17 (district VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT district FROM table_2668405_17 WHERE incumbent = \"John Nicholas\"" }
How many were in district virginia 6?
CREATE TABLE table_2668405_17 (candidates VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT COUNT(candidates) FROM table_2668405_17 WHERE district = \"Virginia 6\"" }
If the district is Virginia 8, who is the Incumbent?
CREATE TABLE table_2668416_18 (incumbent VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT incumbent FROM table_2668416_18 WHERE district = \"Virginia 8\"" }
If the district is Virginia 17, who are the candidates?
CREATE TABLE table_2668416_18 (candidates VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT candidates FROM table_2668416_18 WHERE district = \"Virginia 17\"" }
In how many different parts was the incumbent Abraham B. Venable?
CREATE TABLE table_2668416_18 (party VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT COUNT(party) FROM table_2668416_18 WHERE incumbent = \"Abraham B. Venable\"" }
What is the date for the mount panorama circuit?
CREATE TABLE table_26686908_2 (date VARCHAR, circuit VARCHAR)
{ "SQL_Query": "SELECT date FROM table_26686908_2 WHERE circuit = \"Mount Panorama circuit\"" }
What was the location for the date 7–10 october?
CREATE TABLE table_26686908_2 (city___state VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT city___state FROM table_26686908_2 WHERE date = \"7–10 October\"" }
Who handled production for the race when the championship went to david wall and challenge was jordan ormsby?
CREATE TABLE table_26686908_2 (production VARCHAR, championship VARCHAR, challenge VARCHAR)
{ "SQL_Query": "SELECT production FROM table_26686908_2 WHERE championship = \"David Wall\" AND challenge = \"Jordan Ormsby\"" }
Which city and state hosted the adelaide street circuit?
CREATE TABLE table_26686908_2 (city___state VARCHAR, circuit VARCHAR)
{ "SQL_Query": "SELECT city___state FROM table_26686908_2 WHERE circuit = \"Adelaide Street circuit\"" }
Which circuit was held on 25–28 march?
CREATE TABLE table_26686908_2 (circuit VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT circuit FROM table_26686908_2 WHERE date = \"25–28 March\"" }
How many productions are shown for rd 2?
CREATE TABLE table_26686908_2 (production VARCHAR, rd VARCHAR)
{ "SQL_Query": "SELECT COUNT(production) FROM table_26686908_2 WHERE rd = \"Rd 2\"" }
Name the writers for 46 in series
CREATE TABLE table_26702078_1 (writer_s_ VARCHAR, no_in_series VARCHAR)
{ "SQL_Query": "SELECT writer_s_ FROM table_26702078_1 WHERE no_in_series = 46" }
Name the production code for 60 number in series
CREATE TABLE table_26702078_1 (production_code VARCHAR, no_in_series VARCHAR)
{ "SQL_Query": "SELECT production_code FROM table_26702078_1 WHERE no_in_series = 60" }
what is the title of the episode with the director pamela fryman and the production code 2alh07?
CREATE TABLE table_26701861_1 (title VARCHAR, director VARCHAR, production_code VARCHAR)
{ "SQL_Query": "SELECT title FROM table_26701861_1 WHERE director = \"Pamela Fryman\" AND production_code = \"2ALH07\"" }
Which occurence has the matrix sim marked as 0.925?
CREATE TABLE table_26708105_2 (occurrence VARCHAR, matrix_sim VARCHAR)
{ "SQL_Query": "SELECT occurrence FROM table_26708105_2 WHERE matrix_sim = \"0.925\"" }
What is the detailed family information where the sequence is aagtact?
CREATE TABLE table_26708105_2 (detailed_family_information VARCHAR, sequence VARCHAR)
{ "SQL_Query": "SELECT COUNT(detailed_family_information) FROM table_26708105_2 WHERE sequence = \"aAGTAct\"" }
What occurence has 0.925 listed as the matrix sim?
CREATE TABLE table_26708105_2 (occurrence INTEGER, matrix_sim VARCHAR)
{ "SQL_Query": "SELECT MAX(occurrence) FROM table_26708105_2 WHERE matrix_sim = \"0.925\"" }
What is the conserved in mus musculus listing for sequence aagtact?
CREATE TABLE table_26708105_2 (conserved_in_mus_musculus VARCHAR, sequence VARCHAR)
{ "SQL_Query": "SELECT conserved_in_mus_musculus FROM table_26708105_2 WHERE sequence = \"aAGTAct\"" }
What is the nt identity when the species is drosophilia melanogaster?
CREATE TABLE table_26708105_5 (nt_identity VARCHAR, species VARCHAR)
{ "SQL_Query": "SELECT nt_identity FROM table_26708105_5 WHERE species = \"Drosophilia melanogaster\"" }
What is the protein name when aa length is 202 aa?
CREATE TABLE table_26708105_5 (protein_name VARCHAR, aa_length VARCHAR)
{ "SQL_Query": "SELECT protein_name FROM table_26708105_5 WHERE aa_length = \"202 aa\"" }
What is the protein name when the e-value is 2.50e-41?
CREATE TABLE table_26708105_5 (protein_name VARCHAR, e_value VARCHAR)
{ "SQL_Query": "SELECT protein_name FROM table_26708105_5 WHERE e_value = \"2.50E-41\"" }
What is the aa length when the protein name is c11orf73?
CREATE TABLE table_26708105_5 (aa_length VARCHAR, protein_name VARCHAR)
{ "SQL_Query": "SELECT aa_length FROM table_26708105_5 WHERE protein_name = \"C11orf73\"" }
How many times is the accession number xp_001843282?
CREATE TABLE table_26708105_5 (common_name VARCHAR, accession_number VARCHAR)
{ "SQL_Query": "SELECT COUNT(common_name) FROM table_26708105_5 WHERE accession_number = \"XP_001843282\"" }
How many titles have U.S. viewers 1.66 million.
CREATE TABLE table_26736040_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT COUNT(title) FROM table_26736040_1 WHERE us_viewers__millions_ = \"1.66\"" }
What is every title when U.S. viewers is 1.04 million.
CREATE TABLE table_26736040_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT title FROM table_26736040_1 WHERE us_viewers__millions_ = \"1.04\"" }
What is the highest number in series with director as Phil Abraham?
CREATE TABLE table_26736040_1 (no_in_series INTEGER, directed_by VARCHAR)
{ "SQL_Query": "SELECT MAX(no_in_series) FROM table_26736040_1 WHERE directed_by = \"Phil Abraham\"" }
How many entries for number in series when director is Bryan Cranston?
CREATE TABLE table_26736040_1 (no_in_series VARCHAR, directed_by VARCHAR)
{ "SQL_Query": "SELECT COUNT(no_in_series) FROM table_26736040_1 WHERE directed_by = \"Bryan Cranston\"" }
What is the earliest episode that was watched by 1.32 million viewers?
CREATE TABLE table_26736342_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT MIN(no_in_series) FROM table_26736342_1 WHERE us_viewers__millions_ = \"1.32\"" }
What is the latest episode written by John Shiban & Thomas Schnauz?
CREATE TABLE table_26736342_1 (no_in_series INTEGER, written_by VARCHAR)
{ "SQL_Query": "SELECT MAX(no_in_series) FROM table_26736342_1 WHERE written_by = \"John Shiban & Thomas Schnauz\"" }
Who directed the eposide that was watched by 1.95 million US viewers?
CREATE TABLE table_26736342_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT directed_by FROM table_26736342_1 WHERE us_viewers__millions_ = \"1.95\"" }
How many episodes are there for the three darts challenge with Sharon Osbourne?
CREATE TABLE table_26733129_1 (episode_number INTEGER, three_darts_challenge VARCHAR)
{ "SQL_Query": "SELECT MAX(episode_number) FROM table_26733129_1 WHERE three_darts_challenge = \"Sharon Osbourne\"" }
What musical performances aired on 5 April 2010?
CREATE TABLE table_26733129_1 (musical_performance VARCHAR, air_date VARCHAR)
{ "SQL_Query": "SELECT musical_performance FROM table_26733129_1 WHERE air_date = \"5 April 2010\"" }
What were the guests that aired on 7 June 2010?
CREATE TABLE table_26733129_1 (guests VARCHAR, air_date VARCHAR)
{ "SQL_Query": "SELECT guests FROM table_26733129_1 WHERE air_date = \"7 June 2010\"" }
Who was in the three darts challenge that aired on 10 may 2010?
CREATE TABLE table_26733129_1 (three_darts_challenge VARCHAR, air_date VARCHAR)
{ "SQL_Query": "SELECT three_darts_challenge FROM table_26733129_1 WHERE air_date = \"10 May 2010\"" }
Name the ends lost for canada
CREATE TABLE table_26745426_2 (Ends VARCHAR, country VARCHAR, Canada VARCHAR)
{ "SQL_Query": "SELECT Ends AS lost FROM table_26745426_2 WHERE country = Canada" }
Name the number of ends lost for 6 stolen ends
CREATE TABLE table_26745426_2 (Ends VARCHAR, stolen_ends VARCHAR)
{ "SQL_Query": "SELECT COUNT(Ends) AS lost FROM table_26745426_2 WHERE stolen_ends = 6" }
When gniazdo is polish what is proto-slavic?
CREATE TABLE table_26757_4 (proto_slavic VARCHAR, polish VARCHAR)
{ "SQL_Query": "SELECT proto_slavic FROM table_26757_4 WHERE polish = \"gniazdo\"" }
When рука / ruka is the serbo-croatian what is the macedonian?
CREATE TABLE table_26757_4 (macedonian VARCHAR, serbo_croatian VARCHAR)
{ "SQL_Query": "SELECT macedonian FROM table_26757_4 WHERE serbo_croatian = \"рука / ruka\"" }
When риба (ríba) is the macedonian what is the proto-slavic?
CREATE TABLE table_26757_4 (proto_slavic VARCHAR, macedonian VARCHAR)
{ "SQL_Query": "SELECT proto_slavic FROM table_26757_4 WHERE macedonian = \"риба (ríba)\"" }
When гн(иј)ездо / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there?
CREATE TABLE table_26757_4 (proto_slavic VARCHAR, serbo_croatian VARCHAR)
{ "SQL_Query": "SELECT COUNT(proto_slavic) FROM table_26757_4 WHERE serbo_croatian = \"гн(иј)ездо / gn(ij)ezdo\"" }
When рыба (rýba) is the belarusian how many slovenes are there?
CREATE TABLE table_26757_4 (slovene VARCHAR, belarusian VARCHAR)
{ "SQL_Query": "SELECT COUNT(slovene) FROM table_26757_4 WHERE belarusian = \"рыба (rýba)\"" }
When вуха (vúkha) is the belarusian how many slovaks are there?
CREATE TABLE table_26757_4 (slovak VARCHAR, belarusian VARCHAR)
{ "SQL_Query": "SELECT COUNT(slovak) FROM table_26757_4 WHERE belarusian = \"вуха (vúkha)\"" }
What is the name of the only route that runs to bhavnagar?
CREATE TABLE table_26745820_5 (vivek_express__15905_15906 VARCHAR, kanyakumari VARCHAR)
{ "SQL_Query": "SELECT vivek_express__15905_15906 FROM table_26745820_5 WHERE kanyakumari = \"Bhavnagar\"" }
What is every original air date for the number in season of 7?
CREATE TABLE table_26748314_1 (original_air_date VARCHAR, no_in_season VARCHAR)
{ "SQL_Query": "SELECT original_air_date FROM table_26748314_1 WHERE no_in_season = 7" }
What is the number of participating parties when registered voters totaled 643629?
CREATE TABLE table_2676980_4 (participating_parties VARCHAR, registered_voters VARCHAR)
{ "SQL_Query": "SELECT COUNT(participating_parties) FROM table_2676980_4 WHERE registered_voters = 643629" }
What is the electoral district when total candidates were 35?
CREATE TABLE table_2676980_4 (electoral_district VARCHAR, total_candidates VARCHAR)
{ "SQL_Query": "SELECT electoral_district FROM table_2676980_4 WHERE total_candidates = 35" }
What is the number of seats in congress when the electoral district is Ucayali?
CREATE TABLE table_2676980_4 (seats_in_congress VARCHAR, electoral_district VARCHAR)
{ "SQL_Query": "SELECT COUNT(seats_in_congress) FROM table_2676980_4 WHERE electoral_district = \"Ucayali\"" }
What is the number of seats in congress when the candidates per party is 6?
CREATE TABLE table_2676980_4 (seats_in_congress VARCHAR, candidates_per_party VARCHAR)
{ "SQL_Query": "SELECT COUNT(seats_in_congress) FROM table_2676980_4 WHERE candidates_per_party = 6" }
What is the number of total candidates when registered voters is 47742?
CREATE TABLE table_2676980_4 (total_candidates VARCHAR, registered_voters VARCHAR)
{ "SQL_Query": "SELECT total_candidates FROM table_2676980_4 WHERE registered_voters = 47742" }
Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside?
CREATE TABLE table_26758262_1 (judges_residence VARCHAR, municipalities_served VARCHAR)
{ "SQL_Query": "SELECT judges_residence FROM table_26758262_1 WHERE municipalities_served = \"Beacon Falls , Naugatuck , Middlebury , Prospect\"" }
What district is the court located in Tolland?
CREATE TABLE table_26758262_1 (district INTEGER, location_of_court VARCHAR)
{ "SQL_Query": "SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = \"Tolland\"" }
Where does the judge whose court is in Groton reside?
CREATE TABLE table_26758262_1 (judges_residence VARCHAR, location_of_court VARCHAR)
{ "SQL_Query": "SELECT judges_residence FROM table_26758262_1 WHERE location_of_court = \"Groton\"" }
what is the nhl team for the player john maclean?
CREATE TABLE table_2679061_1 (nhl_team VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT nhl_team FROM table_2679061_1 WHERE player = \"John MacLean\"" }
who is the player for the position defence and the college/junior/club team is ottawa 67's (ohl)?
CREATE TABLE table_2679061_1 (player VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)
{ "SQL_Query": "SELECT player FROM table_2679061_1 WHERE position = \"Defence\" AND college_junior_club_team = \"Ottawa 67's (OHL)\"" }
what is the college/junior/club team for the player alfie turcotte?
CREATE TABLE table_2679061_1 (college_junior_club_team VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT college_junior_club_team FROM table_2679061_1 WHERE player = \"Alfie Turcotte\"" }
What is the name of the college/junior/club team of the Buffalo Sabres?
CREATE TABLE table_2679061_10 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT college_junior_club_team FROM table_2679061_10 WHERE nhl_team = \"Buffalo Sabres\"" }
What is Reine Karlsson's nationality?
CREATE TABLE table_2679061_10 (nationality VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_2679061_10 WHERE player = \"Reine Karlsson\"" }
How many players were drafted by the Philadelphia Flyers?
CREATE TABLE table_2679061_11 (nationality VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT COUNT(nationality) FROM table_2679061_11 WHERE nhl_team = \"Philadelphia Flyers\"" }
How many picks did the Chicago Black Hawks get?
CREATE TABLE table_2679061_11 (pick__number VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT COUNT(pick__number) FROM table_2679061_11 WHERE nhl_team = \"Chicago Black Hawks\"" }
What team had pick 203?
CREATE TABLE table_2679061_11 (nhl_team VARCHAR, pick__number VARCHAR)
{ "SQL_Query": "SELECT nhl_team FROM table_2679061_11 WHERE pick__number = 203" }
Which school did harold duvall attend?
CREATE TABLE table_2679061_12 (college_junior_club_team VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT college_junior_club_team FROM table_2679061_12 WHERE player = \"Harold Duvall\"" }
List the position for the boston bruins.
CREATE TABLE table_2679061_12 (position VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT position FROM table_2679061_12 WHERE nhl_team = \"Boston Bruins\"" }
Who was drafted to litvinov (czechoslovakia)?
CREATE TABLE table_2679061_12 (player VARCHAR, college_junior_club_team VARCHAR)
{ "SQL_Query": "SELECT player FROM table_2679061_12 WHERE college_junior_club_team = \"Litvinov (Czechoslovakia)\"" }
What position does peter mcgeough cover?
CREATE TABLE table_2679061_12 (position VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT position FROM table_2679061_12 WHERE player = \"Peter McGeough\"" }
Which player was drafted by the Minnesota North Stars?
CREATE TABLE table_2679061_4 (player VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT player FROM table_2679061_4 WHERE nhl_team = \"Minnesota North Stars\"" }
What is the nationality of Bob Essensa?
CREATE TABLE table_2679061_4 (nationality VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_2679061_4 WHERE player = \"Bob Essensa\"" }
What position is the player from the Regina Pats (WHL)?
CREATE TABLE table_2679061_4 (position VARCHAR, college_junior_club_team VARCHAR)
{ "SQL_Query": "SELECT position FROM table_2679061_4 WHERE college_junior_club_team = \"Regina Pats (WHL)\"" }
What number pick was the player from HIFK Helsinki (Finland)?
CREATE TABLE table_2679061_4 (pick__number VARCHAR, college_junior_club_team VARCHAR)
{ "SQL_Query": "SELECT pick__number FROM table_2679061_4 WHERE college_junior_club_team = \"HIFK Helsinki (Finland)\"" }
Which team drafted Esa Tikkanen?
CREATE TABLE table_2679061_4 (nhl_team VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT nhl_team FROM table_2679061_4 WHERE player = \"Esa Tikkanen\"" }
What was the nationality of player picked no. 168?
CREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_2679061_9 WHERE pick__number = 168" }
What was the nationality of player picked no. 179?
CREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_2679061_9 WHERE pick__number = 179" }
Who was the player who played for Hartford Whalers NHL Team?
CREATE TABLE table_2679061_9 (player VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT player FROM table_2679061_9 WHERE nhl_team = \"Hartford Whalers\"" }
What was the position of the player who played for New York Islanders NHL Team?
CREATE TABLE table_2679061_9 (position VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT position FROM table_2679061_9 WHERE nhl_team = \"New York Islanders\"" }
What was the nationality of player Cliff Abrecht?
CREATE TABLE table_2679061_9 (nationality VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_2679061_9 WHERE player = \"Cliff Abrecht\"" }
What is the highest number of poles?
CREATE TABLE table_26794530_1 (poles INTEGER)
{ "SQL_Query": "SELECT MAX(poles) FROM table_26794530_1" }
How many f/laps were there when he scored 170 points?
CREATE TABLE table_26794530_1 (f_laps VARCHAR, points VARCHAR)
{ "SQL_Query": "SELECT COUNT(f_laps) FROM table_26794530_1 WHERE points = \"170\"" }
When there were 30 races and the final placing was 13th, how many points were scored?
CREATE TABLE table_26794530_1 (points VARCHAR, final_placing VARCHAR, races VARCHAR)
{ "SQL_Query": "SELECT points FROM table_26794530_1 WHERE final_placing = \"13th\" AND races = 30" }
What club is associated with draft number 155?
CREATE TABLE table_2679061_8 (nhl_team VARCHAR, pick__number VARCHAR)
{ "SQL_Query": "SELECT nhl_team FROM table_2679061_8 WHERE pick__number = 155" }
What is the production code for the number 5 series ?
CREATE TABLE table_26801821_1 (production_code VARCHAR, no_in_series VARCHAR)
{ "SQL_Query": "SELECT production_code FROM table_26801821_1 WHERE no_in_series = 5" }
What is the number of the series written by Teresa Lin?
CREATE TABLE table_26801821_1 (no_in_series VARCHAR, written_by VARCHAR)
{ "SQL_Query": "SELECT COUNT(no_in_series) FROM table_26801821_1 WHERE written_by = \"Teresa Lin\"" }
Which series # had 0.852 U.S. viewers(millions)?
CREATE TABLE table_26808178_3 (series__number INTEGER, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT MAX(series__number) FROM table_26808178_3 WHERE us_viewers__millions_ = \"0.852\"" }
Which original air date had 0.871 U.S. viewers (millions)?
CREATE TABLE table_26808178_3 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT original_air_date FROM table_26808178_3 WHERE us_viewers__millions_ = \"0.871\"" }
Which series # had 0.645 U.S. viewers(millions)?
CREATE TABLE table_26808178_3 (series__number INTEGER, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT MAX(series__number) FROM table_26808178_3 WHERE us_viewers__millions_ = \"0.645\"" }
When 12th is the final placing what is the wins?
CREATE TABLE table_26815674_1 (wins VARCHAR, final_placing VARCHAR)
{ "SQL_Query": "SELECT wins FROM table_26815674_1 WHERE final_placing = \"12th\"" }
When 24th is the final placing how many wins are there?
CREATE TABLE table_26815674_1 (wins VARCHAR, final_placing VARCHAR)
{ "SQL_Query": "SELECT COUNT(wins) FROM table_26815674_1 WHERE final_placing = \"24th\"" }
What is the lowest overall amount of wins?
CREATE TABLE table_26815674_1 (wins INTEGER)
{ "SQL_Query": "SELECT MIN(wins) FROM table_26815674_1" }