context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_20 WHERE away_team = "south melbourne" | Who is the home team in the game where South Melbourne was the away team? | <s>[INST]Who is the home team in the game where South Melbourne was the away team? Context: CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_20 WHERE away_team = "south melbourne"</s> |
CREATE TABLE table_name_61 (team__number1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_61 WHERE team__number1 = "alemannia aachen" | Tell me the 2nd leg for alemannia aachen | <s>[INST]Tell me the 2nd leg for alemannia aachen Context: CREATE TABLE table_name_61 (team__number1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_61 WHERE team__number1 = "alemannia aachen"</s> |
CREATE TABLE table_name_38 (score VARCHAR, arena VARCHAR) | SELECT score FROM table_name_38 WHERE arena = "broadmoor arena" | What was the score of the game at the Broadmoor Arena? | <s>[INST]What was the score of the game at the Broadmoor Arena? Context: CREATE TABLE table_name_38 (score VARCHAR, arena VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE arena = "broadmoor arena"</s> |
CREATE TABLE table_name_98 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_98 WHERE game = "4" | What is the Score of Game 4? | <s>[INST]What is the Score of Game 4? Context: CREATE TABLE table_name_98 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_98 WHERE game = "4"</s> |
CREATE TABLE table_27714573_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT directed_by FROM table_27714573_1 WHERE us_viewers__millions_ = "20.5" | who are the directors of the episode that had 20.5 millions of north american viewers? | <s>[INST]who are the directors of the episode that had 20.5 millions of north american viewers? Context: CREATE TABLE table_27714573_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT directed_by FROM table_27714573_1 WHERE us_viewers__millions_ = "20.5"</s> |
CREATE TABLE table_20026849_1 (destination VARCHAR, winner VARCHAR) | SELECT destination FROM table_20026849_1 WHERE winner = "Anwar Syed" | What was the destination of the season won by Anwar Syed? | <s>[INST]What was the destination of the season won by Anwar Syed? Context: CREATE TABLE table_20026849_1 (destination VARCHAR, winner VARCHAR)[/INST]SELECT destination FROM table_20026849_1 WHERE winner = "Anwar Syed"</s> |
CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_26 WHERE date = "may 9" | What score has may 9 as the date? | <s>[INST]What score has may 9 as the date? Context: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_26 WHERE date = "may 9"</s> |
CREATE TABLE table_name_99 (silver INTEGER, rank INTEGER) | SELECT MIN(silver) FROM table_name_99 WHERE rank > 8 | What is the fewest number of silver medals a nation who ranked below 8 received? | <s>[INST]What is the fewest number of silver medals a nation who ranked below 8 received? Context: CREATE TABLE table_name_99 (silver INTEGER, rank INTEGER)[/INST]SELECT MIN(silver) FROM table_name_99 WHERE rank > 8</s> |
CREATE TABLE table_15417439_1 (common_name VARCHAR, accession_number VARCHAR) | SELECT common_name FROM table_15417439_1 WHERE accession_number = "XP_852505.1" | What kind of animal corresponds to the accession number xp_852505.1? | <s>[INST]What kind of animal corresponds to the accession number xp_852505.1? Context: CREATE TABLE table_15417439_1 (common_name VARCHAR, accession_number VARCHAR)[/INST]SELECT common_name FROM table_15417439_1 WHERE accession_number = "XP_852505.1"</s> |
CREATE TABLE table_2147588_3 (successor VARCHAR, vacator VARCHAR) | SELECT successor FROM table_2147588_3 WHERE vacator = "New seat" | Who was the successor for the new seat? | <s>[INST]Who was the successor for the new seat? Context: CREATE TABLE table_2147588_3 (successor VARCHAR, vacator VARCHAR)[/INST]SELECT successor FROM table_2147588_3 WHERE vacator = "New seat"</s> |
CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR) | SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3 | Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3? | <s>[INST]Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3? Context: CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR)[/INST]SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3</s> |
CREATE TABLE table_18335117_2 (production_code INTEGER, writer VARCHAR) | SELECT MAX(production_code) FROM table_18335117_2 WHERE writer = "Tim Loane" | What is the highest production code of an episode written by Tim Loane? | <s>[INST]What is the highest production code of an episode written by Tim Loane? Context: CREATE TABLE table_18335117_2 (production_code INTEGER, writer VARCHAR)[/INST]SELECT MAX(production_code) FROM table_18335117_2 WHERE writer = "Tim Loane"</s> |
CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = "pierre bland" | How many rounds did Pierre Bland have a pick larger than 148? | <s>[INST]How many rounds did Pierre Bland have a pick larger than 148? Context: CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = "pierre bland"</s> |
CREATE TABLE table_name_19 (name VARCHAR, location VARCHAR, unit VARCHAR) | SELECT name FROM table_name_19 WHERE location = "brazil" AND unit = "caturrita formation" | What is the name of the non-mammal from brazil of the unit of caturrita formation? | <s>[INST]What is the name of the non-mammal from brazil of the unit of caturrita formation? Context: CREATE TABLE table_name_19 (name VARCHAR, location VARCHAR, unit VARCHAR)[/INST]SELECT name FROM table_name_19 WHERE location = "brazil" AND unit = "caturrita formation"</s> |
CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR) | SELECT MAX(crowd) FROM table_name_25 WHERE home_team = "geelong" | What was the highest attendance for a game where Geelong was the home team? | <s>[INST]What was the highest attendance for a game where Geelong was the home team? Context: CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_25 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_14 (team_2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_14 WHERE team_2 = "leeds united" | What was the 1st leg for Team 2, Leeds United? | <s>[INST]What was the 1st leg for Team 2, Leeds United? Context: CREATE TABLE table_name_14 (team_2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_14 WHERE team_2 = "leeds united"</s> |
CREATE TABLE table_name_36 (position INTEGER, played VARCHAR, goal_difference VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT SUM(position) FROM table_name_36 WHERE drawn = 10 AND lost < 25 AND goal_difference = "+20" AND played < 42 | What is the sum of the positions for the player who had less than 25 losses, a goal difference of +20, 10 draws, and played less than 42? | <s>[INST]What is the sum of the positions for the player who had less than 25 losses, a goal difference of +20, 10 draws, and played less than 42? Context: CREATE TABLE table_name_36 (position INTEGER, played VARCHAR, goal_difference VARCHAR, drawn VARCHAR, lost VARCHAR)[/INST]SELECT SUM(position) FROM table_name_36 WH... |
CREATE TABLE table_name_44 (game INTEGER, record VARCHAR) | SELECT MAX(game) FROM table_name_44 WHERE record = "20–4" | Record of 20–4 involved what highest game? | <s>[INST]Record of 20–4 involved what highest game? Context: CREATE TABLE table_name_44 (game INTEGER, record VARCHAR)[/INST]SELECT MAX(game) FROM table_name_44 WHERE record = "20–4"</s> |
CREATE TABLE table_name_24 (smoke_point VARCHAR, polyunsaturated_fat VARCHAR) | SELECT smoke_point FROM table_name_24 WHERE polyunsaturated_fat = "69g (4g in high oleic variety)" | What is the smoke point when the polyunsaturated fat is 69g (4g in high oleic variety)? | <s>[INST]What is the smoke point when the polyunsaturated fat is 69g (4g in high oleic variety)? Context: CREATE TABLE table_name_24 (smoke_point VARCHAR, polyunsaturated_fat VARCHAR)[/INST]SELECT smoke_point FROM table_name_24 WHERE polyunsaturated_fat = "69g (4g in high oleic variety)"</s> |
CREATE TABLE table_name_68 (score VARCHAR, set_3 VARCHAR) | SELECT score FROM table_name_68 WHERE set_3 = "26–28" | What is the Score when the set 3 is 26–28? | <s>[INST]What is the Score when the set 3 is 26–28? Context: CREATE TABLE table_name_68 (score VARCHAR, set_3 VARCHAR)[/INST]SELECT score FROM table_name_68 WHERE set_3 = "26–28"</s> |
CREATE TABLE Faculty_participates_in (facID VARCHAR); CREATE TABLE Faculty (facID VARCHAR, fname VARCHAR, lname VARCHAR) | SELECT COUNT(*) FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID WHERE T1.fname = "Mark" AND T1.lname = "Giuliano" | How many activities does Mark Giuliano participate in? | <s>[INST]How many activities does Mark Giuliano participate in? Context: CREATE TABLE Faculty_participates_in (facID VARCHAR); CREATE TABLE Faculty (facID VARCHAR, fname VARCHAR, lname VARCHAR)[/INST]SELECT COUNT(*) FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID WHERE T1.fname = "Mark" AND... |
CREATE TABLE table_name_79 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_79 WHERE opponent = "alexis vila" | What was the record after the bout with Alexis Vila? | <s>[INST]What was the record after the bout with Alexis Vila? Context: CREATE TABLE table_name_79 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_79 WHERE opponent = "alexis vila"</s> |
CREATE TABLE table_name_14 (color VARCHAR, model__number VARCHAR) | SELECT color FROM table_name_14 WHERE model__number = "pd-kb400w" | What color is model # pd-kb400w? | <s>[INST]What color is model # pd-kb400w? Context: CREATE TABLE table_name_14 (color VARCHAR, model__number VARCHAR)[/INST]SELECT color FROM table_name_14 WHERE model__number = "pd-kb400w"</s> |
CREATE TABLE table_1147705_1 (engine_displacement VARCHAR, engine_type VARCHAR) | SELECT COUNT(engine_displacement) FROM table_1147705_1 WHERE engine_type = "B5204 T3" | How many engine b5204 t3? | <s>[INST]How many engine b5204 t3? Context: CREATE TABLE table_1147705_1 (engine_displacement VARCHAR, engine_type VARCHAR)[/INST]SELECT COUNT(engine_displacement) FROM table_1147705_1 WHERE engine_type = "B5204 T3"</s> |
CREATE TABLE table_name_56 (pronunciation_b VARCHAR, meaning_a VARCHAR) | SELECT pronunciation_b FROM table_name_56 WHERE meaning_a = "grind" | Name the pronunciation b for meaning of grind | <s>[INST]Name the pronunciation b for meaning of grind Context: CREATE TABLE table_name_56 (pronunciation_b VARCHAR, meaning_a VARCHAR)[/INST]SELECT pronunciation_b FROM table_name_56 WHERE meaning_a = "grind"</s> |
CREATE TABLE table_name_40 (city_of_license VARCHAR, class VARCHAR) | SELECT city_of_license FROM table_name_40 WHERE class = "lp" | What is the city of license that has lp as the class? | <s>[INST]What is the city of license that has lp as the class? Context: CREATE TABLE table_name_40 (city_of_license VARCHAR, class VARCHAR)[/INST]SELECT city_of_license FROM table_name_40 WHERE class = "lp"</s> |
CREATE TABLE table_name_6 (race_2 VARCHAR, race_1 VARCHAR) | SELECT race_2 FROM table_name_6 WHERE race_1 = "30" | What is Race 2, when Race 1 is 30? | <s>[INST]What is Race 2, when Race 1 is 30? Context: CREATE TABLE table_name_6 (race_2 VARCHAR, race_1 VARCHAR)[/INST]SELECT race_2 FROM table_name_6 WHERE race_1 = "30"</s> |
CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_65 WHERE away_team = "hawthorn" | Who was the home team that played against hawthorn? | <s>[INST]Who was the home team that played against hawthorn? Context: CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_65 WHERE away_team = "hawthorn"</s> |
CREATE TABLE table_name_22 (grid INTEGER, rider VARCHAR) | SELECT MIN(grid) FROM table_name_22 WHERE rider = "ruben xaus" | What is the Grid for Rider Ruben Xaus? | <s>[INST]What is the Grid for Rider Ruben Xaus? Context: CREATE TABLE table_name_22 (grid INTEGER, rider VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_22 WHERE rider = "ruben xaus"</s> |
CREATE TABLE table_23308178_8 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_23308178_8 WHERE date = "February 5" | How many games did they play on february 5? | <s>[INST]How many games did they play on february 5? Context: CREATE TABLE table_23308178_8 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_23308178_8 WHERE date = "February 5"</s> |
CREATE TABLE table_name_66 (result VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT result FROM table_name_66 WHERE competition = "1998 fifa world cup qualification" AND venue = "bangkok" | What's the Result of the Competition of 1998 FIFA World Cup Qualification with the Venue of Bangkok? | <s>[INST]What's the Result of the Competition of 1998 FIFA World Cup Qualification with the Venue of Bangkok? Context: CREATE TABLE table_name_66 (result VARCHAR, competition VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_66 WHERE competition = "1998 fifa world cup qualification" AND venue = "bangkok"</s> |
CREATE TABLE table_24307126_3 (april_2013_cum_rank VARCHAR, rank_2012 VARCHAR) | SELECT COUNT(april_2013_cum_rank) FROM table_24307126_3 WHERE rank_2012 = 225 | Name the number of rank for april 2013 for 2012 ran kbeing 225 | <s>[INST]Name the number of rank for april 2013 for 2012 ran kbeing 225 Context: CREATE TABLE table_24307126_3 (april_2013_cum_rank VARCHAR, rank_2012 VARCHAR)[/INST]SELECT COUNT(april_2013_cum_rank) FROM table_24307126_3 WHERE rank_2012 = 225</s> |
CREATE TABLE table_name_91 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_91 WHERE opponent = "brandon bledsoe" | In the fight against Brandon Bledsoe, how many rounds did the fight last? | <s>[INST]In the fight against Brandon Bledsoe, how many rounds did the fight last? Context: CREATE TABLE table_name_91 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_91 WHERE opponent = "brandon bledsoe"</s> |
CREATE TABLE table_23501776_16 (points VARCHAR, new_points VARCHAR) | SELECT COUNT(points) AS defending FROM table_23501776_16 WHERE new_points = 1075 | Name the number of points defending for 1075 | <s>[INST]Name the number of points defending for 1075 Context: CREATE TABLE table_23501776_16 (points VARCHAR, new_points VARCHAR)[/INST]SELECT COUNT(points) AS defending FROM table_23501776_16 WHERE new_points = 1075</s> |
CREATE TABLE table_name_3 (sport VARCHAR, venue VARCHAR) | SELECT sport FROM table_name_3 WHERE venue = "wildcat stadium" | What sport happened at Wildcat Stadium? | <s>[INST]What sport happened at Wildcat Stadium? Context: CREATE TABLE table_name_3 (sport VARCHAR, venue VARCHAR)[/INST]SELECT sport FROM table_name_3 WHERE venue = "wildcat stadium"</s> |
CREATE TABLE table_name_35 (mission VARCHAR, local_position VARCHAR, resident_country VARCHAR) | SELECT mission FROM table_name_35 WHERE local_position = "ambassador" AND resident_country = "democratic republic of congo" | What is the mission that has ambassador of local position, and a resident country of democratic republic of congo? | <s>[INST]What is the mission that has ambassador of local position, and a resident country of democratic republic of congo? Context: CREATE TABLE table_name_35 (mission VARCHAR, local_position VARCHAR, resident_country VARCHAR)[/INST]SELECT mission FROM table_name_35 WHERE local_position = "ambassador" AND resident_cou... |
CREATE TABLE table_name_34 (peak VARCHAR, hk_viewers VARCHAR, rank VARCHAR) | SELECT COUNT(peak) FROM table_name_34 WHERE hk_viewers = "2.23 million" AND rank > 2 | How many entries have a HK viewers of 2.23 million, and a Rank below 2? | <s>[INST]How many entries have a HK viewers of 2.23 million, and a Rank below 2? Context: CREATE TABLE table_name_34 (peak VARCHAR, hk_viewers VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(peak) FROM table_name_34 WHERE hk_viewers = "2.23 million" AND rank > 2</s> |
CREATE TABLE table_name_4 (goals INTEGER, player VARCHAR) | SELECT MIN(goals) FROM table_name_4 WHERE player = "noel carroll" | Which Goals have a Player of noel carroll? | <s>[INST]Which Goals have a Player of noel carroll? Context: CREATE TABLE table_name_4 (goals INTEGER, player VARCHAR)[/INST]SELECT MIN(goals) FROM table_name_4 WHERE player = "noel carroll"</s> |
CREATE TABLE table_name_9 (other VARCHAR, value VARCHAR) | SELECT other FROM table_name_9 WHERE value = "1 000" | What is the Other transliteration for value 1 000? | <s>[INST]What is the Other transliteration for value 1 000? Context: CREATE TABLE table_name_9 (other VARCHAR, value VARCHAR)[/INST]SELECT other FROM table_name_9 WHERE value = "1 000"</s> |
CREATE TABLE table_name_14 (odds VARCHAR, finish VARCHAR) | SELECT odds FROM table_name_14 WHERE finish = "1/4h" | What were the odds for the finish of 1/4h? | <s>[INST]What were the odds for the finish of 1/4h? Context: CREATE TABLE table_name_14 (odds VARCHAR, finish VARCHAR)[/INST]SELECT odds FROM table_name_14 WHERE finish = "1/4h"</s> |
CREATE TABLE table_21092427_1 (opponents INTEGER, record VARCHAR) | SELECT MAX(opponents) FROM table_21092427_1 WHERE record = "8-1" | Name the most opponents for 8-1 record | <s>[INST]Name the most opponents for 8-1 record Context: CREATE TABLE table_21092427_1 (opponents INTEGER, record VARCHAR)[/INST]SELECT MAX(opponents) FROM table_21092427_1 WHERE record = "8-1"</s> |
CREATE TABLE table_16729930_18 (tdp VARCHAR, release_price___usd__ VARCHAR) | SELECT tdp FROM table_16729930_18 WHERE release_price___usd__ = "$72" | For a release price of $72, what is the TDP of the microprocessor? | <s>[INST]For a release price of $72, what is the TDP of the microprocessor? Context: CREATE TABLE table_16729930_18 (tdp VARCHAR, release_price___usd__ VARCHAR)[/INST]SELECT tdp FROM table_16729930_18 WHERE release_price___usd__ = "$72"</s> |
CREATE TABLE table_name_82 (year INTEGER, title VARCHAR) | SELECT MAX(year) FROM table_name_82 WHERE title = "loves lost and found" | What is the highest year for the title, "loves lost and found"? | <s>[INST]What is the highest year for the title, "loves lost and found"? Context: CREATE TABLE table_name_82 (year INTEGER, title VARCHAR)[/INST]SELECT MAX(year) FROM table_name_82 WHERE title = "loves lost and found"</s> |
CREATE TABLE table_27722408_8 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_27722408_8 WHERE team = "San Antonio" | What was location and attendance for the game where the Celtics played San Antonio? | <s>[INST]What was location and attendance for the game where the Celtics played San Antonio? Context: CREATE TABLE table_27722408_8 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_27722408_8 WHERE team = "San Antonio"</s> |
CREATE TABLE table_name_90 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_90 WHERE record = "17-31" | What is the date of the game with a 17-31 record? | <s>[INST]What is the date of the game with a 17-31 record? Context: CREATE TABLE table_name_90 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_90 WHERE record = "17-31"</s> |
CREATE TABLE table_28298471_14 (stage INTEGER, winner VARCHAR) | SELECT MAX(stage) FROM table_28298471_14 WHERE winner = "Svein Tuft" | When svein tuft is the winner what is the highest stage? | <s>[INST]When svein tuft is the winner what is the highest stage? Context: CREATE TABLE table_28298471_14 (stage INTEGER, winner VARCHAR)[/INST]SELECT MAX(stage) FROM table_28298471_14 WHERE winner = "Svein Tuft"</s> |
CREATE TABLE table_name_74 (term_in_office VARCHAR, member VARCHAR) | SELECT term_in_office FROM table_name_74 WHERE member = "hon les johnson" | When was Hon Les Johnson in office? | <s>[INST]When was Hon Les Johnson in office? Context: CREATE TABLE table_name_74 (term_in_office VARCHAR, member VARCHAR)[/INST]SELECT term_in_office FROM table_name_74 WHERE member = "hon les johnson"</s> |
CREATE TABLE table_2409041_9 (directed_by VARCHAR, no_in_series VARCHAR) | SELECT directed_by FROM table_2409041_9 WHERE no_in_series = 179 | Who directed episode number 179 in the series? | <s>[INST]Who directed episode number 179 in the series? Context: CREATE TABLE table_2409041_9 (directed_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT directed_by FROM table_2409041_9 WHERE no_in_series = 179</s> |
CREATE TABLE table_22879262_7 (date VARCHAR, game VARCHAR) | SELECT date FROM table_22879262_7 WHERE game = 29 | what ist he date of game 29? | <s>[INST]what ist he date of game 29? Context: CREATE TABLE table_22879262_7 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_22879262_7 WHERE game = 29</s> |
CREATE TABLE dorm (gender VARCHAR, student_capacity INTEGER) | SELECT COUNT(*), SUM(student_capacity), gender FROM dorm GROUP BY gender | Find the number of dorms and total capacity for each gender. | <s>[INST]Find the number of dorms and total capacity for each gender. Context: CREATE TABLE dorm (gender VARCHAR, student_capacity INTEGER)[/INST]SELECT COUNT(*), SUM(student_capacity), gender FROM dorm GROUP BY gender</s> |
CREATE TABLE table_1847180_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) | SELECT state__class_ FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966" | What was the state (class) where the new successor was formally installed on May 11, 1966? | <s>[INST]What was the state (class) where the new successor was formally installed on May 11, 1966? Context: CREATE TABLE table_1847180_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT state__class_ FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966"<... |
CREATE TABLE table_name_22 (language VARCHAR, original_title VARCHAR) | SELECT language FROM table_name_22 WHERE original_title = "karnal" | What language is the film Karnal in? | <s>[INST]What language is the film Karnal in? Context: CREATE TABLE table_name_22 (language VARCHAR, original_title VARCHAR)[/INST]SELECT language FROM table_name_22 WHERE original_title = "karnal"</s> |
CREATE TABLE table_name_6 (part_4 VARCHAR, part_1 VARCHAR) | SELECT part_4 FROM table_name_6 WHERE part_1 = "*hlaupaną *stautaną" | What is the part 4 with *hlaupaną *stautaną in part 1? | <s>[INST]What is the part 4 with *hlaupaną *stautaną in part 1? Context: CREATE TABLE table_name_6 (part_4 VARCHAR, part_1 VARCHAR)[/INST]SELECT part_4 FROM table_name_6 WHERE part_1 = "*hlaupaną *stautaną"</s> |
CREATE TABLE table_name_2 (team VARCHAR, grid VARCHAR) | SELECT team FROM table_name_2 WHERE grid = "11" | What team started in grid 11? | <s>[INST]What team started in grid 11? Context: CREATE TABLE table_name_2 (team VARCHAR, grid VARCHAR)[/INST]SELECT team FROM table_name_2 WHERE grid = "11"</s> |
CREATE TABLE table_name_3 (birth VARCHAR, death VARCHAR) | SELECT birth FROM table_name_3 WHERE death = "16 july 1946" | When was the person who died on 16 July 1946 born? | <s>[INST]When was the person who died on 16 July 1946 born? Context: CREATE TABLE table_name_3 (birth VARCHAR, death VARCHAR)[/INST]SELECT birth FROM table_name_3 WHERE death = "16 july 1946"</s> |
CREATE TABLE table_name_14 (years_as_tallest VARCHAR, height_metres___ft VARCHAR) | SELECT years_as_tallest FROM table_name_14 WHERE height_metres___ft = "01.0 27 / 90" | Name the Years as tallest that has Height metres / ft of 01.0 27 / 90? | <s>[INST]Name the Years as tallest that has Height metres / ft of 01.0 27 / 90? Context: CREATE TABLE table_name_14 (years_as_tallest VARCHAR, height_metres___ft VARCHAR)[/INST]SELECT years_as_tallest FROM table_name_14 WHERE height_metres___ft = "01.0 27 / 90"</s> |
CREATE TABLE table_name_78 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_78 WHERE tournament = "cyber agent ladies" | Which margin of victory has cyber agent ladies as the tournament? | <s>[INST]Which margin of victory has cyber agent ladies as the tournament? Context: CREATE TABLE table_name_78 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_78 WHERE tournament = "cyber agent ladies"</s> |
CREATE TABLE Faculty (building VARCHAR) | SELECT building, COUNT(*) FROM Faculty GROUP BY building | Show all the buildings along with the number of faculty members the buildings have. | <s>[INST]Show all the buildings along with the number of faculty members the buildings have. Context: CREATE TABLE Faculty (building VARCHAR)[/INST]SELECT building, COUNT(*) FROM Faculty GROUP BY building</s> |
CREATE TABLE table_23391714_1 (points INTEGER, pos VARCHAR) | SELECT MAX(points) FROM table_23391714_1 WHERE pos = 18 | When the pos equals 18 what is the max amount of points? | <s>[INST]When the pos equals 18 what is the max amount of points? Context: CREATE TABLE table_23391714_1 (points INTEGER, pos VARCHAR)[/INST]SELECT MAX(points) FROM table_23391714_1 WHERE pos = 18</s> |
CREATE TABLE table_name_7 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_7 WHERE result = "w 38-13" | Name the highest week for result of w 38-13 | <s>[INST]Name the highest week for result of w 38-13 Context: CREATE TABLE table_name_7 (week INTEGER, result VARCHAR)[/INST]SELECT MAX(week) FROM table_name_7 WHERE result = "w 38-13"</s> |
CREATE TABLE table_name_29 (location VARCHAR, stores VARCHAR) | SELECT location FROM table_name_29 WHERE stores = "140" | Which location has 140 stores? | <s>[INST]Which location has 140 stores? Context: CREATE TABLE table_name_29 (location VARCHAR, stores VARCHAR)[/INST]SELECT location FROM table_name_29 WHERE stores = "140"</s> |
CREATE TABLE table_name_72 (cuts_made INTEGER, tournament VARCHAR, top_25 VARCHAR) | SELECT MIN(cuts_made) FROM table_name_72 WHERE tournament = "masters tournament" AND top_25 < 0 | What is the lowest cuts made of the Masters tournament, which had a top-25 less than 0? | <s>[INST]What is the lowest cuts made of the Masters tournament, which had a top-25 less than 0? Context: CREATE TABLE table_name_72 (cuts_made INTEGER, tournament VARCHAR, top_25 VARCHAR)[/INST]SELECT MIN(cuts_made) FROM table_name_72 WHERE tournament = "masters tournament" AND top_25 < 0</s> |
CREATE TABLE table_name_61 (player VARCHAR, team VARCHAR) | SELECT player FROM table_name_61 WHERE team = "boston patriots" | Which player played for the Boston Patriots? | <s>[INST]Which player played for the Boston Patriots? Context: CREATE TABLE table_name_61 (player VARCHAR, team VARCHAR)[/INST]SELECT player FROM table_name_61 WHERE team = "boston patriots"</s> |
CREATE TABLE table_name_82 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_82 WHERE attendance = "6,275" | Which Opponent has a Attendance of 6,275? | <s>[INST]Which Opponent has a Attendance of 6,275? Context: CREATE TABLE table_name_82 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_82 WHERE attendance = "6,275"</s> |
CREATE TABLE table_name_27 (name VARCHAR, overall INTEGER) | SELECT name FROM table_name_27 WHERE overall < 49 | Who is drafted overall less than 49? | <s>[INST]Who is drafted overall less than 49? Context: CREATE TABLE table_name_27 (name VARCHAR, overall INTEGER)[/INST]SELECT name FROM table_name_27 WHERE overall < 49</s> |
CREATE TABLE table_name_67 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_67 WHERE date = "november 23, 2003" | What was the result of the game played on November 23, 2003? | <s>[INST]What was the result of the game played on November 23, 2003? Context: CREATE TABLE table_name_67 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_67 WHERE date = "november 23, 2003"</s> |
CREATE TABLE Tourist_Attraction_Features (tourist_attraction_id VARCHAR, Feature_ID VARCHAR); CREATE TABLE Features (Feature_ID VARCHAR, feature_Details VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, tourist_attraction_id VARCHAR) | SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS T2 ON T1.tourist_attraction_id = T2.tourist_attraction_id JOIN Features AS T3 ON T2.Feature_ID = T3.Feature_ID WHERE T3.feature_Details = 'park' UNION SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS T2 ON... | What are the names of the tourist attractions that have parking or shopping as their feature details? | <s>[INST]What are the names of the tourist attractions that have parking or shopping as their feature details? Context: CREATE TABLE Tourist_Attraction_Features (tourist_attraction_id VARCHAR, Feature_ID VARCHAR); CREATE TABLE Features (Feature_ID VARCHAR, feature_Details VARCHAR); CREATE TABLE Tourist_Attractions (Nam... |
CREATE TABLE table_name_45 (competition VARCHAR, year INTEGER) | SELECT competition FROM table_name_45 WHERE year > 2000 | Which Competition has a Year larger than 2000? | <s>[INST]Which Competition has a Year larger than 2000? Context: CREATE TABLE table_name_45 (competition VARCHAR, year INTEGER)[/INST]SELECT competition FROM table_name_45 WHERE year > 2000</s> |
CREATE TABLE airport (name VARCHAR, country VARCHAR) | SELECT name FROM airport WHERE country <> 'Iceland' | What are the names of the airports which are not in the country 'Iceland'? | <s>[INST]What are the names of the airports which are not in the country 'Iceland'? Context: CREATE TABLE airport (name VARCHAR, country VARCHAR)[/INST]SELECT name FROM airport WHERE country <> 'Iceland'</s> |
CREATE TABLE table_name_52 (to_par VARCHAR, money___£__ VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_52 WHERE money___£__ = "40,850" AND score = 72 - 74 - 70 - 70 = 286 | What is the to par of the golfer with winnings of 40,850 and a score of 72-74-70-70=286? | <s>[INST]What is the to par of the golfer with winnings of 40,850 and a score of 72-74-70-70=286? Context: CREATE TABLE table_name_52 (to_par VARCHAR, money___£__ VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_52 WHERE money___£__ = "40,850" AND score = 72 - 74 - 70 - 70 = 286</s> |
CREATE TABLE table_name_14 (licence_number VARCHAR, maximum_diameter VARCHAR) | SELECT licence_number FROM table_name_14 WHERE maximum_diameter = "400 mm" | What is the license number where the maximum diameter is 400 mm? | <s>[INST]What is the license number where the maximum diameter is 400 mm? Context: CREATE TABLE table_name_14 (licence_number VARCHAR, maximum_diameter VARCHAR)[/INST]SELECT licence_number FROM table_name_14 WHERE maximum_diameter = "400 mm"</s> |
CREATE TABLE table_18365784_3 (departure VARCHAR, going_to VARCHAR) | SELECT departure FROM table_18365784_3 WHERE going_to = "Boston" | What was the departure time of the train going to Boston? | <s>[INST]What was the departure time of the train going to Boston? Context: CREATE TABLE table_18365784_3 (departure VARCHAR, going_to VARCHAR)[/INST]SELECT departure FROM table_18365784_3 WHERE going_to = "Boston"</s> |
CREATE TABLE table_19439864_2 (stavanger INTEGER, oslo VARCHAR) | SELECT MIN(stavanger) FROM table_19439864_2 WHERE oslo = 48 | When oslo is 48, what is stavanger? | <s>[INST]When oslo is 48, what is stavanger? Context: CREATE TABLE table_19439864_2 (stavanger INTEGER, oslo VARCHAR)[/INST]SELECT MIN(stavanger) FROM table_19439864_2 WHERE oslo = 48</s> |
CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR) | SELECT AVG(gold) FROM table_name_37 WHERE nation = "brazil" AND total > 55 | How many gold medals did Brazil win with a total of more than 55 medals? | <s>[INST]How many gold medals did Brazil win with a total of more than 55 medals? Context: CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_37 WHERE nation = "brazil" AND total > 55</s> |
CREATE TABLE race (name VARCHAR, date VARCHAR, track_id VARCHAR); CREATE TABLE track (name VARCHAR, track_id VARCHAR) | SELECT T1.name, T1.date, T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id | Show the name and date for each race and its track name. | <s>[INST]Show the name and date for each race and its track name. Context: CREATE TABLE race (name VARCHAR, date VARCHAR, track_id VARCHAR); CREATE TABLE track (name VARCHAR, track_id VARCHAR)[/INST]SELECT T1.name, T1.date, T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id</s> |
CREATE TABLE table_name_28 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_28 WHERE team_1 = "sierra leone" | What was the aggregate for the match with Sierra Leone as team 1? | <s>[INST]What was the aggregate for the match with Sierra Leone as team 1? Context: CREATE TABLE table_name_28 (agg VARCHAR, team_1 VARCHAR)[/INST]SELECT agg FROM table_name_28 WHERE team_1 = "sierra leone"</s> |
CREATE TABLE table_name_29 (pick INTEGER, school VARCHAR) | SELECT MAX(pick) FROM table_name_29 WHERE school = "naperville central high school" | Which is the biggest pick for Naperville Central High School? | <s>[INST]Which is the biggest pick for Naperville Central High School? Context: CREATE TABLE table_name_29 (pick INTEGER, school VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_29 WHERE school = "naperville central high school"</s> |
CREATE TABLE table_name_44 (platform VARCHAR, company VARCHAR) | SELECT platform FROM table_name_44 WHERE company = "surfstats software" | What platform is the company Surfstats Software? | <s>[INST]What platform is the company Surfstats Software? Context: CREATE TABLE table_name_44 (platform VARCHAR, company VARCHAR)[/INST]SELECT platform FROM table_name_44 WHERE company = "surfstats software"</s> |
CREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR) | SELECT tournament FROM table_name_38 WHERE runner_s__up = "kirk triplett" | What tournament was Kirk Triplett a runner-up in? | <s>[INST]What tournament was Kirk Triplett a runner-up in? Context: CREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR)[/INST]SELECT tournament FROM table_name_38 WHERE runner_s__up = "kirk triplett"</s> |
CREATE TABLE table_name_10 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_10 WHERE record = "9-1-0" | Where was the game played when their record was 9-1-0? | <s>[INST]Where was the game played when their record was 9-1-0? Context: CREATE TABLE table_name_10 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_10 WHERE record = "9-1-0"</s> |
CREATE TABLE scientists (SSN VARCHAR, name VARCHAR); CREATE TABLE projects (hours INTEGER, code VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR) | SELECT SUM(T2.hours) FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name = 'Michael Rogers' OR T3.name = 'Carol Smith' | Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to. | <s>[INST]Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to. Context: CREATE TABLE scientists (SSN VARCHAR, name VARCHAR); CREATE TABLE projects (hours INTEGER, code VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR)[/INST]SELECT SUM(T2.hours) FR... |
CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_71 WHERE away_team = "south melbourne" | What is the highest crowd number of the game where the away team was south melbourne? | <s>[INST]What is the highest crowd number of the game where the away team was south melbourne? Context: CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_71 WHERE away_team = "south melbourne"</s> |
CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR) | SELECT played FROM table_name_74 WHERE points_against = "271" | For which play was the points 271? | <s>[INST]For which play was the points 271? Context: CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR)[/INST]SELECT played FROM table_name_74 WHERE points_against = "271"</s> |
CREATE TABLE table_name_25 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_25 WHERE grid = 8 | Who is the constructor with the grid of 8? | <s>[INST]Who is the constructor with the grid of 8? Context: CREATE TABLE table_name_25 (constructor VARCHAR, grid VARCHAR)[/INST]SELECT constructor FROM table_name_25 WHERE grid = 8</s> |
CREATE TABLE table_name_16 (points INTEGER, year VARCHAR, entrant VARCHAR, chassis VARCHAR) | SELECT AVG(points) FROM table_name_16 WHERE entrant = "scuderia scribante" AND chassis = "brabham bt11" AND year < 1968 | What are the average points of Scuderia Scribante with a Brabham bt11 chassis before 1968? | <s>[INST]What are the average points of Scuderia Scribante with a Brabham bt11 chassis before 1968? Context: CREATE TABLE table_name_16 (points INTEGER, year VARCHAR, entrant VARCHAR, chassis VARCHAR)[/INST]SELECT AVG(points) FROM table_name_16 WHERE entrant = "scuderia scribante" AND chassis = "brabham bt11" AND year ... |
CREATE TABLE table_name_13 (location VARCHAR, method VARCHAR, round VARCHAR) | SELECT location FROM table_name_13 WHERE method = "decision draw" AND round < 5 | Where was the decision draw before round 5? | <s>[INST]Where was the decision draw before round 5? Context: CREATE TABLE table_name_13 (location VARCHAR, method VARCHAR, round VARCHAR)[/INST]SELECT location FROM table_name_13 WHERE method = "decision draw" AND round < 5</s> |
CREATE TABLE table_22297140_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_vacancy FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba" | What was the date in which Behtash Fariba left his team? | <s>[INST]What was the date in which Behtash Fariba left his team? Context: CREATE TABLE table_22297140_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_vacancy FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba"</s> |
CREATE TABLE table_name_3 (place INTEGER, best_score INTEGER) | SELECT MAX(place) FROM table_name_3 WHERE best_score > 10 | WHAT IS THE HIGHEST PLACE AND BEST SCORE BIGGER THAN 10? | <s>[INST]WHAT IS THE HIGHEST PLACE AND BEST SCORE BIGGER THAN 10? Context: CREATE TABLE table_name_3 (place INTEGER, best_score INTEGER)[/INST]SELECT MAX(place) FROM table_name_3 WHERE best_score > 10</s> |
CREATE TABLE table_name_49 (injured INTEGER, place VARCHAR, killed VARCHAR) | SELECT MIN(injured) FROM table_name_49 WHERE place = "mayurbhanj, odisha" AND killed < 1 | What is the smallest number of injured in mayurbhanj, odisha and less than 1 killed? | <s>[INST]What is the smallest number of injured in mayurbhanj, odisha and less than 1 killed? Context: CREATE TABLE table_name_49 (injured INTEGER, place VARCHAR, killed VARCHAR)[/INST]SELECT MIN(injured) FROM table_name_49 WHERE place = "mayurbhanj, odisha" AND killed < 1</s> |
CREATE TABLE table_name_99 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_99 WHERE score = "3-6, 1-6" | On what Surface was the match with a Score of 3-6, 1-6 played? | <s>[INST]On what Surface was the match with a Score of 3-6, 1-6 played? Context: CREATE TABLE table_name_99 (surface VARCHAR, score VARCHAR)[/INST]SELECT surface FROM table_name_99 WHERE score = "3-6, 1-6"</s> |
CREATE TABLE table_name_21 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_21 WHERE date = "january 7" | Who is the Opponent on January 7? | <s>[INST]Who is the Opponent on January 7? Context: CREATE TABLE table_name_21 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_21 WHERE date = "january 7"</s> |
CREATE TABLE table_name_7 (icao VARCHAR, country VARCHAR, iata VARCHAR) | SELECT icao FROM table_name_7 WHERE country = "denmark" AND iata = "bll" | What is the ICAO for Denmark, and the IATA is bll? | <s>[INST]What is the ICAO for Denmark, and the IATA is bll? Context: CREATE TABLE table_name_7 (icao VARCHAR, country VARCHAR, iata VARCHAR)[/INST]SELECT icao FROM table_name_7 WHERE country = "denmark" AND iata = "bll"</s> |
CREATE TABLE table_name_89 (losing_bonus VARCHAR, try_bonus VARCHAR) | SELECT losing_bonus FROM table_name_89 WHERE try_bonus = "try bonus" | What is the Losing bonus with an extra try bonus? | <s>[INST]What is the Losing bonus with an extra try bonus? Context: CREATE TABLE table_name_89 (losing_bonus VARCHAR, try_bonus VARCHAR)[/INST]SELECT losing_bonus FROM table_name_89 WHERE try_bonus = "try bonus"</s> |
CREATE TABLE table_name_71 (part_number_s_ VARCHAR, l3_cache VARCHAR, sspec_number VARCHAR) | SELECT part_number_s_ FROM table_name_71 WHERE l3_cache = "8 mb" AND sspec_number = "sr0pl(e1)" | Which Part number(s) has a L3 cache of 8 mb and a sSpec number of sr0pl(e1)? | <s>[INST]Which Part number(s) has a L3 cache of 8 mb and a sSpec number of sr0pl(e1)? Context: CREATE TABLE table_name_71 (part_number_s_ VARCHAR, l3_cache VARCHAR, sspec_number VARCHAR)[/INST]SELECT part_number_s_ FROM table_name_71 WHERE l3_cache = "8 mb" AND sspec_number = "sr0pl(e1)"</s> |
CREATE TABLE table_184803_4 (spokespersons VARCHAR, country VARCHAR) | SELECT spokespersons FROM table_184803_4 WHERE country = "Luxembourg" | wich spokesperson talked on luxembourg | <s>[INST]wich spokesperson talked on luxembourg Context: CREATE TABLE table_184803_4 (spokespersons VARCHAR, country VARCHAR)[/INST]SELECT spokespersons FROM table_184803_4 WHERE country = "Luxembourg"</s> |
CREATE TABLE table_name_42 (player VARCHAR, country VARCHAR) | SELECT player FROM table_name_42 WHERE country = "northern ireland" | Which player is from Northern Ireland? | <s>[INST]Which player is from Northern Ireland? Context: CREATE TABLE table_name_42 (player VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_42 WHERE country = "northern ireland"</s> |
CREATE TABLE table_15887683_8 (language VARCHAR, television_service VARCHAR) | SELECT language FROM table_15887683_8 WHERE television_service = "Fox Business Network" | Name the language for fox business network | <s>[INST]Name the language for fox business network Context: CREATE TABLE table_15887683_8 (language VARCHAR, television_service VARCHAR)[/INST]SELECT language FROM table_15887683_8 WHERE television_service = "Fox Business Network"</s> |
CREATE TABLE table_name_85 (attendance INTEGER, record VARCHAR, opponents VARCHAR) | SELECT MAX(attendance) FROM table_name_85 WHERE record = "0-5" AND opponents > 20 | What was the highest attendance for the game where the record was 0-5 and the opponents scored more than 20 points? | <s>[INST]What was the highest attendance for the game where the record was 0-5 and the opponents scored more than 20 points? Context: CREATE TABLE table_name_85 (attendance INTEGER, record VARCHAR, opponents VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_85 WHERE record = "0-5" AND opponents > 20</s> |
CREATE TABLE table_25474825_1 (description VARCHAR, license VARCHAR) | SELECT description FROM table_25474825_1 WHERE license = "GNU GPL v2 or Ruby license" | What is the description of the license for GNU GPL v2 or Ruby license? | <s>[INST]What is the description of the license for GNU GPL v2 or Ruby license? Context: CREATE TABLE table_25474825_1 (description VARCHAR, license VARCHAR)[/INST]SELECT description FROM table_25474825_1 WHERE license = "GNU GPL v2 or Ruby license"</s> |
CREATE TABLE table_27435931_1 (elevation_ft VARCHAR, country VARCHAR) | SELECT COUNT(elevation_ft) FROM table_27435931_1 WHERE country = "Tanzania" | what is elevation of tanzania? | <s>[INST]what is elevation of tanzania? Context: CREATE TABLE table_27435931_1 (elevation_ft VARCHAR, country VARCHAR)[/INST]SELECT COUNT(elevation_ft) FROM table_27435931_1 WHERE country = "Tanzania"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.