context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_65 (time_retired VARCHAR, laps VARCHAR, name VARCHAR) | SELECT time_retired FROM table_name_65 WHERE laps < 49 AND name = "michael caruso" | What is Time/Retired, when Laps is less than 49, and when Name is "Michael Caruso"? | <s>[INST]What is Time/Retired, when Laps is less than 49, and when Name is "Michael Caruso"? Context: CREATE TABLE table_name_65 (time_retired VARCHAR, laps VARCHAR, name VARCHAR)[/INST]SELECT time_retired FROM table_name_65 WHERE laps < 49 AND name = "michael caruso"</s> |
CREATE TABLE table_name_39 (ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR) | SELECT ship FROM table_name_39 WHERE nationality = "syria" AND date = "26 june 1943" AND tonnage = 80 | What is Ship, when Nationality is "Syria", and when Date is "26 June 1943", and when Tonnage is "80"? | <s>[INST]What is Ship, when Nationality is "Syria", and when Date is "26 June 1943", and when Tonnage is "80"? Context: CREATE TABLE table_name_39 (ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR)[/INST]SELECT ship FROM table_name_39 WHERE nationality = "syria" AND date = "26 june 1943" AND tonnage = 80</s> |
CREATE TABLE Plays_games (Stuid VARCHAR, hours_played INTEGER) | SELECT Stuid, SUM(hours_played) FROM Plays_games GROUP BY Stuid | Show all student ids and the number of hours played. | <s>[INST]Show all student ids and the number of hours played. Context: CREATE TABLE Plays_games (Stuid VARCHAR, hours_played INTEGER)[/INST]SELECT Stuid, SUM(hours_played) FROM Plays_games GROUP BY Stuid</s> |
CREATE TABLE table_name_13 (participants INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MAX(participants) FROM table_name_13 WHERE rank = 5 AND silver < 0 | What is listed as the highest Participants that also have a Rank of 5, and Silver that's smaller than 0? | <s>[INST]What is listed as the highest Participants that also have a Rank of 5, and Silver that's smaller than 0? Context: CREATE TABLE table_name_13 (participants INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MAX(participants) FROM table_name_13 WHERE rank = 5 AND silver < 0</s> |
CREATE TABLE table_19753079_4 (incumbent VARCHAR, result VARCHAR) | SELECT incumbent FROM table_19753079_4 WHERE result = "Lost renomination Republican hold" | Name the incumbent for lost renomination republican hold | <s>[INST]Name the incumbent for lost renomination republican hold Context: CREATE TABLE table_19753079_4 (incumbent VARCHAR, result VARCHAR)[/INST]SELECT incumbent FROM table_19753079_4 WHERE result = "Lost renomination Republican hold"</s> |
CREATE TABLE table_name_30 (position VARCHAR, year VARCHAR, player VARCHAR) | SELECT position FROM table_name_30 WHERE year > 2008 AND player = "greg fredlund" | What was the position of Greg Fredlund in years after 2008? | <s>[INST]What was the position of Greg Fredlund in years after 2008? Context: CREATE TABLE table_name_30 (position VARCHAR, year VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_30 WHERE year > 2008 AND player = "greg fredlund"</s> |
CREATE TABLE table_2186447_1 (partner VARCHAR, score VARCHAR) | SELECT COUNT(partner) FROM table_2186447_1 WHERE score = "7–6 (7–4) , 6–3" | How many partners were there when the score was 7–6 (7–4) , 6–3? | <s>[INST]How many partners were there when the score was 7–6 (7–4) , 6–3? Context: CREATE TABLE table_2186447_1 (partner VARCHAR, score VARCHAR)[/INST]SELECT COUNT(partner) FROM table_2186447_1 WHERE score = "7–6 (7–4) , 6–3"</s> |
CREATE TABLE table_name_71 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_71 WHERE score = 68 - 67 - 75 - 70 = 280 | What is Player, when Score is "68-67-75-70=280"? | <s>[INST]What is Player, when Score is "68-67-75-70=280"? Context: CREATE TABLE table_name_71 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_71 WHERE score = 68 - 67 - 75 - 70 = 280</s> |
CREATE TABLE table_19072602_1 (score VARCHAR, match_no VARCHAR) | SELECT score FROM table_19072602_1 WHERE match_no = 4 | What was the score at the end of the match number 4? | <s>[INST]What was the score at the end of the match number 4? Context: CREATE TABLE table_19072602_1 (score VARCHAR, match_no VARCHAR)[/INST]SELECT score FROM table_19072602_1 WHERE match_no = 4</s> |
CREATE TABLE table_name_4 (year INTEGER, silver VARCHAR) | SELECT SUM(year) FROM table_name_4 WHERE silver = "japan" | How many years has Japan won silver? | <s>[INST]How many years has Japan won silver? Context: CREATE TABLE table_name_4 (year INTEGER, silver VARCHAR)[/INST]SELECT SUM(year) FROM table_name_4 WHERE silver = "japan"</s> |
CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_13 WHERE result = "won 1-0" | Tell me the date with result of won 1-0 | <s>[INST]Tell me the date with result of won 1-0 Context: CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_13 WHERE result = "won 1-0"</s> |
CREATE TABLE table_1342270_3 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1342270_3 WHERE district = "Alabama 1" | what are all the result with district being alabama 1 | <s>[INST]what are all the result with district being alabama 1 Context: CREATE TABLE table_1342270_3 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1342270_3 WHERE district = "Alabama 1"</s> |
CREATE TABLE table_name_50 (gold VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT gold FROM table_name_50 WHERE total > 2 AND bronze < 1 | Can you tell me the Gold that has the Total larger than 2, and the Bronze smaller than 1? | <s>[INST]Can you tell me the Gold that has the Total larger than 2, and the Bronze smaller than 1? Context: CREATE TABLE table_name_50 (gold VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT gold FROM table_name_50 WHERE total > 2 AND bronze < 1</s> |
CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR) | SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471 | How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471? | <s>[INST]How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471? Context: CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)[/INST]SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471</s> |
CREATE TABLE table_1013168_3 (vacator VARCHAR, district VARCHAR) | SELECT vacator FROM table_1013168_3 WHERE district = "Louisiana 1st" | What is the name of the vacator for district Louisiana 1st? | <s>[INST]What is the name of the vacator for district Louisiana 1st? Context: CREATE TABLE table_1013168_3 (vacator VARCHAR, district VARCHAR)[/INST]SELECT vacator FROM table_1013168_3 WHERE district = "Louisiana 1st"</s> |
CREATE TABLE table_name_88 (college VARCHAR, pick VARCHAR, team VARCHAR) | SELECT college FROM table_name_88 WHERE pick > 122 AND team = "boston patriots" | What college was picked later than 122 by the Boston Patriots? | <s>[INST]What college was picked later than 122 by the Boston Patriots? Context: CREATE TABLE table_name_88 (college VARCHAR, pick VARCHAR, team VARCHAR)[/INST]SELECT college FROM table_name_88 WHERE pick > 122 AND team = "boston patriots"</s> |
CREATE TABLE table_name_82 (wins VARCHAR, podiums VARCHAR, team VARCHAR) | SELECT wins FROM table_name_82 WHERE podiums = "0" AND team = "team autotecnica" | How many wins did Team Autotecnica, with 0 podiums, have? | <s>[INST]How many wins did Team Autotecnica, with 0 podiums, have? Context: CREATE TABLE table_name_82 (wins VARCHAR, podiums VARCHAR, team VARCHAR)[/INST]SELECT wins FROM table_name_82 WHERE podiums = "0" AND team = "team autotecnica"</s> |
CREATE TABLE table_name_22 (post VARCHAR, trainer VARCHAR, time__behind VARCHAR) | SELECT COUNT(post) FROM table_name_22 WHERE trainer = "steve asmussen" AND time__behind = "19 ½" | What is the total number of Post, when Trainer is "Steve Asmussen", and when Time/ Behind is 19 ½? | <s>[INST]What is the total number of Post, when Trainer is "Steve Asmussen", and when Time/ Behind is 19 ½? Context: CREATE TABLE table_name_22 (post VARCHAR, trainer VARCHAR, time__behind VARCHAR)[/INST]SELECT COUNT(post) FROM table_name_22 WHERE trainer = "steve asmussen" AND time__behind = "19 ½"</s> |
CREATE TABLE table_15315103_1 (class_aAAAA VARCHAR, school_year VARCHAR) | SELECT class_aAAAA FROM table_15315103_1 WHERE school_year = "1995-96" | Who is in class during 1995-96? | <s>[INST]Who is in class during 1995-96? Context: CREATE TABLE table_15315103_1 (class_aAAAA VARCHAR, school_year VARCHAR)[/INST]SELECT class_aAAAA FROM table_15315103_1 WHERE school_year = "1995-96"</s> |
CREATE TABLE table_22951646_1 (premiere VARCHAR, number_of_episodes VARCHAR) | SELECT premiere FROM table_22951646_1 WHERE number_of_episodes = 8 | Name the premiere for 8 episodes | <s>[INST]Name the premiere for 8 episodes Context: CREATE TABLE table_22951646_1 (premiere VARCHAR, number_of_episodes VARCHAR)[/INST]SELECT premiere FROM table_22951646_1 WHERE number_of_episodes = 8</s> |
CREATE TABLE table_name_87 (year_s__won VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_87 WHERE player = "tom watson" | What year did Tom Watson win? | <s>[INST]What year did Tom Watson win? Context: CREATE TABLE table_name_87 (year_s__won VARCHAR, player VARCHAR)[/INST]SELECT year_s__won FROM table_name_87 WHERE player = "tom watson"</s> |
CREATE TABLE table_name_80 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_80 WHERE record = "58–15–8" | Which score has a record of 58–15–8? | <s>[INST]Which score has a record of 58–15–8? Context: CREATE TABLE table_name_80 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE record = "58–15–8"</s> |
CREATE TABLE table_name_75 (a_side VARCHAR, b_side VARCHAR) | SELECT a_side FROM table_name_75 WHERE b_side = "it never entered my mind, part 2" | What is the A-side for it Never Entered My Mind, Part 2? | <s>[INST]What is the A-side for it Never Entered My Mind, Part 2? Context: CREATE TABLE table_name_75 (a_side VARCHAR, b_side VARCHAR)[/INST]SELECT a_side FROM table_name_75 WHERE b_side = "it never entered my mind, part 2"</s> |
CREATE TABLE table_name_37 (gdp_per_capita__us INTEGER, area__km²_ VARCHAR, state VARCHAR) | SELECT MAX(gdp_per_capita__us) AS $___2004_ FROM table_name_37 WHERE area__km²_ > 148825.6 AND state = "roraima" | Which GDP per capita (US$) (2004) is the highest one that has an Area (km²) larger than 148825.6, and a State of roraima? | <s>[INST]Which GDP per capita (US$) (2004) is the highest one that has an Area (km²) larger than 148825.6, and a State of roraima? Context: CREATE TABLE table_name_37 (gdp_per_capita__us INTEGER, area__km²_ VARCHAR, state VARCHAR)[/INST]SELECT MAX(gdp_per_capita__us) AS $___2004_ FROM table_name_37 WHERE area__km²_ > 148825.6 AND state = "roraima"</s> |
CREATE TABLE table_30049462_4 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_30049462_4 WHERE team = "Los Angeles" | What was the location and it's corresponding attendance during the game against Los Angeles? | <s>[INST]What was the location and it's corresponding attendance during the game against Los Angeles? Context: CREATE TABLE table_30049462_4 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_30049462_4 WHERE team = "Los Angeles"</s> |
CREATE TABLE table_name_69 (year VARCHAR, balance_sheet_total VARCHAR) | SELECT COUNT(year) FROM table_name_69 WHERE balance_sheet_total = "€125,359,000" | What year did the company have a balance sheet total of €125,359,000? | <s>[INST]What year did the company have a balance sheet total of €125,359,000? Context: CREATE TABLE table_name_69 (year VARCHAR, balance_sheet_total VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_69 WHERE balance_sheet_total = "€125,359,000"</s> |
CREATE TABLE table_name_51 (laps VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_51 WHERE time_retired = "+23.080" | How many laps have a time/retired of +23.080? | <s>[INST]How many laps have a time/retired of +23.080? Context: CREATE TABLE table_name_51 (laps VARCHAR, time_retired VARCHAR)[/INST]SELECT laps FROM table_name_51 WHERE time_retired = "+23.080"</s> |
CREATE TABLE table_name_35 (surface VARCHAR, partner VARCHAR) | SELECT surface FROM table_name_35 WHERE partner = "tiya rolle" | What was the surface for the game that was played with partner Tiya Rolle? | <s>[INST]What was the surface for the game that was played with partner Tiya Rolle? Context: CREATE TABLE table_name_35 (surface VARCHAR, partner VARCHAR)[/INST]SELECT surface FROM table_name_35 WHERE partner = "tiya rolle"</s> |
CREATE TABLE table_2761641_1 (points_per_game VARCHAR, assists_per_game VARCHAR) | SELECT points_per_game FROM table_2761641_1 WHERE assists_per_game = "1.5" | How many points per game did he have when he had 1.5 assists per game? | <s>[INST]How many points per game did he have when he had 1.5 assists per game? Context: CREATE TABLE table_2761641_1 (points_per_game VARCHAR, assists_per_game VARCHAR)[/INST]SELECT points_per_game FROM table_2761641_1 WHERE assists_per_game = "1.5"</s> |
CREATE TABLE table_name_94 (vertical_relief__ft_ INTEGER, rank VARCHAR, location VARCHAR) | SELECT AVG(vertical_relief__ft_) FROM table_name_94 WHERE rank > 40 AND location = "va0573" | What is the mean vertical relief in feet when the rank is more than 40 and the location is va0573? | <s>[INST]What is the mean vertical relief in feet when the rank is more than 40 and the location is va0573? Context: CREATE TABLE table_name_94 (vertical_relief__ft_ INTEGER, rank VARCHAR, location VARCHAR)[/INST]SELECT AVG(vertical_relief__ft_) FROM table_name_94 WHERE rank > 40 AND location = "va0573"</s> |
CREATE TABLE table_name_95 (last VARCHAR, year VARCHAR, sport VARCHAR) | SELECT last FROM table_name_95 WHERE year < 2000 AND sport = "softball" | Name the last for softball before 2000 | <s>[INST]Name the last for softball before 2000 Context: CREATE TABLE table_name_95 (last VARCHAR, year VARCHAR, sport VARCHAR)[/INST]SELECT last FROM table_name_95 WHERE year < 2000 AND sport = "softball"</s> |
CREATE TABLE table_name_46 (transfer_fee VARCHAR, name VARCHAR) | SELECT transfer_fee FROM table_name_46 WHERE name = "mccartney" | What is the transfer fee for the country that has the name McCartney listed? | <s>[INST]What is the transfer fee for the country that has the name McCartney listed? Context: CREATE TABLE table_name_46 (transfer_fee VARCHAR, name VARCHAR)[/INST]SELECT transfer_fee FROM table_name_46 WHERE name = "mccartney"</s> |
CREATE TABLE table_name_68 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_68 WHERE date = "april 11, 2007" | What was the final score for the match held on April 11, 2007? | <s>[INST]What was the final score for the match held on April 11, 2007? Context: CREATE TABLE table_name_68 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_68 WHERE date = "april 11, 2007"</s> |
CREATE TABLE table_name_54 (production_company VARCHAR, director_s_ VARCHAR) | SELECT production_company FROM table_name_54 WHERE director_s_ = "daniel cormack" | What was the production company for the film directed by Daniel Cormack? | <s>[INST]What was the production company for the film directed by Daniel Cormack? Context: CREATE TABLE table_name_54 (production_company VARCHAR, director_s_ VARCHAR)[/INST]SELECT production_company FROM table_name_54 WHERE director_s_ = "daniel cormack"</s> |
CREATE TABLE table_23184448_3 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_23184448_3 WHERE opponent = "Niagara" | When did the team play against Niagara? | <s>[INST]When did the team play against Niagara? Context: CREATE TABLE table_23184448_3 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_23184448_3 WHERE opponent = "Niagara"</s> |
CREATE TABLE table_17288845_9 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_17288845_9 WHERE team = "Houston" | Name the high assists for houston | <s>[INST]Name the high assists for houston Context: CREATE TABLE table_17288845_9 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_17288845_9 WHERE team = "Houston"</s> |
CREATE TABLE table_name_23 (overall INTEGER, pick VARCHAR, college VARCHAR) | SELECT SUM(overall) FROM table_name_23 WHERE pick < 8 AND college = "western michigan" | What is the overall sum of the game with a pick less than 8 from the college of western michigan? | <s>[INST]What is the overall sum of the game with a pick less than 8 from the college of western michigan? Context: CREATE TABLE table_name_23 (overall INTEGER, pick VARCHAR, college VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_23 WHERE pick < 8 AND college = "western michigan"</s> |
CREATE TABLE table_name_61 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_61 WHERE to_par = "–2" AND score = 73 - 65 = 138 | What player has a To par of –2, and a Score of 73-65=138? | <s>[INST]What player has a To par of –2, and a Score of 73-65=138? Context: CREATE TABLE table_name_61 (player VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_61 WHERE to_par = "–2" AND score = 73 - 65 = 138</s> |
CREATE TABLE table_name_75 (event VARCHAR, alternate VARCHAR, skip VARCHAR) | SELECT event FROM table_name_75 WHERE alternate = "sun yue" AND skip = "wang bingyu(3rd)" | What event was Sun Yue the alternate and wang bingyu(3rd) the skip? | <s>[INST]What event was Sun Yue the alternate and wang bingyu(3rd) the skip? Context: CREATE TABLE table_name_75 (event VARCHAR, alternate VARCHAR, skip VARCHAR)[/INST]SELECT event FROM table_name_75 WHERE alternate = "sun yue" AND skip = "wang bingyu(3rd)"</s> |
CREATE TABLE table_13258876_2 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_13258876_2 WHERE attendance = 48945 | What was the score of the game when the attendance was 48945? | <s>[INST]What was the score of the game when the attendance was 48945? Context: CREATE TABLE table_13258876_2 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_13258876_2 WHERE attendance = 48945</s> |
CREATE TABLE table_name_53 (hanyu_pinyin VARCHAR, hanzi VARCHAR) | SELECT hanyu_pinyin FROM table_name_53 WHERE hanzi = "依兰县" | What is the Pinyin for 依兰县? | <s>[INST]What is the Pinyin for 依兰县? Context: CREATE TABLE table_name_53 (hanyu_pinyin VARCHAR, hanzi VARCHAR)[/INST]SELECT hanyu_pinyin FROM table_name_53 WHERE hanzi = "依兰县"</s> |
CREATE TABLE table_name_34 (genre VARCHAR, developer VARCHAR, japanese_title VARCHAR) | SELECT genre FROM table_name_34 WHERE developer = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen" | What genre is the Banpresto game tittled Ranma ½: netsuretsu kakutouhen? | <s>[INST]What genre is the Banpresto game tittled Ranma ½: netsuretsu kakutouhen? Context: CREATE TABLE table_name_34 (genre VARCHAR, developer VARCHAR, japanese_title VARCHAR)[/INST]SELECT genre FROM table_name_34 WHERE developer = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen"</s> |
CREATE TABLE table_14962287_2 (name VARCHAR, league VARCHAR) | SELECT name FROM table_14962287_2 WHERE league = 142 | What name is associated with League 142? | <s>[INST]What name is associated with League 142? Context: CREATE TABLE table_14962287_2 (name VARCHAR, league VARCHAR)[/INST]SELECT name FROM table_14962287_2 WHERE league = 142</s> |
CREATE TABLE table_name_68 (d_43 VARCHAR, d_46 VARCHAR) | SELECT d_43 FROM table_name_68 WHERE d_46 = "r 6" | What is the D 43 when D 46 is R 6? | <s>[INST]What is the D 43 when D 46 is R 6? Context: CREATE TABLE table_name_68 (d_43 VARCHAR, d_46 VARCHAR)[/INST]SELECT d_43 FROM table_name_68 WHERE d_46 = "r 6"</s> |
CREATE TABLE table_name_56 (time VARCHAR, name VARCHAR) | SELECT time FROM table_name_56 WHERE name = "gemma spofforth" | Gemma Spofforth has what time? | <s>[INST]Gemma Spofforth has what time? Context: CREATE TABLE table_name_56 (time VARCHAR, name VARCHAR)[/INST]SELECT time FROM table_name_56 WHERE name = "gemma spofforth"</s> |
CREATE TABLE table_name_96 (Id VARCHAR) | SELECT 1995 FROM table_name_96 WHERE 1990 = "lq" | What is 1995 Grand Slam Tournament if 1990 is LQ? | <s>[INST]What is 1995 Grand Slam Tournament if 1990 is LQ? Context: CREATE TABLE table_name_96 (Id VARCHAR)[/INST]SELECT 1995 FROM table_name_96 WHERE 1990 = "lq"</s> |
CREATE TABLE table_name_10 (avg_g INTEGER, gp_gs VARCHAR, gain VARCHAR) | SELECT MIN(avg_g) FROM table_name_10 WHERE gp_gs = "12-12" AND gain < 16 | What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16? | <s>[INST]What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16? Context: CREATE TABLE table_name_10 (avg_g INTEGER, gp_gs VARCHAR, gain VARCHAR)[/INST]SELECT MIN(avg_g) FROM table_name_10 WHERE gp_gs = "12-12" AND gain < 16</s> |
CREATE TABLE table_name_67 (year_built INTEGER, parish___prestegjeld__ VARCHAR, location_of_the_church VARCHAR) | SELECT AVG(year_built) FROM table_name_67 WHERE parish___prestegjeld__ = "bremanger parish" AND location_of_the_church = "bremanger" | Which Year Built has a Parish (Prestegjeld) of bremanger parish, and a Location of the Church of bremanger? | <s>[INST]Which Year Built has a Parish (Prestegjeld) of bremanger parish, and a Location of the Church of bremanger? Context: CREATE TABLE table_name_67 (year_built INTEGER, parish___prestegjeld__ VARCHAR, location_of_the_church VARCHAR)[/INST]SELECT AVG(year_built) FROM table_name_67 WHERE parish___prestegjeld__ = "bremanger parish" AND location_of_the_church = "bremanger"</s> |
CREATE TABLE table_name_60 (round INTEGER, opponent VARCHAR, location VARCHAR) | SELECT MIN(round) FROM table_name_60 WHERE opponent = "paul cahoon" AND location = "amsterdam, netherlands" | Which is the lowest Round with the Opponent, Paul Cahoon and Location, Amsterdam, Netherlands? | <s>[INST]Which is the lowest Round with the Opponent, Paul Cahoon and Location, Amsterdam, Netherlands? Context: CREATE TABLE table_name_60 (round INTEGER, opponent VARCHAR, location VARCHAR)[/INST]SELECT MIN(round) FROM table_name_60 WHERE opponent = "paul cahoon" AND location = "amsterdam, netherlands"</s> |
CREATE TABLE table_name_24 (draws INTEGER, ballarat_fl VARCHAR, against VARCHAR) | SELECT MAX(draws) FROM table_name_24 WHERE ballarat_fl = "sebastapol" AND against < 1802 | What was the highest number of Draws scored by Sebastapol when the value for Against was less than 1802? | <s>[INST]What was the highest number of Draws scored by Sebastapol when the value for Against was less than 1802? Context: CREATE TABLE table_name_24 (draws INTEGER, ballarat_fl VARCHAR, against VARCHAR)[/INST]SELECT MAX(draws) FROM table_name_24 WHERE ballarat_fl = "sebastapol" AND against < 1802</s> |
CREATE TABLE table_name_38 (erp_w VARCHAR, call_sign VARCHAR) | SELECT erp_w FROM table_name_38 WHERE call_sign = "w291ch" | If the call sign is w291ch what's the ERP W corresponding to that sign? | <s>[INST]If the call sign is w291ch what's the ERP W corresponding to that sign? Context: CREATE TABLE table_name_38 (erp_w VARCHAR, call_sign VARCHAR)[/INST]SELECT erp_w FROM table_name_38 WHERE call_sign = "w291ch"</s> |
CREATE TABLE table_11318462_29 (founded VARCHAR, enrolment VARCHAR) | SELECT COUNT(founded) FROM table_11318462_29 WHERE enrolment = 850 | How many schools have an enrollment of 850? | <s>[INST]How many schools have an enrollment of 850? Context: CREATE TABLE table_11318462_29 (founded VARCHAR, enrolment VARCHAR)[/INST]SELECT COUNT(founded) FROM table_11318462_29 WHERE enrolment = 850</s> |
CREATE TABLE table_name_47 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_47 WHERE silver = 0 AND bronze > 1 | What is the total number of gold medals of the nation with 0 silver and more than 1 bronze? | <s>[INST]What is the total number of gold medals of the nation with 0 silver and more than 1 bronze? Context: CREATE TABLE table_name_47 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_47 WHERE silver = 0 AND bronze > 1</s> |
CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR) | SELECT title FROM table_name_81 WHERE director = "stephen fossatti" | On what title was Stephen Fossatti the director of? | <s>[INST]On what title was Stephen Fossatti the director of? Context: CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR)[/INST]SELECT title FROM table_name_81 WHERE director = "stephen fossatti"</s> |
CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR) | SELECT AVG(fumbles) FROM table_name_27 WHERE avg > 5.4 AND yards < 164 | What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164? | <s>[INST]What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164? Context: CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR)[/INST]SELECT AVG(fumbles) FROM table_name_27 WHERE avg > 5.4 AND yards < 164</s> |
CREATE TABLE table_name_87 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_87 WHERE record = "8-7" | Who was the opponent when the Seattle Seahawks had a record of 8-7? | <s>[INST]Who was the opponent when the Seattle Seahawks had a record of 8-7? Context: CREATE TABLE table_name_87 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_87 WHERE record = "8-7"</s> |
CREATE TABLE table_26961951_4 (us_viewers__million_ VARCHAR, written_by VARCHAR) | SELECT us_viewers__million_ FROM table_26961951_4 WHERE written_by = "Alison McDonald" | How many viewers in millions did the Alison McDonald episode get? | <s>[INST]How many viewers in millions did the Alison McDonald episode get? Context: CREATE TABLE table_26961951_4 (us_viewers__million_ VARCHAR, written_by VARCHAR)[/INST]SELECT us_viewers__million_ FROM table_26961951_4 WHERE written_by = "Alison McDonald"</s> |
CREATE TABLE table_name_42 (year VARCHAR, class VARCHAR) | SELECT year FROM table_name_42 WHERE class = "wsc" | What year has WSC class? | <s>[INST]What year has WSC class? Context: CREATE TABLE table_name_42 (year VARCHAR, class VARCHAR)[/INST]SELECT year FROM table_name_42 WHERE class = "wsc"</s> |
CREATE TABLE table_name_8 (founded INTEGER, affiliation VARCHAR) | SELECT MIN(founded) FROM table_name_8 WHERE affiliation = "community college" | What is the lowest number of students at the community college? | <s>[INST]What is the lowest number of students at the community college? Context: CREATE TABLE table_name_8 (founded INTEGER, affiliation VARCHAR)[/INST]SELECT MIN(founded) FROM table_name_8 WHERE affiliation = "community college"</s> |
CREATE TABLE table_name_17 (census_ranking VARCHAR, area_km_2 INTEGER) | SELECT census_ranking FROM table_name_17 WHERE area_km_2 > 578.28 | What census ranking has an area greater than 578.28 km2? | <s>[INST]What census ranking has an area greater than 578.28 km2? Context: CREATE TABLE table_name_17 (census_ranking VARCHAR, area_km_2 INTEGER)[/INST]SELECT census_ranking FROM table_name_17 WHERE area_km_2 > 578.28</s> |
CREATE TABLE table_26139405_1 (title VARCHAR, viewers__in_millions_ VARCHAR) | SELECT title FROM table_26139405_1 WHERE viewers__in_millions_ = "8.51" | What is the name of the episode that had 8.51 million viewers? | <s>[INST]What is the name of the episode that had 8.51 million viewers? Context: CREATE TABLE table_26139405_1 (title VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT title FROM table_26139405_1 WHERE viewers__in_millions_ = "8.51"</s> |
CREATE TABLE table_26561509_1 (patient_portrayer VARCHAR, production_code VARCHAR) | SELECT patient_portrayer FROM table_26561509_1 WHERE production_code = "3T5004" | Who is the patient portrayer of the episode with the production code 3T5004? | <s>[INST]Who is the patient portrayer of the episode with the production code 3T5004? Context: CREATE TABLE table_26561509_1 (patient_portrayer VARCHAR, production_code VARCHAR)[/INST]SELECT patient_portrayer FROM table_26561509_1 WHERE production_code = "3T5004"</s> |
CREATE TABLE table_name_72 (constructor VARCHAR, fastest_lap VARCHAR) | SELECT constructor FROM table_name_72 WHERE fastest_lap = "nelson piquet" | What was the constructor for the fastest nelson piquet? | <s>[INST]What was the constructor for the fastest nelson piquet? Context: CREATE TABLE table_name_72 (constructor VARCHAR, fastest_lap VARCHAR)[/INST]SELECT constructor FROM table_name_72 WHERE fastest_lap = "nelson piquet"</s> |
CREATE TABLE table_26144632_1 (location VARCHAR, dates VARCHAR) | SELECT location FROM table_26144632_1 WHERE dates = "Jul 8-11" | What is the location for tournament on Jul 8-11? | <s>[INST]What is the location for tournament on Jul 8-11? Context: CREATE TABLE table_26144632_1 (location VARCHAR, dates VARCHAR)[/INST]SELECT location FROM table_26144632_1 WHERE dates = "Jul 8-11"</s> |
CREATE TABLE table_name_44 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_44 WHERE score = 71 - 72 - 73 - 69 = 285 | Which country has a score of 71-72-73-69=285? | <s>[INST]Which country has a score of 71-72-73-69=285? Context: CREATE TABLE table_name_44 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_44 WHERE score = 71 - 72 - 73 - 69 = 285</s> |
CREATE TABLE table_name_24 (tv_time VARCHAR, date VARCHAR) | SELECT tv_time FROM table_name_24 WHERE date = "december 6, 1998" | What was the tv time on december 6, 1998? | <s>[INST]What was the tv time on december 6, 1998? Context: CREATE TABLE table_name_24 (tv_time VARCHAR, date VARCHAR)[/INST]SELECT tv_time FROM table_name_24 WHERE date = "december 6, 1998"</s> |
CREATE TABLE table_name_27 (top_5 INTEGER, wins INTEGER) | SELECT MIN(top_5) FROM table_name_27 WHERE wins < 0 | Which Top-5 is the lowest one that has Wins smaller than 0? | <s>[INST]Which Top-5 is the lowest one that has Wins smaller than 0? Context: CREATE TABLE table_name_27 (top_5 INTEGER, wins INTEGER)[/INST]SELECT MIN(top_5) FROM table_name_27 WHERE wins < 0</s> |
CREATE TABLE table_name_55 (score VARCHAR, december VARCHAR) | SELECT score FROM table_name_55 WHERE december = 10 | Can you tell me the Score that has the December of 10? | <s>[INST]Can you tell me the Score that has the December of 10? Context: CREATE TABLE table_name_55 (score VARCHAR, december VARCHAR)[/INST]SELECT score FROM table_name_55 WHERE december = 10</s> |
CREATE TABLE table_2538117_7 (founding_date VARCHAR, letters VARCHAR) | SELECT founding_date FROM table_2538117_7 WHERE letters = "ΚΨΚ" | What is the founding date if the letters are κψκ? | <s>[INST]What is the founding date if the letters are κψκ? Context: CREATE TABLE table_2538117_7 (founding_date VARCHAR, letters VARCHAR)[/INST]SELECT founding_date FROM table_2538117_7 WHERE letters = "ΚΨΚ"</s> |
CREATE TABLE table_27495117_3 (position_in_table VARCHAR, date_of_appointment VARCHAR) | SELECT position_in_table FROM table_27495117_3 WHERE date_of_appointment = "17 January 2011" | What was the position of appointment date 17 january 2011 | <s>[INST]What was the position of appointment date 17 january 2011 Context: CREATE TABLE table_27495117_3 (position_in_table VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT position_in_table FROM table_27495117_3 WHERE date_of_appointment = "17 January 2011"</s> |
CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR) | SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums" | with name meridian condominiums what is number of floors? | <s>[INST]with name meridian condominiums what is number of floors? Context: CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR)[/INST]SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums"</s> |
CREATE TABLE table_28026156_1 (rank__week_ VARCHAR, written_by VARCHAR) | SELECT rank__week_ FROM table_28026156_1 WHERE written_by = "Thomas L. Moran" | Where did the episode rank that was written by thomas l. moran? | <s>[INST]Where did the episode rank that was written by thomas l. moran? Context: CREATE TABLE table_28026156_1 (rank__week_ VARCHAR, written_by VARCHAR)[/INST]SELECT rank__week_ FROM table_28026156_1 WHERE written_by = "Thomas L. Moran"</s> |
CREATE TABLE table_name_69 (icao VARCHAR, iata VARCHAR) | SELECT icao FROM table_name_69 WHERE iata = "rgn" | Name the ICAO for IATA of rgn | <s>[INST]Name the ICAO for IATA of rgn Context: CREATE TABLE table_name_69 (icao VARCHAR, iata VARCHAR)[/INST]SELECT icao FROM table_name_69 WHERE iata = "rgn"</s> |
CREATE TABLE table_1888051_1 (area__km²_ VARCHAR, province VARCHAR) | SELECT area__km²_ FROM table_1888051_1 WHERE province = "Monseñor Nouel" | when province is monseñor nouel, what is the area (km²)? | <s>[INST]when province is monseñor nouel, what is the area (km²)? Context: CREATE TABLE table_1888051_1 (area__km²_ VARCHAR, province VARCHAR)[/INST]SELECT area__km²_ FROM table_1888051_1 WHERE province = "Monseñor Nouel"</s> |
CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Name VARCHAR, journalist_ID VARCHAR) | SELECT Name FROM journalist WHERE NOT journalist_ID IN (SELECT journalist_ID FROM news_report) | List the names of journalists who have not reported any event. | <s>[INST]List the names of journalists who have not reported any event. Context: CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Name VARCHAR, journalist_ID VARCHAR)[/INST]SELECT Name FROM journalist WHERE NOT journalist_ID IN (SELECT journalist_ID FROM news_report)</s> |
CREATE TABLE table_name_70 (sport VARCHAR, date VARCHAR, winning_team VARCHAR) | SELECT sport FROM table_name_70 WHERE date = "march 17, 2006" AND winning_team = "iowa state" | WHich port is on march 17, 2006 and has a Winning team of iowa state? | <s>[INST]WHich port is on march 17, 2006 and has a Winning team of iowa state? Context: CREATE TABLE table_name_70 (sport VARCHAR, date VARCHAR, winning_team VARCHAR)[/INST]SELECT sport FROM table_name_70 WHERE date = "march 17, 2006" AND winning_team = "iowa state"</s> |
CREATE TABLE EVENTS (event_id VARCHAR, event_details VARCHAR, Event_ID VARCHAR); CREATE TABLE Participants_in_Events (Event_ID VARCHAR) | SELECT T1.event_id, T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_ID HAVING COUNT(*) > 1 | What are the ids and details of events that have more than one participants? | <s>[INST]What are the ids and details of events that have more than one participants? Context: CREATE TABLE EVENTS (event_id VARCHAR, event_details VARCHAR, Event_ID VARCHAR); CREATE TABLE Participants_in_Events (Event_ID VARCHAR)[/INST]SELECT T1.event_id, T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_ID HAVING COUNT(*) > 1</s> |
CREATE TABLE table_17933600_2 (outgoing_manage VARCHAR, incoming_manager VARCHAR) | SELECT outgoing_manage FROM table_17933600_2 WHERE incoming_manager = "João Pereira" | Who was the outgoing manager when the incoming manager was joão pereira? | <s>[INST]Who was the outgoing manager when the incoming manager was joão pereira? Context: CREATE TABLE table_17933600_2 (outgoing_manage VARCHAR, incoming_manager VARCHAR)[/INST]SELECT outgoing_manage FROM table_17933600_2 WHERE incoming_manager = "João Pereira"</s> |
CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR) | SELECT arena__capacity_ FROM table_19526911_1 WHERE head_coach = "Roberto Serniotti" | What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti? | <s>[INST]What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti? Context: CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR)[/INST]SELECT arena__capacity_ FROM table_19526911_1 WHERE head_coach = "Roberto Serniotti"</s> |
CREATE TABLE table_name_47 (h_s_asst_principal VARCHAR, glendale_principal VARCHAR, year VARCHAR) | SELECT h_s_asst_principal FROM table_name_47 WHERE glendale_principal = "joyce brace" AND year = "2002-2003" | What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003? | <s>[INST]What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003? Context: CREATE TABLE table_name_47 (h_s_asst_principal VARCHAR, glendale_principal VARCHAR, year VARCHAR)[/INST]SELECT h_s_asst_principal FROM table_name_47 WHERE glendale_principal = "joyce brace" AND year = "2002-2003"</s> |
CREATE TABLE table_name_94 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, district VARCHAR) | SELECT constituency_number FROM table_name_94 WHERE reserved_for___sc___st__none_ = "none" AND district = "seoni" | What's the constituency number of the Seoni district and has none reserved? | <s>[INST]What's the constituency number of the Seoni district and has none reserved? Context: CREATE TABLE table_name_94 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, district VARCHAR)[/INST]SELECT constituency_number FROM table_name_94 WHERE reserved_for___sc___st__none_ = "none" AND district = "seoni"</s> |
CREATE TABLE table_name_64 (feature VARCHAR, driving_force_pro VARCHAR, driving_force_ex VARCHAR, driving_force_gt VARCHAR) | SELECT feature FROM table_name_64 WHERE driving_force_ex = "no" AND driving_force_gt = "yes" AND driving_force_pro = "yes" | Driving Force EX of no, and a Driving Force GT of yes, and a Driving Force Pro of yes has what feature? | <s>[INST]Driving Force EX of no, and a Driving Force GT of yes, and a Driving Force Pro of yes has what feature? Context: CREATE TABLE table_name_64 (feature VARCHAR, driving_force_pro VARCHAR, driving_force_ex VARCHAR, driving_force_gt VARCHAR)[/INST]SELECT feature FROM table_name_64 WHERE driving_force_ex = "no" AND driving_force_gt = "yes" AND driving_force_pro = "yes"</s> |
CREATE TABLE table_name_63 (venue VARCHAR, score VARCHAR, date VARCHAR) | SELECT venue FROM table_name_63 WHERE score = "0-0" AND date = "march 7, 2007" | What was the location for the match held on March 7, 2007, which ended with a score of 0-0? | <s>[INST]What was the location for the match held on March 7, 2007, which ended with a score of 0-0? Context: CREATE TABLE table_name_63 (venue VARCHAR, score VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_63 WHERE score = "0-0" AND date = "march 7, 2007"</s> |
CREATE TABLE table_name_6 (socialist_ticket VARCHAR, democratic_ticket VARCHAR) | SELECT socialist_ticket FROM table_name_6 WHERE democratic_ticket = "george k. shuler" | What is the name on the Socialist ticket when the Democratic ticket is george k. shuler? | <s>[INST]What is the name on the Socialist ticket when the Democratic ticket is george k. shuler? Context: CREATE TABLE table_name_6 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)[/INST]SELECT socialist_ticket FROM table_name_6 WHERE democratic_ticket = "george k. shuler"</s> |
CREATE TABLE table_name_40 (location VARCHAR, iteration VARCHAR) | SELECT location FROM table_name_40 WHERE iteration = "10th" | What is the Location of the 10th Iteration? | <s>[INST]What is the Location of the 10th Iteration? Context: CREATE TABLE table_name_40 (location VARCHAR, iteration VARCHAR)[/INST]SELECT location FROM table_name_40 WHERE iteration = "10th"</s> |
CREATE TABLE table_name_56 (event VARCHAR, venue VARCHAR) | SELECT event FROM table_name_56 WHERE venue = "erfurt, germany" | What event took place in Erfurt, Germany? | <s>[INST]What event took place in Erfurt, Germany? Context: CREATE TABLE table_name_56 (event VARCHAR, venue VARCHAR)[/INST]SELECT event FROM table_name_56 WHERE venue = "erfurt, germany"</s> |
CREATE TABLE table_175442_1 (scientific_name VARCHAR, common_name VARCHAR) | SELECT scientific_name FROM table_175442_1 WHERE common_name = "Veiled chameleon" | Name the scientific name for veiled chameleon | <s>[INST]Name the scientific name for veiled chameleon Context: CREATE TABLE table_175442_1 (scientific_name VARCHAR, common_name VARCHAR)[/INST]SELECT scientific_name FROM table_175442_1 WHERE common_name = "Veiled chameleon"</s> |
CREATE TABLE table_25527255_2 (shirt_sponsor VARCHAR, team VARCHAR) | SELECT shirt_sponsor FROM table_25527255_2 WHERE team = "FC Bunyodkor" | Who is the shirt sponsor for FC Bunyodkor? | <s>[INST]Who is the shirt sponsor for FC Bunyodkor? Context: CREATE TABLE table_25527255_2 (shirt_sponsor VARCHAR, team VARCHAR)[/INST]SELECT shirt_sponsor FROM table_25527255_2 WHERE team = "FC Bunyodkor"</s> |
CREATE TABLE table_name_93 (division VARCHAR, year VARCHAR) | SELECT division FROM table_name_93 WHERE year = 1993 | What divisions was in the year 1993? | <s>[INST]What divisions was in the year 1993? Context: CREATE TABLE table_name_93 (division VARCHAR, year VARCHAR)[/INST]SELECT division FROM table_name_93 WHERE year = 1993</s> |
CREATE TABLE table_name_21 (sales VARCHAR, song_title VARCHAR) | SELECT COUNT(sales) FROM table_name_21 WHERE song_title = "21 seconds" | What were the total number of sales for the song 21 Seconds? | <s>[INST]What were the total number of sales for the song 21 Seconds? Context: CREATE TABLE table_name_21 (sales VARCHAR, song_title VARCHAR)[/INST]SELECT COUNT(sales) FROM table_name_21 WHERE song_title = "21 seconds"</s> |
CREATE TABLE table_21536557_2 (name VARCHAR, time__cet_ VARCHAR) | SELECT name FROM table_21536557_2 WHERE time__cet_ = "09:58" | Who is every name for time(cet) of 09:58? | <s>[INST]Who is every name for time(cet) of 09:58? Context: CREATE TABLE table_21536557_2 (name VARCHAR, time__cet_ VARCHAR)[/INST]SELECT name FROM table_21536557_2 WHERE time__cet_ = "09:58"</s> |
CREATE TABLE table_26336060_19 (mintage VARCHAR, location VARCHAR, denomination VARCHAR) | SELECT mintage FROM table_26336060_19 WHERE location = "Sion" AND denomination = "00500 500 francs" | What is the mintage for a location of Sion and a denomination of 00500 500 Francs? | <s>[INST]What is the mintage for a location of Sion and a denomination of 00500 500 Francs? Context: CREATE TABLE table_26336060_19 (mintage VARCHAR, location VARCHAR, denomination VARCHAR)[/INST]SELECT mintage FROM table_26336060_19 WHERE location = "Sion" AND denomination = "00500 500 francs"</s> |
CREATE TABLE table_name_36 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_36 WHERE opponent = "matt serra" | What was the record for opponent Matt Serra? | <s>[INST]What was the record for opponent Matt Serra? Context: CREATE TABLE table_name_36 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_36 WHERE opponent = "matt serra"</s> |
CREATE TABLE table_name_6 (name VARCHAR, lane VARCHAR, heat VARCHAR, nationality VARCHAR) | SELECT name FROM table_name_6 WHERE heat > 4 AND nationality = "germany" AND lane = 7 | Who has more than 4 heat for Germany and 7 lanes? | <s>[INST]Who has more than 4 heat for Germany and 7 lanes? Context: CREATE TABLE table_name_6 (name VARCHAR, lane VARCHAR, heat VARCHAR, nationality VARCHAR)[/INST]SELECT name FROM table_name_6 WHERE heat > 4 AND nationality = "germany" AND lane = 7</s> |
CREATE TABLE table_name_36 (silver VARCHAR, rank VARCHAR, bronze VARCHAR) | SELECT COUNT(silver) FROM table_name_36 WHERE rank = "4" AND bronze < 12 | How much Silver has a Rank of 4, and a Bronze smaller than 12? | <s>[INST]How much Silver has a Rank of 4, and a Bronze smaller than 12? Context: CREATE TABLE table_name_36 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_36 WHERE rank = "4" AND bronze < 12</s> |
CREATE TABLE table_name_48 (country VARCHAR, name VARCHAR) | SELECT country FROM table_name_48 WHERE name = "kanu" | WHAT IS THE COUNTRY WITH NAME OF KANU? | <s>[INST]WHAT IS THE COUNTRY WITH NAME OF KANU? Context: CREATE TABLE table_name_48 (country VARCHAR, name VARCHAR)[/INST]SELECT country FROM table_name_48 WHERE name = "kanu"</s> |
CREATE TABLE table_2135222_2 (traditional VARCHAR, simplified VARCHAR) | SELECT traditional FROM table_2135222_2 WHERE simplified = "永城市" | What is the traditional form for 永城市? | <s>[INST]What is the traditional form for 永城市? Context: CREATE TABLE table_2135222_2 (traditional VARCHAR, simplified VARCHAR)[/INST]SELECT traditional FROM table_2135222_2 WHERE simplified = "永城市"</s> |
CREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR) | SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka" | Who was the individual in the event of 1998 Pokljuka? | <s>[INST]Who was the individual in the event of 1998 Pokljuka? Context: CREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR)[/INST]SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka"</s> |
CREATE TABLE table_17288825_10 (high_points VARCHAR, location_attendance VARCHAR) | SELECT COUNT(high_points) FROM table_17288825_10 WHERE location_attendance = "US Airways Center 18,422" | How many different items appear in the high points column when the location attendance was US Airways Center 18,422? | <s>[INST]How many different items appear in the high points column when the location attendance was US Airways Center 18,422? Context: CREATE TABLE table_17288825_10 (high_points VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_17288825_10 WHERE location_attendance = "US Airways Center 18,422"</s> |
CREATE TABLE table_name_72 (college VARCHAR, position VARCHAR, round VARCHAR) | SELECT college FROM table_name_72 WHERE position = "defensive end" AND round = 2 | What college was the defensive end pick that was picked in round 2? | <s>[INST]What college was the defensive end pick that was picked in round 2? Context: CREATE TABLE table_name_72 (college VARCHAR, position VARCHAR, round VARCHAR)[/INST]SELECT college FROM table_name_72 WHERE position = "defensive end" AND round = 2</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.