context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_2273738_1 (metropolitan_area INTEGER, city VARCHAR) | SELECT MAX(metropolitan_area) FROM table_2273738_1 WHERE city = "Manchester" | What is the total membership for the metropolitan area in the city of Manchester? | <s>[INST]What is the total membership for the metropolitan area in the city of Manchester? Context: CREATE TABLE table_2273738_1 (metropolitan_area INTEGER, city VARCHAR)[/INST]SELECT MAX(metropolitan_area) FROM table_2273738_1 WHERE city = "Manchester"</s> |
CREATE TABLE table_name_74 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_74 WHERE home_team = "geelong" | What is the score of the Home team of geelong? | <s>[INST]What is the score of the Home team of geelong? Context: CREATE TABLE table_name_74 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_74 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_74 (finish VARCHAR, qual VARCHAR) | SELECT finish FROM table_name_74 WHERE qual = "141.071" | What finish qualified at 141.071? | <s>[INST]What finish qualified at 141.071? Context: CREATE TABLE table_name_74 (finish VARCHAR, qual VARCHAR)[/INST]SELECT finish FROM table_name_74 WHERE qual = "141.071"</s> |
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar VARCHAR, Jul VARCHAR, Oct VARCHAR) | SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Jul OR T2.Mar > T2.Oct | Give me a list of cities whose temperature in March is lower than that in July or higher than that in Oct? | <s>[INST]Give me a list of cities whose temperature in March is lower than that in July or higher than that in Oct? Context: CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar VARCHAR, Jul VARCHAR, Oct VARCHAR)[/INST]SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON... |
CREATE TABLE table_name_58 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_58 WHERE venue = "corio oval" | What did the away team score at corio oval? | <s>[INST]What did the away team score at corio oval? Context: CREATE TABLE table_name_58 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_58 WHERE venue = "corio oval"</s> |
CREATE TABLE table_name_6 (weight INTEGER, height VARCHAR) | SELECT MAX(weight) FROM table_name_6 WHERE height = "7-0" | Of those with a height of 7-0, who weighs the most? | <s>[INST]Of those with a height of 7-0, who weighs the most? Context: CREATE TABLE table_name_6 (weight INTEGER, height VARCHAR)[/INST]SELECT MAX(weight) FROM table_name_6 WHERE height = "7-0"</s> |
CREATE TABLE table_name_52 (all_amendments_sponsored INTEGER, bills_originally_cosponsored VARCHAR, all_bills_cosponsored VARCHAR) | SELECT MIN(all_amendments_sponsored) FROM table_name_52 WHERE bills_originally_cosponsored = 150 AND all_bills_cosponsored > 247 | What is the fewest amendments sponsored associated with 150 bills originally cosponsored and over 247 bills cosponsored? | <s>[INST]What is the fewest amendments sponsored associated with 150 bills originally cosponsored and over 247 bills cosponsored? Context: CREATE TABLE table_name_52 (all_amendments_sponsored INTEGER, bills_originally_cosponsored VARCHAR, all_bills_cosponsored VARCHAR)[/INST]SELECT MIN(all_amendments_sponsored) FROM ta... |
CREATE TABLE table_name_84 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_84 WHERE college = "western washington" | Which player went to the college of Western Washington? | <s>[INST]Which player went to the college of Western Washington? Context: CREATE TABLE table_name_84 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_84 WHERE college = "western washington"</s> |
CREATE TABLE table_name_61 (prime_mover VARCHAR, model VARCHAR) | SELECT prime_mover FROM table_name_61 WHERE model = "rs-18" | Which prime mover had a Model of rs-18? | <s>[INST]Which prime mover had a Model of rs-18? Context: CREATE TABLE table_name_61 (prime_mover VARCHAR, model VARCHAR)[/INST]SELECT prime_mover FROM table_name_61 WHERE model = "rs-18"</s> |
CREATE TABLE table_25548213_1 (series__number INTEGER, us_viewers__million_ VARCHAR) | SELECT MAX(series__number) FROM table_25548213_1 WHERE us_viewers__million_ = "5.31" | What is the series number that had 5.31 million viewers? | <s>[INST]What is the series number that had 5.31 million viewers? Context: CREATE TABLE table_25548213_1 (series__number INTEGER, us_viewers__million_ VARCHAR)[/INST]SELECT MAX(series__number) FROM table_25548213_1 WHERE us_viewers__million_ = "5.31"</s> |
CREATE TABLE table_name_72 (bronze VARCHAR, year VARCHAR) | SELECT bronze FROM table_name_72 WHERE year = 1994 | Who won bronze in 1994? | <s>[INST]Who won bronze in 1994? Context: CREATE TABLE table_name_72 (bronze VARCHAR, year VARCHAR)[/INST]SELECT bronze FROM table_name_72 WHERE year = 1994</s> |
CREATE TABLE table_2160215_1 (original_japanese VARCHAR, english___manga_uk__ VARCHAR) | SELECT original_japanese FROM table_2160215_1 WHERE english___manga_uk__ = "Sean Barrett" | Who was the original Japanese cast if Sean Barrett acted on the English (Manga UK) version? | <s>[INST]Who was the original Japanese cast if Sean Barrett acted on the English (Manga UK) version? Context: CREATE TABLE table_2160215_1 (original_japanese VARCHAR, english___manga_uk__ VARCHAR)[/INST]SELECT original_japanese FROM table_2160215_1 WHERE english___manga_uk__ = "Sean Barrett"</s> |
CREATE TABLE table_name_32 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) | SELECT opponent FROM table_name_32 WHERE week < 9 AND game_site = "robert f. kennedy memorial stadium" | Who did the Jets play in their pre-week 9 game at the Robert F. Kennedy memorial stadium? | <s>[INST]Who did the Jets play in their pre-week 9 game at the Robert F. Kennedy memorial stadium? Context: CREATE TABLE table_name_32 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)[/INST]SELECT opponent FROM table_name_32 WHERE week < 9 AND game_site = "robert f. kennedy memorial stadium"</s> |
CREATE TABLE table_name_67 (year VARCHAR, waterford_score VARCHAR) | SELECT year FROM table_name_67 WHERE waterford_score = "6-08 (24)" | What yeae has 6-08 (24) as a waterford score? | <s>[INST]What yeae has 6-08 (24) as a waterford score? Context: CREATE TABLE table_name_67 (year VARCHAR, waterford_score VARCHAR)[/INST]SELECT year FROM table_name_67 WHERE waterford_score = "6-08 (24)"</s> |
CREATE TABLE table_1656555_1 (ordained_priest VARCHAR, vacated_throne VARCHAR) | SELECT ordained_priest FROM table_1656555_1 WHERE vacated_throne = "August 18, 1885" | When was the archbishop who vacated the throne on August 18, 1885 ordained as a priest? | <s>[INST]When was the archbishop who vacated the throne on August 18, 1885 ordained as a priest? Context: CREATE TABLE table_1656555_1 (ordained_priest VARCHAR, vacated_throne VARCHAR)[/INST]SELECT ordained_priest FROM table_1656555_1 WHERE vacated_throne = "August 18, 1885"</s> |
CREATE TABLE table_name_38 (round VARCHAR, club VARCHAR) | SELECT round FROM table_name_38 WHERE club = "bečej" | What is the round of club bečej? | <s>[INST]What is the round of club bečej? Context: CREATE TABLE table_name_38 (round VARCHAR, club VARCHAR)[/INST]SELECT round FROM table_name_38 WHERE club = "bečej"</s> |
CREATE TABLE table_name_67 (gdp___bn__ VARCHAR, capital VARCHAR) | SELECT gdp___bn__ FROM table_name_67 WHERE capital = "ioannina" | What was the Gdp (bn) for the region that has ioannina as its Capital? | <s>[INST]What was the Gdp (bn) for the region that has ioannina as its Capital? Context: CREATE TABLE table_name_67 (gdp___bn__ VARCHAR, capital VARCHAR)[/INST]SELECT gdp___bn__ FROM table_name_67 WHERE capital = "ioannina"</s> |
CREATE TABLE table_2781227_2 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_2781227_2 WHERE nhl_team = "Chicago Blackhawks" | What player belongs to the Chicago Blackhawks? | <s>[INST]What player belongs to the Chicago Blackhawks? Context: CREATE TABLE table_2781227_2 (player VARCHAR, nhl_team VARCHAR)[/INST]SELECT player FROM table_2781227_2 WHERE nhl_team = "Chicago Blackhawks"</s> |
CREATE TABLE table_17798548_4 (_number_of_discs INTEGER, season VARCHAR) | SELECT MAX(_number_of_discs) FROM table_17798548_4 WHERE season = "The Complete 4th Series" | How many discs for the complete 4th series? | <s>[INST]How many discs for the complete 4th series? Context: CREATE TABLE table_17798548_4 (_number_of_discs INTEGER, season VARCHAR)[/INST]SELECT MAX(_number_of_discs) FROM table_17798548_4 WHERE season = "The Complete 4th Series"</s> |
CREATE TABLE table_name_67 (year VARCHAR, drivers VARCHAR, flaps VARCHAR) | SELECT COUNT(year) FROM table_name_67 WHERE drivers = "ben hanley" AND flaps < 0 | How many years have Drivers of ben hanley, and Flaps smaller than 0? | <s>[INST]How many years have Drivers of ben hanley, and Flaps smaller than 0? Context: CREATE TABLE table_name_67 (year VARCHAR, drivers VARCHAR, flaps VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_67 WHERE drivers = "ben hanley" AND flaps < 0</s> |
CREATE TABLE table_18958648_1 (obesity_rank INTEGER, state_and_district_of_columbia VARCHAR) | SELECT MIN(obesity_rank) FROM table_18958648_1 WHERE state_and_district_of_columbia = "Utah" | What is the least obesity rank for the state of Utah? | <s>[INST]What is the least obesity rank for the state of Utah? Context: CREATE TABLE table_18958648_1 (obesity_rank INTEGER, state_and_district_of_columbia VARCHAR)[/INST]SELECT MIN(obesity_rank) FROM table_18958648_1 WHERE state_and_district_of_columbia = "Utah"</s> |
CREATE TABLE table_name_8 (place INTEGER, votes VARCHAR, draw VARCHAR) | SELECT MAX(place) FROM table_name_8 WHERE votes = 38 AND draw > 3 | What is the highest place of the song with 38 votes and a draw great than 3? | <s>[INST]What is the highest place of the song with 38 votes and a draw great than 3? Context: CREATE TABLE table_name_8 (place INTEGER, votes VARCHAR, draw VARCHAR)[/INST]SELECT MAX(place) FROM table_name_8 WHERE votes = 38 AND draw > 3</s> |
CREATE TABLE table_237757_10 (highest VARCHAR, low_team VARCHAR) | SELECT COUNT(highest) FROM table_237757_10 WHERE low_team = "Baltimore Rays" | How many entries for highest when the low team was baltimore rays? | <s>[INST]How many entries for highest when the low team was baltimore rays? Context: CREATE TABLE table_237757_10 (highest VARCHAR, low_team VARCHAR)[/INST]SELECT COUNT(highest) FROM table_237757_10 WHERE low_team = "Baltimore Rays"</s> |
CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR) | SELECT date FROM table_name_75 WHERE site = "williams-brice stadium • columbia, sc" | What date was the game at Williams-Brice stadium • Columbia, SC? | <s>[INST]What date was the game at Williams-Brice stadium • Columbia, SC? Context: CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR)[/INST]SELECT date FROM table_name_75 WHERE site = "williams-brice stadium • columbia, sc"</s> |
CREATE TABLE table_1566848_7 (date VARCHAR, pictorials VARCHAR) | SELECT COUNT(date) FROM table_1566848_7 WHERE pictorials = "Female s disk jockey" | What is the date of the issue where the pictorials is of Female s disk jockey? | <s>[INST]What is the date of the issue where the pictorials is of Female s disk jockey? Context: CREATE TABLE table_1566848_7 (date VARCHAR, pictorials VARCHAR)[/INST]SELECT COUNT(date) FROM table_1566848_7 WHERE pictorials = "Female s disk jockey"</s> |
CREATE TABLE table_name_46 (ttkl INTEGER, year VARCHAR, pass_def VARCHAR) | SELECT SUM(ttkl) FROM table_name_46 WHERE year = "2004" AND pass_def > 5 | How many TTkl have 2004 as the year, and a pass def greater than 5? | <s>[INST]How many TTkl have 2004 as the year, and a pass def greater than 5? Context: CREATE TABLE table_name_46 (ttkl INTEGER, year VARCHAR, pass_def VARCHAR)[/INST]SELECT SUM(ttkl) FROM table_name_46 WHERE year = "2004" AND pass_def > 5</s> |
CREATE TABLE table_name_52 (third VARCHAR, events VARCHAR, skip VARCHAR, second VARCHAR) | SELECT third FROM table_name_52 WHERE skip = "sandra peterson" AND second = "joan mccusker" AND events = "1995 stoh" | IN EVENTS 1995 STOH, WHO WAS THE THIRD WITH SKIP SANDRA PETERSON AND SECOND JOAN MCCUSKER? | <s>[INST]IN EVENTS 1995 STOH, WHO WAS THE THIRD WITH SKIP SANDRA PETERSON AND SECOND JOAN MCCUSKER? Context: CREATE TABLE table_name_52 (third VARCHAR, events VARCHAR, skip VARCHAR, second VARCHAR)[/INST]SELECT third FROM table_name_52 WHERE skip = "sandra peterson" AND second = "joan mccusker" AND events = "1995 stoh"... |
CREATE TABLE table_name_72 (district INTEGER, took_office VARCHAR, party VARCHAR, senator VARCHAR) | SELECT MAX(district) FROM table_name_72 WHERE party = "democratic" AND senator = "steve carriker" AND took_office > 1988 | What is the district where Steve Carriker is the Democratic Senator and he took office later than 1988? | <s>[INST]What is the district where Steve Carriker is the Democratic Senator and he took office later than 1988? Context: CREATE TABLE table_name_72 (district INTEGER, took_office VARCHAR, party VARCHAR, senator VARCHAR)[/INST]SELECT MAX(district) FROM table_name_72 WHERE party = "democratic" AND senator = "steve carri... |
CREATE TABLE table_name_30 (year_began_making_autos INTEGER, year_joined_gm VARCHAR) | SELECT AVG(year_began_making_autos) FROM table_name_30 WHERE year_joined_gm = 1917 | What is the average year to begin making autos for a brand that joined GM in 1917? | <s>[INST]What is the average year to begin making autos for a brand that joined GM in 1917? Context: CREATE TABLE table_name_30 (year_began_making_autos INTEGER, year_joined_gm VARCHAR)[/INST]SELECT AVG(year_began_making_autos) FROM table_name_30 WHERE year_joined_gm = 1917</s> |
CREATE TABLE table_1601792_4 (television_station VARCHAR, frequency VARCHAR) | SELECT COUNT(television_station) FROM table_1601792_4 WHERE frequency = "35 UHF" | How many stations have a 35 uhf frequency? | <s>[INST]How many stations have a 35 uhf frequency? Context: CREATE TABLE table_1601792_4 (television_station VARCHAR, frequency VARCHAR)[/INST]SELECT COUNT(television_station) FROM table_1601792_4 WHERE frequency = "35 UHF"</s> |
CREATE TABLE table_name_51 (paper_type VARCHAR, illustration VARCHAR) | SELECT paper_type FROM table_name_51 WHERE illustration = "martin dee, ubc public affairs" | What is the Paper Type with an Illustration with martin dee, ubc public affairs? | <s>[INST]What is the Paper Type with an Illustration with martin dee, ubc public affairs? Context: CREATE TABLE table_name_51 (paper_type VARCHAR, illustration VARCHAR)[/INST]SELECT paper_type FROM table_name_51 WHERE illustration = "martin dee, ubc public affairs"</s> |
CREATE TABLE table_name_89 (laps VARCHAR, year VARCHAR) | SELECT COUNT(laps) FROM table_name_89 WHERE year = "1955" | How many laps were in 1955? | <s>[INST]How many laps were in 1955? Context: CREATE TABLE table_name_89 (laps VARCHAR, year VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_89 WHERE year = "1955"</s> |
CREATE TABLE table_1358608_4 (distance VARCHAR, group VARCHAR) | SELECT distance FROM table_1358608_4 WHERE group = "G3" | What was the distance of the race in which Northerly raced in group G3? | <s>[INST]What was the distance of the race in which Northerly raced in group G3? Context: CREATE TABLE table_1358608_4 (distance VARCHAR, group VARCHAR)[/INST]SELECT distance FROM table_1358608_4 WHERE group = "G3"</s> |
CREATE TABLE table_name_57 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_57 WHERE away_team = "fitzroy" | What home team played Fitzroy? | <s>[INST]What home team played Fitzroy? Context: CREATE TABLE table_name_57 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_57 WHERE away_team = "fitzroy"</s> |
CREATE TABLE member (LEVEL VARCHAR) | SELECT COUNT(DISTINCT LEVEL) FROM member | How many different levels do members have? | <s>[INST]How many different levels do members have? Context: CREATE TABLE member (LEVEL VARCHAR)[/INST]SELECT COUNT(DISTINCT LEVEL) FROM member</s> |
CREATE TABLE table_name_23 (bronze INTEGER, team VARCHAR, gold VARCHAR) | SELECT AVG(bronze) FROM table_name_23 WHERE team = "northwest territories" AND gold > 34 | what is the average bronze when the team is northwest territories and gold is more than 34? | <s>[INST]what is the average bronze when the team is northwest territories and gold is more than 34? Context: CREATE TABLE table_name_23 (bronze INTEGER, team VARCHAR, gold VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_23 WHERE team = "northwest territories" AND gold > 34</s> |
CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county" | What Transfer window that has a Transfer fee of free, with a Moving to of derby county? | <s>[INST]What Transfer window that has a Transfer fee of free, with a Moving to of derby county? Context: CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)[/INST]SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county"</s> |
CREATE TABLE table_name_24 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_24 WHERE attendance = "70,721" | What was the score for the game that attendance was 70,721? | <s>[INST]What was the score for the game that attendance was 70,721? Context: CREATE TABLE table_name_24 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_24 WHERE attendance = "70,721"</s> |
CREATE TABLE table_name_58 (nba_years_ VARCHAR, a_ VARCHAR, nationality VARCHAR, previous_team VARCHAR) | SELECT nba_years_[a_] FROM table_name_58 WHERE nationality = "united states" AND previous_team = "los angeles lakers" | How many NBA years did the player from the United States who was previously on the los angeles lakers have? | <s>[INST]How many NBA years did the player from the United States who was previously on the los angeles lakers have? Context: CREATE TABLE table_name_58 (nba_years_ VARCHAR, a_ VARCHAR, nationality VARCHAR, previous_team VARCHAR)[/INST]SELECT nba_years_[a_] FROM table_name_58 WHERE nationality = "united states" AND pre... |
CREATE TABLE table_name_90 (race_name VARCHAR, round VARCHAR) | SELECT race_name FROM table_name_90 WHERE round = 1 | What is the name of the race from round 1? | <s>[INST]What is the name of the race from round 1? Context: CREATE TABLE table_name_90 (race_name VARCHAR, round VARCHAR)[/INST]SELECT race_name FROM table_name_90 WHERE round = 1</s> |
CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_86 WHERE date = "november 7, 1999" | What was the Attendance on November 7, 1999? | <s>[INST]What was the Attendance on November 7, 1999? Context: CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_86 WHERE date = "november 7, 1999"</s> |
CREATE TABLE table_19810459_1 (original_team VARCHAR, result VARCHAR) | SELECT original_team FROM table_19810459_1 WHERE result = "10th place" | What team was the contestant who finished in 10th place originally on? | <s>[INST]What team was the contestant who finished in 10th place originally on? Context: CREATE TABLE table_19810459_1 (original_team VARCHAR, result VARCHAR)[/INST]SELECT original_team FROM table_19810459_1 WHERE result = "10th place"</s> |
CREATE TABLE table_name_7 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_7 WHERE score = "2-0" | Which Competition has a Score of 2-0? | <s>[INST]Which Competition has a Score of 2-0? Context: CREATE TABLE table_name_7 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_7 WHERE score = "2-0"</s> |
CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Customer_Payments (amount_payment INTEGER, customer_id VARCHAR) | SELECT SUM(T1.amount_payment) FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Carole" AND T2.last_name = "Bernhard" | How much in total does customer with first name as Carole and last name as Bernhard paid? | <s>[INST]How much in total does customer with first name as Carole and last name as Bernhard paid? Context: CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Customer_Payments (amount_payment INTEGER, customer_id VARCHAR)[/INST]SELECT SUM(T1.amount_payment) FROM Customer_... |
CREATE TABLE table_name_65 (overall VARCHAR, pick__number VARCHAR) | SELECT overall FROM table_name_65 WHERE pick__number = 14 | Which overall's pick number was 14? | <s>[INST]Which overall's pick number was 14? Context: CREATE TABLE table_name_65 (overall VARCHAR, pick__number VARCHAR)[/INST]SELECT overall FROM table_name_65 WHERE pick__number = 14</s> |
CREATE TABLE table_name_72 (played INTEGER, position VARCHAR, drawn VARCHAR) | SELECT SUM(played) FROM table_name_72 WHERE position = 7 AND drawn < 7 | How much Played has a Position of 7, and a Drawn smaller than 7? | <s>[INST]How much Played has a Position of 7, and a Drawn smaller than 7? Context: CREATE TABLE table_name_72 (played INTEGER, position VARCHAR, drawn VARCHAR)[/INST]SELECT SUM(played) FROM table_name_72 WHERE position = 7 AND drawn < 7</s> |
CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR) | SELECT incumbent FROM table_13833770_3 WHERE opponent = "Anthony Weiner (D) unopposed" | who is the the incumbent with opponent being anthony weiner (d) unopposed | <s>[INST]who is the the incumbent with opponent being anthony weiner (d) unopposed Context: CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR)[/INST]SELECT incumbent FROM table_13833770_3 WHERE opponent = "Anthony Weiner (D) unopposed"</s> |
CREATE TABLE table_name_55 (position VARCHAR, nationality VARCHAR, round VARCHAR) | SELECT position FROM table_name_55 WHERE nationality = "sweden" AND round = "2" | What position is Sweden in round 2? | <s>[INST]What position is Sweden in round 2? Context: CREATE TABLE table_name_55 (position VARCHAR, nationality VARCHAR, round VARCHAR)[/INST]SELECT position FROM table_name_55 WHERE nationality = "sweden" AND round = "2"</s> |
CREATE TABLE table_name_3 (city_of_license VARCHAR, channels_tv___rf VARCHAR) | SELECT city_of_license FROM table_name_3 WHERE channels_tv___rf = "36 (psip) 36 (uhf)" | Which City of license has a Channels TV / RF of 36 (psip) 36 (uhf)? Question 5 | <s>[INST]Which City of license has a Channels TV / RF of 36 (psip) 36 (uhf)? Question 5 Context: CREATE TABLE table_name_3 (city_of_license VARCHAR, channels_tv___rf VARCHAR)[/INST]SELECT city_of_license FROM table_name_3 WHERE channels_tv___rf = "36 (psip) 36 (uhf)"</s> |
CREATE TABLE table_name_11 (points INTEGER, podiums VARCHAR, wins VARCHAR, season VARCHAR) | SELECT AVG(points) FROM table_name_11 WHERE wins < 1 AND season = "2012" AND podiums < 0 | What is the average number of points in the 2012 season, which has less than 1 wins and less than 0 podiums? | <s>[INST]What is the average number of points in the 2012 season, which has less than 1 wins and less than 0 podiums? Context: CREATE TABLE table_name_11 (points INTEGER, podiums VARCHAR, wins VARCHAR, season VARCHAR)[/INST]SELECT AVG(points) FROM table_name_11 WHERE wins < 1 AND season = "2012" AND podiums < 0</s> |
CREATE TABLE table_name_61 (city VARCHAR, stadium VARCHAR) | SELECT city FROM table_name_61 WHERE stadium = "don valley stadium" | In what city is the Don Valley Stadium located? | <s>[INST]In what city is the Don Valley Stadium located? Context: CREATE TABLE table_name_61 (city VARCHAR, stadium VARCHAR)[/INST]SELECT city FROM table_name_61 WHERE stadium = "don valley stadium"</s> |
CREATE TABLE table_name_46 (final VARCHAR, athlete VARCHAR) | SELECT final FROM table_name_46 WHERE athlete = "farhad rezaei" | What final was Farhad Rezaei in? | <s>[INST]What final was Farhad Rezaei in? Context: CREATE TABLE table_name_46 (final VARCHAR, athlete VARCHAR)[/INST]SELECT final FROM table_name_46 WHERE athlete = "farhad rezaei"</s> |
CREATE TABLE table_name_49 (week INTEGER, opponent VARCHAR) | SELECT SUM(week) FROM table_name_49 WHERE opponent = "san diego chargers" | What is the total number of weeks that the buffalo bills played against the San Diego Chargers? | <s>[INST]What is the total number of weeks that the buffalo bills played against the San Diego Chargers? Context: CREATE TABLE table_name_49 (week INTEGER, opponent VARCHAR)[/INST]SELECT SUM(week) FROM table_name_49 WHERE opponent = "san diego chargers"</s> |
CREATE TABLE table_name_33 (total_matches INTEGER, total_w_l_h VARCHAR) | SELECT MIN(total_matches) FROM table_name_33 WHERE total_w_l_h = "1-2-0" | Which Total matches is the lowest one that has a Total W-L-H of 1-2-0? | <s>[INST]Which Total matches is the lowest one that has a Total W-L-H of 1-2-0? Context: CREATE TABLE table_name_33 (total_matches INTEGER, total_w_l_h VARCHAR)[/INST]SELECT MIN(total_matches) FROM table_name_33 WHERE total_w_l_h = "1-2-0"</s> |
CREATE TABLE table_name_73 (laps INTEGER, rider VARCHAR) | SELECT MAX(laps) FROM table_name_73 WHERE rider = "garry mccoy" | What's the highest amount of laps Garry Mccoy drove? | <s>[INST]What's the highest amount of laps Garry Mccoy drove? Context: CREATE TABLE table_name_73 (laps INTEGER, rider VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_73 WHERE rider = "garry mccoy"</s> |
CREATE TABLE table_name_42 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_42 WHERE engine = "honda v6" AND chassis = "lotus 99t" | Which entrant has a Honda V6 engine and a Lotus 99t chassis? | <s>[INST]Which entrant has a Honda V6 engine and a Lotus 99t chassis? Context: CREATE TABLE table_name_42 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_42 WHERE engine = "honda v6" AND chassis = "lotus 99t"</s> |
CREATE TABLE table_name_73 (run_3 VARCHAR, team VARCHAR) | SELECT run_3 FROM table_name_73 WHERE team = "united states (usa) usa i" | What is Run 3, when Team is United States (USA) USA I? | <s>[INST]What is Run 3, when Team is United States (USA) USA I? Context: CREATE TABLE table_name_73 (run_3 VARCHAR, team VARCHAR)[/INST]SELECT run_3 FROM table_name_73 WHERE team = "united states (usa) usa i"</s> |
CREATE TABLE table_name_53 (rank INTEGER, nation VARCHAR, silver VARCHAR) | SELECT SUM(rank) FROM table_name_53 WHERE nation = "south korea" AND silver > 0 | Which Rank has a Nation of south korea, and a Silver larger than 0? | <s>[INST]Which Rank has a Nation of south korea, and a Silver larger than 0? Context: CREATE TABLE table_name_53 (rank INTEGER, nation VARCHAR, silver VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_53 WHERE nation = "south korea" AND silver > 0</s> |
CREATE TABLE table_name_24 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_24 WHERE week = 15 | What is week 15's result? | <s>[INST]What is week 15's result? Context: CREATE TABLE table_name_24 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_24 WHERE week = 15</s> |
CREATE TABLE table_name_87 (field_goals INTEGER, touchdowns VARCHAR, player VARCHAR, points VARCHAR, extra_points VARCHAR) | SELECT AVG(field_goals) FROM table_name_87 WHERE points > 50 AND extra_points > 0 AND player = "herb graver" AND touchdowns < 15 | When Herb Graver played, how many field goals were made when there were more than 50 points, less than 15 touchdowns, and more than 0 extra points? | <s>[INST]When Herb Graver played, how many field goals were made when there were more than 50 points, less than 15 touchdowns, and more than 0 extra points? Context: CREATE TABLE table_name_87 (field_goals INTEGER, touchdowns VARCHAR, player VARCHAR, points VARCHAR, extra_points VARCHAR)[/INST]SELECT AVG(field_goals) F... |
CREATE TABLE table_2190919_1 (poles VARCHAR, team_s_ VARCHAR) | SELECT poles FROM table_2190919_1 WHERE team_s_ = "#08 Miller Racing" | What are the poles is #08 Miller racing? | <s>[INST]What are the poles is #08 Miller racing? Context: CREATE TABLE table_2190919_1 (poles VARCHAR, team_s_ VARCHAR)[/INST]SELECT poles FROM table_2190919_1 WHERE team_s_ = "#08 Miller Racing"</s> |
CREATE TABLE table_1499791_2 (southern_lakota VARCHAR, yankton_yanktonai VARCHAR) | SELECT southern_lakota FROM table_1499791_2 WHERE yankton_yanktonai = "wakȟáŋyeža" | Name the southern lakota for wakȟáŋyeža | <s>[INST]Name the southern lakota for wakȟáŋyeža Context: CREATE TABLE table_1499791_2 (southern_lakota VARCHAR, yankton_yanktonai VARCHAR)[/INST]SELECT southern_lakota FROM table_1499791_2 WHERE yankton_yanktonai = "wakȟáŋyeža"</s> |
CREATE TABLE table_2509505_1 (games VARCHAR, goals_against VARCHAR) | SELECT COUNT(games) FROM table_2509505_1 WHERE goals_against = 352 | Name the total number of games for goals against being 352 | <s>[INST]Name the total number of games for goals against being 352 Context: CREATE TABLE table_2509505_1 (games VARCHAR, goals_against VARCHAR)[/INST]SELECT COUNT(games) FROM table_2509505_1 WHERE goals_against = 352</s> |
CREATE TABLE claims_processing (claim_outcome_code VARCHAR) | SELECT COUNT(DISTINCT claim_outcome_code) FROM claims_processing | How many distinct claim outcome codes are there? | <s>[INST]How many distinct claim outcome codes are there? Context: CREATE TABLE claims_processing (claim_outcome_code VARCHAR)[/INST]SELECT COUNT(DISTINCT claim_outcome_code) FROM claims_processing</s> |
CREATE TABLE table_name_8 (rank VARCHAR, nation VARCHAR, silver VARCHAR) | SELECT COUNT(rank) FROM table_name_8 WHERE nation = "netherlands" AND silver > 2 | What is the total rank for the Netherlands when more than 2 silver medals were won? | <s>[INST]What is the total rank for the Netherlands when more than 2 silver medals were won? Context: CREATE TABLE table_name_8 (rank VARCHAR, nation VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_8 WHERE nation = "netherlands" AND silver > 2</s> |
CREATE TABLE table_1341640_11 (party VARCHAR, candidates VARCHAR) | SELECT COUNT(party) FROM table_1341640_11 WHERE candidates = "Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.9%" | How many parties were for candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%? | <s>[INST]How many parties were for candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%? Context: CREATE TABLE table_1341640_11 (party VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(party) FROM table_1341640_11 WHERE candidates = "Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.9%"</s> |
CREATE TABLE table_name_35 (stadium VARCHAR, final_score VARCHAR) | SELECT stadium FROM table_name_35 WHERE final_score = "20-10" | Name the stadium with final score of 20-10 | <s>[INST]Name the stadium with final score of 20-10 Context: CREATE TABLE table_name_35 (stadium VARCHAR, final_score VARCHAR)[/INST]SELECT stadium FROM table_name_35 WHERE final_score = "20-10"</s> |
CREATE TABLE table_name_89 (round INTEGER, method VARCHAR) | SELECT AVG(round) FROM table_name_89 WHERE method = "tko (would not stand up from butt scoot)" | What round was it when the method was TKO (would not stand up from Butt Scoot)? | <s>[INST]What round was it when the method was TKO (would not stand up from Butt Scoot)? Context: CREATE TABLE table_name_89 (round INTEGER, method VARCHAR)[/INST]SELECT AVG(round) FROM table_name_89 WHERE method = "tko (would not stand up from butt scoot)"</s> |
CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_38 WHERE tie_no = "4" | Which Away team has a Tie no of 4? | <s>[INST]Which Away team has a Tie no of 4? Context: CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_38 WHERE tie_no = "4"</s> |
CREATE TABLE table_name_28 (entrant VARCHAR, year VARCHAR, points VARCHAR) | SELECT entrant FROM table_name_28 WHERE year < 1963 AND points < 3 | What entrant had less than 3 points before 1963? | <s>[INST]What entrant had less than 3 points before 1963? Context: CREATE TABLE table_name_28 (entrant VARCHAR, year VARCHAR, points VARCHAR)[/INST]SELECT entrant FROM table_name_28 WHERE year < 1963 AND points < 3</s> |
CREATE TABLE table_14308895_2 (new_pageant VARCHAR, country_territory VARCHAR) | SELECT new_pageant FROM table_14308895_2 WHERE country_territory = "Spain" | which is the new pageant from spain? | <s>[INST]which is the new pageant from spain? Context: CREATE TABLE table_14308895_2 (new_pageant VARCHAR, country_territory VARCHAR)[/INST]SELECT new_pageant FROM table_14308895_2 WHERE country_territory = "Spain"</s> |
CREATE TABLE table_name_53 (duration VARCHAR, character VARCHAR) | SELECT duration FROM table_name_53 WHERE character = "witold latoszek" | How long did Witold Latoszek character lasted? | <s>[INST]How long did Witold Latoszek character lasted? Context: CREATE TABLE table_name_53 (duration VARCHAR, character VARCHAR)[/INST]SELECT duration FROM table_name_53 WHERE character = "witold latoszek"</s> |
CREATE TABLE table_name_18 (date VARCHAR, final_score VARCHAR) | SELECT date FROM table_name_18 WHERE final_score = "24-34" | The final score was 24-34 on what date? | <s>[INST]The final score was 24-34 on what date? Context: CREATE TABLE table_name_18 (date VARCHAR, final_score VARCHAR)[/INST]SELECT date FROM table_name_18 WHERE final_score = "24-34"</s> |
CREATE TABLE table_24018112_1 (frequency VARCHAR, model__list_ VARCHAR) | SELECT frequency FROM table_24018112_1 WHERE model__list_ = "L34xx" | What frequency does model L34xx use? | <s>[INST]What frequency does model L34xx use? Context: CREATE TABLE table_24018112_1 (frequency VARCHAR, model__list_ VARCHAR)[/INST]SELECT frequency FROM table_24018112_1 WHERE model__list_ = "L34xx"</s> |
CREATE TABLE table_name_87 (gpu_frequency VARCHAR, cores VARCHAR) | SELECT gpu_frequency FROM table_name_87 WHERE cores = "ultra-low power" | What's the GPU frequency that has ultra-low power in cores? | <s>[INST]What's the GPU frequency that has ultra-low power in cores? Context: CREATE TABLE table_name_87 (gpu_frequency VARCHAR, cores VARCHAR)[/INST]SELECT gpu_frequency FROM table_name_87 WHERE cores = "ultra-low power"</s> |
CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR) | SELECT COUNT(party) FROM table_2841865_2 WHERE congress = "69th" | How many entries are listed for party during the 69th congress? | <s>[INST]How many entries are listed for party during the 69th congress? Context: CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR)[/INST]SELECT COUNT(party) FROM table_2841865_2 WHERE congress = "69th"</s> |
CREATE TABLE table_1305623_18 (gold_medals VARCHAR, silver_medals INTEGER) | SELECT gold_medals FROM table_1305623_18 WHERE silver_medals < 1.0 | what are all the gold medals when the silver medals is smaller than 1.0? | <s>[INST]what are all the gold medals when the silver medals is smaller than 1.0? Context: CREATE TABLE table_1305623_18 (gold_medals VARCHAR, silver_medals INTEGER)[/INST]SELECT gold_medals FROM table_1305623_18 WHERE silver_medals < 1.0</s> |
CREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR) | SELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_host = "internal selection" AND year_s_ = "2011" | What is the name of the national final main host when the semi final/heat host shows internal selection in 2011? | <s>[INST]What is the name of the national final main host when the semi final/heat host shows internal selection in 2011? Context: CREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)[/INST]SELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_h... |
CREATE TABLE table_20350118_1 (mccain_number INTEGER, obama_percentage VARCHAR) | SELECT MAX(mccain_number) FROM table_20350118_1 WHERE obama_percentage = "50.7%" | How many votes did McCain get in the county where Obama got 50.7% of the votes? | <s>[INST]How many votes did McCain get in the county where Obama got 50.7% of the votes? Context: CREATE TABLE table_20350118_1 (mccain_number INTEGER, obama_percentage VARCHAR)[/INST]SELECT MAX(mccain_number) FROM table_20350118_1 WHERE obama_percentage = "50.7%"</s> |
CREATE TABLE table_name_80 (series_ep VARCHAR, segment_b VARCHAR) | SELECT series_ep FROM table_name_80 WHERE segment_b = "jukeboxes" | What series episode has jukeboxes as segment B? | <s>[INST]What series episode has jukeboxes as segment B? Context: CREATE TABLE table_name_80 (series_ep VARCHAR, segment_b VARCHAR)[/INST]SELECT series_ep FROM table_name_80 WHERE segment_b = "jukeboxes"</s> |
CREATE TABLE table_name_93 (title_rank VARCHAR, actor VARCHAR) | SELECT title_rank FROM table_name_93 WHERE actor = "pauline moran" | What is the title rank of actor pauline moran? | <s>[INST]What is the title rank of actor pauline moran? Context: CREATE TABLE table_name_93 (title_rank VARCHAR, actor VARCHAR)[/INST]SELECT title_rank FROM table_name_93 WHERE actor = "pauline moran"</s> |
CREATE TABLE table_24426072_1 (team__number1 VARCHAR) | SELECT 2 AS nd_leg FROM table_24426072_1 WHERE team__number1 = "River Plate" | What was the 2nd leg for team #1 River Plate? | <s>[INST]What was the 2nd leg for team #1 River Plate? Context: CREATE TABLE table_24426072_1 (team__number1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_24426072_1 WHERE team__number1 = "River Plate"</s> |
CREATE TABLE table_name_95 (city_of_license VARCHAR, call_sign VARCHAR) | SELECT city_of_license FROM table_name_95 WHERE call_sign = "kcmp" | Name the city of license for call sign of kcmp | <s>[INST]Name the city of license for call sign of kcmp Context: CREATE TABLE table_name_95 (city_of_license VARCHAR, call_sign VARCHAR)[/INST]SELECT city_of_license FROM table_name_95 WHERE call_sign = "kcmp"</s> |
CREATE TABLE table_name_59 (round VARCHAR, prize_money VARCHAR) | SELECT round FROM table_name_59 WHERE prize_money = "£120,000" | What is the Round with a Prize of money that is £120,000? | <s>[INST]What is the Round with a Prize of money that is £120,000? Context: CREATE TABLE table_name_59 (round VARCHAR, prize_money VARCHAR)[/INST]SELECT round FROM table_name_59 WHERE prize_money = "£120,000"</s> |
CREATE TABLE table_name_58 (games_won VARCHAR, points_for VARCHAR, points_against VARCHAR, bonus_points VARCHAR, points_difference VARCHAR) | SELECT COUNT(games_won) FROM table_name_58 WHERE bonus_points > 1 AND points_difference < 50 AND points_against = 106 AND points_for < 152 | Which Games won has Bonus points larger than 1, a Points difference smaller than 50, Points against of 106, and Points for smaller than 152? | <s>[INST]Which Games won has Bonus points larger than 1, a Points difference smaller than 50, Points against of 106, and Points for smaller than 152? Context: CREATE TABLE table_name_58 (games_won VARCHAR, points_for VARCHAR, points_against VARCHAR, bonus_points VARCHAR, points_difference VARCHAR)[/INST]SELECT COUNT(ga... |
CREATE TABLE table_name_62 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_62 WHERE player = "jay haas" | Where did Jay Haas place? | <s>[INST]Where did Jay Haas place? Context: CREATE TABLE table_name_62 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_62 WHERE player = "jay haas"</s> |
CREATE TABLE table_name_82 (assists INTEGER, club VARCHAR, goals VARCHAR) | SELECT SUM(assists) FROM table_name_82 WHERE club = "chicago fire" AND goals > 2 | what is the assists when the club is chicago fire and goals is more than 2? | <s>[INST]what is the assists when the club is chicago fire and goals is more than 2? Context: CREATE TABLE table_name_82 (assists INTEGER, club VARCHAR, goals VARCHAR)[/INST]SELECT SUM(assists) FROM table_name_82 WHERE club = "chicago fire" AND goals > 2</s> |
CREATE TABLE music_festival (RESULT VARCHAR) | SELECT RESULT, COUNT(*) FROM music_festival GROUP BY RESULT ORDER BY COUNT(*) DESC | Please show the results of music festivals and the number of music festivals that have had each, ordered by this count. | <s>[INST]Please show the results of music festivals and the number of music festivals that have had each, ordered by this count. Context: CREATE TABLE music_festival (RESULT VARCHAR)[/INST]SELECT RESULT, COUNT(*) FROM music_festival GROUP BY RESULT ORDER BY COUNT(*) DESC</s> |
CREATE TABLE table_name_53 (award_name VARCHAR, team_name VARCHAR) | SELECT award_name FROM table_name_53 WHERE team_name = "cougar robotics team" | What is the Award name with a Team name that is cougar robotics team? | <s>[INST]What is the Award name with a Team name that is cougar robotics team? Context: CREATE TABLE table_name_53 (award_name VARCHAR, team_name VARCHAR)[/INST]SELECT award_name FROM table_name_53 WHERE team_name = "cougar robotics team"</s> |
CREATE TABLE table_name_17 (finish VARCHAR, year VARCHAR) | SELECT finish FROM table_name_17 WHERE year = "1956" | What is the finish in 1956? | <s>[INST]What is the finish in 1956? Context: CREATE TABLE table_name_17 (finish VARCHAR, year VARCHAR)[/INST]SELECT finish FROM table_name_17 WHERE year = "1956"</s> |
CREATE TABLE table_24807406_3 (goals INTEGER) | SELECT MIN(goals) FROM table_24807406_3 | What was the lowest goals ever achieved? | <s>[INST]What was the lowest goals ever achieved? Context: CREATE TABLE table_24807406_3 (goals INTEGER)[/INST]SELECT MIN(goals) FROM table_24807406_3</s> |
CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_75 WHERE date = "may 18" | What is the score on May 18? | <s>[INST]What is the score on May 18? Context: CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_75 WHERE date = "may 18"</s> |
CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, result VARCHAR) | SELECT score FROM table_name_94 WHERE competition = "friendly" AND result = "4-5" | What is the score of the event with a competition type of friendly and a result of 4-5? | <s>[INST]What is the score of the event with a competition type of friendly and a result of 4-5? Context: CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, result VARCHAR)[/INST]SELECT score FROM table_name_94 WHERE competition = "friendly" AND result = "4-5"</s> |
CREATE TABLE table_1473672_6 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_1473672_6 WHERE nhl_team = "Chicago Black Hawks" | What player was drafted by the Chicago Black Hawks? | <s>[INST]What player was drafted by the Chicago Black Hawks? Context: CREATE TABLE table_1473672_6 (player VARCHAR, nhl_team VARCHAR)[/INST]SELECT player FROM table_1473672_6 WHERE nhl_team = "Chicago Black Hawks"</s> |
CREATE TABLE table_10718984_2 (original_air_date VARCHAR, no_in_season VARCHAR) | SELECT original_air_date FROM table_10718984_2 WHERE no_in_season = 23 | When did the no. 23 show originally air? | <s>[INST]When did the no. 23 show originally air? Context: CREATE TABLE table_10718984_2 (original_air_date VARCHAR, no_in_season VARCHAR)[/INST]SELECT original_air_date FROM table_10718984_2 WHERE no_in_season = 23</s> |
CREATE TABLE table_name_60 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_60 WHERE away_team = "melbourne" | What venue did melbourne play at as the away team? | <s>[INST]What venue did melbourne play at as the away team? Context: CREATE TABLE table_name_60 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_60 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_2342078_6 (original_airdate VARCHAR, written_by VARCHAR) | SELECT original_airdate FROM table_2342078_6 WHERE written_by = "Howard Ostroff" | Name the airdate for the episode written by howard ostroff | <s>[INST]Name the airdate for the episode written by howard ostroff Context: CREATE TABLE table_2342078_6 (original_airdate VARCHAR, written_by VARCHAR)[/INST]SELECT original_airdate FROM table_2342078_6 WHERE written_by = "Howard Ostroff"</s> |
CREATE TABLE table_name_7 (losses INTEGER, wins VARCHAR, draws VARCHAR) | SELECT MAX(losses) FROM table_name_7 WHERE wins = 5 AND draws < 0 | What are the most losses when there are 5 wins and draws less than 0? | <s>[INST]What are the most losses when there are 5 wins and draws less than 0? Context: CREATE TABLE table_name_7 (losses INTEGER, wins VARCHAR, draws VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_7 WHERE wins = 5 AND draws < 0</s> |
CREATE TABLE table_name_57 (result VARCHAR, nominee_s_ VARCHAR) | SELECT result FROM table_name_57 WHERE nominee_s_ = "janine sherman" | What is the result when the nominee(s) of janine sherman? | <s>[INST]What is the result when the nominee(s) of janine sherman? Context: CREATE TABLE table_name_57 (result VARCHAR, nominee_s_ VARCHAR)[/INST]SELECT result FROM table_name_57 WHERE nominee_s_ = "janine sherman"</s> |
CREATE TABLE table_21636599_1 (security_forces INTEGER) | SELECT MAX(security_forces) FROM table_21636599_1 | How many security forces? | <s>[INST]How many security forces? Context: CREATE TABLE table_21636599_1 (security_forces INTEGER)[/INST]SELECT MAX(security_forces) FROM table_21636599_1</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.