context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, vehicle VARCHAR) | SELECT COUNT(california__san_francisco_) FROM table_16105186_2 WHERE vehicle = "Ford Focus Electric" | How many Ford Focus electric vehicle emission test scores were recorded in California? | <s>[INST]How many Ford Focus electric vehicle emission test scores were recorded in California? Context: CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, vehicle VARCHAR)[/INST]SELECT COUNT(california__san_francisco_) FROM table_16105186_2 WHERE vehicle = "Ford Focus Electric"</s> |
CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_36 WHERE away_team = "richmond" | What team was the home team when Richmond was the away team? | <s>[INST]What team was the home team when Richmond was the away team? Context: CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_36 WHERE away_team = "richmond"</s> |
CREATE TABLE table_27733909_7 (high_rebounds VARCHAR, date VARCHAR) | SELECT COUNT(high_rebounds) FROM table_27733909_7 WHERE date = "January 5" | Name the number of high rebounds for january 5 | <s>[INST]Name the number of high rebounds for january 5 Context: CREATE TABLE table_27733909_7 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT COUNT(high_rebounds) FROM table_27733909_7 WHERE date = "January 5"</s> |
CREATE TABLE table_name_76 (total INTEGER, player VARCHAR) | SELECT AVG(total) FROM table_name_76 WHERE player = "jeff sluman" | Name the Total of jeff sluman? | <s>[INST]Name the Total of jeff sluman? Context: CREATE TABLE table_name_76 (total INTEGER, player VARCHAR)[/INST]SELECT AVG(total) FROM table_name_76 WHERE player = "jeff sluman"</s> |
CREATE TABLE people (Age VARCHAR, People_ID VARCHAR); CREATE TABLE gymnast (Gymnast_ID VARCHAR, Total_Points VARCHAR) | SELECT T2.Age FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T1.Total_Points DESC | Show the ages of gymnasts in descending order of total points. | <s>[INST]Show the ages of gymnasts in descending order of total points. Context: CREATE TABLE people (Age VARCHAR, People_ID VARCHAR); CREATE TABLE gymnast (Gymnast_ID VARCHAR, Total_Points VARCHAR)[/INST]SELECT T2.Age FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T1.Total_Points DESC</s> |
CREATE TABLE table_2886617_2 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_2886617_2 WHERE nhl_team = "New York Rangers" | What player was picked by the New York Rangers? | <s>[INST]What player was picked by the New York Rangers? Context: CREATE TABLE table_2886617_2 (player VARCHAR, nhl_team VARCHAR)[/INST]SELECT player FROM table_2886617_2 WHERE nhl_team = "New York Rangers"</s> |
CREATE TABLE table_name_38 (tunnel VARCHAR, length__imperial_ VARCHAR) | SELECT tunnel FROM table_name_38 WHERE length__imperial_ = "307 yd" | What Tunnel has an Imperial Length of 307 yd? | <s>[INST]What Tunnel has an Imperial Length of 307 yd? Context: CREATE TABLE table_name_38 (tunnel VARCHAR, length__imperial_ VARCHAR)[/INST]SELECT tunnel FROM table_name_38 WHERE length__imperial_ = "307 yd"</s> |
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR, competition VARCHAR) | SELECT away_team FROM table_name_12 WHERE home_team = "leeds united" AND competition = "league cup" | Who is the away team for the tome team Leeds United, at the League Cup Competition? | <s>[INST]Who is the away team for the tome team Leeds United, at the League Cup Competition? Context: CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR, competition VARCHAR)[/INST]SELECT away_team FROM table_name_12 WHERE home_team = "leeds united" AND competition = "league cup"</s> |
CREATE TABLE table_name_77 (segment_a VARCHAR, netflix VARCHAR) | SELECT segment_a FROM table_name_77 WHERE netflix = "s04e24" | Which segment a's netflix figure is s04e24? | <s>[INST]Which segment a's netflix figure is s04e24? Context: CREATE TABLE table_name_77 (segment_a VARCHAR, netflix VARCHAR)[/INST]SELECT segment_a FROM table_name_77 WHERE netflix = "s04e24"</s> |
CREATE TABLE table_11793221_4 (commander VARCHAR, complement VARCHAR) | SELECT commander FROM table_11793221_4 WHERE complement = "167 off 2348 men" | Name the commander of 167 off 2348 men | <s>[INST]Name the commander of 167 off 2348 men Context: CREATE TABLE table_11793221_4 (commander VARCHAR, complement VARCHAR)[/INST]SELECT commander FROM table_11793221_4 WHERE complement = "167 off 2348 men"</s> |
CREATE TABLE table_name_79 (opponents_in_the_final VARCHAR, partner VARCHAR) | SELECT opponents_in_the_final FROM table_name_79 WHERE partner = "olga lugina" | Which Opponents in the final has a Partner of olga lugina? | <s>[INST]Which Opponents in the final has a Partner of olga lugina? Context: CREATE TABLE table_name_79 (opponents_in_the_final VARCHAR, partner VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_79 WHERE partner = "olga lugina"</s> |
CREATE TABLE table_name_12 (gold INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_12 WHERE silver = 1 AND bronze < 1 | How many gold have a silver of 1 and a bronze of 0? | <s>[INST]How many gold have a silver of 1 and a bronze of 0? Context: CREATE TABLE table_name_12 (gold INTEGER, silver VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_12 WHERE silver = 1 AND bronze < 1</s> |
CREATE TABLE store (TYPE VARCHAR) | SELECT TYPE, COUNT(*) FROM store GROUP BY TYPE | Find all types of store and number of them. | <s>[INST]Find all types of store and number of them. Context: CREATE TABLE store (TYPE VARCHAR)[/INST]SELECT TYPE, COUNT(*) FROM store GROUP BY TYPE</s> |
CREATE TABLE table_name_36 (country VARCHAR, icao VARCHAR) | SELECT country FROM table_name_36 WHERE icao = "votr" | What Country's ICAO is VOTR? | <s>[INST]What Country's ICAO is VOTR? Context: CREATE TABLE table_name_36 (country VARCHAR, icao VARCHAR)[/INST]SELECT country FROM table_name_36 WHERE icao = "votr"</s> |
CREATE TABLE WINE (Appelation VARCHAR, YEAR INTEGER, Area VARCHAR); CREATE TABLE APPELLATIONS (Appelation VARCHAR, YEAR INTEGER, Area VARCHAR) | SELECT Appelation FROM WINE WHERE YEAR > 2008 EXCEPT SELECT Appelation FROM APPELLATIONS WHERE Area = "Central Coast" | Find the appelations that produce wines after the year of 2008 but not in Central Coast area. | <s>[INST]Find the appelations that produce wines after the year of 2008 but not in Central Coast area. Context: CREATE TABLE WINE (Appelation VARCHAR, YEAR INTEGER, Area VARCHAR); CREATE TABLE APPELLATIONS (Appelation VARCHAR, YEAR INTEGER, Area VARCHAR)[/INST]SELECT Appelation FROM WINE WHERE YEAR > 2008 EXCEPT SELECT Appelation FROM APPELLATIONS WHERE Area = "Central Coast"</s> |
CREATE TABLE table_18904831_6 (location VARCHAR, score VARCHAR) | SELECT location FROM table_18904831_6 WHERE score = "W 73-70" | When w 73-70 is the score what is the location? | <s>[INST]When w 73-70 is the score what is the location? Context: CREATE TABLE table_18904831_6 (location VARCHAR, score VARCHAR)[/INST]SELECT location FROM table_18904831_6 WHERE score = "W 73-70"</s> |
CREATE TABLE table_28967275_2 (production_code VARCHAR, series__number VARCHAR) | SELECT production_code FROM table_28967275_2 WHERE series__number = 8 | What is the production code of the episode with series #8? | <s>[INST]What is the production code of the episode with series #8? Context: CREATE TABLE table_28967275_2 (production_code VARCHAR, series__number VARCHAR)[/INST]SELECT production_code FROM table_28967275_2 WHERE series__number = 8</s> |
CREATE TABLE table_name_60 (transfer_fee VARCHAR, name VARCHAR) | SELECT transfer_fee FROM table_name_60 WHERE name = "evilasio" | what is the transfer fee for evilasio? | <s>[INST]what is the transfer fee for evilasio? Context: CREATE TABLE table_name_60 (transfer_fee VARCHAR, name VARCHAR)[/INST]SELECT transfer_fee FROM table_name_60 WHERE name = "evilasio"</s> |
CREATE TABLE table_name_49 (gdp__ppp__per_capita_2012_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR) | SELECT gdp__ppp__per_capita_2012_euro FROM table_name_49 WHERE population_in_millions > 10.8 AND gdp__nominal__per_capita_2012_euro = "25,600" | What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8, and when GDP (Nominal) Per Capita 2012 Euro is 25,600? | <s>[INST]What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8, and when GDP (Nominal) Per Capita 2012 Euro is 25,600? Context: CREATE TABLE table_name_49 (gdp__ppp__per_capita_2012_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR)[/INST]SELECT gdp__ppp__per_capita_2012_euro FROM table_name_49 WHERE population_in_millions > 10.8 AND gdp__nominal__per_capita_2012_euro = "25,600"</s> |
CREATE TABLE table_name_81 (number INTEGER, long VARCHAR, yards VARCHAR) | SELECT MAX(number) FROM table_name_81 WHERE long > 50 AND yards < 762 | What is the highest number when there were more than 50 long and less than 762 yards? | <s>[INST]What is the highest number when there were more than 50 long and less than 762 yards? Context: CREATE TABLE table_name_81 (number INTEGER, long VARCHAR, yards VARCHAR)[/INST]SELECT MAX(number) FROM table_name_81 WHERE long > 50 AND yards < 762</s> |
CREATE TABLE table_name_93 (circumstances VARCHAR, date VARCHAR) | SELECT circumstances FROM table_name_93 WHERE date = "2009-09-05" | What happened on 2009-09-05? | <s>[INST]What happened on 2009-09-05? Context: CREATE TABLE table_name_93 (circumstances VARCHAR, date VARCHAR)[/INST]SELECT circumstances FROM table_name_93 WHERE date = "2009-09-05"</s> |
CREATE TABLE table_name_79 (top_5 INTEGER, cuts_made VARCHAR) | SELECT AVG(top_5) FROM table_name_79 WHERE cuts_made = 42 | What is the average for the top five having a number of 42 cuts made. | <s>[INST]What is the average for the top five having a number of 42 cuts made. Context: CREATE TABLE table_name_79 (top_5 INTEGER, cuts_made VARCHAR)[/INST]SELECT AVG(top_5) FROM table_name_79 WHERE cuts_made = 42</s> |
CREATE TABLE table_name_64 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_64 WHERE player = "alex poythress" | What was the college for Alex Poythress? | <s>[INST]What was the college for Alex Poythress? Context: CREATE TABLE table_name_64 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_name_64 WHERE player = "alex poythress"</s> |
CREATE TABLE table_name_2 (popular_votes INTEGER, year VARCHAR, office VARCHAR, percentage VARCHAR) | SELECT AVG(popular_votes) FROM table_name_2 WHERE office = "us representative 4" AND percentage = "1.59%" AND year > 1992 | How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4? | <s>[INST]How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4? Context: CREATE TABLE table_name_2 (popular_votes INTEGER, year VARCHAR, office VARCHAR, percentage VARCHAR)[/INST]SELECT AVG(popular_votes) FROM table_name_2 WHERE office = "us representative 4" AND percentage = "1.59%" AND year > 1992</s> |
CREATE TABLE table_1681535_1 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_1681535_1 WHERE title = "Destiny of the Daleks" | What is the release date for Destiny of the Daleks? | <s>[INST]What is the release date for Destiny of the Daleks? Context: CREATE TABLE table_1681535_1 (release_date VARCHAR, title VARCHAR)[/INST]SELECT release_date FROM table_1681535_1 WHERE title = "Destiny of the Daleks"</s> |
CREATE TABLE table_15416002_1 (r_miles_ VARCHAR, chi VARCHAR) | SELECT r_miles_ FROM table_15416002_1 WHERE chi = "9.9" | What are the miles when the Carvill Hurricane Index (CHI) is equal to 9.9? | <s>[INST]What are the miles when the Carvill Hurricane Index (CHI) is equal to 9.9? Context: CREATE TABLE table_15416002_1 (r_miles_ VARCHAR, chi VARCHAR)[/INST]SELECT r_miles_ FROM table_15416002_1 WHERE chi = "9.9"</s> |
CREATE TABLE table_name_28 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_28 WHERE name = "hamzah idris" | What nationality is hamzah idris? | <s>[INST]What nationality is hamzah idris? Context: CREATE TABLE table_name_28 (nationality VARCHAR, name VARCHAR)[/INST]SELECT nationality FROM table_name_28 WHERE name = "hamzah idris"</s> |
CREATE TABLE table_name_16 (task_no INTEGER, head_of_household VARCHAR) | SELECT MAX(task_no) FROM table_name_16 WHERE head_of_household = "cathy" | What is the latest task number for which Cathy is head of household? | <s>[INST]What is the latest task number for which Cathy is head of household? Context: CREATE TABLE table_name_16 (task_no INTEGER, head_of_household VARCHAR)[/INST]SELECT MAX(task_no) FROM table_name_16 WHERE head_of_household = "cathy"</s> |
CREATE TABLE table_name_80 (outgoing_manager VARCHAR, replaced_by VARCHAR) | SELECT outgoing_manager FROM table_name_80 WHERE replaced_by = "thomas von heesen" | Who was the outgoing manager that was replaced by Thomas Von Heesen? | <s>[INST]Who was the outgoing manager that was replaced by Thomas Von Heesen? Context: CREATE TABLE table_name_80 (outgoing_manager VARCHAR, replaced_by VARCHAR)[/INST]SELECT outgoing_manager FROM table_name_80 WHERE replaced_by = "thomas von heesen"</s> |
CREATE TABLE table_name_56 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_56 WHERE date = "apr 16, 1967" | What is the Tournament with a Date that is apr 16, 1967? | <s>[INST]What is the Tournament with a Date that is apr 16, 1967? Context: CREATE TABLE table_name_56 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_56 WHERE date = "apr 16, 1967"</s> |
CREATE TABLE table_name_89 (draws INTEGER, goals_against VARCHAR, wins VARCHAR) | SELECT MAX(draws) FROM table_name_89 WHERE goals_against > 56 AND wins > 14 | Name the most draws when goals against is more than 56 and wins is more than 14 | <s>[INST]Name the most draws when goals against is more than 56 and wins is more than 14 Context: CREATE TABLE table_name_89 (draws INTEGER, goals_against VARCHAR, wins VARCHAR)[/INST]SELECT MAX(draws) FROM table_name_89 WHERE goals_against > 56 AND wins > 14</s> |
CREATE TABLE table_name_4 (nationality VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_4 WHERE school_club_team = "ucla" | What is the nationality of the player from UCLA? | <s>[INST]What is the nationality of the player from UCLA? Context: CREATE TABLE table_name_4 (nationality VARCHAR, school_club_team VARCHAR)[/INST]SELECT nationality FROM table_name_4 WHERE school_club_team = "ucla"</s> |
CREATE TABLE table_name_7 (week INTEGER, attendance INTEGER) | SELECT SUM(week) FROM table_name_7 WHERE attendance < 26 OFFSET 048 | How many weeks have an attendance less than 26,048? | <s>[INST]How many weeks have an attendance less than 26,048? Context: CREATE TABLE table_name_7 (week INTEGER, attendance INTEGER)[/INST]SELECT SUM(week) FROM table_name_7 WHERE attendance < 26 OFFSET 048</s> |
CREATE TABLE table_11336756_6 (route_name VARCHAR, remarks VARCHAR) | SELECT route_name FROM table_11336756_6 WHERE remarks = "Replaced by US 81" | Which routes have "replaced by US 81" listed in their remarks section? | <s>[INST]Which routes have "replaced by US 81" listed in their remarks section? Context: CREATE TABLE table_11336756_6 (route_name VARCHAR, remarks VARCHAR)[/INST]SELECT route_name FROM table_11336756_6 WHERE remarks = "Replaced by US 81"</s> |
CREATE TABLE table_name_55 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_55 WHERE date = "19 july 2008" | What was the name of the catalog released on 19 July 2008? | <s>[INST]What was the name of the catalog released on 19 July 2008? Context: CREATE TABLE table_name_55 (catalog VARCHAR, date VARCHAR)[/INST]SELECT catalog FROM table_name_55 WHERE date = "19 july 2008"</s> |
CREATE TABLE table_2076608_3 (school VARCHAR, location_s_ VARCHAR) | SELECT school FROM table_2076608_3 WHERE location_s_ = "Richmond" | What school is in Richmond? | <s>[INST]What school is in Richmond? Context: CREATE TABLE table_2076608_3 (school VARCHAR, location_s_ VARCHAR)[/INST]SELECT school FROM table_2076608_3 WHERE location_s_ = "Richmond"</s> |
CREATE TABLE table_name_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR, position VARCHAR, analogue_terrestrial_channel VARCHAR, internet VARCHAR) | SELECT channel FROM table_name_10 WHERE analogue_terrestrial_channel = "n/a" AND internet = "itv.com" AND position > 6 AND digital_terrestrial_channel = "6 27 (+1)" | What is the channel when the analogue terrestrial channel shows n/a, and the internet is itv.com, with a position larger than 6, and digital terrestrial channel is 6 27 (+1)? | <s>[INST]What is the channel when the analogue terrestrial channel shows n/a, and the internet is itv.com, with a position larger than 6, and digital terrestrial channel is 6 27 (+1)? Context: CREATE TABLE table_name_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR, position VARCHAR, analogue_terrestrial_channel VARCHAR, internet VARCHAR)[/INST]SELECT channel FROM table_name_10 WHERE analogue_terrestrial_channel = "n/a" AND internet = "itv.com" AND position > 6 AND digital_terrestrial_channel = "6 27 (+1)"</s> |
CREATE TABLE table_1341577_22 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1341577_22 WHERE first_elected = 1974 | What is the incumbent for 1974? | <s>[INST]What is the incumbent for 1974? Context: CREATE TABLE table_1341577_22 (incumbent VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_1341577_22 WHERE first_elected = 1974</s> |
CREATE TABLE table_name_56 (name VARCHAR, authors VARCHAR) | SELECT name FROM table_name_56 WHERE authors = "zhou clarke zhang" | Who is The Author of zhou clarke zhang? | <s>[INST]Who is The Author of zhou clarke zhang? Context: CREATE TABLE table_name_56 (name VARCHAR, authors VARCHAR)[/INST]SELECT name FROM table_name_56 WHERE authors = "zhou clarke zhang"</s> |
CREATE TABLE table_name_97 (time VARCHAR, rider VARCHAR) | SELECT time FROM table_name_97 WHERE rider = "valentino rossi" | what was valentino rossi's rider time? | <s>[INST]what was valentino rossi's rider time? Context: CREATE TABLE table_name_97 (time VARCHAR, rider VARCHAR)[/INST]SELECT time FROM table_name_97 WHERE rider = "valentino rossi"</s> |
CREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR) | SELECT models_produced FROM table_250309_1 WHERE plant = "Scarborough" | what models are produced where the plant is scarborough? | <s>[INST]what models are produced where the plant is scarborough? Context: CREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR)[/INST]SELECT models_produced FROM table_250309_1 WHERE plant = "Scarborough"</s> |
CREATE TABLE table_name_90 (open_source_movie VARCHAR, cc_license VARCHAR) | SELECT open_source_movie FROM table_name_90 WHERE cc_license = "by-nc-sa 1.0" | What open source movie has a CC License of by-nc-sa 1.0? | <s>[INST]What open source movie has a CC License of by-nc-sa 1.0? Context: CREATE TABLE table_name_90 (open_source_movie VARCHAR, cc_license VARCHAR)[/INST]SELECT open_source_movie FROM table_name_90 WHERE cc_license = "by-nc-sa 1.0"</s> |
CREATE TABLE table_26745820_5 (vivek_express__15905_15906 VARCHAR, kanyakumari VARCHAR) | SELECT vivek_express__15905_15906 FROM table_26745820_5 WHERE kanyakumari = "Bhavnagar" | What is the name of the only route that runs to bhavnagar? | <s>[INST]What is the name of the only route that runs to bhavnagar? Context: CREATE TABLE table_26745820_5 (vivek_express__15905_15906 VARCHAR, kanyakumari VARCHAR)[/INST]SELECT vivek_express__15905_15906 FROM table_26745820_5 WHERE kanyakumari = "Bhavnagar"</s> |
CREATE TABLE table_name_33 (arena VARCHAR, opponent VARCHAR) | SELECT arena FROM table_name_33 WHERE opponent = "sharks" | In what arena was the game against the Sharks played? | <s>[INST]In what arena was the game against the Sharks played? Context: CREATE TABLE table_name_33 (arena VARCHAR, opponent VARCHAR)[/INST]SELECT arena FROM table_name_33 WHERE opponent = "sharks"</s> |
CREATE TABLE table_21091145_1 (opponent VARCHAR, black_knights_points VARCHAR) | SELECT opponent FROM table_21091145_1 WHERE black_knights_points = 27 | Name the opponent for black knights points 27 | <s>[INST]Name the opponent for black knights points 27 Context: CREATE TABLE table_21091145_1 (opponent VARCHAR, black_knights_points VARCHAR)[/INST]SELECT opponent FROM table_21091145_1 WHERE black_knights_points = 27</s> |
CREATE TABLE table_name_37 (name VARCHAR, games VARCHAR, medal VARCHAR) | SELECT name FROM table_name_37 WHERE games = "2008 beijing" AND medal = "gold" | Which Name had a Games of 2008 beijing, and a Medal of gold? | <s>[INST]Which Name had a Games of 2008 beijing, and a Medal of gold? Context: CREATE TABLE table_name_37 (name VARCHAR, games VARCHAR, medal VARCHAR)[/INST]SELECT name FROM table_name_37 WHERE games = "2008 beijing" AND medal = "gold"</s> |
CREATE TABLE table_name_63 (population__2010_ VARCHAR, province VARCHAR) | SELECT population__2010_ FROM table_name_63 WHERE province = "north jeolla" | What was the population in North Jeolla? | <s>[INST]What was the population in North Jeolla? Context: CREATE TABLE table_name_63 (population__2010_ VARCHAR, province VARCHAR)[/INST]SELECT population__2010_ FROM table_name_63 WHERE province = "north jeolla"</s> |
CREATE TABLE table_15647838_3 (_number INTEGER, location VARCHAR, opponent VARCHAR) | SELECT MIN(_number) FROM table_15647838_3 WHERE location = "Atlanta, GA" AND opponent = "Georgia Bulldogs" | What is the lowest # in Atlanta, GA with the Georgia Bulldogs as an opponent? | <s>[INST]What is the lowest # in Atlanta, GA with the Georgia Bulldogs as an opponent? Context: CREATE TABLE table_15647838_3 (_number INTEGER, location VARCHAR, opponent VARCHAR)[/INST]SELECT MIN(_number) FROM table_15647838_3 WHERE location = "Atlanta, GA" AND opponent = "Georgia Bulldogs"</s> |
CREATE TABLE table_1604579_2 (country VARCHAR) | SELECT 2013 AS _index_of_economic_freedom FROM table_1604579_2 WHERE country = "Armenia" | How economically free is the country of Armenia? | <s>[INST]How economically free is the country of Armenia? Context: CREATE TABLE table_1604579_2 (country VARCHAR)[/INST]SELECT 2013 AS _index_of_economic_freedom FROM table_1604579_2 WHERE country = "Armenia"</s> |
CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR) | SELECT frequency FROM table_name_67 WHERE format = "country / news / sports" | WHich Frequency has a Format of country / news / sports? | <s>[INST]WHich Frequency has a Format of country / news / sports? Context: CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR)[/INST]SELECT frequency FROM table_name_67 WHERE format = "country / news / sports"</s> |
CREATE TABLE table_name_51 (hometown VARCHAR, college VARCHAR) | SELECT hometown FROM table_name_51 WHERE college = "lsu" | What's the hometown of the player with a college of lsu? | <s>[INST]What's the hometown of the player with a college of lsu? Context: CREATE TABLE table_name_51 (hometown VARCHAR, college VARCHAR)[/INST]SELECT hometown FROM table_name_51 WHERE college = "lsu"</s> |
CREATE TABLE table_name_85 (points_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_name_85 WHERE trofeo_fast_team = "metauro mobili-pinarello" AND stage = "6" | Which Points classification has a Trofeo Fast Team of metauro mobili-pinarello, and a Stage of 6? | <s>[INST]Which Points classification has a Trofeo Fast Team of metauro mobili-pinarello, and a Stage of 6? Context: CREATE TABLE table_name_85 (points_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)[/INST]SELECT points_classification FROM table_name_85 WHERE trofeo_fast_team = "metauro mobili-pinarello" AND stage = "6"</s> |
CREATE TABLE table_16731248_1 (bypass_ports INTEGER) | SELECT MIN(bypass_ports) FROM table_16731248_1 | What is the minimum number of bypass ports listed? | <s>[INST]What is the minimum number of bypass ports listed? Context: CREATE TABLE table_16731248_1 (bypass_ports INTEGER)[/INST]SELECT MIN(bypass_ports) FROM table_16731248_1</s> |
CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT COUNT(total) FROM table_name_1 WHERE gold = 1 AND rank > 4 AND bronze = 0 | What is the total when gold is 1, and rank is more than 4, and bronze is 0? | <s>[INST]What is the total when gold is 1, and rank is more than 4, and bronze is 0? Context: CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_1 WHERE gold = 1 AND rank > 4 AND bronze = 0</s> |
CREATE TABLE Ref_Document_Status (document_status_code VARCHAR) | SELECT document_status_code FROM Ref_Document_Status | What document status codes do we have? | <s>[INST]What document status codes do we have? Context: CREATE TABLE Ref_Document_Status (document_status_code VARCHAR)[/INST]SELECT document_status_code FROM Ref_Document_Status</s> |
CREATE TABLE DEPARTMENT (DName VARCHAR, DNO VARCHAR); CREATE TABLE MINOR_IN (DNO VARCHAR) | SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO ORDER BY COUNT(*) DESC LIMIT 1 | Find the name of the department that has the biggest number of students minored in? | <s>[INST]Find the name of the department that has the biggest number of students minored in? Context: CREATE TABLE DEPARTMENT (DName VARCHAR, DNO VARCHAR); CREATE TABLE MINOR_IN (DNO VARCHAR)[/INST]SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_20745444_1 (opponents INTEGER, record VARCHAR) | SELECT MAX(opponents) FROM table_20745444_1 WHERE record = "4-0" | How many losses were there when the record was 4-0? | <s>[INST]How many losses were there when the record was 4-0? Context: CREATE TABLE table_20745444_1 (opponents INTEGER, record VARCHAR)[/INST]SELECT MAX(opponents) FROM table_20745444_1 WHERE record = "4-0"</s> |
CREATE TABLE Rooms (roomName VARCHAR, basePrice VARCHAR) | SELECT roomName, basePrice FROM Rooms ORDER BY basePrice LIMIT 1 | Which room has cheapest base price? List the room's name and the base price. | <s>[INST]Which room has cheapest base price? List the room's name and the base price. Context: CREATE TABLE Rooms (roomName VARCHAR, basePrice VARCHAR)[/INST]SELECT roomName, basePrice FROM Rooms ORDER BY basePrice LIMIT 1</s> |
CREATE TABLE table_name_57 (name VARCHAR, goals VARCHAR, nationality VARCHAR) | SELECT name FROM table_name_57 WHERE goals = 6 AND nationality = "morocco" | Who was from Morocco and scored 6 goals? | <s>[INST]Who was from Morocco and scored 6 goals? Context: CREATE TABLE table_name_57 (name VARCHAR, goals VARCHAR, nationality VARCHAR)[/INST]SELECT name FROM table_name_57 WHERE goals = 6 AND nationality = "morocco"</s> |
CREATE TABLE table_17058151_5 (game VARCHAR, location_attendance VARCHAR) | SELECT COUNT(game) FROM table_17058151_5 WHERE location_attendance = "Staples Center 18,997" | In how many game was the attendance at Staples Center 18,997? | <s>[INST]In how many game was the attendance at Staples Center 18,997? Context: CREATE TABLE table_17058151_5 (game VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(game) FROM table_17058151_5 WHERE location_attendance = "Staples Center 18,997"</s> |
CREATE TABLE table_name_96 (outcome VARCHAR, score_in_the_final VARCHAR) | SELECT outcome FROM table_name_96 WHERE score_in_the_final = "4–6, 5–7" | Which Outcome has a Score in the final of 4–6, 5–7? | <s>[INST]Which Outcome has a Score in the final of 4–6, 5–7? Context: CREATE TABLE table_name_96 (outcome VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_name_96 WHERE score_in_the_final = "4–6, 5–7"</s> |
CREATE TABLE table_name_7 (surface VARCHAR, opponents VARCHAR) | SELECT surface FROM table_name_7 WHERE opponents = "margit rüütel anett schutting" | What was the surface on the game with margit rüütel anett schutting as the opponent? | <s>[INST]What was the surface on the game with margit rüütel anett schutting as the opponent? Context: CREATE TABLE table_name_7 (surface VARCHAR, opponents VARCHAR)[/INST]SELECT surface FROM table_name_7 WHERE opponents = "margit rüütel anett schutting"</s> |
CREATE TABLE table_name_26 (position VARCHAR, school_club_team_country VARCHAR) | SELECT position FROM table_name_26 WHERE school_club_team_country = "valparaiso" | Name the position for the player that is from valparaiso | <s>[INST]Name the position for the player that is from valparaiso Context: CREATE TABLE table_name_26 (position VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT position FROM table_name_26 WHERE school_club_team_country = "valparaiso"</s> |
CREATE TABLE table_name_39 (swimsuit VARCHAR, evening_gown VARCHAR, average VARCHAR) | SELECT COUNT(swimsuit) FROM table_name_39 WHERE evening_gown = 8.329 AND average < 8.497 | Name the total number of swimsuits when evening gown is 8.329 and average is less than 8.497 | <s>[INST]Name the total number of swimsuits when evening gown is 8.329 and average is less than 8.497 Context: CREATE TABLE table_name_39 (swimsuit VARCHAR, evening_gown VARCHAR, average VARCHAR)[/INST]SELECT COUNT(swimsuit) FROM table_name_39 WHERE evening_gown = 8.329 AND average < 8.497</s> |
CREATE TABLE table_name_53 (gold VARCHAR, year VARCHAR, location VARCHAR) | SELECT gold FROM table_name_53 WHERE year < 2002 AND location = "seoul" | Who got the gold in seoul before 2002? | <s>[INST]Who got the gold in seoul before 2002? Context: CREATE TABLE table_name_53 (gold VARCHAR, year VARCHAR, location VARCHAR)[/INST]SELECT gold FROM table_name_53 WHERE year < 2002 AND location = "seoul"</s> |
CREATE TABLE table_26429658_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(production_code) FROM table_26429658_1 WHERE us_viewers__millions_ = "4.43" | How many production codes had a US viewership of 4.43 million? | <s>[INST]How many production codes had a US viewership of 4.43 million? Context: CREATE TABLE table_26429658_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT COUNT(production_code) FROM table_26429658_1 WHERE us_viewers__millions_ = "4.43"</s> |
CREATE TABLE table_name_61 (order VARCHAR, elector VARCHAR) | SELECT order FROM table_name_61 WHERE elector = "marino bulcani" | What's the Order with an Elector of Marino Bulcani? | <s>[INST]What's the Order with an Elector of Marino Bulcani? Context: CREATE TABLE table_name_61 (order VARCHAR, elector VARCHAR)[/INST]SELECT order FROM table_name_61 WHERE elector = "marino bulcani"</s> |
CREATE TABLE Reservations (kids VARCHAR, FirstName VARCHAR, LastName VARCHAR) | SELECT kids FROM Reservations WHERE FirstName = "ROY" AND LastName = "SWEAZY" | How many kids stay in the rooms reserved by ROY SWEAZY? | <s>[INST]How many kids stay in the rooms reserved by ROY SWEAZY? Context: CREATE TABLE Reservations (kids VARCHAR, FirstName VARCHAR, LastName VARCHAR)[/INST]SELECT kids FROM Reservations WHERE FirstName = "ROY" AND LastName = "SWEAZY"</s> |
CREATE TABLE table_name_13 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_13 WHERE date = "1 june" | Which Report is on 1 june? | <s>[INST]Which Report is on 1 june? Context: CREATE TABLE table_name_13 (report VARCHAR, date VARCHAR)[/INST]SELECT report FROM table_name_13 WHERE date = "1 june"</s> |
CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_17325937_8 WHERE team = "Miami" | Who had the most assists in the game against Miami? | <s>[INST]Who had the most assists in the game against Miami? Context: CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_17325937_8 WHERE team = "Miami"</s> |
CREATE TABLE table_15475116_1 (division VARCHAR, nickname VARCHAR) | SELECT division FROM table_15475116_1 WHERE nickname = "Silver Eagles" | In what division will you find the team nicknamed the Silver Eagles | <s>[INST]In what division will you find the team nicknamed the Silver Eagles Context: CREATE TABLE table_15475116_1 (division VARCHAR, nickname VARCHAR)[/INST]SELECT division FROM table_15475116_1 WHERE nickname = "Silver Eagles"</s> |
CREATE TABLE table_name_60 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_60 WHERE score = "2–1" | What was the date of the game with a score of 2–1? | <s>[INST]What was the date of the game with a score of 2–1? Context: CREATE TABLE table_name_60 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE score = "2–1"</s> |
CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR) | SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "New" INTERSECT SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending" | Find the name and address of the customers who have both New and Pending orders. | <s>[INST]Find the name and address of the customers who have both New and Pending orders. Context: CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)[/INST]SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "New" INTERSECT SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending"</s> |
CREATE TABLE table_name_27 (grade VARCHAR, priority_entry_rights_to_derby VARCHAR) | SELECT grade FROM table_name_27 WHERE priority_entry_rights_to_derby = "turf 1600m" | What is the Grade that has Turf 1600m? | <s>[INST]What is the Grade that has Turf 1600m? Context: CREATE TABLE table_name_27 (grade VARCHAR, priority_entry_rights_to_derby VARCHAR)[/INST]SELECT grade FROM table_name_27 WHERE priority_entry_rights_to_derby = "turf 1600m"</s> |
CREATE TABLE table_name_16 (year VARCHAR, title VARCHAR) | SELECT COUNT(year) FROM table_name_16 WHERE title = "kriegspiel" | How many years have a Title of kriegspiel? | <s>[INST]How many years have a Title of kriegspiel? Context: CREATE TABLE table_name_16 (year VARCHAR, title VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_16 WHERE title = "kriegspiel"</s> |
CREATE TABLE table_name_17 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_17 WHERE date = "november 10, 2006" | What is the score of the game on November 10, 2006? | <s>[INST]What is the score of the game on November 10, 2006? Context: CREATE TABLE table_name_17 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_17 WHERE date = "november 10, 2006"</s> |
CREATE TABLE table_20928682_1 (record VARCHAR, hurricanes_points VARCHAR) | SELECT record FROM table_20928682_1 WHERE hurricanes_points = 24 | What was the record after the game in which the Hurricanes scored 24 points? | <s>[INST]What was the record after the game in which the Hurricanes scored 24 points? Context: CREATE TABLE table_20928682_1 (record VARCHAR, hurricanes_points VARCHAR)[/INST]SELECT record FROM table_20928682_1 WHERE hurricanes_points = 24</s> |
CREATE TABLE table_name_85 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) | SELECT AVG(bronze) FROM table_name_85 WHERE total = 2 AND silver < 1 AND gold > 1 | What is the average bronze when the total is 2, silver is less than 1 and gold is more than 1? | <s>[INST]What is the average bronze when the total is 2, silver is less than 1 and gold is more than 1? Context: CREATE TABLE table_name_85 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_85 WHERE total = 2 AND silver < 1 AND gold > 1</s> |
CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, game VARCHAR) | SELECT MAX(attendance) FROM table_name_43 WHERE date = "october 7" AND game > 1 | Where date is october 7 and game greater than 1, what is the highest attendance? | <s>[INST]Where date is october 7 and game greater than 1, what is the highest attendance? Context: CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, game VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_43 WHERE date = "october 7" AND game > 1</s> |
CREATE TABLE table_name_71 (year INTEGER, venue VARCHAR, time VARCHAR) | SELECT MIN(year) FROM table_name_71 WHERE venue = "casablanca" AND time = "20.63w" | What's the lowest Year with a Venue of casablanca and has the Time of 20.63w? | <s>[INST]What's the lowest Year with a Venue of casablanca and has the Time of 20.63w? Context: CREATE TABLE table_name_71 (year INTEGER, venue VARCHAR, time VARCHAR)[/INST]SELECT MIN(year) FROM table_name_71 WHERE venue = "casablanca" AND time = "20.63w"</s> |
CREATE TABLE table_name_9 (total VARCHAR, championship VARCHAR, league_cup VARCHAR) | SELECT COUNT(total) FROM table_name_9 WHERE championship < 2 AND league_cup > 1 | What i the total number of championships less than 2, and a league cup larger than 1? | <s>[INST]What i the total number of championships less than 2, and a league cup larger than 1? Context: CREATE TABLE table_name_9 (total VARCHAR, championship VARCHAR, league_cup VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_9 WHERE championship < 2 AND league_cup > 1</s> |
CREATE TABLE table_name_98 (class VARCHAR, pos VARCHAR) | SELECT class AS pos FROM table_name_98 WHERE pos = "9th" | Which team is in 9th place? | <s>[INST]Which team is in 9th place? Context: CREATE TABLE table_name_98 (class VARCHAR, pos VARCHAR)[/INST]SELECT class AS pos FROM table_name_98 WHERE pos = "9th"</s> |
CREATE TABLE table_12496904_1 (_2012 VARCHAR, population_august_15 INTEGER, population_density_2012__km_2__ VARCHAR) | SELECT MAX(population_august_15), _2012 FROM table_12496904_1 WHERE population_density_2012__km_2__ = 307 | What is the August 15, 2012 population when the population density of 2012 is 307? | <s>[INST]What is the August 15, 2012 population when the population density of 2012 is 307? Context: CREATE TABLE table_12496904_1 (_2012 VARCHAR, population_august_15 INTEGER, population_density_2012__km_2__ VARCHAR)[/INST]SELECT MAX(population_august_15), _2012 FROM table_12496904_1 WHERE population_density_2012__km_2__ = 307</s> |
CREATE TABLE table_15187735_13 (segment_a VARCHAR, episode VARCHAR) | SELECT segment_a FROM table_15187735_13 WHERE episode = 162 | Name the segment a for 162 | <s>[INST]Name the segment a for 162 Context: CREATE TABLE table_15187735_13 (segment_a VARCHAR, episode VARCHAR)[/INST]SELECT segment_a FROM table_15187735_13 WHERE episode = 162</s> |
CREATE TABLE table_name_33 (home VARCHAR, time VARCHAR) | SELECT home FROM table_name_33 WHERE time = "15:00" | Who was the home team of the game at the time of 15:00? | <s>[INST]Who was the home team of the game at the time of 15:00? Context: CREATE TABLE table_name_33 (home VARCHAR, time VARCHAR)[/INST]SELECT home FROM table_name_33 WHERE time = "15:00"</s> |
CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, position VARCHAR) | SELECT MIN(points) FROM table_name_67 WHERE lost = 2 AND position < 1 | What is the smallest amount of points had a lost number of 2 when the position was less than 1? | <s>[INST]What is the smallest amount of points had a lost number of 2 when the position was less than 1? Context: CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, position VARCHAR)[/INST]SELECT MIN(points) FROM table_name_67 WHERE lost = 2 AND position < 1</s> |
CREATE TABLE table_name_37 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_37 WHERE home_team = "geelong" | On what day is geelong the home team? | <s>[INST]On what day is geelong the home team? Context: CREATE TABLE table_name_37 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_37 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_27 (opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT opponents_in_the_final FROM table_name_27 WHERE outcome = "runner-up" AND surface = "grass" | Tell me the opponents for runner-up and surface of grass | <s>[INST]Tell me the opponents for runner-up and surface of grass Context: CREATE TABLE table_name_27 (opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_27 WHERE outcome = "runner-up" AND surface = "grass"</s> |
CREATE TABLE table_name_25 (year VARCHAR, name VARCHAR) | SELECT year FROM table_name_25 WHERE name = "miyoshi umeki" | What year did Miyoshi Umeki make a film? | <s>[INST]What year did Miyoshi Umeki make a film? Context: CREATE TABLE table_name_25 (year VARCHAR, name VARCHAR)[/INST]SELECT year FROM table_name_25 WHERE name = "miyoshi umeki"</s> |
CREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_24814477_2 WHERE week = 8 | Who was the opponent in Week 8? | <s>[INST]Who was the opponent in Week 8? Context: CREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_24814477_2 WHERE week = 8</s> |
CREATE TABLE table_name_21 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_21 WHERE home_team = "fitzroy" | Where did fitzroy play as the home team? | <s>[INST]Where did fitzroy play as the home team? Context: CREATE TABLE table_name_21 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_21 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_19517621_3 (directed_by VARCHAR, title VARCHAR) | SELECT COUNT(directed_by) FROM table_19517621_3 WHERE title = "The Lost Boy" | If the title if the Lost Boy, how many directors were there? | <s>[INST]If the title if the Lost Boy, how many directors were there? Context: CREATE TABLE table_19517621_3 (directed_by VARCHAR, title VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_19517621_3 WHERE title = "The Lost Boy"</s> |
CREATE TABLE table_name_65 (points_classification VARCHAR, team_classification VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_name_65 WHERE team_classification = "predictor-lotto" AND stage = "1" | Name the points classification for predictor-lotto and stage 1 | <s>[INST]Name the points classification for predictor-lotto and stage 1 Context: CREATE TABLE table_name_65 (points_classification VARCHAR, team_classification VARCHAR, stage VARCHAR)[/INST]SELECT points_classification FROM table_name_65 WHERE team_classification = "predictor-lotto" AND stage = "1"</s> |
CREATE TABLE table_22765887_1 (pole_position VARCHAR, date VARCHAR) | SELECT pole_position FROM table_22765887_1 WHERE date = "August 15, 1981" | Who had the pole position in the August 15, 1981 race? | <s>[INST]Who had the pole position in the August 15, 1981 race? Context: CREATE TABLE table_22765887_1 (pole_position VARCHAR, date VARCHAR)[/INST]SELECT pole_position FROM table_22765887_1 WHERE date = "August 15, 1981"</s> |
CREATE TABLE table_2503102_2 (driver_s_ VARCHAR, primary_sponsor VARCHAR) | SELECT driver_s_ FROM table_2503102_2 WHERE primary_sponsor = "ABC Supply" | Who drives the abc supply sponsored cor? | <s>[INST]Who drives the abc supply sponsored cor? Context: CREATE TABLE table_2503102_2 (driver_s_ VARCHAR, primary_sponsor VARCHAR)[/INST]SELECT driver_s_ FROM table_2503102_2 WHERE primary_sponsor = "ABC Supply"</s> |
CREATE TABLE table_name_97 (general_classification VARCHAR, young_rider_classification VARCHAR, points_classification VARCHAR) | SELECT general_classification FROM table_name_97 WHERE young_rider_classification = "roman kreuziger" AND points_classification = "fabian cancellara" | Name the general classification with roman kreuziger and points classification of fabian cancellara | <s>[INST]Name the general classification with roman kreuziger and points classification of fabian cancellara Context: CREATE TABLE table_name_97 (general_classification VARCHAR, young_rider_classification VARCHAR, points_classification VARCHAR)[/INST]SELECT general_classification FROM table_name_97 WHERE young_rider_classification = "roman kreuziger" AND points_classification = "fabian cancellara"</s> |
CREATE TABLE table_name_19 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT MAX(silver) FROM table_name_19 WHERE gold > 4 AND nation = "united states" AND total > 26 | What is the largest silver with Gold larger than 4, a Nation of united states, and a Total larger than 26? | <s>[INST]What is the largest silver with Gold larger than 4, a Nation of united states, and a Total larger than 26? Context: CREATE TABLE table_name_19 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_19 WHERE gold > 4 AND nation = "united states" AND total > 26</s> |
CREATE TABLE table_name_3 (away_team VARCHAR, crowd VARCHAR) | SELECT away_team AS score FROM table_name_3 WHERE away_team = "st kilda" AND crowd = 8157 | Name the Away team score which has an Away team of st kilda, and a Crowd of 8157? | <s>[INST]Name the Away team score which has an Away team of st kilda, and a Crowd of 8157? Context: CREATE TABLE table_name_3 (away_team VARCHAR, crowd VARCHAR)[/INST]SELECT away_team AS score FROM table_name_3 WHERE away_team = "st kilda" AND crowd = 8157</s> |
CREATE TABLE table_name_29 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_29 WHERE date = "april 14" | What was the high rebounds from the date of April 14? | <s>[INST]What was the high rebounds from the date of April 14? Context: CREATE TABLE table_name_29 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_name_29 WHERE date = "april 14"</s> |
CREATE TABLE table_name_98 (date VARCHAR, test_debut VARCHAR, position VARCHAR, year VARCHAR) | SELECT date FROM table_name_98 WHERE position = "back" AND year > 1964 AND test_debut = "1st rl test v new zealand" | What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand? | <s>[INST]What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand? Context: CREATE TABLE table_name_98 (date VARCHAR, test_debut VARCHAR, position VARCHAR, year VARCHAR)[/INST]SELECT date FROM table_name_98 WHERE position = "back" AND year > 1964 AND test_debut = "1st rl test v new zealand"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.