context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_11630008_8 (original_air_date VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_11630008_8 WHERE written_by = "Karen Felix and Don Woodard" | What is the original air date of the episode written by Karen Felix and Don Woodard? | <s>[INST]What is the original air date of the episode written by Karen Felix and Don Woodard? Context: CREATE TABLE table_11630008_8 (original_air_date VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_11630008_8 WHERE written_by = "Karen Felix and Don Woodard"</s> |
CREATE TABLE table_name_26 (original_airdate VARCHAR, youtube_hero VARCHAR) | SELECT original_airdate FROM table_name_26 WHERE youtube_hero = "greg pattillo" | What is the Original Airdate for the YouTube Hero greg pattillo? | <s>[INST]What is the Original Airdate for the YouTube Hero greg pattillo? Context: CREATE TABLE table_name_26 (original_airdate VARCHAR, youtube_hero VARCHAR)[/INST]SELECT original_airdate FROM table_name_26 WHERE youtube_hero = "greg pattillo"</s> |
CREATE TABLE table_name_61 (driver VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_61 WHERE constructor = "maserati" AND laps > 23 AND grid > 7 | Which driver for Maserati has more laps than 23 and a grid greater than 7? | <s>[INST]Which driver for Maserati has more laps than 23 and a grid greater than 7? Context: CREATE TABLE table_name_61 (driver VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_61 WHERE constructor = "maserati" AND laps > 23 AND grid > 7</s> |
CREATE TABLE matches (loser_name VARCHAR) | SELECT COUNT(DISTINCT loser_name) FROM matches | Find the number of distinct name of losers. | <s>[INST]Find the number of distinct name of losers. Context: CREATE TABLE matches (loser_name VARCHAR)[/INST]SELECT COUNT(DISTINCT loser_name) FROM matches</s> |
CREATE TABLE table_name_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR) | SELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = "1gb (mobile ddr)" | Which operating system has 1GB (mobile ddr) memory (RAM)? | <s>[INST]Which operating system has 1GB (mobile ddr) memory (RAM)? Context: CREATE TABLE table_name_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR)[/INST]SELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = "1gb (mobile ddr)"</s> |
CREATE TABLE table_name_78 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_78 WHERE venue = "moorabbin oval" | What was the attendance at the game played at Moorabbin Oval? | <s>[INST]What was the attendance at the game played at Moorabbin Oval? Context: CREATE TABLE table_name_78 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT crowd FROM table_name_78 WHERE venue = "moorabbin oval"</s> |
CREATE TABLE table_name_99 (circuit VARCHAR, date VARCHAR) | SELECT circuit FROM table_name_99 WHERE date = "20 august" | Tell me the circuit for 20 august | <s>[INST]Tell me the circuit for 20 august Context: CREATE TABLE table_name_99 (circuit VARCHAR, date VARCHAR)[/INST]SELECT circuit FROM table_name_99 WHERE date = "20 august"</s> |
CREATE TABLE table_name_59 (competition VARCHAR, score VARCHAR, goal VARCHAR) | SELECT competition FROM table_name_59 WHERE score = "3–0" AND goal > 4 | What is the Competition where the Score was 3–0, and the was Goal larger than 4? | <s>[INST]What is the Competition where the Score was 3–0, and the was Goal larger than 4? Context: CREATE TABLE table_name_59 (competition VARCHAR, score VARCHAR, goal VARCHAR)[/INST]SELECT competition FROM table_name_59 WHERE score = "3–0" AND goal > 4</s> |
CREATE TABLE table_name_49 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_49 WHERE away_team = "collingwood" | What was the venue when Collingwood was the away team? | <s>[INST]What was the venue when Collingwood was the away team? Context: CREATE TABLE table_name_49 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_49 WHERE away_team = "collingwood"</s> |
CREATE TABLE table_name_3 (place VARCHAR, country VARCHAR, score VARCHAR) | SELECT place FROM table_name_3 WHERE country = "england" AND score > 66 | Name the Place of england with a Score larger than 66? | <s>[INST]Name the Place of england with a Score larger than 66? Context: CREATE TABLE table_name_3 (place VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_3 WHERE country = "england" AND score > 66</s> |
CREATE TABLE table_name_98 (title VARCHAR, rank VARCHAR, director VARCHAR) | SELECT title FROM table_name_98 WHERE rank > 10 AND director = "walter hill" | WHAT IS THE TITLE THAT HAS A RANK BIGGER THAN 10, FOR DIRECTOR WALTER HILL? | <s>[INST]WHAT IS THE TITLE THAT HAS A RANK BIGGER THAN 10, FOR DIRECTOR WALTER HILL? Context: CREATE TABLE table_name_98 (title VARCHAR, rank VARCHAR, director VARCHAR)[/INST]SELECT title FROM table_name_98 WHERE rank > 10 AND director = "walter hill"</s> |
CREATE TABLE table_name_63 (vacated_throne VARCHAR, archbishop VARCHAR) | SELECT vacated_throne FROM table_name_63 WHERE archbishop = "albert daeger" | When did Archbishop Albert Daeger vacate the throne? | <s>[INST]When did Archbishop Albert Daeger vacate the throne? Context: CREATE TABLE table_name_63 (vacated_throne VARCHAR, archbishop VARCHAR)[/INST]SELECT vacated_throne FROM table_name_63 WHERE archbishop = "albert daeger"</s> |
CREATE TABLE table_name_10 (speed VARCHAR, race VARCHAR) | SELECT speed FROM table_name_10 WHERE race = "superbike" | What was the speed of the Superbike race? | <s>[INST]What was the speed of the Superbike race? Context: CREATE TABLE table_name_10 (speed VARCHAR, race VARCHAR)[/INST]SELECT speed FROM table_name_10 WHERE race = "superbike"</s> |
CREATE TABLE table_26436_2 (role VARCHAR) | SELECT 2005 AS _film FROM table_26436_2 WHERE role = "Mark Cohen" | Who was in the 2005 film with the role mark cohen? | <s>[INST]Who was in the 2005 film with the role mark cohen? Context: CREATE TABLE table_26436_2 (role VARCHAR)[/INST]SELECT 2005 AS _film FROM table_26436_2 WHERE role = "Mark Cohen"</s> |
CREATE TABLE table_25794010_1 (name VARCHAR, company VARCHAR) | SELECT name FROM table_25794010_1 WHERE company = "company D" | Name the name for company d | <s>[INST]Name the name for company d Context: CREATE TABLE table_25794010_1 (name VARCHAR, company VARCHAR)[/INST]SELECT name FROM table_25794010_1 WHERE company = "company D"</s> |
CREATE TABLE table_name_7 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_7 WHERE loss = "wegman (2-6)" | What was the score of the game that had a loss of Wegman (2-6)? | <s>[INST]What was the score of the game that had a loss of Wegman (2-6)? Context: CREATE TABLE table_name_7 (score VARCHAR, loss VARCHAR)[/INST]SELECT score FROM table_name_7 WHERE loss = "wegman (2-6)"</s> |
CREATE TABLE table_1139835_3 (winners VARCHAR, season_result VARCHAR) | SELECT winners FROM table_1139835_3 WHERE season_result = "9th" | who is the winners where season result is 9th | <s>[INST] who is the winners where season result is 9th Context: CREATE TABLE table_1139835_3 (winners VARCHAR, season_result VARCHAR)[/INST]SELECT winners FROM table_1139835_3 WHERE season_result = "9th"</s> |
CREATE TABLE premises (premises_type VARCHAR) | SELECT DISTINCT premises_type FROM premises | What are all the distinct premise types? | <s>[INST]What are all the distinct premise types? Context: CREATE TABLE premises (premises_type VARCHAR)[/INST]SELECT DISTINCT premises_type FROM premises</s> |
CREATE TABLE table_name_60 (rank INTEGER, player VARCHAR) | SELECT MAX(rank) FROM table_name_60 WHERE player = "jim colbert" | What's jim colbert's highest rank? | <s>[INST]What's jim colbert's highest rank? Context: CREATE TABLE table_name_60 (rank INTEGER, player VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_60 WHERE player = "jim colbert"</s> |
CREATE TABLE table_2562572_30 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) | SELECT cyrillic_name_other_names FROM table_2562572_30 WHERE settlement = "Rabe" | What is the cyrillic and other name of rabe? | <s>[INST]What is the cyrillic and other name of rabe? Context: CREATE TABLE table_2562572_30 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)[/INST]SELECT cyrillic_name_other_names FROM table_2562572_30 WHERE settlement = "Rabe"</s> |
CREATE TABLE table_name_13 (athlete VARCHAR, country VARCHAR) | SELECT athlete FROM table_name_13 WHERE country = "greece" | Who is the athlete from greece? | <s>[INST]Who is the athlete from greece? Context: CREATE TABLE table_name_13 (athlete VARCHAR, country VARCHAR)[/INST]SELECT athlete FROM table_name_13 WHERE country = "greece"</s> |
CREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_name_58 WHERE directed_by = "terry ingram" | Who wrote the episode that was directed by Terry Ingram? | <s>[INST]Who wrote the episode that was directed by Terry Ingram? Context: CREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT written_by FROM table_name_58 WHERE directed_by = "terry ingram"</s> |
CREATE TABLE nomination (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE Artwork (Name VARCHAR, Artwork_ID VARCHAR) | SELECT Name FROM Artwork WHERE NOT Artwork_ID IN (SELECT Artwork_ID FROM nomination) | List the name of artworks that are not nominated. | <s>[INST]List the name of artworks that are not nominated. Context: CREATE TABLE nomination (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE Artwork (Name VARCHAR, Artwork_ID VARCHAR)[/INST]SELECT Name FROM Artwork WHERE NOT Artwork_ID IN (SELECT Artwork_ID FROM nomination)</s> |
CREATE TABLE table_1439096_1 (director VARCHAR, original_air_date__atv_ VARCHAR) | SELECT director FROM table_1439096_1 WHERE original_air_date__atv_ = "26 October 1969" | Who was the director of the episode originally aired on 26 October 1969? | <s>[INST]Who was the director of the episode originally aired on 26 October 1969? Context: CREATE TABLE table_1439096_1 (director VARCHAR, original_air_date__atv_ VARCHAR)[/INST]SELECT director FROM table_1439096_1 WHERE original_air_date__atv_ = "26 October 1969"</s> |
CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE SHOPS (Shop_Details VARCHAR, Shop_ID VARCHAR) | SELECT T1.Shop_Details FROM SHOPS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Shop_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk" | What are the details of the shops that can be accessed by walk? | <s>[INST]What are the details of the shops that can be accessed by walk? Context: CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE SHOPS (Shop_Details VARCHAR, Shop_ID VARCHAR)[/INST]SELECT T1.Shop_Details FROM SHOPS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Shop_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk"</s> |
CREATE TABLE table_name_79 (year INTEGER, entrant VARCHAR) | SELECT MAX(year) FROM table_name_79 WHERE entrant = "ron harris / team lotus" | What is the largest year with an Entrant of ron harris / team lotus? | <s>[INST]What is the largest year with an Entrant of ron harris / team lotus? Context: CREATE TABLE table_name_79 (year INTEGER, entrant VARCHAR)[/INST]SELECT MAX(year) FROM table_name_79 WHERE entrant = "ron harris / team lotus"</s> |
CREATE TABLE table_17900317_5 (wickets INTEGER, best VARCHAR) | SELECT MAX(wickets) FROM table_17900317_5 WHERE best = "4/22" | Name the most wickets for best is 4/22 | <s>[INST]Name the most wickets for best is 4/22 Context: CREATE TABLE table_17900317_5 (wickets INTEGER, best VARCHAR)[/INST]SELECT MAX(wickets) FROM table_17900317_5 WHERE best = "4/22"</s> |
CREATE TABLE table_name_6 (date VARCHAR, network_brand_name VARCHAR) | SELECT date FROM table_name_6 WHERE network_brand_name = "movistar" | What date was Movistar accredited? | <s>[INST]What date was Movistar accredited? Context: CREATE TABLE table_name_6 (date VARCHAR, network_brand_name VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE network_brand_name = "movistar"</s> |
CREATE TABLE table_name_83 (round_of_16 VARCHAR, ranking_round_rank VARCHAR) | SELECT round_of_16 FROM table_name_83 WHERE ranking_round_rank = 5 | What is the Round of 16 value for the nation with a value of 5 for Ranking Round Rank? | <s>[INST]What is the Round of 16 value for the nation with a value of 5 for Ranking Round Rank? Context: CREATE TABLE table_name_83 (round_of_16 VARCHAR, ranking_round_rank VARCHAR)[/INST]SELECT round_of_16 FROM table_name_83 WHERE ranking_round_rank = 5</s> |
CREATE TABLE table_11734041_3 (school_club_team_country VARCHAR, years_for_rockets VARCHAR) | SELECT school_club_team_country FROM table_11734041_3 WHERE years_for_rockets = "2000-01" | Which school, club team, or country played for the rockets in the years 2000-01? | <s>[INST]Which school, club team, or country played for the rockets in the years 2000-01? Context: CREATE TABLE table_11734041_3 (school_club_team_country VARCHAR, years_for_rockets VARCHAR)[/INST]SELECT school_club_team_country FROM table_11734041_3 WHERE years_for_rockets = "2000-01"</s> |
CREATE TABLE table_name_97 (nat VARCHAR, moving_from VARCHAR) | SELECT nat FROM table_name_97 WHERE moving_from = "espanyol" | What nation had a moving from of espanyol? | <s>[INST]What nation had a moving from of espanyol? Context: CREATE TABLE table_name_97 (nat VARCHAR, moving_from VARCHAR)[/INST]SELECT nat FROM table_name_97 WHERE moving_from = "espanyol"</s> |
CREATE TABLE table_name_92 (team VARCHAR, recopa_1994 VARCHAR, conmebol_1994 VARCHAR) | SELECT team FROM table_name_92 WHERE recopa_1994 = "n/a" AND conmebol_1994 = "1st round" | Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round? | <s>[INST]Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round? Context: CREATE TABLE table_name_92 (team VARCHAR, recopa_1994 VARCHAR, conmebol_1994 VARCHAR)[/INST]SELECT team FROM table_name_92 WHERE recopa_1994 = "n/a" AND conmebol_1994 = "1st round"</s> |
CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR) | SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id WHERE t1.product_name = "sesame" | How many characteristics does the product named "sesame" have? | <s>[INST]How many characteristics does the product named "sesame" have? Context: CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR)[/INST]SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id WHERE t1.product_name = "sesame"</s> |
CREATE TABLE table_name_95 (res VARCHAR, event VARCHAR) | SELECT res FROM table_name_95 WHERE event = "ufc 87" | What is the result of the UFC 87? | <s>[INST]What is the result of the UFC 87? Context: CREATE TABLE table_name_95 (res VARCHAR, event VARCHAR)[/INST]SELECT res FROM table_name_95 WHERE event = "ufc 87"</s> |
CREATE TABLE table_name_18 (name VARCHAR, goals VARCHAR) | SELECT name FROM table_name_18 WHERE goals = 25 | What name is the goals of 25? | <s>[INST]What name is the goals of 25? Context: CREATE TABLE table_name_18 (name VARCHAR, goals VARCHAR)[/INST]SELECT name FROM table_name_18 WHERE goals = 25</s> |
CREATE TABLE table_name_13 (matches INTEGER, wins VARCHAR, pos VARCHAR) | SELECT SUM(matches) FROM table_name_13 WHERE wins < 1 AND pos > 8 | How many total matches with less than 1 win and a position higher than 8? | <s>[INST]How many total matches with less than 1 win and a position higher than 8? Context: CREATE TABLE table_name_13 (matches INTEGER, wins VARCHAR, pos VARCHAR)[/INST]SELECT SUM(matches) FROM table_name_13 WHERE wins < 1 AND pos > 8</s> |
CREATE TABLE table_10007452_3 (fuel_propulsion VARCHAR, fleet_series__quantity_ VARCHAR) | SELECT fuel_propulsion FROM table_10007452_3 WHERE fleet_series__quantity_ = "310-329 (20)" | what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)? | <s>[INST]what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)? Context: CREATE TABLE table_10007452_3 (fuel_propulsion VARCHAR, fleet_series__quantity_ VARCHAR)[/INST]SELECT fuel_propulsion FROM table_10007452_3 WHERE fleet_series__quantity_ = "310-329 (20)"</s> |
CREATE TABLE table_name_75 (money___ INTEGER, place VARCHAR, to_par VARCHAR) | SELECT MIN(money___) AS $__ FROM table_name_75 WHERE place = "t8" AND to_par > 19 | What is the lowest money ($) that has t8 as the place, with a to par greater than 19? | <s>[INST]What is the lowest money ($) that has t8 as the place, with a to par greater than 19? Context: CREATE TABLE table_name_75 (money___ INTEGER, place VARCHAR, to_par VARCHAR)[/INST]SELECT MIN(money___) AS $__ FROM table_name_75 WHERE place = "t8" AND to_par > 19</s> |
CREATE TABLE table_name_31 (championship VARCHAR, opponent_in_the_final VARCHAR) | SELECT championship FROM table_name_31 WHERE opponent_in_the_final = "tommy haas" | What was the name of the opponent Tommy Haas played in the Championship? | <s>[INST]What was the name of the opponent Tommy Haas played in the Championship? Context: CREATE TABLE table_name_31 (championship VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT championship FROM table_name_31 WHERE opponent_in_the_final = "tommy haas"</s> |
CREATE TABLE table_name_9 (week INTEGER, date VARCHAR) | SELECT AVG(week) FROM table_name_9 WHERE date = "november 12, 1978" | What's the mean week number for November 12, 1978? | <s>[INST]What's the mean week number for November 12, 1978? Context: CREATE TABLE table_name_9 (week INTEGER, date VARCHAR)[/INST]SELECT AVG(week) FROM table_name_9 WHERE date = "november 12, 1978"</s> |
CREATE TABLE table_name_7 (what VARCHAR, coconut VARCHAR, person VARCHAR, three VARCHAR) | SELECT what FROM table_name_7 WHERE person = "tawo" AND three = "tuyo" AND coconut = "niyog" | What is "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"? | <s>[INST]What is "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"? Context: CREATE TABLE table_name_7 (what VARCHAR, coconut VARCHAR, person VARCHAR, three VARCHAR)[/INST]SELECT what FROM table_name_7 WHERE person = "tawo" AND three = "tuyo" AND coconut = "niyog"</s> |
CREATE TABLE table_name_60 (points INTEGER, rank VARCHAR) | SELECT MIN(points) FROM table_name_60 WHERE rank = "1st" | What is the lowest points when the ranking is 1st? | <s>[INST]What is the lowest points when the ranking is 1st? Context: CREATE TABLE table_name_60 (points INTEGER, rank VARCHAR)[/INST]SELECT MIN(points) FROM table_name_60 WHERE rank = "1st"</s> |
CREATE TABLE table_name_69 (name VARCHAR, lost INTEGER) | SELECT name FROM table_name_69 WHERE lost > 4 | What is the name of the player that lost more than 4? | <s>[INST]What is the name of the player that lost more than 4? Context: CREATE TABLE table_name_69 (name VARCHAR, lost INTEGER)[/INST]SELECT name FROM table_name_69 WHERE lost > 4</s> |
CREATE TABLE table_11208143_9 (stadium VARCHAR, capacity VARCHAR) | SELECT COUNT(stadium) FROM table_11208143_9 WHERE capacity = 7500 | How many stadiums are there with a capacity of 7500? | <s>[INST]How many stadiums are there with a capacity of 7500? Context: CREATE TABLE table_11208143_9 (stadium VARCHAR, capacity VARCHAR)[/INST]SELECT COUNT(stadium) FROM table_11208143_9 WHERE capacity = 7500</s> |
CREATE TABLE table_name_60 (prize_money VARCHAR, round VARCHAR) | SELECT prize_money FROM table_name_60 WHERE round = "second round qualifying" | What is the prize money for the second round qualifying that is listed? | <s>[INST]What is the prize money for the second round qualifying that is listed? Context: CREATE TABLE table_name_60 (prize_money VARCHAR, round VARCHAR)[/INST]SELECT prize_money FROM table_name_60 WHERE round = "second round qualifying"</s> |
CREATE TABLE table_name_80 (driver VARCHAR, entrant VARCHAR) | SELECT driver FROM table_name_80 WHERE entrant = "enrico platé" | Who is the driver for the Entract of Enrico Platé? | <s>[INST]Who is the driver for the Entract of Enrico Platé? Context: CREATE TABLE table_name_80 (driver VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_name_80 WHERE entrant = "enrico platé"</s> |
CREATE TABLE table_name_39 (score VARCHAR) | SELECT 3 AS rd_place FROM table_name_39 WHERE score = "1-0" | What's in third place that's going 1-0? | <s>[INST]What's in third place that's going 1-0? Context: CREATE TABLE table_name_39 (score VARCHAR)[/INST]SELECT 3 AS rd_place FROM table_name_39 WHERE score = "1-0"</s> |
CREATE TABLE table_name_10 (nationality VARCHAR, college VARCHAR) | SELECT nationality FROM table_name_10 WHERE college = "louisiana tech" | What's the nationality of Louisiana Tech? | <s>[INST]What's the nationality of Louisiana Tech? Context: CREATE TABLE table_name_10 (nationality VARCHAR, college VARCHAR)[/INST]SELECT nationality FROM table_name_10 WHERE college = "louisiana tech"</s> |
CREATE TABLE table_name_82 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_82 WHERE record = "42-36" | What is the loss for the record of 42-36? | <s>[INST]What is the loss for the record of 42-36? Context: CREATE TABLE table_name_82 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_82 WHERE record = "42-36"</s> |
CREATE TABLE table_name_25 (clubs_remaining INTEGER, new_entries_this_round VARCHAR, clubs_involved VARCHAR) | SELECT SUM(clubs_remaining) FROM table_name_25 WHERE new_entries_this_round = "34" AND clubs_involved > 34 | What is the sum of the clubs remaining with 34 new entries this round and more than 34 clubs involved? | <s>[INST]What is the sum of the clubs remaining with 34 new entries this round and more than 34 clubs involved? Context: CREATE TABLE table_name_25 (clubs_remaining INTEGER, new_entries_this_round VARCHAR, clubs_involved VARCHAR)[/INST]SELECT SUM(clubs_remaining) FROM table_name_25 WHERE new_entries_this_round = "34" AND clubs_involved > 34</s> |
CREATE TABLE table_name_42 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_42 WHERE home_team = "newcastle united" | What is the Away team with Newcastle United as the Home team? | <s>[INST]What is the Away team with Newcastle United as the Home team? Context: CREATE TABLE table_name_42 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_42 WHERE home_team = "newcastle united"</s> |
CREATE TABLE table_name_94 (date VARCHAR, week VARCHAR, result VARCHAR) | SELECT date FROM table_name_94 WHERE week < 9 AND result = "l 27-10" | What is the date where the result was L 27-10 in a week before week 9? | <s>[INST]What is the date where the result was L 27-10 in a week before week 9? Context: CREATE TABLE table_name_94 (date VARCHAR, week VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_94 WHERE week < 9 AND result = "l 27-10"</s> |
CREATE TABLE table_name_82 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_82 WHERE date = "6 october 2008" | What is Tournament, when Date is "6 October 2008"? | <s>[INST]What is Tournament, when Date is "6 October 2008"? Context: CREATE TABLE table_name_82 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_82 WHERE date = "6 october 2008"</s> |
CREATE TABLE table_name_9 (game VARCHAR, result VARCHAR) | SELECT game FROM table_name_9 WHERE result = "136-112" | What Game had a Result of 136-112? | <s>[INST]What Game had a Result of 136-112? Context: CREATE TABLE table_name_9 (game VARCHAR, result VARCHAR)[/INST]SELECT game FROM table_name_9 WHERE result = "136-112"</s> |
CREATE TABLE table_name_60 (school_club_team VARCHAR, pick VARCHAR) | SELECT school_club_team FROM table_name_60 WHERE pick = 139 | Which school or club team has a pick of 139? | <s>[INST]Which school or club team has a pick of 139? Context: CREATE TABLE table_name_60 (school_club_team VARCHAR, pick VARCHAR)[/INST]SELECT school_club_team FROM table_name_60 WHERE pick = 139</s> |
CREATE TABLE table_18183850_12 (outcome VARCHAR, opponent VARCHAR) | SELECT COUNT(outcome) FROM table_18183850_12 WHERE opponent = "Aleksandra Wozniak" | How many outcomes were there when the opponent was Aleksandra Wozniak? | <s>[INST]How many outcomes were there when the opponent was Aleksandra Wozniak? Context: CREATE TABLE table_18183850_12 (outcome VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(outcome) FROM table_18183850_12 WHERE opponent = "Aleksandra Wozniak"</s> |
CREATE TABLE table_name_82 (representing VARCHAR, original_title VARCHAR) | SELECT representing FROM table_name_82 WHERE original_title = "ingenjör andrées luftfärd" | Name the representating for ingenjör andrées luftfärd | <s>[INST]Name the representating for ingenjör andrées luftfärd Context: CREATE TABLE table_name_82 (representing VARCHAR, original_title VARCHAR)[/INST]SELECT representing FROM table_name_82 WHERE original_title = "ingenjör andrées luftfärd"</s> |
CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR) | SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6 | Which player had a draft before 1975 and before round 6? | <s>[INST]Which player had a draft before 1975 and before round 6? Context: CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR)[/INST]SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6</s> |
CREATE TABLE table_name_38 (event VARCHAR, location VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_38 WHERE location = "tokyo, japan" AND opponent = "rumina sato" | Which event was in Tokyo, Japan and had an opponent of rumina sato? | <s>[INST]Which event was in Tokyo, Japan and had an opponent of rumina sato? Context: CREATE TABLE table_name_38 (event VARCHAR, location VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_38 WHERE location = "tokyo, japan" AND opponent = "rumina sato"</s> |
CREATE TABLE table_16795394_3 (points VARCHAR, team__number2 VARCHAR) | SELECT points FROM table_16795394_3 WHERE team__number2 = "Atlético Nacional" | For team Atlético Nacional, what were the points? | <s>[INST]For team Atlético Nacional, what were the points? Context: CREATE TABLE table_16795394_3 (points VARCHAR, team__number2 VARCHAR)[/INST]SELECT points FROM table_16795394_3 WHERE team__number2 = "Atlético Nacional"</s> |
CREATE TABLE table_name_26 (area__km²_ INTEGER, total__km²_ VARCHAR, province VARCHAR, comune VARCHAR) | SELECT MIN(area__km²_) FROM table_name_26 WHERE province = "napoli" AND comune = "piano di sorrento" AND total__km²_ < 121.14 | What is the Piano di Sorrento, Napoli lowest km2 with a total smaller than 121.14 km2? | <s>[INST]What is the Piano di Sorrento, Napoli lowest km2 with a total smaller than 121.14 km2? Context: CREATE TABLE table_name_26 (area__km²_ INTEGER, total__km²_ VARCHAR, province VARCHAR, comune VARCHAR)[/INST]SELECT MIN(area__km²_) FROM table_name_26 WHERE province = "napoli" AND comune = "piano di sorrento" AND total__km²_ < 121.14</s> |
CREATE TABLE table_name_34 (mark INTEGER, rank VARCHAR) | SELECT MIN(mark) FROM table_name_34 WHERE rank = 8 | What is the lowest mark of the rank 8 record? | <s>[INST]What is the lowest mark of the rank 8 record? Context: CREATE TABLE table_name_34 (mark INTEGER, rank VARCHAR)[/INST]SELECT MIN(mark) FROM table_name_34 WHERE rank = 8</s> |
CREATE TABLE table_name_38 (theme VARCHAR, week VARCHAR) | SELECT theme FROM table_name_38 WHERE week = "week 3" | What was the theme for week 3? | <s>[INST]What was the theme for week 3? Context: CREATE TABLE table_name_38 (theme VARCHAR, week VARCHAR)[/INST]SELECT theme FROM table_name_38 WHERE week = "week 3"</s> |
CREATE TABLE table_name_76 (nat VARCHAR, app_l_c_e_ VARCHAR, name VARCHAR) | SELECT nat FROM table_name_76 WHERE app_l_c_e_ = "0 (0/0/0)" AND name = "yahaya" | What is the Nationality of the player named Yahaya, who has as App(L/C/E) of 0 (0/0/0)? | <s>[INST]What is the Nationality of the player named Yahaya, who has as App(L/C/E) of 0 (0/0/0)? Context: CREATE TABLE table_name_76 (nat VARCHAR, app_l_c_e_ VARCHAR, name VARCHAR)[/INST]SELECT nat FROM table_name_76 WHERE app_l_c_e_ = "0 (0/0/0)" AND name = "yahaya"</s> |
CREATE TABLE table_name_68 (player VARCHAR, nationality VARCHAR, position VARCHAR, round VARCHAR) | SELECT player FROM table_name_68 WHERE position = "defence" AND round < 5 AND nationality = "united states" | Which player from the United States plays defence and was chosen before round 5? | <s>[INST]Which player from the United States plays defence and was chosen before round 5? Context: CREATE TABLE table_name_68 (player VARCHAR, nationality VARCHAR, position VARCHAR, round VARCHAR)[/INST]SELECT player FROM table_name_68 WHERE position = "defence" AND round < 5 AND nationality = "united states"</s> |
CREATE TABLE table_name_65 (total VARCHAR, clubs VARCHAR, place VARCHAR) | SELECT total FROM table_name_65 WHERE clubs = 10 AND place > 1 | What total has 10 as the clubs, with a place greater than 1? | <s>[INST]What total has 10 as the clubs, with a place greater than 1? Context: CREATE TABLE table_name_65 (total VARCHAR, clubs VARCHAR, place VARCHAR)[/INST]SELECT total FROM table_name_65 WHERE clubs = 10 AND place > 1</s> |
CREATE TABLE Documents (response_received_date VARCHAR, document_type_code VARCHAR, grant_id VARCHAR); CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR); CREATE TABLE Grants (grant_id VARCHAR, grant_amount VARCHAR) | SELECT T1.response_received_date FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code = T2.document_type_code JOIN Grants AS T3 ON T1.grant_id = T3.grant_id WHERE T2.document_description = 'Regular' OR T3.grant_amount > 100 | What are the response received dates for the documents described as 'Regular' or granted with more than 100? | <s>[INST]What are the response received dates for the documents described as 'Regular' or granted with more than 100? Context: CREATE TABLE Documents (response_received_date VARCHAR, document_type_code VARCHAR, grant_id VARCHAR); CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR); CREATE TABLE Grants (grant_id VARCHAR, grant_amount VARCHAR)[/INST]SELECT T1.response_received_date FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code = T2.document_type_code JOIN Grants AS T3 ON T1.grant_id = T3.grant_id WHERE T2.document_description = 'Regular' OR T3.grant_amount > 100</s> |
CREATE TABLE table_name_8 (difference VARCHAR, position INTEGER) | SELECT difference FROM table_name_8 WHERE position < 2 | What was the Difference of the Team that had a Position less than 2? | <s>[INST]What was the Difference of the Team that had a Position less than 2? Context: CREATE TABLE table_name_8 (difference VARCHAR, position INTEGER)[/INST]SELECT difference FROM table_name_8 WHERE position < 2</s> |
CREATE TABLE device (Carrier VARCHAR) | SELECT Carrier FROM device ORDER BY Carrier | List the carriers of devices in ascending alphabetical order. | <s>[INST]List the carriers of devices in ascending alphabetical order. Context: CREATE TABLE device (Carrier VARCHAR)[/INST]SELECT Carrier FROM device ORDER BY Carrier</s> |
CREATE TABLE Claims (claim_id VARCHAR, date_claim_made VARCHAR, Date_Claim_Settled VARCHAR, Claim_id VARCHAR); CREATE TABLE Settlements (Claim_id VARCHAR) | SELECT T1.claim_id, T1.date_claim_made, T1.Date_Claim_Settled FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id GROUP BY T1.claim_id HAVING COUNT(*) = 1 | List the date the claim was made, the date it was settled and the amount settled for all the claims which had exactly one settlement. | <s>[INST]List the date the claim was made, the date it was settled and the amount settled for all the claims which had exactly one settlement. Context: CREATE TABLE Claims (claim_id VARCHAR, date_claim_made VARCHAR, Date_Claim_Settled VARCHAR, Claim_id VARCHAR); CREATE TABLE Settlements (Claim_id VARCHAR)[/INST]SELECT T1.claim_id, T1.date_claim_made, T1.Date_Claim_Settled FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id GROUP BY T1.claim_id HAVING COUNT(*) = 1</s> |
CREATE TABLE table_1342270_42 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1342270_42 WHERE incumbent = "Estes Kefauver" | In how many districts was the incumbent Estes Kefauver? | <s>[INST]In how many districts was the incumbent Estes Kefauver? Context: CREATE TABLE table_1342270_42 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(district) FROM table_1342270_42 WHERE incumbent = "Estes Kefauver"</s> |
CREATE TABLE table_22824297_1 (player VARCHAR, height VARCHAR) | SELECT player FROM table_22824297_1 WHERE height = "6-5" | Who is every player with a height of 6-5? | <s>[INST]Who is every player with a height of 6-5? Context: CREATE TABLE table_22824297_1 (player VARCHAR, height VARCHAR)[/INST]SELECT player FROM table_22824297_1 WHERE height = "6-5"</s> |
CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_name_80 WHERE opponent = "twins" | How many people attended when opponent was twins? | <s>[INST]How many people attended when opponent was twins? Context: CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_80 WHERE opponent = "twins"</s> |
CREATE TABLE table_name_5 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_5 WHERE away_team = "north melbourne" | Which team played against North Melbourne as the home team? | <s>[INST]Which team played against North Melbourne as the home team? Context: CREATE TABLE table_name_5 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_5 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_71 (comparative VARCHAR, name VARCHAR) | SELECT comparative FROM table_name_71 WHERE name = "pictar" | Which Comparative has a Name of pictar? | <s>[INST]Which Comparative has a Name of pictar? Context: CREATE TABLE table_name_71 (comparative VARCHAR, name VARCHAR)[/INST]SELECT comparative FROM table_name_71 WHERE name = "pictar"</s> |
CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR) | SELECT SUM(crowd) FROM table_name_98 WHERE home_team = "collingwood" | What is the total Crowd with a Home team of collingwood? | <s>[INST]What is the total Crowd with a Home team of collingwood? Context: CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_98 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_24565004_11 (period VARCHAR, goals¹ VARCHAR) | SELECT COUNT(period) FROM table_24565004_11 WHERE goals¹ = 15 | How many periods had 15 goals? | <s>[INST]How many periods had 15 goals? Context: CREATE TABLE table_24565004_11 (period VARCHAR, goals¹ VARCHAR)[/INST]SELECT COUNT(period) FROM table_24565004_11 WHERE goals¹ = 15</s> |
CREATE TABLE table_name_47 (race VARCHAR, category VARCHAR, date VARCHAR) | SELECT race FROM table_name_47 WHERE category = "formula 2 fia, non-championship" AND date = "july 30, 1950" | What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship? | <s>[INST]What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship? Context: CREATE TABLE table_name_47 (race VARCHAR, category VARCHAR, date VARCHAR)[/INST]SELECT race FROM table_name_47 WHERE category = "formula 2 fia, non-championship" AND date = "july 30, 1950"</s> |
CREATE TABLE table_name_60 (laps INTEGER, finish VARCHAR) | SELECT SUM(laps) FROM table_name_60 WHERE finish = "24" | What is the sum of the lap with a finish of 24? | <s>[INST]What is the sum of the lap with a finish of 24? Context: CREATE TABLE table_name_60 (laps INTEGER, finish VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_60 WHERE finish = "24"</s> |
CREATE TABLE table_name_19 (disc_number VARCHAR, track_number VARCHAR, release_date VARCHAR) | SELECT disc_number FROM table_name_19 WHERE track_number = "02" AND release_date = "7 september 2004" | What kind of Disc number has a Track number of 02 on 7 september 2004? | <s>[INST]What kind of Disc number has a Track number of 02 on 7 september 2004? Context: CREATE TABLE table_name_19 (disc_number VARCHAR, track_number VARCHAR, release_date VARCHAR)[/INST]SELECT disc_number FROM table_name_19 WHERE track_number = "02" AND release_date = "7 september 2004"</s> |
CREATE TABLE table_name_28 (sprint VARCHAR, mass_start VARCHAR) | SELECT sprint FROM table_name_28 WHERE mass_start = "2nd" | Name the sprint with mass start of 2nd | <s>[INST]Name the sprint with mass start of 2nd Context: CREATE TABLE table_name_28 (sprint VARCHAR, mass_start VARCHAR)[/INST]SELECT sprint FROM table_name_28 WHERE mass_start = "2nd"</s> |
CREATE TABLE table_name_77 (position VARCHAR, school VARCHAR) | SELECT position FROM table_name_77 WHERE school = "kentucky state" | What position is Kentucky State sitting in? | <s>[INST]What position is Kentucky State sitting in? Context: CREATE TABLE table_name_77 (position VARCHAR, school VARCHAR)[/INST]SELECT position FROM table_name_77 WHERE school = "kentucky state"</s> |
CREATE TABLE table_11960944_4 (high_points VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR) | SELECT COUNT(high_points) FROM table_11960944_4 WHERE high_rebounds = "McDyess (9)" AND high_assists = "Billups (10)" | how many times was the high rebounds by Mcdyess (9) and the high assists was by Billups (10)? | <s>[INST]how many times was the high rebounds by Mcdyess (9) and the high assists was by Billups (10)? Context: CREATE TABLE table_11960944_4 (high_points VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_11960944_4 WHERE high_rebounds = "McDyess (9)" AND high_assists = "Billups (10)"</s> |
CREATE TABLE table_name_55 (team VARCHAR, year VARCHAR, class VARCHAR, laps VARCHAR) | SELECT team FROM table_name_55 WHERE class = "c1" AND laps > 331 AND year > 1990 | What team was c1 class, had over 331 laps after 1990? | <s>[INST]What team was c1 class, had over 331 laps after 1990? Context: CREATE TABLE table_name_55 (team VARCHAR, year VARCHAR, class VARCHAR, laps VARCHAR)[/INST]SELECT team FROM table_name_55 WHERE class = "c1" AND laps > 331 AND year > 1990</s> |
CREATE TABLE table_name_31 (year_completed INTEGER, dam_type VARCHAR, impounded_body_of_water VARCHAR) | SELECT MIN(year_completed) FROM table_name_31 WHERE dam_type = "concrete gravity" AND impounded_body_of_water = "deep creek reservoir" | Which Year completed has a Dam type of concrete gravity, and an Impounded body of water of deep creek reservoir? | <s>[INST]Which Year completed has a Dam type of concrete gravity, and an Impounded body of water of deep creek reservoir? Context: CREATE TABLE table_name_31 (year_completed INTEGER, dam_type VARCHAR, impounded_body_of_water VARCHAR)[/INST]SELECT MIN(year_completed) FROM table_name_31 WHERE dam_type = "concrete gravity" AND impounded_body_of_water = "deep creek reservoir"</s> |
CREATE TABLE table_name_76 (laid_down VARCHAR, name VARCHAR) | SELECT laid_down FROM table_name_76 WHERE name = "fubuki" | What is the date the Fubuki ship laid down? | <s>[INST]What is the date the Fubuki ship laid down? Context: CREATE TABLE table_name_76 (laid_down VARCHAR, name VARCHAR)[/INST]SELECT laid_down FROM table_name_76 WHERE name = "fubuki"</s> |
CREATE TABLE table_15893020_2 (player VARCHAR, best_bowling VARCHAR) | SELECT player FROM table_15893020_2 WHERE best_bowling = "2/43" | Who was the player with a bowling best of 2/43? | <s>[INST]Who was the player with a bowling best of 2/43? Context: CREATE TABLE table_15893020_2 (player VARCHAR, best_bowling VARCHAR)[/INST]SELECT player FROM table_15893020_2 WHERE best_bowling = "2/43"</s> |
CREATE TABLE table_name_99 (score1 VARCHAR, opponent VARCHAR) | SELECT score1 FROM table_name_99 WHERE opponent = "thurrock" | What was the final score for the Thurrock? | <s>[INST]What was the final score for the Thurrock? Context: CREATE TABLE table_name_99 (score1 VARCHAR, opponent VARCHAR)[/INST]SELECT score1 FROM table_name_99 WHERE opponent = "thurrock"</s> |
CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, area__km²_ VARCHAR) | SELECT population_2000_census FROM table_14986292_1 WHERE area__km²_ = "77" | Name the population 2000 census for 77 area | <s>[INST]Name the population 2000 census for 77 area Context: CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, area__km²_ VARCHAR)[/INST]SELECT population_2000_census FROM table_14986292_1 WHERE area__km²_ = "77"</s> |
CREATE TABLE table_name_36 (years VARCHAR, representative VARCHAR) | SELECT years FROM table_name_36 WHERE representative = "j. smith young" | What years did J. Smith Young serve as a Representative? | <s>[INST]What years did J. Smith Young serve as a Representative? Context: CREATE TABLE table_name_36 (years VARCHAR, representative VARCHAR)[/INST]SELECT years FROM table_name_36 WHERE representative = "j. smith young"</s> |
CREATE TABLE table_name_40 (film_title_used_in_nomination VARCHAR, language VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_40 WHERE language = "norwegian" | Name the film title that was norwegian | <s>[INST]Name the film title that was norwegian Context: CREATE TABLE table_name_40 (film_title_used_in_nomination VARCHAR, language VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_40 WHERE language = "norwegian"</s> |
CREATE TABLE table_name_47 (overall VARCHAR, pick__number INTEGER) | SELECT overall FROM table_name_47 WHERE pick__number < 13 | What is the overall of the player with a pick # higher than 13? | <s>[INST]What is the overall of the player with a pick # higher than 13? Context: CREATE TABLE table_name_47 (overall VARCHAR, pick__number INTEGER)[/INST]SELECT overall FROM table_name_47 WHERE pick__number < 13</s> |
CREATE TABLE table_name_61 (pick VARCHAR, position VARCHAR) | SELECT COUNT(pick) FROM table_name_61 WHERE position = "defensive back" | How many Picks have a Position of defensive back? | <s>[INST]How many Picks have a Position of defensive back? Context: CREATE TABLE table_name_61 (pick VARCHAR, position VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_61 WHERE position = "defensive back"</s> |
CREATE TABLE table_name_47 (engine VARCHAR, entrant VARCHAR, year VARCHAR) | SELECT engine FROM table_name_47 WHERE entrant = "team lotus" AND year > 1962 | Which engine has an Entrant of team lotus, and a Year larger than 1962? | <s>[INST]Which engine has an Entrant of team lotus, and a Year larger than 1962? Context: CREATE TABLE table_name_47 (engine VARCHAR, entrant VARCHAR, year VARCHAR)[/INST]SELECT engine FROM table_name_47 WHERE entrant = "team lotus" AND year > 1962</s> |
CREATE TABLE church (name VARCHAR, open_date VARCHAR) | SELECT name, open_date FROM church ORDER BY open_date DESC LIMIT 3 | Show the name and opening year for three churches that opened most recently. | <s>[INST]Show the name and opening year for three churches that opened most recently. Context: CREATE TABLE church (name VARCHAR, open_date VARCHAR)[/INST]SELECT name, open_date FROM church ORDER BY open_date DESC LIMIT 3</s> |
CREATE TABLE table_name_81 (time VARCHAR, notes VARCHAR, athlete VARCHAR) | SELECT time FROM table_name_81 WHERE notes = "sa/b" AND athlete = "frida svensson" | What is the time of frida svensson's race that had sa/b under the notes? | <s>[INST]What is the time of frida svensson's race that had sa/b under the notes? Context: CREATE TABLE table_name_81 (time VARCHAR, notes VARCHAR, athlete VARCHAR)[/INST]SELECT time FROM table_name_81 WHERE notes = "sa/b" AND athlete = "frida svensson"</s> |
CREATE TABLE table_name_17 (position VARCHAR, round VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_17 WHERE round < 20 AND school_club_team = "washington" | What is the position of the player with a round less than 20 from the school/club Washington? | <s>[INST]What is the position of the player with a round less than 20 from the school/club Washington? Context: CREATE TABLE table_name_17 (position VARCHAR, round VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_name_17 WHERE round < 20 AND school_club_team = "washington"</s> |
CREATE TABLE table_name_13 (area VARCHAR, _percentage_other VARCHAR) | SELECT area FROM table_name_13 WHERE _percentage_other = "3%" | What area has a percentage of other of 3%? | <s>[INST]What area has a percentage of other of 3%? Context: CREATE TABLE table_name_13 (area VARCHAR, _percentage_other VARCHAR)[/INST]SELECT area FROM table_name_13 WHERE _percentage_other = "3%"</s> |
CREATE TABLE table_name_77 (total INTEGER, to_par VARCHAR, player VARCHAR) | SELECT SUM(total) FROM table_name_77 WHERE to_par > 7 AND player = "corey pavin" | If the player is Corey Pavin when he had a To par of over 7, what was the sum of his totals? | <s>[INST]If the player is Corey Pavin when he had a To par of over 7, what was the sum of his totals? Context: CREATE TABLE table_name_77 (total INTEGER, to_par VARCHAR, player VARCHAR)[/INST]SELECT SUM(total) FROM table_name_77 WHERE to_par > 7 AND player = "corey pavin"</s> |
CREATE TABLE table_name_99 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_99 WHERE attendance = "bye" | Which Result has an Attendance of bye? | <s>[INST]Which Result has an Attendance of bye? Context: CREATE TABLE table_name_99 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_99 WHERE attendance = "bye"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.