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