context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_15 (transmitting_from VARCHAR, coverage VARCHAR) | SELECT transmitting_from FROM table_name_15 WHERE coverage = "yucatán quintana roo campeche" | Where is the station with a coverage of yucatán quintana roo campeche transmitting from? | <s>[INST]Where is the station with a coverage of yucatán quintana roo campeche transmitting from? Context: CREATE TABLE table_name_15 (transmitting_from VARCHAR, coverage VARCHAR)[/INST]SELECT transmitting_from FROM table_name_15 WHERE coverage = "yucatán quintana roo campeche"</s> |
CREATE TABLE table_name_62 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT AVG(bronze) FROM table_name_62 WHERE silver > "2" AND rank = "2" AND gold > 2 | What is the average Bronze when silver is more than 2, and rank is 2, and gold more than 2 | <s>[INST]What is the average Bronze when silver is more than 2, and rank is 2, and gold more than 2 Context: CREATE TABLE table_name_62 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_62 WHERE silver > "2" AND rank = "2" AND gold > 2</s> |
CREATE TABLE table_name_79 (recording_date VARCHAR, title VARCHAR) | SELECT recording_date FROM table_name_79 WHERE title = "screech owl blues" | what is the recording date when the title is screech owl blues? | <s>[INST]what is the recording date when the title is screech owl blues? Context: CREATE TABLE table_name_79 (recording_date VARCHAR, title VARCHAR)[/INST]SELECT recording_date FROM table_name_79 WHERE title = "screech owl blues"</s> |
CREATE TABLE table_23817012_6 (fg_fga VARCHAR, ft_fta VARCHAR) | SELECT fg_fga FROM table_23817012_6 WHERE ft_fta = "16-21" | what is the score in fg-fga if in ft-fta is 16-21 | <s>[INST]what is the score in fg-fga if in ft-fta is 16-21 Context: CREATE TABLE table_23817012_6 (fg_fga VARCHAR, ft_fta VARCHAR)[/INST]SELECT fg_fga FROM table_23817012_6 WHERE ft_fta = "16-21"</s> |
CREATE TABLE table_19072602_5 (team_usa VARCHAR, team_europe VARCHAR) | SELECT team_usa FROM table_19072602_5 WHERE team_europe = "Paul Moor" | When paul moor is on the europe team who is on the usa team? | <s>[INST]When paul moor is on the europe team who is on the usa team? Context: CREATE TABLE table_19072602_5 (team_usa VARCHAR, team_europe VARCHAR)[/INST]SELECT team_usa FROM table_19072602_5 WHERE team_europe = "Paul Moor"</s> |
CREATE TABLE table_name_24 (gender VARCHAR, roll VARCHAR, name VARCHAR) | SELECT gender FROM table_name_24 WHERE roll < 141 AND name = "makarora primary school" | Makarora primary school has a roll less than 141 and what gender? | <s>[INST]Makarora primary school has a roll less than 141 and what gender? Context: CREATE TABLE table_name_24 (gender VARCHAR, roll VARCHAR, name VARCHAR)[/INST]SELECT gender FROM table_name_24 WHERE roll < 141 AND name = "makarora primary school"</s> |
CREATE TABLE table_name_9 (country VARCHAR, lane VARCHAR, name VARCHAR) | SELECT country FROM table_name_9 WHERE lane = 5 AND name = "abubaker kaki khamis" | What country had the runner abubaker kaki khamis in lane 5? | <s>[INST]What country had the runner abubaker kaki khamis in lane 5? Context: CREATE TABLE table_name_9 (country VARCHAR, lane VARCHAR, name VARCHAR)[/INST]SELECT country FROM table_name_9 WHERE lane = 5 AND name = "abubaker kaki khamis"</s> |
CREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_42 WHERE catalog = "32xa-112" | What was the date for the catalog 32xa-112? | <s>[INST]What was the date for the catalog 32xa-112? Context: CREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_42 WHERE catalog = "32xa-112"</s> |
CREATE TABLE table_name_46 (pick VARCHAR, round VARCHAR, school_club_team VARCHAR) | SELECT COUNT(pick) FROM table_name_46 WHERE round = 7 AND school_club_team = "arizona st." | Name all Pick that has a Round of 7, and a School/Club Team of arizona st.? | <s>[INST]Name all Pick that has a Round of 7, and a School/Club Team of arizona st.? Context: CREATE TABLE table_name_46 (pick VARCHAR, round VARCHAR, school_club_team VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_46 WHERE round = 7 AND school_club_team = "arizona st."</s> |
CREATE TABLE table_name_50 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_50 WHERE home_team = "north melbourne" | What is the Away team score with north melbourne as home team? | <s>[INST]What is the Away team score with north melbourne as home team? Context: CREATE TABLE table_name_50 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_50 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_26321719_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR) | SELECT change___percentage_ FROM table_26321719_1 WHERE area__km²_ = "1835.01" | What is every value for change% for area of 1835.01? | <s>[INST]What is every value for change% for area of 1835.01? Context: CREATE TABLE table_26321719_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR)[/INST]SELECT change___percentage_ FROM table_26321719_1 WHERE area__km²_ = "1835.01"</s> |
CREATE TABLE table_name_3 (week_5 VARCHAR, week_6 VARCHAR, week_2 VARCHAR) | SELECT week_5 FROM table_name_3 WHERE week_6 = "evicted" AND week_2 = "34.55" | What is week 5 when week 6 is evicted, and week 2 is 34.55? | <s>[INST]What is week 5 when week 6 is evicted, and week 2 is 34.55? Context: CREATE TABLE table_name_3 (week_5 VARCHAR, week_6 VARCHAR, week_2 VARCHAR)[/INST]SELECT week_5 FROM table_name_3 WHERE week_6 = "evicted" AND week_2 = "34.55"</s> |
CREATE TABLE election (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR) | SELECT Name FROM representative WHERE NOT Representative_ID IN (SELECT Representative_ID FROM election) | List the names of representatives that have not participated in elections listed here. | <s>[INST]List the names of representatives that have not participated in elections listed here. Context: CREATE TABLE election (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR)[/INST]SELECT Name FROM representative WHERE NOT Representative_ID IN (SELECT Rep... |
CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR) | SELECT record FROM table_name_57 WHERE game < 24 AND decision = "lundqvist" AND november < 8 AND opponent = "new york islanders" | What is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders? | <s>[INST]What is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders? Context: CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR)[/INST]SELECT record FROM table_name_57 WHERE game < 24 A... |
CREATE TABLE table_2401326_1 (bush_percentage VARCHAR, kerry_percentage VARCHAR) | SELECT bush_percentage FROM table_2401326_1 WHERE kerry_percentage = "37.6%" | What's percentage voted for Busg in the county where Kerry got 37.6%? | <s>[INST]What's percentage voted for Busg in the county where Kerry got 37.6%? Context: CREATE TABLE table_2401326_1 (bush_percentage VARCHAR, kerry_percentage VARCHAR)[/INST]SELECT bush_percentage FROM table_2401326_1 WHERE kerry_percentage = "37.6%"</s> |
CREATE TABLE table_name_49 (total INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT AVG(total) FROM table_name_49 WHERE country = "united states" AND to_par = 9 AND player = "gay brewer" | What is the average total of Gay Brewer from the United States with a to par of 9? | <s>[INST]What is the average total of Gay Brewer from the United States with a to par of 9? Context: CREATE TABLE table_name_49 (total INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR)[/INST]SELECT AVG(total) FROM table_name_49 WHERE country = "united states" AND to_par = 9 AND player = "gay brewer"</s> |
CREATE TABLE table_name_29 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_29 WHERE player = "dennis byrd" | Where did Dennis Byrd go to college? | <s>[INST]Where did Dennis Byrd go to college? Context: CREATE TABLE table_name_29 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_name_29 WHERE player = "dennis byrd"</s> |
CREATE TABLE table_name_4 (pos VARCHAR, laps VARCHAR, year VARCHAR) | SELECT pos FROM table_name_4 WHERE laps < 343 AND year = 2010 | What position has less than 343 laps in 2010? | <s>[INST]What position has less than 343 laps in 2010? Context: CREATE TABLE table_name_4 (pos VARCHAR, laps VARCHAR, year VARCHAR)[/INST]SELECT pos FROM table_name_4 WHERE laps < 343 AND year = 2010</s> |
CREATE TABLE table_name_9 (points INTEGER, touchdowns VARCHAR, field_goals VARCHAR) | SELECT AVG(points) FROM table_name_9 WHERE touchdowns = 1 AND field_goals < 0 | Which Points have Touchdowns of 1, and a Field goals smaller than 0? | <s>[INST]Which Points have Touchdowns of 1, and a Field goals smaller than 0? Context: CREATE TABLE table_name_9 (points INTEGER, touchdowns VARCHAR, field_goals VARCHAR)[/INST]SELECT AVG(points) FROM table_name_9 WHERE touchdowns = 1 AND field_goals < 0</s> |
CREATE TABLE table_name_7 (location VARCHAR, time VARCHAR) | SELECT location FROM table_name_7 WHERE time = "2:33" | Where was the fight located that lasted a time of 2:33? | <s>[INST]Where was the fight located that lasted a time of 2:33? Context: CREATE TABLE table_name_7 (location VARCHAR, time VARCHAR)[/INST]SELECT location FROM table_name_7 WHERE time = "2:33"</s> |
CREATE TABLE table_13110459_2 (overall VARCHAR, rating VARCHAR) | SELECT overall FROM table_13110459_2 WHERE rating = "1.4" | what are all the overall with rating being 1.4 | <s>[INST]what are all the overall with rating being 1.4 Context: CREATE TABLE table_13110459_2 (overall VARCHAR, rating VARCHAR)[/INST]SELECT overall FROM table_13110459_2 WHERE rating = "1.4"</s> |
CREATE TABLE table_1979619_3 (term_ends VARCHAR, residence VARCHAR) | SELECT COUNT(term_ends) FROM table_1979619_3 WHERE residence = "Bethlehem" | Name the term ends for bethlehem | <s>[INST]Name the term ends for bethlehem Context: CREATE TABLE table_1979619_3 (term_ends VARCHAR, residence VARCHAR)[/INST]SELECT COUNT(term_ends) FROM table_1979619_3 WHERE residence = "Bethlehem"</s> |
CREATE TABLE table_2226817_8 (production_code VARCHAR, written_by VARCHAR) | SELECT production_code FROM table_2226817_8 WHERE written_by = "Michael G. Moye" | What are all the production codes of episodes written by Michael G. Moye? | <s>[INST]What are all the production codes of episodes written by Michael G. Moye? Context: CREATE TABLE table_2226817_8 (production_code VARCHAR, written_by VARCHAR)[/INST]SELECT production_code FROM table_2226817_8 WHERE written_by = "Michael G. Moye"</s> |
CREATE TABLE table_25107064_2 (stolen_ends INTEGER, country VARCHAR, Germany VARCHAR) | SELECT MIN(stolen_ends) FROM table_25107064_2 WHERE country = Germany | Name the stolen ends for germany | <s>[INST]Name the stolen ends for germany Context: CREATE TABLE table_25107064_2 (stolen_ends INTEGER, country VARCHAR, Germany VARCHAR)[/INST]SELECT MIN(stolen_ends) FROM table_25107064_2 WHERE country = Germany</s> |
CREATE TABLE table_12161822_5 (grand_prix VARCHAR, winning_driver VARCHAR) | SELECT grand_prix FROM table_12161822_5 WHERE winning_driver = "Jenson Button" | what's the grand prix with winning driver being jenson button | <s>[INST]what's the grand prix with winning driver being jenson button Context: CREATE TABLE table_12161822_5 (grand_prix VARCHAR, winning_driver VARCHAR)[/INST]SELECT grand_prix FROM table_12161822_5 WHERE winning_driver = "Jenson Button"</s> |
CREATE TABLE table_name_92 (points_for VARCHAR, games VARCHAR, total_points VARCHAR) | SELECT points_for FROM table_name_92 WHERE games = "30" AND total_points = "73" | What points for have 30 as the game, and 73 as the total points? | <s>[INST]What points for have 30 as the game, and 73 as the total points? Context: CREATE TABLE table_name_92 (points_for VARCHAR, games VARCHAR, total_points VARCHAR)[/INST]SELECT points_for FROM table_name_92 WHERE games = "30" AND total_points = "73"</s> |
CREATE TABLE table_name_18 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_18 WHERE game = 3 | What was the score for Game 3? | <s>[INST]What was the score for Game 3? Context: CREATE TABLE table_name_18 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_18 WHERE game = 3</s> |
CREATE TABLE table_27091128_3 (date_of_vacancy VARCHAR, team VARCHAR) | SELECT date_of_vacancy FROM table_27091128_3 WHERE team = "Kartalspor" | When was the date of vacancy for the manager of Kartalspor? | <s>[INST]When was the date of vacancy for the manager of Kartalspor? Context: CREATE TABLE table_27091128_3 (date_of_vacancy VARCHAR, team VARCHAR)[/INST]SELECT date_of_vacancy FROM table_27091128_3 WHERE team = "Kartalspor"</s> |
CREATE TABLE table_name_35 (position VARCHAR, school VARCHAR) | SELECT position FROM table_name_35 WHERE school = "warren central high school" | What was the position of the player that went to warren central high school? | <s>[INST]What was the position of the player that went to warren central high school? Context: CREATE TABLE table_name_35 (position VARCHAR, school VARCHAR)[/INST]SELECT position FROM table_name_35 WHERE school = "warren central high school"</s> |
CREATE TABLE table_name_47 (mission VARCHAR, launch_date VARCHAR) | SELECT mission FROM table_name_47 WHERE launch_date = "december 30, 1970; 14:50 gmt" | Which Mission has a Launch Date of december 30, 1970; 14:50 gmt? | <s>[INST]Which Mission has a Launch Date of december 30, 1970; 14:50 gmt? Context: CREATE TABLE table_name_47 (mission VARCHAR, launch_date VARCHAR)[/INST]SELECT mission FROM table_name_47 WHERE launch_date = "december 30, 1970; 14:50 gmt"</s> |
CREATE TABLE table_name_25 (Id VARCHAR) | SELECT 2010 FROM table_name_25 WHERE 2009 = "21.662" | What is the 2010 Lukoil oil prodroduction when in 2009 oil production 21.662 million tonnes? | <s>[INST]What is the 2010 Lukoil oil prodroduction when in 2009 oil production 21.662 million tonnes? Context: CREATE TABLE table_name_25 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_25 WHERE 2009 = "21.662"</s> |
CREATE TABLE table_17480471_3 (gatchaman VARCHAR, eagle_riders VARCHAR) | SELECT gatchaman FROM table_17480471_3 WHERE eagle_riders = "Lukan" | Which gatchaman has eagle riders as lukan? | <s>[INST] Which gatchaman has eagle riders as lukan? Context: CREATE TABLE table_17480471_3 (gatchaman VARCHAR, eagle_riders VARCHAR)[/INST]SELECT gatchaman FROM table_17480471_3 WHERE eagle_riders = "Lukan"</s> |
CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, original_channel VARCHAR) | SELECT date_s__of_original_removal FROM table_19114172_11 WHERE original_channel = "BBC Two" | When bbc two is the original channel what is the date of original removal? | <s>[INST]When bbc two is the original channel what is the date of original removal? Context: CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, original_channel VARCHAR)[/INST]SELECT date_s__of_original_removal FROM table_19114172_11 WHERE original_channel = "BBC Two"</s> |
CREATE TABLE table_1305623_20 (silver_medals VARCHAR, ensemble VARCHAR) | SELECT COUNT(silver_medals) FROM table_1305623_20 WHERE ensemble = "Portsmouth HS" | How many numbers were listed under Silver Medals for Portsmouth HS? | <s>[INST]How many numbers were listed under Silver Medals for Portsmouth HS? Context: CREATE TABLE table_1305623_20 (silver_medals VARCHAR, ensemble VARCHAR)[/INST]SELECT COUNT(silver_medals) FROM table_1305623_20 WHERE ensemble = "Portsmouth HS"</s> |
CREATE TABLE table_name_41 (event VARCHAR, meet VARCHAR, time VARCHAR) | SELECT event FROM table_name_41 WHERE meet = "world championships" AND time = "20.51" | What is Event, when Meet is "World Championships", and when Time is "20.51"? | <s>[INST]What is Event, when Meet is "World Championships", and when Time is "20.51"? Context: CREATE TABLE table_name_41 (event VARCHAR, meet VARCHAR, time VARCHAR)[/INST]SELECT event FROM table_name_41 WHERE meet = "world championships" AND time = "20.51"</s> |
CREATE TABLE table_name_49 (caps VARCHAR, date_of_birth__age_ VARCHAR) | SELECT COUNT(caps) FROM table_name_49 WHERE date_of_birth__age_ = "15 july 1981" | How many caps have a Date of Birth (Age) of 15 july 1981? | <s>[INST]How many caps have a Date of Birth (Age) of 15 july 1981? Context: CREATE TABLE table_name_49 (caps VARCHAR, date_of_birth__age_ VARCHAR)[/INST]SELECT COUNT(caps) FROM table_name_49 WHERE date_of_birth__age_ = "15 july 1981"</s> |
CREATE TABLE table_name_74 (winner VARCHAR, rider_status VARCHAR, year VARCHAR) | SELECT winner FROM table_name_74 WHERE rider_status = "amateur" AND year = 1973 | Who was the winner in 1973 with an amateur rider status? | <s>[INST]Who was the winner in 1973 with an amateur rider status? Context: CREATE TABLE table_name_74 (winner VARCHAR, rider_status VARCHAR, year VARCHAR)[/INST]SELECT winner FROM table_name_74 WHERE rider_status = "amateur" AND year = 1973</s> |
CREATE TABLE table_name_24 (overall INTEGER, pick VARCHAR, college VARCHAR) | SELECT SUM(overall) FROM table_name_24 WHERE pick > 19 AND college = "florida" | How many overalls have a pick greater than 19, with florida as the college? | <s>[INST]How many overalls have a pick greater than 19, with florida as the college? Context: CREATE TABLE table_name_24 (overall INTEGER, pick VARCHAR, college VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_24 WHERE pick > 19 AND college = "florida"</s> |
CREATE TABLE course (dept_name VARCHAR) | SELECT COUNT(DISTINCT dept_name) FROM course | How many departments offer courses? | <s>[INST]How many departments offer courses? Context: CREATE TABLE course (dept_name VARCHAR)[/INST]SELECT COUNT(DISTINCT dept_name) FROM course</s> |
CREATE TABLE table_103084_4 (year VARCHAR, bbc_one_rank VARCHAR) | SELECT COUNT(year) FROM table_103084_4 WHERE bbc_one_rank = "20th" | How many years did BBC One rank 20th? | <s>[INST]How many years did BBC One rank 20th? Context: CREATE TABLE table_103084_4 (year VARCHAR, bbc_one_rank VARCHAR)[/INST]SELECT COUNT(year) FROM table_103084_4 WHERE bbc_one_rank = "20th"</s> |
CREATE TABLE table_20597634_3 (poll_source VARCHAR, scott_mcadams__d_ VARCHAR) | SELECT COUNT(poll_source) FROM table_20597634_3 WHERE scott_mcadams__d_ = "30%" | When 30% is scott mcadams (d) percentage how many poll sources are there? | <s>[INST]When 30% is scott mcadams (d) percentage how many poll sources are there? Context: CREATE TABLE table_20597634_3 (poll_source VARCHAR, scott_mcadams__d_ VARCHAR)[/INST]SELECT COUNT(poll_source) FROM table_20597634_3 WHERE scott_mcadams__d_ = "30%"</s> |
CREATE TABLE table_name_78 (year VARCHAR, comptroller VARCHAR, party VARCHAR) | SELECT COUNT(year) FROM table_name_78 WHERE comptroller = "alan hevesi" AND party = "working families" | How many times what the comptroller alan hevesi and the party working families? | <s>[INST]How many times what the comptroller alan hevesi and the party working families? Context: CREATE TABLE table_name_78 (year VARCHAR, comptroller VARCHAR, party VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_78 WHERE comptroller = "alan hevesi" AND party = "working families"</s> |
CREATE TABLE table_name_45 (penalties INTEGER, points_total VARCHAR, played VARCHAR) | SELECT MIN(penalties) FROM table_name_45 WHERE points_total = 1419 AND played > 98 | What is the least number of penalties he got when his point total was over 1419 in more than 98 games? | <s>[INST]What is the least number of penalties he got when his point total was over 1419 in more than 98 games? Context: CREATE TABLE table_name_45 (penalties INTEGER, points_total VARCHAR, played VARCHAR)[/INST]SELECT MIN(penalties) FROM table_name_45 WHERE points_total = 1419 AND played > 98</s> |
CREATE TABLE table_name_32 (year VARCHAR, record VARCHAR) | SELECT year FROM table_name_32 WHERE record = "4-21" | What year had a record of 4-21? | <s>[INST]What year had a record of 4-21? Context: CREATE TABLE table_name_32 (year VARCHAR, record VARCHAR)[/INST]SELECT year FROM table_name_32 WHERE record = "4-21"</s> |
CREATE TABLE table_25551880_2 (mountains_classification VARCHAR, winner VARCHAR) | SELECT mountains_classification FROM table_25551880_2 WHERE winner = "Alessandro Petacchi" | Who was awarded mountains classification when Alessandro petacchi won? | <s>[INST]Who was awarded mountains classification when Alessandro petacchi won? Context: CREATE TABLE table_25551880_2 (mountains_classification VARCHAR, winner VARCHAR)[/INST]SELECT mountains_classification FROM table_25551880_2 WHERE winner = "Alessandro Petacchi"</s> |
CREATE TABLE table_10705060_1 (points VARCHAR, season VARCHAR) | SELECT COUNT(points) FROM table_10705060_1 WHERE season = "2005" | How many points for 2005? | <s>[INST]How many points for 2005? Context: CREATE TABLE table_10705060_1 (points VARCHAR, season VARCHAR)[/INST]SELECT COUNT(points) FROM table_10705060_1 WHERE season = "2005"</s> |
CREATE TABLE table_14260687_3 (other VARCHAR, total VARCHAR) | SELECT COUNT(other) FROM table_14260687_3 WHERE total = "181.1" | How man "other" millions of smartphones were shipped when 181.1 million total were shipped? | <s>[INST]How man "other" millions of smartphones were shipped when 181.1 million total were shipped? Context: CREATE TABLE table_14260687_3 (other VARCHAR, total VARCHAR)[/INST]SELECT COUNT(other) FROM table_14260687_3 WHERE total = "181.1"</s> |
CREATE TABLE table_name_31 (laps VARCHAR, grid VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_31 WHERE grid > 1 AND time_retired = "halfshaft" | How many laps for a grid larger than 1 with a Time/Retired of halfshaft? | <s>[INST]How many laps for a grid larger than 1 with a Time/Retired of halfshaft? Context: CREATE TABLE table_name_31 (laps VARCHAR, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT laps FROM table_name_31 WHERE grid > 1 AND time_retired = "halfshaft"</s> |
CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR) | SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5250-6250" | What is top speed of a petrol engine at ps (kw; bhp)@5250-6250? | <s>[INST]What is top speed of a petrol engine at ps (kw; bhp)@5250-6250? Context: CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR)[/INST]SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5250-6250"</s> |
CREATE TABLE table_name_23 (authority VARCHAR, name VARCHAR) | SELECT authority FROM table_name_23 WHERE name = "hauturu school" | Which Authority is set for Hauturu School? | <s>[INST]Which Authority is set for Hauturu School? Context: CREATE TABLE table_name_23 (authority VARCHAR, name VARCHAR)[/INST]SELECT authority FROM table_name_23 WHERE name = "hauturu school"</s> |
CREATE TABLE table_name_42 (grid VARCHAR, constructor VARCHAR, laps VARCHAR, time_retired VARCHAR) | SELECT COUNT(grid) FROM table_name_42 WHERE laps < 52 AND time_retired = "collision" AND constructor = "arrows - supertec" | What is the grid number with less than 52 laps and a Time/Retired of collision, and a Constructor of arrows - supertec? | <s>[INST]What is the grid number with less than 52 laps and a Time/Retired of collision, and a Constructor of arrows - supertec? Context: CREATE TABLE table_name_42 (grid VARCHAR, constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_42 WHERE laps < 52 AND time_retired = "col... |
CREATE TABLE table_name_99 (share_of_votes VARCHAR, election VARCHAR) | SELECT share_of_votes FROM table_name_99 WHERE election = "2008 (1)" | What is the share of votes in the 2008 (1) election? | <s>[INST]What is the share of votes in the 2008 (1) election? Context: CREATE TABLE table_name_99 (share_of_votes VARCHAR, election VARCHAR)[/INST]SELECT share_of_votes FROM table_name_99 WHERE election = "2008 (1)"</s> |
CREATE TABLE table_26808178_3 (series__number INTEGER, us_viewers__millions_ VARCHAR) | SELECT MAX(series__number) FROM table_26808178_3 WHERE us_viewers__millions_ = "0.852" | Which series # had 0.852 U.S. viewers(millions)? | <s>[INST]Which series # had 0.852 U.S. viewers(millions)? Context: CREATE TABLE table_26808178_3 (series__number INTEGER, us_viewers__millions_ VARCHAR)[/INST]SELECT MAX(series__number) FROM table_26808178_3 WHERE us_viewers__millions_ = "0.852"</s> |
CREATE TABLE table_name_65 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_65 WHERE score = "46-77" | What is the Date with a Score that is 46-77? | <s>[INST]What is the Date with a Score that is 46-77? Context: CREATE TABLE table_name_65 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_65 WHERE score = "46-77"</s> |
CREATE TABLE table_name_8 (wins INTEGER, losses VARCHAR, pct VARCHAR, rank VARCHAR) | SELECT MIN(wins) FROM table_name_8 WHERE pct > 0.526 AND rank < 37 AND losses = 947 | What is the lowest amount of wins a manager with more than 0.526 pct., ranked higher than 37, and 947 losses has? | <s>[INST]What is the lowest amount of wins a manager with more than 0.526 pct., ranked higher than 37, and 947 losses has? Context: CREATE TABLE table_name_8 (wins INTEGER, losses VARCHAR, pct VARCHAR, rank VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_8 WHERE pct > 0.526 AND rank < 37 AND losses = 947</s> |
CREATE TABLE table_2367847_2 (middle_schools INTEGER, year VARCHAR) | SELECT MAX(middle_schools) FROM table_2367847_2 WHERE year = "2005-2006" | Name the most middle schools for 2005-2006 | <s>[INST]Name the most middle schools for 2005-2006 Context: CREATE TABLE table_2367847_2 (middle_schools INTEGER, year VARCHAR)[/INST]SELECT MAX(middle_schools) FROM table_2367847_2 WHERE year = "2005-2006"</s> |
CREATE TABLE table_name_69 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR) | SELECT interregnum_ended FROM table_name_69 WHERE count_palatine_of_saxony = "john george ii, elector of saxony" | What is the Interregnum ended for Count Palatine of Saxony of john george ii, elector of saxony? | <s>[INST]What is the Interregnum ended for Count Palatine of Saxony of john george ii, elector of saxony? Context: CREATE TABLE table_name_69 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR)[/INST]SELECT interregnum_ended FROM table_name_69 WHERE count_palatine_of_saxony = "john george ii, elector of saxon... |
CREATE TABLE table_name_1 (attendance VARCHAR, opponent VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_1 WHERE opponent = "boston patriots" AND week > 14 | What is the Attendance for Opponent Boston Patriots and Week is greater than 14? | <s>[INST]What is the Attendance for Opponent Boston Patriots and Week is greater than 14? Context: CREATE TABLE table_name_1 (attendance VARCHAR, opponent VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_1 WHERE opponent = "boston patriots" AND week > 14</s> |
CREATE TABLE table_name_70 (region VARCHAR, date VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_70 WHERE date = "2002" AND catalog = "dos 195" | What region has a 2002 date, and a Catalog dos 195? | <s>[INST]What region has a 2002 date, and a Catalog dos 195? Context: CREATE TABLE table_name_70 (region VARCHAR, date VARCHAR, catalog VARCHAR)[/INST]SELECT region FROM table_name_70 WHERE date = "2002" AND catalog = "dos 195"</s> |
CREATE TABLE table_name_91 (icao VARCHAR, city VARCHAR) | SELECT icao FROM table_name_91 WHERE city = "frankfurt" | What is the IcAO of Frankfurt? | <s>[INST]What is the IcAO of Frankfurt? Context: CREATE TABLE table_name_91 (icao VARCHAR, city VARCHAR)[/INST]SELECT icao FROM table_name_91 WHERE city = "frankfurt"</s> |
CREATE TABLE table_name_79 (laps INTEGER, team VARCHAR, driver VARCHAR) | SELECT MIN(laps) FROM table_name_79 WHERE team = "forsythe racing" AND driver = "alex tagliani" | What are the lowest laps Alex Tagliani did for the Forsythe Racing team? | <s>[INST]What are the lowest laps Alex Tagliani did for the Forsythe Racing team? Context: CREATE TABLE table_name_79 (laps INTEGER, team VARCHAR, driver VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_79 WHERE team = "forsythe racing" AND driver = "alex tagliani"</s> |
CREATE TABLE table_14015965_1 (foreign_players__max_2_ VARCHAR, town VARCHAR) | SELECT foreign_players__max_2_ FROM table_14015965_1 WHERE town = "Ekaterinburg" | Who are the foreign players representing Ekaterinburg? | <s>[INST]Who are the foreign players representing Ekaterinburg? Context: CREATE TABLE table_14015965_1 (foreign_players__max_2_ VARCHAR, town VARCHAR)[/INST]SELECT foreign_players__max_2_ FROM table_14015965_1 WHERE town = "Ekaterinburg"</s> |
CREATE TABLE table_name_99 (team VARCHAR, state_province VARCHAR, est VARCHAR) | SELECT team FROM table_name_99 WHERE state_province = "missouri" AND est = "1963" | Which team is located in missouri and was established in 1963? | <s>[INST]Which team is located in missouri and was established in 1963? Context: CREATE TABLE table_name_99 (team VARCHAR, state_province VARCHAR, est VARCHAR)[/INST]SELECT team FROM table_name_99 WHERE state_province = "missouri" AND est = "1963"</s> |
CREATE TABLE table_name_3 (Box VARCHAR, home_team VARCHAR) | SELECT Box AS score FROM table_name_3 WHERE home_team = "melbourne tigers" | what is the box score when the home team is melbourne tigers? | <s>[INST]what is the box score when the home team is melbourne tigers? Context: CREATE TABLE table_name_3 (Box VARCHAR, home_team VARCHAR)[/INST]SELECT Box AS score FROM table_name_3 WHERE home_team = "melbourne tigers"</s> |
CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_46 WHERE tie_no = "32" | What date was the tie number of 32? | <s>[INST]What date was the tie number of 32? Context: CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE tie_no = "32"</s> |
CREATE TABLE table_name_86 (territory VARCHAR, channel VARCHAR) | SELECT territory FROM table_name_86 WHERE channel = 83 | Where is channel 83 broadcasted? | <s>[INST]Where is channel 83 broadcasted? Context: CREATE TABLE table_name_86 (territory VARCHAR, channel VARCHAR)[/INST]SELECT territory FROM table_name_86 WHERE channel = 83</s> |
CREATE TABLE table_name_46 (females INTEGER, males VARCHAR, rank VARCHAR) | SELECT MAX(females) FROM table_name_46 WHERE males = 28.2 AND rank > 5 | What is the biggest number of females where the males are at 28.2 with a rank greater than 5? | <s>[INST]What is the biggest number of females where the males are at 28.2 with a rank greater than 5? Context: CREATE TABLE table_name_46 (females INTEGER, males VARCHAR, rank VARCHAR)[/INST]SELECT MAX(females) FROM table_name_46 WHERE males = 28.2 AND rank > 5</s> |
CREATE TABLE table_1805191_34 (results VARCHAR, incumbent VARCHAR) | SELECT COUNT(results) FROM table_1805191_34 WHERE incumbent = "Mike McIntyre" | How many times was Mike McIntyre elected? | <s>[INST]How many times was Mike McIntyre elected? Context: CREATE TABLE table_1805191_34 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(results) FROM table_1805191_34 WHERE incumbent = "Mike McIntyre"</s> |
CREATE TABLE table_2454550_1 (fastest_lap VARCHAR, location VARCHAR) | SELECT fastest_lap FROM table_2454550_1 WHERE location = "Phoenix, Arizona" | who held the fastes lap in Phoenix, Arizona? | <s>[INST]who held the fastes lap in Phoenix, Arizona? Context: CREATE TABLE table_2454550_1 (fastest_lap VARCHAR, location VARCHAR)[/INST]SELECT fastest_lap FROM table_2454550_1 WHERE location = "Phoenix, Arizona"</s> |
CREATE TABLE table_name_40 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_40 WHERE away_team = "melbourne" | How many points did the away team from Melbourne score? | <s>[INST]How many points did the away team from Melbourne score? Context: CREATE TABLE table_name_40 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_40 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_name_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) | SELECT stage FROM table_name_56 WHERE points_classification = "silvio martinello" AND general_classification = "davide rebellin" | What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification? | <s>[INST]What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification? Context: CREATE TABLE table_name_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)[/INST]SELECT stage FROM table_name_56 WHERE points_classification = "silvio ma... |
CREATE TABLE table_27250813_1 (title VARCHAR, no_in_season VARCHAR) | SELECT title FROM table_27250813_1 WHERE no_in_season = 16 | What is the title of the episode no. 16 by season? | <s>[INST]What is the title of the episode no. 16 by season? Context: CREATE TABLE table_27250813_1 (title VARCHAR, no_in_season VARCHAR)[/INST]SELECT title FROM table_27250813_1 WHERE no_in_season = 16</s> |
CREATE TABLE table_name_47 (year INTEGER, laps VARCHAR, co_driver VARCHAR, position VARCHAR) | SELECT MIN(year) FROM table_name_47 WHERE co_driver = "warren luff" AND position = "7th" AND laps < 161 | What is the lowest Year, when Co-Driver is Warren Luff, when Position is 7th, and when Laps is less than 161? | <s>[INST]What is the lowest Year, when Co-Driver is Warren Luff, when Position is 7th, and when Laps is less than 161? Context: CREATE TABLE table_name_47 (year INTEGER, laps VARCHAR, co_driver VARCHAR, position VARCHAR)[/INST]SELECT MIN(year) FROM table_name_47 WHERE co_driver = "warren luff" AND position = "7th" AND ... |
CREATE TABLE table_26919_7 (geez VARCHAR, proto_semitic VARCHAR) | SELECT geez FROM table_26919_7 WHERE proto_semitic = "*bayt-" | If the proto-semitic is *bayt-, what are the geez? | <s>[INST]If the proto-semitic is *bayt-, what are the geez? Context: CREATE TABLE table_26919_7 (geez VARCHAR, proto_semitic VARCHAR)[/INST]SELECT geez FROM table_26919_7 WHERE proto_semitic = "*bayt-"</s> |
CREATE TABLE table_197638_7 (australian_open INTEGER) | SELECT MAX(australian_open) FROM table_197638_7 | When was the Australian open? | <s>[INST]When was the Australian open? Context: CREATE TABLE table_197638_7 (australian_open INTEGER)[/INST]SELECT MAX(australian_open) FROM table_197638_7</s> |
CREATE TABLE table_name_6 (location_attendance VARCHAR, opponent VARCHAR) | SELECT location_attendance FROM table_name_6 WHERE opponent = "seattle supersonics" | What was the location when the opponent was Seattle Supersonics? | <s>[INST]What was the location when the opponent was Seattle Supersonics? Context: CREATE TABLE table_name_6 (location_attendance VARCHAR, opponent VARCHAR)[/INST]SELECT location_attendance FROM table_name_6 WHERE opponent = "seattle supersonics"</s> |
CREATE TABLE table_name_9 (per_capita_income VARCHAR, county VARCHAR) | SELECT per_capita_income FROM table_name_9 WHERE county = "charles" | What is the per capital income for Charles county? | <s>[INST]What is the per capital income for Charles county? Context: CREATE TABLE table_name_9 (per_capita_income VARCHAR, county VARCHAR)[/INST]SELECT per_capita_income FROM table_name_9 WHERE county = "charles"</s> |
CREATE TABLE table_name_30 (games INTEGER, win_percentage VARCHAR, Pwin_percentage VARCHAR, — VARCHAR, term_ VARCHAR, c_ VARCHAR) | SELECT SUM(games) FROM table_name_30 WHERE Pwin_percentage = — AND term_[c_] = "1987–1988" AND win_percentage < 0.506 | What is the sum of the game with a PWin% of —, Term [c] of 1987–1988, and Win% less than 0.506? | <s>[INST]What is the sum of the game with a PWin% of —, Term [c] of 1987–1988, and Win% less than 0.506? Context: CREATE TABLE table_name_30 (games INTEGER, win_percentage VARCHAR, Pwin_percentage VARCHAR, — VARCHAR, term_ VARCHAR, c_ VARCHAR)[/INST]SELECT SUM(games) FROM table_name_30 WHERE Pwin_percentage = — AND ter... |
CREATE TABLE table_name_54 (built INTEGER, vessel_name VARCHAR, class VARCHAR, type VARCHAR) | SELECT SUM(built) FROM table_name_54 WHERE class = "dnv" AND type = "panamax" AND vessel_name = "deva" | Which year was the vessel Deva built as a Panamax DNV class ship? | <s>[INST]Which year was the vessel Deva built as a Panamax DNV class ship? Context: CREATE TABLE table_name_54 (built INTEGER, vessel_name VARCHAR, class VARCHAR, type VARCHAR)[/INST]SELECT SUM(built) FROM table_name_54 WHERE class = "dnv" AND type = "panamax" AND vessel_name = "deva"</s> |
CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_28 WHERE away_team = "melbourne" | What home team played an away team of melbourne? | <s>[INST]What home team played an away team of melbourne? Context: CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_28 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_name_96 (year VARCHAR, college VARCHAR, pick VARCHAR) | SELECT year FROM table_name_96 WHERE college = "nebraska" AND pick = "2" | Which Year has a College of nebraska, and a Pick of 2? | <s>[INST]Which Year has a College of nebraska, and a Pick of 2? Context: CREATE TABLE table_name_96 (year VARCHAR, college VARCHAR, pick VARCHAR)[/INST]SELECT year FROM table_name_96 WHERE college = "nebraska" AND pick = "2"</s> |
CREATE TABLE table_name_6 (date VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_6 WHERE week > 5 AND attendance = "54,803" | Which date has a Week larger than 5, and an Attendance of 54,803? | <s>[INST]Which date has a Week larger than 5, and an Attendance of 54,803? Context: CREATE TABLE table_name_6 (date VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE week > 5 AND attendance = "54,803"</s> |
CREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR) | SELECT school FROM table_1984697_85 WHERE size = 604 | Name the school/s with is size of 604. | <s>[INST]Name the school/s with is size of 604. Context: CREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR)[/INST]SELECT school FROM table_1984697_85 WHERE size = 604</s> |
CREATE TABLE table_name_37 (played VARCHAR, losing_bonus VARCHAR, points_against VARCHAR) | SELECT played FROM table_name_37 WHERE losing_bonus = "3" AND points_against = "426" | Name the played with losing bonus of 3 and points against of 426 | <s>[INST]Name the played with losing bonus of 3 and points against of 426 Context: CREATE TABLE table_name_37 (played VARCHAR, losing_bonus VARCHAR, points_against VARCHAR)[/INST]SELECT played FROM table_name_37 WHERE losing_bonus = "3" AND points_against = "426"</s> |
CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_80 WHERE date = "november 18" | WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18? | <s>[INST]WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18? Context: CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE date = "november 18"</s> |
CREATE TABLE table_name_73 (author VARCHAR, title VARCHAR) | SELECT author FROM table_name_73 WHERE title = "destination: nerva" | who is the author when the title is destination: nerva? | <s>[INST]who is the author when the title is destination: nerva? Context: CREATE TABLE table_name_73 (author VARCHAR, title VARCHAR)[/INST]SELECT author FROM table_name_73 WHERE title = "destination: nerva"</s> |
CREATE TABLE table_name_73 (foundation INTEGER, official_name_in_malay VARCHAR) | SELECT AVG(foundation) FROM table_name_73 WHERE official_name_in_malay = "politeknik pagoh" | what was the foundation of Politeknik Pagoh? | <s>[INST]what was the foundation of Politeknik Pagoh? Context: CREATE TABLE table_name_73 (foundation INTEGER, official_name_in_malay VARCHAR)[/INST]SELECT AVG(foundation) FROM table_name_73 WHERE official_name_in_malay = "politeknik pagoh"</s> |
CREATE TABLE table_name_1 (outcome VARCHAR, tournament VARCHAR) | SELECT outcome FROM table_name_1 WHERE tournament = "hershey" | What is the outcome for the Hershey tournament? | <s>[INST]What is the outcome for the Hershey tournament? Context: CREATE TABLE table_name_1 (outcome VARCHAR, tournament VARCHAR)[/INST]SELECT outcome FROM table_name_1 WHERE tournament = "hershey"</s> |
CREATE TABLE table_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR) | SELECT motogp_winner FROM table_26781017_1 WHERE circuit = "Catalunya" | Who are all the motogp winners when the circuit was Catalunya? | <s>[INST]Who are all the motogp winners when the circuit was Catalunya? Context: CREATE TABLE table_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR)[/INST]SELECT motogp_winner FROM table_26781017_1 WHERE circuit = "Catalunya"</s> |
CREATE TABLE table_1137703_2 (round VARCHAR, grand_prix VARCHAR) | SELECT round FROM table_1137703_2 WHERE grand_prix = "Spanish grand_prix" | Which round was the Spanish Grand Prix? | <s>[INST]Which round was the Spanish Grand Prix? Context: CREATE TABLE table_1137703_2 (round VARCHAR, grand_prix VARCHAR)[/INST]SELECT round FROM table_1137703_2 WHERE grand_prix = "Spanish grand_prix"</s> |
CREATE TABLE table_name_92 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_92 WHERE opponent_in_the_final = "rabie chaki" | WHAT WAS THE SCORE IN THE FINAL AGAINST RABIE CHAKI? | <s>[INST]WHAT WAS THE SCORE IN THE FINAL AGAINST RABIE CHAKI? Context: CREATE TABLE table_name_92 (score VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT score FROM table_name_92 WHERE opponent_in_the_final = "rabie chaki"</s> |
CREATE TABLE table_name_85 (score VARCHAR, third_place VARCHAR, runner_up VARCHAR) | SELECT score FROM table_name_85 WHERE third_place = "henri leconte" AND runner_up = "michael stich" | Name the score for henri leconte and runner-up of michael stich | <s>[INST]Name the score for henri leconte and runner-up of michael stich Context: CREATE TABLE table_name_85 (score VARCHAR, third_place VARCHAR, runner_up VARCHAR)[/INST]SELECT score FROM table_name_85 WHERE third_place = "henri leconte" AND runner_up = "michael stich"</s> |
CREATE TABLE table_name_72 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_72 WHERE score = "3–6, 7–6(6), 5–7" | What is the Date of the Tournament with a Score of 3–6, 7–6(6), 5–7? | <s>[INST]What is the Date of the Tournament with a Score of 3–6, 7–6(6), 5–7? Context: CREATE TABLE table_name_72 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_72 WHERE score = "3–6, 7–6(6), 5–7"</s> |
CREATE TABLE table_name_63 (series VARCHAR, wins VARCHAR, season VARCHAR) | SELECT series FROM table_name_63 WHERE wins = 0 AND season = "2002" | Can you tell me the Series that has the Wins of 0, and the Season of a 2002? | <s>[INST]Can you tell me the Series that has the Wins of 0, and the Season of a 2002? Context: CREATE TABLE table_name_63 (series VARCHAR, wins VARCHAR, season VARCHAR)[/INST]SELECT series FROM table_name_63 WHERE wins = 0 AND season = "2002"</s> |
CREATE TABLE table_name_46 (byes INTEGER, losses VARCHAR, against VARCHAR) | SELECT AVG(byes) FROM table_name_46 WHERE losses = 15 AND against < 1874 | What is the average Byes for the losses of 15, and before 1874? | <s>[INST]What is the average Byes for the losses of 15, and before 1874? Context: CREATE TABLE table_name_46 (byes INTEGER, losses VARCHAR, against VARCHAR)[/INST]SELECT AVG(byes) FROM table_name_46 WHERE losses = 15 AND against < 1874</s> |
CREATE TABLE checking (custid VARCHAR, balance VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR) | SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance + T3.balance LIMIT 1 | Find the name of account that has the lowest total checking and saving balance. | <s>[INST]Find the name of account that has the lowest total checking and saving balance. Context: CREATE TABLE checking (custid VARCHAR, balance VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)[/INST]SELECT T1.name FROM accounts AS T1 JOIN checking A... |
CREATE TABLE table_name_59 (home__2nd_leg_ VARCHAR, aggregate VARCHAR) | SELECT home__2nd_leg_ FROM table_name_59 WHERE aggregate = "2-3" | What was the home team for the 2nd leg of the match having an aggregate of 2-3? | <s>[INST]What was the home team for the 2nd leg of the match having an aggregate of 2-3? Context: CREATE TABLE table_name_59 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)[/INST]SELECT home__2nd_leg_ FROM table_name_59 WHERE aggregate = "2-3"</s> |
CREATE TABLE table_1373768_1 (trim VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR) | SELECT trim FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb" | what's the trim with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb | <s>[INST]what's the trim with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb Context: CREATE TABLE table_1373768_1 (trim VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR)[/INST]SELECT trim FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb"</s> |
CREATE TABLE table_17311783_9 (team VARCHAR, date VARCHAR) | SELECT team FROM table_17311783_9 WHERE date = "March 9" | What team(s) did they play on march 9? | <s>[INST]What team(s) did they play on march 9? Context: CREATE TABLE table_17311783_9 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_17311783_9 WHERE date = "March 9"</s> |
CREATE TABLE table_name_70 (date VARCHAR, score VARCHAR, record VARCHAR) | SELECT date FROM table_name_70 WHERE score = "3–1" AND record = "1–1–0" | What is the Date of the game with a Score of 3–1 and Record of 1–1–0? | <s>[INST]What is the Date of the game with a Score of 3–1 and Record of 1–1–0? Context: CREATE TABLE table_name_70 (date VARCHAR, score VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE score = "3–1" AND record = "1–1–0"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.