context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_29087004_2 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_29087004_2 WHERE production_code = 116 | Who wrote the episode with a production code of 116? | <s>[INST]Who wrote the episode with a production code of 116? Context: CREATE TABLE table_29087004_2 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_29087004_2 WHERE production_code = 116</s> |
CREATE TABLE table_name_53 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_53 WHERE home_team = "hawthorn" | What was the crowd size when the home team was Hawthorn? | <s>[INST]What was the crowd size when the home team was Hawthorn? Context: CREATE TABLE table_name_53 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT crowd FROM table_name_53 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_name_50 (date VARCHAR, location VARCHAR, year VARCHAR) | SELECT date FROM table_name_50 WHERE location = "warsaw" AND year = 1929 | Tell me the date for warsaw 1929 | <s>[INST]Tell me the date for warsaw 1929 Context: CREATE TABLE table_name_50 (date VARCHAR, location VARCHAR, year VARCHAR)[/INST]SELECT date FROM table_name_50 WHERE location = "warsaw" AND year = 1929</s> |
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_77 WHERE away_team = "melbourne" | What was the home team score at Melbourne's away match? | <s>[INST]What was the home team score at Melbourne's away match? Context: CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_77 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_name_92 (attendance VARCHAR, score VARCHAR) | SELECT COUNT(attendance) FROM table_name_92 WHERE score = "1:2" | What is the total attendance of the match with a 1:2 score? | <s>[INST]What is the total attendance of the match with a 1:2 score? Context: CREATE TABLE table_name_92 (attendance VARCHAR, score VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_92 WHERE score = "1:2"</s> |
CREATE TABLE table_name_48 (round VARCHAR, player VARCHAR, draft VARCHAR, pick VARCHAR) | SELECT round FROM table_name_48 WHERE draft < 1983 AND pick < 132 AND player = "brad winton" | What is the round of player brad winton with a draft before 1983 and a pick less than 132? | <s>[INST]What is the round of player brad winton with a draft before 1983 and a pick less than 132? Context: CREATE TABLE table_name_48 (round VARCHAR, player VARCHAR, draft VARCHAR, pick VARCHAR)[/INST]SELECT round FROM table_name_48 WHERE draft < 1983 AND pick < 132 AND player = "brad winton"</s> |
CREATE TABLE table_27529608_21 (age_s_ VARCHAR, act VARCHAR) | SELECT age_s_ FROM table_27529608_21 WHERE act = "Rapper" | What is the age of the act who is a rapper? | <s>[INST]What is the age of the act who is a rapper? Context: CREATE TABLE table_27529608_21 (age_s_ VARCHAR, act VARCHAR)[/INST]SELECT age_s_ FROM table_27529608_21 WHERE act = "Rapper"</s> |
CREATE TABLE table_name_97 (lomavren VARCHAR, hindi VARCHAR) | SELECT lomavren FROM table_name_97 WHERE hindi = "do" | What Lomavren word has the same meaning as the Hindi word do? | <s>[INST]What Lomavren word has the same meaning as the Hindi word do? Context: CREATE TABLE table_name_97 (lomavren VARCHAR, hindi VARCHAR)[/INST]SELECT lomavren FROM table_name_97 WHERE hindi = "do"</s> |
CREATE TABLE table_20424140_3 (number_of_dances INTEGER) | SELECT MIN(number_of_dances) FROM table_20424140_3 | What's the minimal number of dances a couple has danced? | <s>[INST]What's the minimal number of dances a couple has danced? Context: CREATE TABLE table_20424140_3 (number_of_dances INTEGER)[/INST]SELECT MIN(number_of_dances) FROM table_20424140_3</s> |
CREATE TABLE table_name_65 (player VARCHAR, position VARCHAR, round VARCHAR) | SELECT player FROM table_name_65 WHERE position = "g" AND round < 9 | Who has a round less than 9 and a position of G? | <s>[INST]Who has a round less than 9 and a position of G? Context: CREATE TABLE table_name_65 (player VARCHAR, position VARCHAR, round VARCHAR)[/INST]SELECT player FROM table_name_65 WHERE position = "g" AND round < 9</s> |
CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341568_34 WHERE incumbent = "Stephen L. Neal" | What party did incumbent Stephen L. Neal belong to? | <s>[INST]What party did incumbent Stephen L. Neal belong to? Context: CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341568_34 WHERE incumbent = "Stephen L. Neal"</s> |
CREATE TABLE table_name_39 (round VARCHAR, college VARCHAR) | SELECT COUNT(round) FROM table_name_39 WHERE college = "northern illinois" | What is the total number of Round, when College is Northern Illinois? | <s>[INST]What is the total number of Round, when College is Northern Illinois? Context: CREATE TABLE table_name_39 (round VARCHAR, college VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_39 WHERE college = "northern illinois"</s> |
CREATE TABLE table_name_44 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT MAX(bronze) FROM table_name_44 WHERE rank > 1 AND nation = "dominican republic" AND total > 4 | Which Bronze is the highest one that has a Rank larger than 1, and a Nation of dominican republic, and a Total larger than 4? | <s>[INST]Which Bronze is the highest one that has a Rank larger than 1, and a Nation of dominican republic, and a Total larger than 4? Context: CREATE TABLE table_name_44 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_44 WHERE rank > 1 AND nation = "dominican republic" AND total > 4</s> |
CREATE TABLE table_name_57 (ngc_number INTEGER, right_ascension___j2000__ VARCHAR) | SELECT MAX(ngc_number) FROM table_name_57 WHERE right_ascension___j2000__ = "09h40m28.5s" | Tell me the highest NGC number for right ascension of 09h40m28.5s | <s>[INST]Tell me the highest NGC number for right ascension of 09h40m28.5s Context: CREATE TABLE table_name_57 (ngc_number INTEGER, right_ascension___j2000__ VARCHAR)[/INST]SELECT MAX(ngc_number) FROM table_name_57 WHERE right_ascension___j2000__ = "09h40m28.5s"</s> |
CREATE TABLE table_2463383_2 (team_s_ VARCHAR, avg_start VARCHAR, poles VARCHAR, wins VARCHAR, top_5 VARCHAR) | SELECT team_s_ FROM table_2463383_2 WHERE wins = 0 AND top_5 = 0 AND poles = 0 AND avg_start = "37.0" | Name the team for wins being 0 and top 5 is 0 and poles is 0 and avg start is 37.0 | <s>[INST]Name the team for wins being 0 and top 5 is 0 and poles is 0 and avg start is 37.0 Context: CREATE TABLE table_2463383_2 (team_s_ VARCHAR, avg_start VARCHAR, poles VARCHAR, wins VARCHAR, top_5 VARCHAR)[/INST]SELECT team_s_ FROM table_2463383_2 WHERE wins = 0 AND top_5 = 0 AND poles = 0 AND avg_start = "37.0"</s> |
CREATE TABLE table_name_55 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_55 WHERE score = 72 - 71 - 65 - 69 = 277 | What is the to par of the player with a 72-71-65-69=277 score? | <s>[INST]What is the to par of the player with a 72-71-65-69=277 score? Context: CREATE TABLE table_name_55 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_55 WHERE score = 72 - 71 - 65 - 69 = 277</s> |
CREATE TABLE table_name_79 (laps VARCHAR, fin_pos VARCHAR) | SELECT laps FROM table_name_79 WHERE fin_pos = "17" | How many laps did the car do that had a final position of 17? | <s>[INST]How many laps did the car do that had a final position of 17? Context: CREATE TABLE table_name_79 (laps VARCHAR, fin_pos VARCHAR)[/INST]SELECT laps FROM table_name_79 WHERE fin_pos = "17"</s> |
CREATE TABLE table_name_21 (team_2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_21 WHERE team_2 = "psv eindhoven" | What is the 1st leg of Team 2 PSV Eindhoven? | <s>[INST]What is the 1st leg of Team 2 PSV Eindhoven? Context: CREATE TABLE table_name_21 (team_2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_21 WHERE team_2 = "psv eindhoven"</s> |
CREATE TABLE table_18703133_1 (played VARCHAR, losses VARCHAR) | SELECT COUNT(played) FROM table_18703133_1 WHERE losses = 5 | Namr the total number of played for 5 losses | <s>[INST]Namr the total number of played for 5 losses Context: CREATE TABLE table_18703133_1 (played VARCHAR, losses VARCHAR)[/INST]SELECT COUNT(played) FROM table_18703133_1 WHERE losses = 5</s> |
CREATE TABLE table_name_93 (ihsaa_football_class VARCHAR, location VARCHAR) | SELECT ihsaa_football_class FROM table_name_93 WHERE location = "culver" | What is the IHSAA Football class at Culver? | <s>[INST]What is the IHSAA Football class at Culver? Context: CREATE TABLE table_name_93 (ihsaa_football_class VARCHAR, location VARCHAR)[/INST]SELECT ihsaa_football_class FROM table_name_93 WHERE location = "culver"</s> |
CREATE TABLE table_name_10 (fleet_numbers VARCHAR, diagram VARCHAR, lot_no VARCHAR) | SELECT fleet_numbers FROM table_name_10 WHERE diagram = 186 AND lot_no = 30798 | Name the fleet numbers for diagram of 186 and lot number of 30798 | <s>[INST]Name the fleet numbers for diagram of 186 and lot number of 30798 Context: CREATE TABLE table_name_10 (fleet_numbers VARCHAR, diagram VARCHAR, lot_no VARCHAR)[/INST]SELECT fleet_numbers FROM table_name_10 WHERE diagram = 186 AND lot_no = 30798</s> |
CREATE TABLE table_15412381_5 (LMS VARCHAR, lms_nos VARCHAR) | SELECT LMS AS class FROM table_15412381_5 WHERE lms_nos = "14510-5" | What is the LMS class of trains with numbers 14510-5? | <s>[INST]What is the LMS class of trains with numbers 14510-5? Context: CREATE TABLE table_15412381_5 (LMS VARCHAR, lms_nos VARCHAR)[/INST]SELECT LMS AS class FROM table_15412381_5 WHERE lms_nos = "14510-5"</s> |
CREATE TABLE table_name_96 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_96 WHERE player = "hale irwin" | What is Country, when Player is "Hale Irwin"? | <s>[INST]What is Country, when Player is "Hale Irwin"? Context: CREATE TABLE table_name_96 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_96 WHERE player = "hale irwin"</s> |
CREATE TABLE table_2933761_1 (gender VARCHAR, name VARCHAR) | SELECT gender FROM table_2933761_1 WHERE name = "Quentin" | What gender is Quentin? | <s>[INST]What gender is Quentin? Context: CREATE TABLE table_2933761_1 (gender VARCHAR, name VARCHAR)[/INST]SELECT gender FROM table_2933761_1 WHERE name = "Quentin"</s> |
CREATE TABLE table_name_33 (pick__number INTEGER, round INTEGER) | SELECT MAX(pick__number) FROM table_name_33 WHERE round > 11 | What is the highest pick # after round 11? | <s>[INST]What is the highest pick # after round 11? Context: CREATE TABLE table_name_33 (pick__number INTEGER, round INTEGER)[/INST]SELECT MAX(pick__number) FROM table_name_33 WHERE round > 11</s> |
CREATE TABLE table_170969_2 (area_km_2 VARCHAR, official_name VARCHAR) | SELECT area_km_2 FROM table_170969_2 WHERE official_name = "Dufferin" | What is the area in km2 for Dufferin? | <s>[INST]What is the area in km2 for Dufferin? Context: CREATE TABLE table_170969_2 (area_km_2 VARCHAR, official_name VARCHAR)[/INST]SELECT area_km_2 FROM table_170969_2 WHERE official_name = "Dufferin"</s> |
CREATE TABLE table_name_92 (first_elected INTEGER, result VARCHAR, incumbent VARCHAR) | SELECT AVG(first_elected) FROM table_name_92 WHERE result = "re-elected" AND incumbent = "charles n. felton" | What's the average year Charles N. Felton was re-elected? | <s>[INST]What's the average year Charles N. Felton was re-elected? Context: CREATE TABLE table_name_92 (first_elected INTEGER, result VARCHAR, incumbent VARCHAR)[/INST]SELECT AVG(first_elected) FROM table_name_92 WHERE result = "re-elected" AND incumbent = "charles n. felton"</s> |
CREATE TABLE table_1939214_1 (playoffs VARCHAR, league VARCHAR) | SELECT playoffs FROM table_1939214_1 WHERE league = "USISL Pro league" | What was the team's status in the USISL Pro League playoffs? | <s>[INST]What was the team's status in the USISL Pro League playoffs? Context: CREATE TABLE table_1939214_1 (playoffs VARCHAR, league VARCHAR)[/INST]SELECT playoffs FROM table_1939214_1 WHERE league = "USISL Pro league"</s> |
CREATE TABLE table_name_78 (score VARCHAR, venue VARCHAR, year VARCHAR) | SELECT score FROM table_name_78 WHERE venue = "athens olympic stadium" AND year = "30 april 2011" | what is the score when the venue is athens olympic stadium on 30 april 2011? | <s>[INST]what is the score when the venue is athens olympic stadium on 30 april 2011? Context: CREATE TABLE table_name_78 (score VARCHAR, venue VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_name_78 WHERE venue = "athens olympic stadium" AND year = "30 april 2011"</s> |
CREATE TABLE table_name_29 (entrant VARCHAR, engine VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_29 WHERE engine = "maserati straight-6" AND year = 1952 | What Entrant has a 1952 maserati straight-6 engine? | <s>[INST]What Entrant has a 1952 maserati straight-6 engine? Context: CREATE TABLE table_name_29 (entrant VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_29 WHERE engine = "maserati straight-6" AND year = 1952</s> |
CREATE TABLE table_2668329_18 (result VARCHAR, candidates VARCHAR) | SELECT COUNT(result) FROM table_2668329_18 WHERE candidates = "Thomas H. Hall (DR) 53.0% William Clarke (F) 47.0%" | Name the result for thomas h. hall (dr) 53.0% william clarke (f) 47.0% | <s>[INST]Name the result for thomas h. hall (dr) 53.0% william clarke (f) 47.0% Context: CREATE TABLE table_2668329_18 (result VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(result) FROM table_2668329_18 WHERE candidates = "Thomas H. Hall (DR) 53.0% William Clarke (F) 47.0%"</s> |
CREATE TABLE table_29788320_2 (location VARCHAR, first_year VARCHAR) | SELECT location FROM table_29788320_2 WHERE first_year = 2001 | Which locations had their first year in 2001? | <s>[INST]Which locations had their first year in 2001? Context: CREATE TABLE table_29788320_2 (location VARCHAR, first_year VARCHAR)[/INST]SELECT location FROM table_29788320_2 WHERE first_year = 2001</s> |
CREATE TABLE table_name_87 (pick__number INTEGER, round VARCHAR, position VARCHAR, player VARCHAR) | SELECT AVG(pick__number) FROM table_name_87 WHERE position = "linebacker" AND player = "bob bruenig" AND round < 3 | What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3? | <s>[INST]What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3? Context: CREATE TABLE table_name_87 (pick__number INTEGER, round VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT AVG(pick__number) FROM table_name_87 WHERE position = "linebacker" AND player = "bob bruenig" AND round < 3</s> |
CREATE TABLE table_name_80 (director VARCHAR, role VARCHAR) | SELECT director FROM table_name_80 WHERE role = "melissa" | Which Director has a Role of melissa? | <s>[INST]Which Director has a Role of melissa? Context: CREATE TABLE table_name_80 (director VARCHAR, role VARCHAR)[/INST]SELECT director FROM table_name_80 WHERE role = "melissa"</s> |
CREATE TABLE table_name_10 (number_ VARCHAR, _name VARCHAR, description VARCHAR) | SELECT number_ & _name FROM table_name_10 WHERE description = "lms fowler class 3f 0-6-0t" | What's the number & name for a description of lms fowler class 3f 0-6-0t? | <s>[INST]What's the number & name for a description of lms fowler class 3f 0-6-0t? Context: CREATE TABLE table_name_10 (number_ VARCHAR, _name VARCHAR, description VARCHAR)[/INST]SELECT number_ & _name FROM table_name_10 WHERE description = "lms fowler class 3f 0-6-0t"</s> |
CREATE TABLE table_name_18 (player VARCHAR, jersey_number_s_ VARCHAR) | SELECT player FROM table_name_18 WHERE jersey_number_s_ = "2" | Which player wears the number 2 on his jersey? | <s>[INST]Which player wears the number 2 on his jersey? Context: CREATE TABLE table_name_18 (player VARCHAR, jersey_number_s_ VARCHAR)[/INST]SELECT player FROM table_name_18 WHERE jersey_number_s_ = "2"</s> |
CREATE TABLE table_name_38 (points VARCHAR, match INTEGER) | SELECT COUNT(points) FROM table_name_38 WHERE match > 18 | What is the total number of Points from a Match that is larger than 18? | <s>[INST]What is the total number of Points from a Match that is larger than 18? Context: CREATE TABLE table_name_38 (points VARCHAR, match INTEGER)[/INST]SELECT COUNT(points) FROM table_name_38 WHERE match > 18</s> |
CREATE TABLE table_18821196_1 (country VARCHAR, tv_network_s_ VARCHAR) | SELECT country FROM table_18821196_1 WHERE tv_network_s_ = "AXN India" | What is every country with a TV network of AXN India? | <s>[INST]What is every country with a TV network of AXN India? Context: CREATE TABLE table_18821196_1 (country VARCHAR, tv_network_s_ VARCHAR)[/INST]SELECT country FROM table_18821196_1 WHERE tv_network_s_ = "AXN India"</s> |
CREATE TABLE table_17311759_7 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_17311759_7 WHERE date = "February 4" | who made high assists on february 4 | <s>[INST]who made high assists on february 4 Context: CREATE TABLE table_17311759_7 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_17311759_7 WHERE date = "February 4"</s> |
CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, location VARCHAR) | SELECT score FROM table_name_28 WHERE opponent = "algeria" AND location = "porto-novo" | What is the score from the game where Algeria is the opponent at Porto-Novo? | <s>[INST]What is the score from the game where Algeria is the opponent at Porto-Novo? Context: CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, location VARCHAR)[/INST]SELECT score FROM table_name_28 WHERE opponent = "algeria" AND location = "porto-novo"</s> |
CREATE TABLE table_name_84 (rec VARCHAR, player VARCHAR, yards VARCHAR) | SELECT COUNT(rec) FROM table_name_84 WHERE player = "chris watton" AND yards < 1 | How many receptions does Chris Watton with yards of less than 1? | <s>[INST]How many receptions does Chris Watton with yards of less than 1? Context: CREATE TABLE table_name_84 (rec VARCHAR, player VARCHAR, yards VARCHAR)[/INST]SELECT COUNT(rec) FROM table_name_84 WHERE player = "chris watton" AND yards < 1</s> |
CREATE TABLE table_name_88 (points_1 VARCHAR, lost VARCHAR) | SELECT points_1 FROM table_name_88 WHERE lost = 22 | WHAT POINTS 1 HAD A 22 LOST? | <s>[INST]WHAT POINTS 1 HAD A 22 LOST? Context: CREATE TABLE table_name_88 (points_1 VARCHAR, lost VARCHAR)[/INST]SELECT points_1 FROM table_name_88 WHERE lost = 22</s> |
CREATE TABLE table_2248784_4 (country VARCHAR) | SELECT 2011 AS _gdp__ppp__billions_of_usd FROM table_2248784_4 WHERE country = "Israel" | What 2011 GDP (PPP) billions of USD does Israel have? | <s>[INST]What 2011 GDP (PPP) billions of USD does Israel have? Context: CREATE TABLE table_2248784_4 (country VARCHAR)[/INST]SELECT 2011 AS _gdp__ppp__billions_of_usd FROM table_2248784_4 WHERE country = "Israel"</s> |
CREATE TABLE table_2419754_1 (institution VARCHAR, nickname VARCHAR) | SELECT institution FROM table_2419754_1 WHERE nickname = "Tigers" | What university team is referred to as the tigers? | <s>[INST]What university team is referred to as the tigers? Context: CREATE TABLE table_2419754_1 (institution VARCHAR, nickname VARCHAR)[/INST]SELECT institution FROM table_2419754_1 WHERE nickname = "Tigers"</s> |
CREATE TABLE table_name_88 (total_population__2010_ INTEGER, _percentage_asian_american VARCHAR, asian_american_population__2010_ VARCHAR) | SELECT MIN(total_population__2010_) FROM table_name_88 WHERE _percentage_asian_american = 5.7 AND asian_american_population__2010_ < 126 OFFSET 965 | What's the total population when there are 5.7% Asian American and fewer than 126,965 Asian American Population? | <s>[INST]What's the total population when there are 5.7% Asian American and fewer than 126,965 Asian American Population? Context: CREATE TABLE table_name_88 (total_population__2010_ INTEGER, _percentage_asian_american VARCHAR, asian_american_population__2010_ VARCHAR)[/INST]SELECT MIN(total_population__2010_) FROM table_name_88 WHERE _percentage_asian_american = 5.7 AND asian_american_population__2010_ < 126 OFFSET 965</s> |
CREATE TABLE table_25595107_2 (sail_number VARCHAR, loa__metres_ VARCHAR) | SELECT sail_number FROM table_25595107_2 WHERE loa__metres_ = "13.68" | What is the number of the sail with an overall length of 13.68? | <s>[INST]What is the number of the sail with an overall length of 13.68? Context: CREATE TABLE table_25595107_2 (sail_number VARCHAR, loa__metres_ VARCHAR)[/INST]SELECT sail_number FROM table_25595107_2 WHERE loa__metres_ = "13.68"</s> |
CREATE TABLE table_name_32 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_32 WHERE name = "hms cheshire" | What is the nationality of the HMS Cheshire? | <s>[INST]What is the nationality of the HMS Cheshire? Context: CREATE TABLE table_name_32 (nationality VARCHAR, name VARCHAR)[/INST]SELECT nationality FROM table_name_32 WHERE name = "hms cheshire"</s> |
CREATE TABLE table_name_31 (team_1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_31 WHERE team_1 = "zamalek sc" | What is the 2nd leg of team 1 Zamalek SC? | <s>[INST]What is the 2nd leg of team 1 Zamalek SC? Context: CREATE TABLE table_name_31 (team_1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_31 WHERE team_1 = "zamalek sc"</s> |
CREATE TABLE table_name_25 (draws INTEGER, wins VARCHAR, goals_for VARCHAR) | SELECT SUM(draws) FROM table_name_25 WHERE wins < 8 AND goals_for = 31 | How many draws have less than 8 wins, and 31 goals for? | <s>[INST]How many draws have less than 8 wins, and 31 goals for? Context: CREATE TABLE table_name_25 (draws INTEGER, wins VARCHAR, goals_for VARCHAR)[/INST]SELECT SUM(draws) FROM table_name_25 WHERE wins < 8 AND goals_for = 31</s> |
CREATE TABLE table_name_12 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_12 WHERE date = "october 22, 2000" | what is the attendance when the date is october 22, 2000? | <s>[INST]what is the attendance when the date is october 22, 2000? Context: CREATE TABLE table_name_12 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_12 WHERE date = "october 22, 2000"</s> |
CREATE TABLE table_24172157_3 (date_of_vacancy VARCHAR, table VARCHAR, team VARCHAR) | SELECT date_of_vacancy FROM table_24172157_3 WHERE table = "Pre-season" AND team = "Liverpool" | What is the date of vacancy for the Liverpool team with a table named pre-season? | <s>[INST]What is the date of vacancy for the Liverpool team with a table named pre-season? Context: CREATE TABLE table_24172157_3 (date_of_vacancy VARCHAR, table VARCHAR, team VARCHAR)[/INST]SELECT date_of_vacancy FROM table_24172157_3 WHERE table = "Pre-season" AND team = "Liverpool"</s> |
CREATE TABLE table_name_12 (origin_of_programming VARCHAR, service VARCHAR, genre VARCHAR, network VARCHAR) | SELECT origin_of_programming FROM table_name_12 WHERE genre = "general" AND network = "ntv bangla" AND service = "cogeco cable" | Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable? | <s>[INST]Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable? Context: CREATE TABLE table_name_12 (origin_of_programming VARCHAR, service VARCHAR, genre VARCHAR, network VARCHAR)[/INST]SELECT origin_of_programming FROM table_name_12 WHERE genre = "general" AND network = "ntv bangla" AND service = "cogeco cable"</s> |
CREATE TABLE table_23486853_7 (score VARCHAR, date VARCHAR) | SELECT score FROM table_23486853_7 WHERE date = "February 11" | What scores happened on February 11? | <s>[INST]What scores happened on February 11? Context: CREATE TABLE table_23486853_7 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_23486853_7 WHERE date = "February 11"</s> |
CREATE TABLE table_name_80 (artist VARCHAR, theme VARCHAR) | SELECT artist FROM table_name_80 WHERE theme = "400th anniversary of quebec" | Which artist created the silver dollar for the 400th anniversary of Quebec? | <s>[INST]Which artist created the silver dollar for the 400th anniversary of Quebec? Context: CREATE TABLE table_name_80 (artist VARCHAR, theme VARCHAR)[/INST]SELECT artist FROM table_name_80 WHERE theme = "400th anniversary of quebec"</s> |
CREATE TABLE table_name_81 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_81 WHERE catalog = "561 445-1" | Which Format has a Catalog of 561 445-1? | <s>[INST]Which Format has a Catalog of 561 445-1? Context: CREATE TABLE table_name_81 (format VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_81 WHERE catalog = "561 445-1"</s> |
CREATE TABLE table_name_54 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, headquarters VARCHAR, industry VARCHAR) | SELECT SUM(profits__billion_) AS $_ FROM table_name_54 WHERE headquarters = "usa" AND industry = "banking" AND sales__billion_$_ < 98.64 | How many profits is the company that is headquartered in the USA, in the banking industry, and has sales (billion $) less than 98.64 bringing in? | <s>[INST]How many profits is the company that is headquartered in the USA, in the banking industry, and has sales (billion $) less than 98.64 bringing in? Context: CREATE TABLE table_name_54 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, headquarters VARCHAR, industry VARCHAR)[/INST]SELECT SUM(profits__billion_) AS $_ FROM table_name_54 WHERE headquarters = "usa" AND industry = "banking" AND sales__billion_$_ < 98.64</s> |
CREATE TABLE table_name_96 (location VARCHAR, time VARCHAR) | SELECT location FROM table_name_96 WHERE time = "0:31" | In which location did the fight last just 0:31? | <s>[INST]In which location did the fight last just 0:31? Context: CREATE TABLE table_name_96 (location VARCHAR, time VARCHAR)[/INST]SELECT location FROM table_name_96 WHERE time = "0:31"</s> |
CREATE TABLE table_name_77 (record VARCHAR, home VARCHAR, points VARCHAR) | SELECT record FROM table_name_77 WHERE home = "pittsburgh" AND points = 35 | What is the record of the game with 35 points and pittsburgh as the home team? | <s>[INST]What is the record of the game with 35 points and pittsburgh as the home team? Context: CREATE TABLE table_name_77 (record VARCHAR, home VARCHAR, points VARCHAR)[/INST]SELECT record FROM table_name_77 WHERE home = "pittsburgh" AND points = 35</s> |
CREATE TABLE table_23316034_23 (dismissals INTEGER, rank VARCHAR) | SELECT MAX(dismissals) FROM table_23316034_23 WHERE rank = 4 | Name the least dismissals for 4 rank | <s>[INST]Name the least dismissals for 4 rank Context: CREATE TABLE table_23316034_23 (dismissals INTEGER, rank VARCHAR)[/INST]SELECT MAX(dismissals) FROM table_23316034_23 WHERE rank = 4</s> |
CREATE TABLE table_name_51 (city_of_license VARCHAR, frequency VARCHAR) | SELECT city_of_license FROM table_name_51 WHERE frequency = "88.7 fm" | What is the City of license with a 88.7 fm frequency | <s>[INST]What is the City of license with a 88.7 fm frequency Context: CREATE TABLE table_name_51 (city_of_license VARCHAR, frequency VARCHAR)[/INST]SELECT city_of_license FROM table_name_51 WHERE frequency = "88.7 fm"</s> |
CREATE TABLE table_name_57 (score VARCHAR, away VARCHAR) | SELECT score FROM table_name_57 WHERE away = "deportes savio" | What is the score of the match with deportes savio as the away team? | <s>[INST]What is the score of the match with deportes savio as the away team? Context: CREATE TABLE table_name_57 (score VARCHAR, away VARCHAR)[/INST]SELECT score FROM table_name_57 WHERE away = "deportes savio"</s> |
CREATE TABLE table_name_19 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_19 WHERE attendance = "17,737" | In what Week was the Attendance 17,737? | <s>[INST]In what Week was the Attendance 17,737? Context: CREATE TABLE table_name_19 (week VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_19 WHERE attendance = "17,737"</s> |
CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, country VARCHAR) | SELECT pct_route_available FROM table_2279413_1 WHERE country = "Tangier Zone" | In Tangier Zone, what is the PCT route availibility? | <s>[INST]In Tangier Zone, what is the PCT route availibility? Context: CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, country VARCHAR)[/INST]SELECT pct_route_available FROM table_2279413_1 WHERE country = "Tangier Zone"</s> |
CREATE TABLE table_name_98 (round INTEGER, nominees VARCHAR) | SELECT MIN(round) FROM table_name_98 WHERE nominees = "david mundy" | what is the earliest round for nominee david mundy? | <s>[INST]what is the earliest round for nominee david mundy? Context: CREATE TABLE table_name_98 (round INTEGER, nominees VARCHAR)[/INST]SELECT MIN(round) FROM table_name_98 WHERE nominees = "david mundy"</s> |
CREATE TABLE table_name_61 (set_2 VARCHAR, set_1 VARCHAR) | SELECT set_2 FROM table_name_61 WHERE set_1 = "29–27" | What shows for set 2 when Set 1 is 29–27? | <s>[INST]What shows for set 2 when Set 1 is 29–27? Context: CREATE TABLE table_name_61 (set_2 VARCHAR, set_1 VARCHAR)[/INST]SELECT set_2 FROM table_name_61 WHERE set_1 = "29–27"</s> |
CREATE TABLE table_26686908_2 (production VARCHAR, championship VARCHAR, challenge VARCHAR) | SELECT production FROM table_26686908_2 WHERE championship = "David Wall" AND challenge = "Jordan Ormsby" | Who handled production for the race when the championship went to david wall and challenge was jordan ormsby? | <s>[INST]Who handled production for the race when the championship went to david wall and challenge was jordan ormsby? Context: CREATE TABLE table_26686908_2 (production VARCHAR, championship VARCHAR, challenge VARCHAR)[/INST]SELECT production FROM table_26686908_2 WHERE championship = "David Wall" AND challenge = "Jordan Ormsby"</s> |
CREATE TABLE table_13779832_1 (country_region VARCHAR, seasons_and_winners VARCHAR) | SELECT country_region FROM table_13779832_1 WHERE seasons_and_winners = "Season 1, 2012: Demetra Malalan" | what's the country/region with seasons and winners being season 1, 2012: demetra malalan | <s>[INST]what's the country/region with seasons and winners being season 1, 2012: demetra malalan Context: CREATE TABLE table_13779832_1 (country_region VARCHAR, seasons_and_winners VARCHAR)[/INST]SELECT country_region FROM table_13779832_1 WHERE seasons_and_winners = "Season 1, 2012: Demetra Malalan"</s> |
CREATE TABLE table_name_43 (floors VARCHAR, location VARCHAR) | SELECT floors FROM table_name_43 WHERE location = "aston" | How many floors did the tallest building in Aston have? | <s>[INST]How many floors did the tallest building in Aston have? Context: CREATE TABLE table_name_43 (floors VARCHAR, location VARCHAR)[/INST]SELECT floors FROM table_name_43 WHERE location = "aston"</s> |
CREATE TABLE table_name_22 (byes VARCHAR, draws INTEGER) | SELECT COUNT(byes) FROM table_name_22 WHERE draws < 0 | How many byes when the draws are less than 0? | <s>[INST]How many byes when the draws are less than 0? Context: CREATE TABLE table_name_22 (byes VARCHAR, draws INTEGER)[/INST]SELECT COUNT(byes) FROM table_name_22 WHERE draws < 0</s> |
CREATE TABLE table_name_61 (opponent VARCHAR, game VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_61 WHERE game < 57 AND score = "4–5" | What is the opponent before game 57 when the score was 4–5? | <s>[INST]What is the opponent before game 57 when the score was 4–5? Context: CREATE TABLE table_name_61 (opponent VARCHAR, game VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_61 WHERE game < 57 AND score = "4–5"</s> |
CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, date_first_registered VARCHAR) | SELECT first_name, middle_name, last_name FROM Students ORDER BY date_first_registered LIMIT 1 | Who is the first student to register? List the first name, middle name and last name. | <s>[INST]Who is the first student to register? List the first name, middle name and last name. Context: CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, date_first_registered VARCHAR)[/INST]SELECT first_name, middle_name, last_name FROM Students ORDER BY date_first_registered LIMIT 1</s> |
CREATE TABLE table_name_31 (bluetooth VARCHAR, model VARCHAR) | SELECT bluetooth FROM table_name_31 WHERE model = "s35" | Does the s35 model have bluetooth? | <s>[INST]Does the s35 model have bluetooth? Context: CREATE TABLE table_name_31 (bluetooth VARCHAR, model VARCHAR)[/INST]SELECT bluetooth FROM table_name_31 WHERE model = "s35"</s> |
CREATE TABLE table_name_35 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_35 WHERE team_1 = "noliko maaseik" | What is Agg., when Team 1 is "Noliko Maaseik"? | <s>[INST]What is Agg., when Team 1 is "Noliko Maaseik"? Context: CREATE TABLE table_name_35 (agg VARCHAR, team_1 VARCHAR)[/INST]SELECT agg FROM table_name_35 WHERE team_1 = "noliko maaseik"</s> |
CREATE TABLE table_name_24 (round INTEGER, position VARCHAR, pick__number VARCHAR, overall VARCHAR) | SELECT MAX(round) FROM table_name_24 WHERE pick__number = 11 AND overall < 414 AND position = "offensive tackle" | What is the highest round with a pick# of 11, a position of offensive tackle, and overall less than 414? | <s>[INST]What is the highest round with a pick# of 11, a position of offensive tackle, and overall less than 414? Context: CREATE TABLE table_name_24 (round INTEGER, position VARCHAR, pick__number VARCHAR, overall VARCHAR)[/INST]SELECT MAX(round) FROM table_name_24 WHERE pick__number = 11 AND overall < 414 AND position = "offensive tackle"</s> |
CREATE TABLE table_name_96 (rider VARCHAR, team VARCHAR, time VARCHAR) | SELECT rider FROM table_name_96 WHERE team = "lcr honda 600cc" AND time = "59’ 22.80" | What was the Rider of the LCR Honda 600CC Team with a Time of 59’ 22.80? | <s>[INST]What was the Rider of the LCR Honda 600CC Team with a Time of 59’ 22.80? Context: CREATE TABLE table_name_96 (rider VARCHAR, team VARCHAR, time VARCHAR)[/INST]SELECT rider FROM table_name_96 WHERE team = "lcr honda 600cc" AND time = "59’ 22.80"</s> |
CREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR) | SELECT record FROM table_name_24 WHERE location = "boston garden" AND date = "fri. nov. 9" | What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"? | <s>[INST]What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"? Context: CREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_24 WHERE location = "boston garden" AND date = "fri. nov. 9"</s> |
CREATE TABLE table_name_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR) | SELECT co_drivers FROM table_name_76 WHERE year < 2010 AND laps < 326 | Who are the co-drivers before 2010 with under 326 laps? | <s>[INST]Who are the co-drivers before 2010 with under 326 laps? Context: CREATE TABLE table_name_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR)[/INST]SELECT co_drivers FROM table_name_76 WHERE year < 2010 AND laps < 326</s> |
CREATE TABLE table_name_47 (athlete VARCHAR, run_1 VARCHAR, run_3 VARCHAR) | SELECT athlete FROM table_name_47 WHERE run_1 < 54.13 AND run_3 = 55.21 | Who is the athlete with a run 1 less than 54.13 and a 55.21 run 3? | <s>[INST]Who is the athlete with a run 1 less than 54.13 and a 55.21 run 3? Context: CREATE TABLE table_name_47 (athlete VARCHAR, run_1 VARCHAR, run_3 VARCHAR)[/INST]SELECT athlete FROM table_name_47 WHERE run_1 < 54.13 AND run_3 = 55.21</s> |
CREATE TABLE table_name_53 (year INTEGER, category VARCHAR) | SELECT MIN(year) FROM table_name_53 WHERE category = "top 10 selling mandarin albums of the year" | What is the earliest year with a category of Top 10 Selling Mandarin Albums of the Year? | <s>[INST]What is the earliest year with a category of Top 10 Selling Mandarin Albums of the Year? Context: CREATE TABLE table_name_53 (year INTEGER, category VARCHAR)[/INST]SELECT MIN(year) FROM table_name_53 WHERE category = "top 10 selling mandarin albums of the year"</s> |
CREATE TABLE table_1242447_1 (strongs_words_compounded VARCHAR, strongs_transliteration VARCHAR) | SELECT strongs_words_compounded FROM table_1242447_1 WHERE strongs_transliteration = "Yowyariyb" | What is the strong words compounded when the strongs transliteration is yowyariyb? | <s>[INST]What is the strong words compounded when the strongs transliteration is yowyariyb? Context: CREATE TABLE table_1242447_1 (strongs_words_compounded VARCHAR, strongs_transliteration VARCHAR)[/INST]SELECT strongs_words_compounded FROM table_1242447_1 WHERE strongs_transliteration = "Yowyariyb"</s> |
CREATE TABLE table_15608800_2 (number_at_pyewipe INTEGER) | SELECT MAX(number_at_pyewipe) FROM table_15608800_2 | Name the most number of pyewipe | <s>[INST]Name the most number of pyewipe Context: CREATE TABLE table_15608800_2 (number_at_pyewipe INTEGER)[/INST]SELECT MAX(number_at_pyewipe) FROM table_15608800_2</s> |
CREATE TABLE table_name_84 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_84 WHERE opponent = "masanori suda" | Which location has an Opponent of masanori suda? | <s>[INST]Which location has an Opponent of masanori suda? Context: CREATE TABLE table_name_84 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_84 WHERE opponent = "masanori suda"</s> |
CREATE TABLE table_name_67 (team__number2 VARCHAR, team__number1 VARCHAR) | SELECT team__number2 FROM table_name_67 WHERE team__number1 = "lukoil academic" | with team #1 as lukoil academic what is team #2? | <s>[INST]with team #1 as lukoil academic what is team #2? Context: CREATE TABLE table_name_67 (team__number2 VARCHAR, team__number1 VARCHAR)[/INST]SELECT team__number2 FROM table_name_67 WHERE team__number1 = "lukoil academic"</s> |
CREATE TABLE table_name_2 (winners VARCHAR) | SELECT 3 AS rd_place FROM table_name_2 WHERE winners = "nicolai klindt" | Who came in 3rd when Nicolai Klindt won? | <s>[INST]Who came in 3rd when Nicolai Klindt won? Context: CREATE TABLE table_name_2 (winners VARCHAR)[/INST]SELECT 3 AS rd_place FROM table_name_2 WHERE winners = "nicolai klindt"</s> |
CREATE TABLE table_name_97 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_97 WHERE date = "6/7/03" | What competition was held on the date 6/7/03 | <s>[INST]What competition was held on the date 6/7/03 Context: CREATE TABLE table_name_97 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_97 WHERE date = "6/7/03"</s> |
CREATE TABLE table_name_16 (title VARCHAR, name VARCHAR) | SELECT title FROM table_name_16 WHERE name = "ahaziah" | What is the title of ahaziah? | <s>[INST]What is the title of ahaziah? Context: CREATE TABLE table_name_16 (title VARCHAR, name VARCHAR)[/INST]SELECT title FROM table_name_16 WHERE name = "ahaziah"</s> |
CREATE TABLE table_name_86 (overall INTEGER, position VARCHAR, college VARCHAR) | SELECT SUM(overall) FROM table_name_86 WHERE position = "wr" AND college = "alberta" | How much Overall has a Position of wr, and a College of alberta? | <s>[INST]How much Overall has a Position of wr, and a College of alberta? Context: CREATE TABLE table_name_86 (overall INTEGER, position VARCHAR, college VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_86 WHERE position = "wr" AND college = "alberta"</s> |
CREATE TABLE table_29619494_2 (season VARCHAR, apocalypstix VARCHAR) | SELECT COUNT(season) FROM table_29619494_2 WHERE apocalypstix = "2nd" | How many seasons did Apocalypstix place 2nd? | <s>[INST]How many seasons did Apocalypstix place 2nd? Context: CREATE TABLE table_29619494_2 (season VARCHAR, apocalypstix VARCHAR)[/INST]SELECT COUNT(season) FROM table_29619494_2 WHERE apocalypstix = "2nd"</s> |
CREATE TABLE table_1184344_1 (type VARCHAR, name VARCHAR) | SELECT type FROM table_1184344_1 WHERE name = "Sussex" | What was the type of sussex? | <s>[INST]What was the type of sussex? Context: CREATE TABLE table_1184344_1 (type VARCHAR, name VARCHAR)[/INST]SELECT type FROM table_1184344_1 WHERE name = "Sussex"</s> |
CREATE TABLE table_name_4 (density__hab__km²__ VARCHAR, population_censo_2007_hab_ VARCHAR) | SELECT density__hab__km²__ FROM table_name_4 WHERE population_censo_2007_hab_ = "336.293*" | What is the density (hab/km²) with a population censo 2007(hab) of 336.293*? | <s>[INST]What is the density (hab/km²) with a population censo 2007(hab) of 336.293*? Context: CREATE TABLE table_name_4 (density__hab__km²__ VARCHAR, population_censo_2007_hab_ VARCHAR)[/INST]SELECT density__hab__km²__ FROM table_name_4 WHERE population_censo_2007_hab_ = "336.293*"</s> |
CREATE TABLE table_name_79 (gloss VARCHAR, latin VARCHAR) | SELECT gloss FROM table_name_79 WHERE latin = "castitas" | What's the gloss with Castitas(Latin)? | <s>[INST]What's the gloss with Castitas(Latin)? Context: CREATE TABLE table_name_79 (gloss VARCHAR, latin VARCHAR)[/INST]SELECT gloss FROM table_name_79 WHERE latin = "castitas"</s> |
CREATE TABLE table_name_16 (dubose_porter VARCHAR, roy_barnes VARCHAR) | SELECT dubose_porter FROM table_name_16 WHERE roy_barnes = "54%" | What is the DuBose Porter with Roy Barnes at 54%? | <s>[INST]What is the DuBose Porter with Roy Barnes at 54%? Context: CREATE TABLE table_name_16 (dubose_porter VARCHAR, roy_barnes VARCHAR)[/INST]SELECT dubose_porter FROM table_name_16 WHERE roy_barnes = "54%"</s> |
CREATE TABLE table_name_8 (pick__number INTEGER, overall VARCHAR) | SELECT AVG(pick__number) FROM table_name_8 WHERE overall = 296 | What Average Pick # has an Overall of 296? | <s>[INST]What Average Pick # has an Overall of 296? Context: CREATE TABLE table_name_8 (pick__number INTEGER, overall VARCHAR)[/INST]SELECT AVG(pick__number) FROM table_name_8 WHERE overall = 296</s> |
CREATE TABLE table_13606924_1 (bush__number INTEGER, kerry__number VARCHAR) | SELECT MIN(bush__number) FROM table_13606924_1 WHERE kerry__number = 3938 | what is the minimum bush # with kerry # being 3938 | <s>[INST]what is the minimum bush # with kerry # being 3938 Context: CREATE TABLE table_13606924_1 (bush__number INTEGER, kerry__number VARCHAR)[/INST]SELECT MIN(bush__number) FROM table_13606924_1 WHERE kerry__number = 3938</s> |
CREATE TABLE table_name_34 (bronze VARCHAR, total VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT COUNT(bronze) FROM table_name_34 WHERE gold < 2 AND nation = "uganda" AND total > 2 | What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals? | <s>[INST]What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals? Context: CREATE TABLE table_name_34 (bronze VARCHAR, total VARCHAR, gold VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_34 WHERE gold < 2 AND nation = "uganda" AND total > 2</s> |
CREATE TABLE table_15187735_6 (segment_b VARCHAR, segment_d VARCHAR) | SELECT segment_b FROM table_15187735_6 WHERE segment_d = "s Hammock" | What is the Segment B when the Segment D is s Hammock? | <s>[INST]What is the Segment B when the Segment D is s Hammock? Context: CREATE TABLE table_15187735_6 (segment_b VARCHAR, segment_d VARCHAR)[/INST]SELECT segment_b FROM table_15187735_6 WHERE segment_d = "s Hammock"</s> |
CREATE TABLE table_2861364_1 (executed_person VARCHAR, under_president VARCHAR, crime VARCHAR) | SELECT executed_person FROM table_2861364_1 WHERE under_president = "Charles de Gaulle" AND crime = "Child murder after rape" | who was executed during president charles de gaulle's reign for thr crime of child murder after rape? | <s>[INST]who was executed during president charles de gaulle's reign for thr crime of child murder after rape? Context: CREATE TABLE table_2861364_1 (executed_person VARCHAR, under_president VARCHAR, crime VARCHAR)[/INST]SELECT executed_person FROM table_2861364_1 WHERE under_president = "Charles de Gaulle" AND crime = "Child murder after rape"</s> |
CREATE TABLE table_1342249_5 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342249_5 WHERE incumbent = "Brooks Hays" | What party did incumbent Brooks Hays belong to? | <s>[INST]What party did incumbent Brooks Hays belong to? Context: CREATE TABLE table_1342249_5 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1342249_5 WHERE incumbent = "Brooks Hays"</s> |
CREATE TABLE table_25764073_3 (title VARCHAR, season__number VARCHAR) | SELECT title FROM table_25764073_3 WHERE season__number = 35 | Name the title for season number 35 | <s>[INST]Name the title for season number 35 Context: CREATE TABLE table_25764073_3 (title VARCHAR, season__number VARCHAR)[/INST]SELECT title FROM table_25764073_3 WHERE season__number = 35</s> |
CREATE TABLE table_name_51 (opponent VARCHAR, november VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_51 WHERE november > 26 AND game > 18 | Can you tell me the Opponent that has the November larger than 26, and the Game larger than 18? | <s>[INST]Can you tell me the Opponent that has the November larger than 26, and the Game larger than 18? Context: CREATE TABLE table_name_51 (opponent VARCHAR, november VARCHAR, game VARCHAR)[/INST]SELECT opponent FROM table_name_51 WHERE november > 26 AND game > 18</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.