context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_35 (year INTEGER, team VARCHAR) | SELECT AVG(year) FROM table_name_35 WHERE team = "melbourne" | What's melbourne's average year? | <s>[INST]What's melbourne's average year? Context: CREATE TABLE table_name_35 (year INTEGER, team VARCHAR)[/INST]SELECT AVG(year) FROM table_name_35 WHERE team = "melbourne"</s> |
CREATE TABLE table_27973624_1 (round VARCHAR, prize_money VARCHAR) | SELECT round FROM table_27973624_1 WHERE prize_money = "£7,500" | What is the round when the prize money is £7,500? | <s>[INST]What is the round when the prize money is £7,500? Context: CREATE TABLE table_27973624_1 (round VARCHAR, prize_money VARCHAR)[/INST]SELECT round FROM table_27973624_1 WHERE prize_money = "£7,500"</s> |
CREATE TABLE table_name_21 (consider VARCHAR, candidate VARCHAR, poll_source VARCHAR, oppose VARCHAR) | SELECT consider FROM table_name_21 WHERE poll_source = "newsweek poll" AND oppose = "32%" AND candidate = "rudy giuliani" | What percentage of people said they would consider Rudy Giuliani as a candidate according to the Newsweek poll that showed 32% opposed him? | <s>[INST]What percentage of people said they would consider Rudy Giuliani as a candidate according to the Newsweek poll that showed 32% opposed him? Context: CREATE TABLE table_name_21 (consider VARCHAR, candidate VARCHAR, poll_source VARCHAR, oppose VARCHAR)[/INST]SELECT consider FROM table_name_21 WHERE poll_source =... |
CREATE TABLE table_name_65 (name VARCHAR, year_completion_expected INTEGER) | SELECT name FROM table_name_65 WHERE year_completion_expected > 2016 | What are the names for projects that will be completed after 2016? | <s>[INST]What are the names for projects that will be completed after 2016? Context: CREATE TABLE table_name_65 (name VARCHAR, year_completion_expected INTEGER)[/INST]SELECT name FROM table_name_65 WHERE year_completion_expected > 2016</s> |
CREATE TABLE table_name_88 (byes INTEGER, draws VARCHAR, losses VARCHAR, wins VARCHAR) | SELECT MAX(byes) FROM table_name_88 WHERE losses > 7 AND wins < 6 AND draws < 0 | Which byes are high when losses are larger than 7, wins smaller than 6, and draws are smaller than 0? | <s>[INST]Which byes are high when losses are larger than 7, wins smaller than 6, and draws are smaller than 0? Context: CREATE TABLE table_name_88 (byes INTEGER, draws VARCHAR, losses VARCHAR, wins VARCHAR)[/INST]SELECT MAX(byes) FROM table_name_88 WHERE losses > 7 AND wins < 6 AND draws < 0</s> |
CREATE TABLE table_name_52 (post_1896_provinces VARCHAR, hanja VARCHAR) | SELECT post_1896_provinces FROM table_name_52 WHERE hanja = "全羅道" | What is the post-1986 provinces with a 全羅道 Hanja? | <s>[INST]What is the post-1986 provinces with a 全羅道 Hanja? Context: CREATE TABLE table_name_52 (post_1896_provinces VARCHAR, hanja VARCHAR)[/INST]SELECT post_1896_provinces FROM table_name_52 WHERE hanja = "全羅道"</s> |
CREATE TABLE table_name_56 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_56 WHERE home_team = "west ham united" | What is the Tie Number when the home team was West Ham United? | <s>[INST]What is the Tie Number when the home team was West Ham United? Context: CREATE TABLE table_name_56 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_56 WHERE home_team = "west ham united"</s> |
CREATE TABLE table_name_54 (passengers VARCHAR, airport VARCHAR, rank VARCHAR) | SELECT COUNT(passengers) FROM table_name_54 WHERE airport = "mco" AND rank > 9 | What was the number of passengers going to MCO with a rank larger than 9? | <s>[INST]What was the number of passengers going to MCO with a rank larger than 9? Context: CREATE TABLE table_name_54 (passengers VARCHAR, airport VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(passengers) FROM table_name_54 WHERE airport = "mco" AND rank > 9</s> |
CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR, Lname VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR) | SELECT SUM(hoursperweek), SUM(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T2.Fname = "David" AND T2.Lname = "Shieber" | Show total hours per week and number of games played for student David Shieber. | <s>[INST]Show total hours per week and number of games played for student David Shieber. Context: CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR, Lname VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR)[/INST]SELECT SUM(hoursperweek), SUM(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID W... |
CREATE TABLE table_name_14 (losing_bp VARCHAR, drawn VARCHAR, try_bp VARCHAR) | SELECT losing_bp FROM table_name_14 WHERE drawn = "1" AND try_bp = "6" | Name the Losing BP with drawn of 1 and a Try BP of 6. | <s>[INST]Name the Losing BP with drawn of 1 and a Try BP of 6. Context: CREATE TABLE table_name_14 (losing_bp VARCHAR, drawn VARCHAR, try_bp VARCHAR)[/INST]SELECT losing_bp FROM table_name_14 WHERE drawn = "1" AND try_bp = "6"</s> |
CREATE TABLE table_2668264_8 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668264_8 WHERE incumbent = "Robert P. Letcher" | What party did robert p. letcher represent? | <s>[INST]What party did robert p. letcher represent? Context: CREATE TABLE table_2668264_8 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_2668264_8 WHERE incumbent = "Robert P. Letcher"</s> |
CREATE TABLE table_name_88 (against VARCHAR, date VARCHAR) | SELECT COUNT(against) FROM table_name_88 WHERE date = "16/03/1996" | What is the total number of Against, when Date is "16/03/1996"? | <s>[INST]What is the total number of Against, when Date is "16/03/1996"? Context: CREATE TABLE table_name_88 (against VARCHAR, date VARCHAR)[/INST]SELECT COUNT(against) FROM table_name_88 WHERE date = "16/03/1996"</s> |
CREATE TABLE table_name_70 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_70 WHERE away_team = "west ham united" | On what date was the away team West Ham United? | <s>[INST]On what date was the away team West Ham United? Context: CREATE TABLE table_name_70 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE away_team = "west ham united"</s> |
CREATE TABLE table_18618672_2 (year VARCHAR) | SELECT 3 AS rd_place_team FROM table_18618672_2 WHERE year = 1955 | What is the 3rd place team for the year of 1955? | <s>[INST]What is the 3rd place team for the year of 1955? Context: CREATE TABLE table_18618672_2 (year VARCHAR)[/INST]SELECT 3 AS rd_place_team FROM table_18618672_2 WHERE year = 1955</s> |
CREATE TABLE table_name_56 (team VARCHAR, car__number VARCHAR, date VARCHAR) | SELECT team FROM table_name_56 WHERE car__number = 24 AND date = "august 30" | What team ran car #24 on August 30? | <s>[INST]What team ran car #24 on August 30? Context: CREATE TABLE table_name_56 (team VARCHAR, car__number VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_name_56 WHERE car__number = 24 AND date = "august 30"</s> |
CREATE TABLE table_name_14 (party VARCHAR, state VARCHAR, member VARCHAR) | SELECT party FROM table_name_14 WHERE state = "wa" AND member = "hon victor garland" | Which party has wa as the state, and hon victor garland as the memeber? | <s>[INST]Which party has wa as the state, and hon victor garland as the memeber? Context: CREATE TABLE table_name_14 (party VARCHAR, state VARCHAR, member VARCHAR)[/INST]SELECT party FROM table_name_14 WHERE state = "wa" AND member = "hon victor garland"</s> |
CREATE TABLE table_1342393_17 (incumbent VARCHAR, first_elected VARCHAR) | SELECT COUNT(incumbent) FROM table_1342393_17 WHERE first_elected = 1924 | how many incumbent with first elected being 1924 | <s>[INST] how many incumbent with first elected being 1924 Context: CREATE TABLE table_1342393_17 (incumbent VARCHAR, first_elected VARCHAR)[/INST]SELECT COUNT(incumbent) FROM table_1342393_17 WHERE first_elected = 1924</s> |
CREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_1 WHERE venue = "lake oval" | What home team played at Lake Oval? | <s>[INST]What home team played at Lake Oval? Context: CREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_1 WHERE venue = "lake oval"</s> |
CREATE TABLE table_1976898_1 (post_code INTEGER, chinese_name__simplified___traditional_ VARCHAR) | SELECT MIN(post_code) FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "潜山县 / 潛山縣" | What's the post code of the county with the Chinese name 潜山县 / 潛山縣? | <s>[INST]What's the post code of the county with the Chinese name 潜山县 / 潛山縣? Context: CREATE TABLE table_1976898_1 (post_code INTEGER, chinese_name__simplified___traditional_ VARCHAR)[/INST]SELECT MIN(post_code) FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "潜山县 / 潛山縣"</s> |
CREATE TABLE table_28884858_1 (stadium VARCHAR, capacity_percentage VARCHAR) | SELECT stadium FROM table_28884858_1 WHERE capacity_percentage = "83.9%" | What is the name of the stadium when the capacity percentage is 83.9% | <s>[INST]What is the name of the stadium when the capacity percentage is 83.9% Context: CREATE TABLE table_28884858_1 (stadium VARCHAR, capacity_percentage VARCHAR)[/INST]SELECT stadium FROM table_28884858_1 WHERE capacity_percentage = "83.9%"</s> |
CREATE TABLE table_name_79 (total_population__1000_ INTEGER, country VARCHAR, born_in_a_non_eu_state__1000_ VARCHAR) | SELECT MAX(total_population__1000_) FROM table_name_79 WHERE country = "sweden" AND born_in_a_non_eu_state__1000_ < 859 | What is the greatest Total population (1000) from Sweden and born in a non EU state (1000) less than 859? | <s>[INST]What is the greatest Total population (1000) from Sweden and born in a non EU state (1000) less than 859? Context: CREATE TABLE table_name_79 (total_population__1000_ INTEGER, country VARCHAR, born_in_a_non_eu_state__1000_ VARCHAR)[/INST]SELECT MAX(total_population__1000_) FROM table_name_79 WHERE country = "s... |
CREATE TABLE table_name_18 (draw INTEGER, artist VARCHAR) | SELECT SUM(draw) FROM table_name_18 WHERE artist = "wendy fierce" | How many draws feature artist wendy fierce? | <s>[INST]How many draws feature artist wendy fierce? Context: CREATE TABLE table_name_18 (draw INTEGER, artist VARCHAR)[/INST]SELECT SUM(draw) FROM table_name_18 WHERE artist = "wendy fierce"</s> |
CREATE TABLE table_name_66 (player VARCHAR, height VARCHAR, college VARCHAR) | SELECT player FROM table_name_66 WHERE height = "6-10" AND college = "lsu" | Which Player has a height of 6-10, and went to College at LSU? | <s>[INST]Which Player has a height of 6-10, and went to College at LSU? Context: CREATE TABLE table_name_66 (player VARCHAR, height VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_66 WHERE height = "6-10" AND college = "lsu"</s> |
CREATE TABLE table_10477224_1 (species VARCHAR, sepal_width VARCHAR, sepal_length VARCHAR) | SELECT COUNT(species) FROM table_10477224_1 WHERE sepal_width = "3.4" AND sepal_length = "5.4" | Name the number of species with sepal width of 3.4 and sepal length of 5.4 | <s>[INST]Name the number of species with sepal width of 3.4 and sepal length of 5.4 Context: CREATE TABLE table_10477224_1 (species VARCHAR, sepal_width VARCHAR, sepal_length VARCHAR)[/INST]SELECT COUNT(species) FROM table_10477224_1 WHERE sepal_width = "3.4" AND sepal_length = "5.4"</s> |
CREATE TABLE table_27722408_6 (team VARCHAR, game VARCHAR) | SELECT team FROM table_27722408_6 WHERE game = 11 | What was the other team in game 11? | <s>[INST]What was the other team in game 11? Context: CREATE TABLE table_27722408_6 (team VARCHAR, game VARCHAR)[/INST]SELECT team FROM table_27722408_6 WHERE game = 11</s> |
CREATE TABLE table_name_12 (msdn_integration VARCHAR, intellitrace VARCHAR) | SELECT msdn_integration FROM table_name_12 WHERE intellitrace = "yes" | Which MSDN integration has a IntelliTrace of yes? | <s>[INST]Which MSDN integration has a IntelliTrace of yes? Context: CREATE TABLE table_name_12 (msdn_integration VARCHAR, intellitrace VARCHAR)[/INST]SELECT msdn_integration FROM table_name_12 WHERE intellitrace = "yes"</s> |
CREATE TABLE table_1671401_3 (winnings VARCHAR, starts VARCHAR) | SELECT winnings FROM table_1671401_3 WHERE starts = 7 | name all the winnings that the start appears to be 7 | <s>[INST]name all the winnings that the start appears to be 7 Context: CREATE TABLE table_1671401_3 (winnings VARCHAR, starts VARCHAR)[/INST]SELECT winnings FROM table_1671401_3 WHERE starts = 7</s> |
CREATE TABLE table_name_61 (fencing_victories__pts_ VARCHAR, shooting_score__pts_ VARCHAR, total VARCHAR) | SELECT fencing_victories__pts_ FROM table_name_61 WHERE shooting_score__pts_ = "187 (1180)" AND total < 5640 | Which Fencing Victories (pts) has a Shooting Score (pts) of 187 (1180) and a Total smaller than 5640? Question 1 | <s>[INST]Which Fencing Victories (pts) has a Shooting Score (pts) of 187 (1180) and a Total smaller than 5640? Question 1 Context: CREATE TABLE table_name_61 (fencing_victories__pts_ VARCHAR, shooting_score__pts_ VARCHAR, total VARCHAR)[/INST]SELECT fencing_victories__pts_ FROM table_name_61 WHERE shooting_score__pts_ ... |
CREATE TABLE table_name_95 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_95 WHERE grid < 3 AND laps = 45 | what is the time/retired when the grid is less than 3 and 45 laps? | <s>[INST]what is the time/retired when the grid is less than 3 and 45 laps? Context: CREATE TABLE table_name_95 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT time_retired FROM table_name_95 WHERE grid < 3 AND laps = 45</s> |
CREATE TABLE table_name_25 (attendance INTEGER, opponent VARCHAR, week VARCHAR) | SELECT SUM(attendance) FROM table_name_25 WHERE opponent = "oakland raiders" AND week > 7 | How many were in attendance against the Oakland Raiders after week 7? | <s>[INST]How many were in attendance against the Oakland Raiders after week 7? Context: CREATE TABLE table_name_25 (attendance INTEGER, opponent VARCHAR, week VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_25 WHERE opponent = "oakland raiders" AND week > 7</s> |
CREATE TABLE table_30120555_1 (barony VARCHAR, area__acres__ VARCHAR) | SELECT barony FROM table_30120555_1 WHERE area__acres__ = 24 | Which barony contains a townland with an area 24 acres? | <s>[INST]Which barony contains a townland with an area 24 acres? Context: CREATE TABLE table_30120555_1 (barony VARCHAR, area__acres__ VARCHAR)[/INST]SELECT barony FROM table_30120555_1 WHERE area__acres__ = 24</s> |
CREATE TABLE table_name_18 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_18 WHERE player = "retief goosen" | What country is Retief Goosen from? | <s>[INST]What country is Retief Goosen from? Context: CREATE TABLE table_name_18 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_18 WHERE player = "retief goosen"</s> |
CREATE TABLE table_name_28 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_28 WHERE laps < 53 AND grid < 14 AND time_retired = "differential" | What driver has under 53 laps, a grid smaller than 14, and a time/retired of differential? | <s>[INST]What driver has under 53 laps, a grid smaller than 14, and a time/retired of differential? Context: CREATE TABLE table_name_28 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_28 WHERE laps < 53 AND grid < 14 AND time_retired = "differential"</s> |
CREATE TABLE table_name_11 (wins INTEGER, class VARCHAR, year VARCHAR) | SELECT MAX(wins) FROM table_name_11 WHERE class = "250cc" AND year = 1971 | What are the most wins in 1971 in 250cc class? | <s>[INST]What are the most wins in 1971 in 250cc class? Context: CREATE TABLE table_name_11 (wins INTEGER, class VARCHAR, year VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_11 WHERE class = "250cc" AND year = 1971</s> |
CREATE TABLE table_name_39 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT manufacturer FROM table_name_39 WHERE laps = "24" AND grid = "27" | WHAT IS THE MANUFACTURER WITH 24 LAPS AND GRID 27? | <s>[INST]WHAT IS THE MANUFACTURER WITH 24 LAPS AND GRID 27? Context: CREATE TABLE table_name_39 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT manufacturer FROM table_name_39 WHERE laps = "24" AND grid = "27"</s> |
CREATE TABLE table_name_42 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_42 WHERE team = "charlotte" | What was the score of the game against Charlotte? | <s>[INST]What was the score of the game against Charlotte? Context: CREATE TABLE table_name_42 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_name_42 WHERE team = "charlotte"</s> |
CREATE TABLE table_name_31 (lost VARCHAR, drawn VARCHAR, games VARCHAR) | SELECT COUNT(lost) FROM table_name_31 WHERE drawn = 1 AND games > 7 | What is the total number of losses that have 1 draw and games over 7? | <s>[INST]What is the total number of losses that have 1 draw and games over 7? Context: CREATE TABLE table_name_31 (lost VARCHAR, drawn VARCHAR, games VARCHAR)[/INST]SELECT COUNT(lost) FROM table_name_31 WHERE drawn = 1 AND games > 7</s> |
CREATE TABLE table_name_27 (yards__red_tees_ INTEGER, hole VARCHAR, par__white_tees_ VARCHAR) | SELECT AVG(yards__red_tees_) FROM table_name_27 WHERE hole = "1" AND par__white_tees_ > 4 | What is the average number of yards on a red tee that has a hole of 1 and a par above 4? | <s>[INST]What is the average number of yards on a red tee that has a hole of 1 and a par above 4? Context: CREATE TABLE table_name_27 (yards__red_tees_ INTEGER, hole VARCHAR, par__white_tees_ VARCHAR)[/INST]SELECT AVG(yards__red_tees_) FROM table_name_27 WHERE hole = "1" AND par__white_tees_ > 4</s> |
CREATE TABLE table_name_19 (games INTEGER, player VARCHAR, goals VARCHAR) | SELECT AVG(games) FROM table_name_19 WHERE player = "robert hock" AND goals < 24 | What is the average Games, when Player is Robert Hock, and when Goals is less than 24? | <s>[INST]What is the average Games, when Player is Robert Hock, and when Goals is less than 24? Context: CREATE TABLE table_name_19 (games INTEGER, player VARCHAR, goals VARCHAR)[/INST]SELECT AVG(games) FROM table_name_19 WHERE player = "robert hock" AND goals < 24</s> |
CREATE TABLE table_28001186_8 (ncaat_record VARCHAR, date VARCHAR) | SELECT ncaat_record FROM table_28001186_8 WHERE date = "June 26" | What was the NCAA Tournament record after the June 26 game? | <s>[INST]What was the NCAA Tournament record after the June 26 game? Context: CREATE TABLE table_28001186_8 (ncaat_record VARCHAR, date VARCHAR)[/INST]SELECT ncaat_record FROM table_28001186_8 WHERE date = "June 26"</s> |
CREATE TABLE table_23195_5 (present_share VARCHAR, producing_nation VARCHAR) | SELECT present_share FROM table_23195_5 WHERE producing_nation = "Australia" | Name the present share for australia | <s>[INST]Name the present share for australia Context: CREATE TABLE table_23195_5 (present_share VARCHAR, producing_nation VARCHAR)[/INST]SELECT present_share FROM table_23195_5 WHERE producing_nation = "Australia"</s> |
CREATE TABLE table_2468961_3 (no_in_series INTEGER, no_in_season VARCHAR) | SELECT MAX(no_in_series) FROM table_2468961_3 WHERE no_in_season = 2 | What number in the series was episode 2 in the season? | <s>[INST]What number in the series was episode 2 in the season? Context: CREATE TABLE table_2468961_3 (no_in_series INTEGER, no_in_season VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_2468961_3 WHERE no_in_season = 2</s> |
CREATE TABLE table_name_18 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_18 WHERE record = "34-19-6" | What score has 34-19-6 as the record? | <s>[INST]What score has 34-19-6 as the record? Context: CREATE TABLE table_name_18 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_18 WHERE record = "34-19-6"</s> |
CREATE TABLE table_name_8 (high_points VARCHAR, high_rebounds VARCHAR) | SELECT high_points FROM table_name_8 WHERE high_rebounds = "dwight howard (16)" | What is High Points, when High Rebounds is "Dwight Howard (16)"? | <s>[INST]What is High Points, when High Rebounds is "Dwight Howard (16)"? Context: CREATE TABLE table_name_8 (high_points VARCHAR, high_rebounds VARCHAR)[/INST]SELECT high_points FROM table_name_8 WHERE high_rebounds = "dwight howard (16)"</s> |
CREATE TABLE table_30054758_3 (team VARCHAR, high_assists VARCHAR) | SELECT COUNT(team) FROM table_30054758_3 WHERE high_assists = "Inge – 6" | How many teams did inge – 6 have the high assists with? | <s>[INST]How many teams did inge – 6 have the high assists with? Context: CREATE TABLE table_30054758_3 (team VARCHAR, high_assists VARCHAR)[/INST]SELECT COUNT(team) FROM table_30054758_3 WHERE high_assists = "Inge – 6"</s> |
CREATE TABLE player (Player_name VARCHAR, Votes VARCHAR) | SELECT Player_name FROM player ORDER BY Votes | List the names of players in ascending order of votes. | <s>[INST]List the names of players in ascending order of votes. Context: CREATE TABLE player (Player_name VARCHAR, Votes VARCHAR)[/INST]SELECT Player_name FROM player ORDER BY Votes</s> |
CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_96 WHERE home_team = "melbourne" | What was the away team that played against Melbourne? | <s>[INST]What was the away team that played against Melbourne? Context: CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_96 WHERE home_team = "melbourne"</s> |
CREATE TABLE table_name_17 (week_3 VARCHAR, week_2 VARCHAR) | SELECT week_3 FROM table_name_17 WHERE week_2 = "addison miller" | What is the week 3 with addison miller in week 2? | <s>[INST]What is the week 3 with addison miller in week 2? Context: CREATE TABLE table_name_17 (week_3 VARCHAR, week_2 VARCHAR)[/INST]SELECT week_3 FROM table_name_17 WHERE week_2 = "addison miller"</s> |
CREATE TABLE table_11254821_2 (finishing_position VARCHAR, points_awarded__platinum_ VARCHAR) | SELECT finishing_position FROM table_11254821_2 WHERE points_awarded__platinum_ = 15 | What was the range of finishing position for 15 awarded platinum points? | <s>[INST]What was the range of finishing position for 15 awarded platinum points? Context: CREATE TABLE table_11254821_2 (finishing_position VARCHAR, points_awarded__platinum_ VARCHAR)[/INST]SELECT finishing_position FROM table_11254821_2 WHERE points_awarded__platinum_ = 15</s> |
CREATE TABLE table_name_87 (date VARCHAR, home_captain VARCHAR, venue VARCHAR) | SELECT date FROM table_name_87 WHERE home_captain = "george giffen" AND venue = "sydney cricket ground" | What date has george giffen as the home captain, and sydney cricket ground as the venue? | <s>[INST]What date has george giffen as the home captain, and sydney cricket ground as the venue? Context: CREATE TABLE table_name_87 (date VARCHAR, home_captain VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_87 WHERE home_captain = "george giffen" AND venue = "sydney cricket ground"</s> |
CREATE TABLE table_name_5 (lead VARCHAR, event VARCHAR) | SELECT lead FROM table_name_5 WHERE event = "2008 wcc" | Who was the lead for the 2008 WCC? | <s>[INST]Who was the lead for the 2008 WCC? Context: CREATE TABLE table_name_5 (lead VARCHAR, event VARCHAR)[/INST]SELECT lead FROM table_name_5 WHERE event = "2008 wcc"</s> |
CREATE TABLE table_name_42 (city_of_license VARCHAR, fcc_info VARCHAR, erp_w VARCHAR) | SELECT city_of_license FROM table_name_42 WHERE fcc_info = "fcc" AND erp_w = "10,000 horizontal 3,000 vertical" | WHich City of license has a FCC info of fcc, and 10,000 horizontal 3,000 vertical ERP W | <s>[INST]WHich City of license has a FCC info of fcc, and 10,000 horizontal 3,000 vertical ERP W Context: CREATE TABLE table_name_42 (city_of_license VARCHAR, fcc_info VARCHAR, erp_w VARCHAR)[/INST]SELECT city_of_license FROM table_name_42 WHERE fcc_info = "fcc" AND erp_w = "10,000 horizontal 3,000 vertical"</s> |
CREATE TABLE table_name_96 (countries_visited VARCHAR, presenter VARCHAR) | SELECT countries_visited FROM table_name_96 WHERE presenter = "natalia makarova" | Which country did Natalia Makarova visit? | <s>[INST]Which country did Natalia Makarova visit? Context: CREATE TABLE table_name_96 (countries_visited VARCHAR, presenter VARCHAR)[/INST]SELECT countries_visited FROM table_name_96 WHERE presenter = "natalia makarova"</s> |
CREATE TABLE table_name_59 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR) | SELECT COUNT(top_25) FROM table_name_59 WHERE cuts_made = 22 AND wins < 1 | Tell me the total number of top 25 for wins less than 1 and cuts made of 22 | <s>[INST]Tell me the total number of top 25 for wins less than 1 and cuts made of 22 Context: CREATE TABLE table_name_59 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(top_25) FROM table_name_59 WHERE cuts_made = 22 AND wins < 1</s> |
CREATE TABLE table_name_13 (name VARCHAR, population VARCHAR) | SELECT name FROM table_name_13 WHERE population = "810" | What name has a population of 810? | <s>[INST]What name has a population of 810? Context: CREATE TABLE table_name_13 (name VARCHAR, population VARCHAR)[/INST]SELECT name FROM table_name_13 WHERE population = "810"</s> |
CREATE TABLE table_name_48 (grid INTEGER, driver VARCHAR) | SELECT MIN(grid) FROM table_name_48 WHERE driver = "rolf stommelen" | I want the lowest Grid for Rolf Stommelen | <s>[INST]I want the lowest Grid for Rolf Stommelen Context: CREATE TABLE table_name_48 (grid INTEGER, driver VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_48 WHERE driver = "rolf stommelen"</s> |
CREATE TABLE table_name_97 (goals INTEGER, assists VARCHAR, points VARCHAR) | SELECT MAX(goals) FROM table_name_97 WHERE assists < 101 AND points < 172 | What is the largest number of goals with less than 101 assists and 172 points? | <s>[INST]What is the largest number of goals with less than 101 assists and 172 points? Context: CREATE TABLE table_name_97 (goals INTEGER, assists VARCHAR, points VARCHAR)[/INST]SELECT MAX(goals) FROM table_name_97 WHERE assists < 101 AND points < 172</s> |
CREATE TABLE table_name_16 (year INTEGER, wins INTEGER) | SELECT SUM(year) FROM table_name_16 WHERE wins < 0 | Wins smaller than 0 had what sum of year? | <s>[INST]Wins smaller than 0 had what sum of year? Context: CREATE TABLE table_name_16 (year INTEGER, wins INTEGER)[/INST]SELECT SUM(year) FROM table_name_16 WHERE wins < 0</s> |
CREATE TABLE table_name_70 (points INTEGER, engine VARCHAR, entrant VARCHAR) | SELECT MAX(points) FROM table_name_70 WHERE engine = "maserati" AND entrant = "owen racing organisation" | What is the most points when Maserati made the engine, and a Entrant of owen racing organisation? | <s>[INST]What is the most points when Maserati made the engine, and a Entrant of owen racing organisation? Context: CREATE TABLE table_name_70 (points INTEGER, engine VARCHAR, entrant VARCHAR)[/INST]SELECT MAX(points) FROM table_name_70 WHERE engine = "maserati" AND entrant = "owen racing organisation"</s> |
CREATE TABLE table_name_3 (location VARCHAR, authors VARCHAR) | SELECT location FROM table_name_3 WHERE authors = "wang li duan cheng" | Where is wang li duan cheng located? | <s>[INST]Where is wang li duan cheng located? Context: CREATE TABLE table_name_3 (location VARCHAR, authors VARCHAR)[/INST]SELECT location FROM table_name_3 WHERE authors = "wang li duan cheng"</s> |
CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_72 WHERE week = 16 | What is Result, when Week is 16? | <s>[INST]What is Result, when Week is 16? Context: CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_72 WHERE week = 16</s> |
CREATE TABLE table_name_29 (no_s_ VARCHAR, school_club_team_country VARCHAR) | SELECT no_s_ FROM table_name_29 WHERE school_club_team_country = "virginia" | What is the number of the player who came from Virginia? | <s>[INST]What is the number of the player who came from Virginia? Context: CREATE TABLE table_name_29 (no_s_ VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT no_s_ FROM table_name_29 WHERE school_club_team_country = "virginia"</s> |
CREATE TABLE table_name_28 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_28 WHERE score = 68 - 75 - 68 = 211 | What was the place when the score was 68-75-68=211? | <s>[INST]What was the place when the score was 68-75-68=211? Context: CREATE TABLE table_name_28 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_28 WHERE score = 68 - 75 - 68 = 211</s> |
CREATE TABLE table_name_93 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_name_93 WHERE high_points = "p. pierce (31)" | For the game in which P. Pierce (31) scored the most points, what was the final score? | <s>[INST]For the game in which P. Pierce (31) scored the most points, what was the final score? Context: CREATE TABLE table_name_93 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_name_93 WHERE high_points = "p. pierce (31)"</s> |
CREATE TABLE table_name_28 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_28 WHERE date = "june 10" | What is the record for june 10? | <s>[INST]What is the record for june 10? Context: CREATE TABLE table_name_28 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_28 WHERE date = "june 10"</s> |
CREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_79 WHERE home_team = "collingwood" | What day is collingwood the home side? | <s>[INST]What day is collingwood the home side? Context: CREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_79 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_name_80 (launcher VARCHAR, spacecraft VARCHAR) | SELECT launcher FROM table_name_80 WHERE spacecraft = "apollo-soyuz" | What was the launcher vehicle for Apollo-Soyuz? | <s>[INST]What was the launcher vehicle for Apollo-Soyuz? Context: CREATE TABLE table_name_80 (launcher VARCHAR, spacecraft VARCHAR)[/INST]SELECT launcher FROM table_name_80 WHERE spacecraft = "apollo-soyuz"</s> |
CREATE TABLE WINE (Name VARCHAR, Price INTEGER, YEAR VARCHAR) | SELECT Name FROM WINE WHERE Price > (SELECT MAX(Price) FROM WINE WHERE YEAR = 2006) | What are the names of wines that are more expensive then all wines made in the year 2006? | <s>[INST]What are the names of wines that are more expensive then all wines made in the year 2006? Context: CREATE TABLE WINE (Name VARCHAR, Price INTEGER, YEAR VARCHAR)[/INST]SELECT Name FROM WINE WHERE Price > (SELECT MAX(Price) FROM WINE WHERE YEAR = 2006)</s> |
CREATE TABLE table_name_19 (player VARCHAR, position VARCHAR, points VARCHAR, goals VARCHAR, tries VARCHAR) | SELECT player FROM table_name_19 WHERE goals = 0 AND tries = 1 AND points = 4 AND position = "prop" | Which player has 0 goals, 1 tries, 4 points, and plays in the Prop position? | <s>[INST]Which player has 0 goals, 1 tries, 4 points, and plays in the Prop position? Context: CREATE TABLE table_name_19 (player VARCHAR, position VARCHAR, points VARCHAR, goals VARCHAR, tries VARCHAR)[/INST]SELECT player FROM table_name_19 WHERE goals = 0 AND tries = 1 AND points = 4 AND position = "prop"</s> |
CREATE TABLE table_name_87 (year VARCHAR, venue VARCHAR) | SELECT year FROM table_name_87 WHERE venue = "beijing" | Which year was held in beijing? | <s>[INST]Which year was held in beijing? Context: CREATE TABLE table_name_87 (year VARCHAR, venue VARCHAR)[/INST]SELECT year FROM table_name_87 WHERE venue = "beijing"</s> |
CREATE TABLE Ref_document_types (document_type_name VARCHAR, document_type_description VARCHAR, document_type_code VARCHAR) | SELECT document_type_name, document_type_description FROM Ref_document_types WHERE document_type_code = "RV" | What is the name and description for document type code RV? | <s>[INST]What is the name and description for document type code RV? Context: CREATE TABLE Ref_document_types (document_type_name VARCHAR, document_type_description VARCHAR, document_type_code VARCHAR)[/INST]SELECT document_type_name, document_type_description FROM Ref_document_types WHERE document_type_code = "RV"</s> |
CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_34 WHERE player = "gerry methe" | What nationality is Gerry Methe? | <s>[INST]What nationality is Gerry Methe? Context: CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_34 WHERE player = "gerry methe"</s> |
CREATE TABLE table_name_12 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_12 WHERE opponent = "chris barden" | What is the event where the opponent was Chris Barden? | <s>[INST]What is the event where the opponent was Chris Barden? Context: CREATE TABLE table_name_12 (event VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_12 WHERE opponent = "chris barden"</s> |
CREATE TABLE table_name_45 (tsongas__d_ VARCHAR, date VARCHAR) | SELECT tsongas__d_ FROM table_name_45 WHERE date = "may 22, 2007" | I want the tsongas of may 22, 2007 | <s>[INST]I want the tsongas of may 22, 2007 Context: CREATE TABLE table_name_45 (tsongas__d_ VARCHAR, date VARCHAR)[/INST]SELECT tsongas__d_ FROM table_name_45 WHERE date = "may 22, 2007"</s> |
CREATE TABLE table_2501754_2 (production_count VARCHAR, episode__number VARCHAR) | SELECT COUNT(production_count) FROM table_2501754_2 WHERE episode__number = 5 | How many episodes were numbered 5? | <s>[INST]How many episodes were numbered 5? Context: CREATE TABLE table_2501754_2 (production_count VARCHAR, episode__number VARCHAR)[/INST]SELECT COUNT(production_count) FROM table_2501754_2 WHERE episode__number = 5</s> |
CREATE TABLE table_name_20 (penalties VARCHAR, gf VARCHAR) | SELECT penalties FROM table_name_20 WHERE gf = "40" | How many penalties were there in the game with a G.F. of 40? | <s>[INST]How many penalties were there in the game with a G.F. of 40? Context: CREATE TABLE table_name_20 (penalties VARCHAR, gf VARCHAR)[/INST]SELECT penalties FROM table_name_20 WHERE gf = "40"</s> |
CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR, years_in_orlando VARCHAR) | SELECT position FROM table_name_97 WHERE player = "tyronn lue" AND years_in_orlando = "2003–2004" | Which Position has a Player of tyronn lue, and a Years in Orlando of 2003–2004? | <s>[INST]Which Position has a Player of tyronn lue, and a Years in Orlando of 2003–2004? Context: CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR, years_in_orlando VARCHAR)[/INST]SELECT position FROM table_name_97 WHERE player = "tyronn lue" AND years_in_orlando = "2003–2004"</s> |
CREATE TABLE table_name_94 (_jerk VARCHAR, clean_ INTEGER, bodyweight VARCHAR, snatch VARCHAR) | SELECT AVG(clean_) & _jerk FROM table_name_94 WHERE bodyweight = 87.5 AND snatch < 95 | What was the average clean and jerk of all weightlifters who had a bodyweight smaller than 87.5 and a snatch of less than 95? | <s>[INST]What was the average clean and jerk of all weightlifters who had a bodyweight smaller than 87.5 and a snatch of less than 95? Context: CREATE TABLE table_name_94 (_jerk VARCHAR, clean_ INTEGER, bodyweight VARCHAR, snatch VARCHAR)[/INST]SELECT AVG(clean_) & _jerk FROM table_name_94 WHERE bodyweight = 87.5 AND s... |
CREATE TABLE table_24600706_1 (released INTEGER, song VARCHAR) | SELECT MAX(released) FROM table_24600706_1 WHERE song = "Right Here, Right Now" | Name the most released for right here, right now | <s>[INST]Name the most released for right here, right now Context: CREATE TABLE table_24600706_1 (released INTEGER, song VARCHAR)[/INST]SELECT MAX(released) FROM table_24600706_1 WHERE song = "Right Here, Right Now"</s> |
CREATE TABLE table_name_27 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_27 WHERE points = 0 AND chassis = "porsche 718" AND year = 1961 | what is the engine that saw 0 points, and a Chassis of porsche 718, in 1961? | <s>[INST]what is the engine that saw 0 points, and a Chassis of porsche 718, in 1961? Context: CREATE TABLE table_name_27 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_27 WHERE points = 0 AND chassis = "porsche 718" AND year = 1961</s> |
CREATE TABLE table_1341568_6 (opponent VARCHAR, district VARCHAR) | SELECT opponent FROM table_1341568_6 WHERE district = "California 9" | Who are the opponents in district California 9? | <s>[INST]Who are the opponents in district California 9? Context: CREATE TABLE table_1341568_6 (opponent VARCHAR, district VARCHAR)[/INST]SELECT opponent FROM table_1341568_6 WHERE district = "California 9"</s> |
CREATE TABLE table_16770037_3 (points INTEGER, pts VARCHAR) | SELECT MAX(points) AS against FROM table_16770037_3 WHERE pts = 10 | What is the maximum points against when team's points are 10? | <s>[INST]What is the maximum points against when team's points are 10? Context: CREATE TABLE table_16770037_3 (points INTEGER, pts VARCHAR)[/INST]SELECT MAX(points) AS against FROM table_16770037_3 WHERE pts = 10</s> |
CREATE TABLE table_name_66 (week INTEGER, opponent VARCHAR) | SELECT MIN(week) FROM table_name_66 WHERE opponent = "minnesota vikings" | What is the Week of the game against the Minnesota Vikings? | <s>[INST]What is the Week of the game against the Minnesota Vikings? Context: CREATE TABLE table_name_66 (week INTEGER, opponent VARCHAR)[/INST]SELECT MIN(week) FROM table_name_66 WHERE opponent = "minnesota vikings"</s> |
CREATE TABLE table_name_35 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_35 WHERE opponent = "new york jets" | What is the total number of weeks when the New York Jets are the opponent? | <s>[INST]What is the total number of weeks when the New York Jets are the opponent? Context: CREATE TABLE table_name_35 (week VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_35 WHERE opponent = "new york jets"</s> |
CREATE TABLE table_name_18 (league_goals INTEGER, total_apps VARCHAR) | SELECT AVG(league_goals) FROM table_name_18 WHERE total_apps = "2 (1)" | What are the average league goals that have 2 (1) as the total apps? | <s>[INST]What are the average league goals that have 2 (1) as the total apps? Context: CREATE TABLE table_name_18 (league_goals INTEGER, total_apps VARCHAR)[/INST]SELECT AVG(league_goals) FROM table_name_18 WHERE total_apps = "2 (1)"</s> |
CREATE TABLE table_name_19 (role VARCHAR, first_us_national_tour VARCHAR) | SELECT role FROM table_name_19 WHERE first_us_national_tour = "roger bart" | Which Role has a First US National Tour of roger bart? | <s>[INST]Which Role has a First US National Tour of roger bart? Context: CREATE TABLE table_name_19 (role VARCHAR, first_us_national_tour VARCHAR)[/INST]SELECT role FROM table_name_19 WHERE first_us_national_tour = "roger bart"</s> |
CREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR) | SELECT MAX(money_requested__) AS £_ FROM table_name_24 WHERE episode = "episode 7" AND entrepreneur_s_ = "jerry mantalvanos & paul merker" | In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ? | <s>[INST]In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ? Context: CREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR)[/INST]SELECT MAX(money_requested__) AS £_ FROM table_name_24 WHERE episode = "episode 7" AND entrepreneur_s_... |
CREATE TABLE table_name_72 (total VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT COUNT(total) FROM table_name_72 WHERE silver > 6 AND nation = "norway" AND gold > 10 | What is the total number of medals of Norway with a silver medal count greater than 6 and a gold medal count greater than 10? | <s>[INST]What is the total number of medals of Norway with a silver medal count greater than 6 and a gold medal count greater than 10? Context: CREATE TABLE table_name_72 (total VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_72 WHERE silver > 6 AND nation = "norway" AND... |
CREATE TABLE table_name_37 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_37 WHERE opponent = "younes el aynaoui" | What is the score of the tournament with younes el aynaoui as the opponent? | <s>[INST]What is the score of the tournament with younes el aynaoui as the opponent? Context: CREATE TABLE table_name_37 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_37 WHERE opponent = "younes el aynaoui"</s> |
CREATE TABLE table_name_2 (total VARCHAR, to_par VARCHAR, year_won VARCHAR, player VARCHAR) | SELECT COUNT(total) FROM table_name_2 WHERE year_won < 2002 AND player = "bob tway" AND to_par > 7 | What is the total for Bob Tway for the year won before 2002 with a to par bigger than 7? | <s>[INST]What is the total for Bob Tway for the year won before 2002 with a to par bigger than 7? Context: CREATE TABLE table_name_2 (total VARCHAR, to_par VARCHAR, year_won VARCHAR, player VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_2 WHERE year_won < 2002 AND player = "bob tway" AND to_par > 7</s> |
CREATE TABLE table_name_72 (pick VARCHAR, year VARCHAR) | SELECT pick FROM table_name_72 WHERE year = 1948 | What was 1948's pick? | <s>[INST]What was 1948's pick? Context: CREATE TABLE table_name_72 (pick VARCHAR, year VARCHAR)[/INST]SELECT pick FROM table_name_72 WHERE year = 1948</s> |
CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_38 WHERE venue = "moorabbin oval" | What did the away team score at Moorabbin oval? | <s>[INST]What did the away team score at Moorabbin oval? Context: CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_38 WHERE venue = "moorabbin oval"</s> |
CREATE TABLE table_14884844_2 (record VARCHAR, athletes VARCHAR) | SELECT record FROM table_14884844_2 WHERE athletes = "Elzbieta Urbanczik" | What are the records when Elzbieta Urbanczik competed? | <s>[INST]What are the records when Elzbieta Urbanczik competed? Context: CREATE TABLE table_14884844_2 (record VARCHAR, athletes VARCHAR)[/INST]SELECT record FROM table_14884844_2 WHERE athletes = "Elzbieta Urbanczik"</s> |
CREATE TABLE table_name_19 (rank INTEGER, lowest_point VARCHAR, canton VARCHAR) | SELECT SUM(rank) FROM table_name_19 WHERE lowest_point = "lake geneva" AND canton = "vaud" | What rank is Vaud with the lowest point is Lake Geneva? | <s>[INST]What rank is Vaud with the lowest point is Lake Geneva? Context: CREATE TABLE table_name_19 (rank INTEGER, lowest_point VARCHAR, canton VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_19 WHERE lowest_point = "lake geneva" AND canton = "vaud"</s> |
CREATE TABLE table_11734041_10 (school_club_team_country VARCHAR, player VARCHAR) | SELECT COUNT(school_club_team_country) FROM table_11734041_10 WHERE player = "Kimball, Toby Toby Kimball" | Kimball, toby toby kimball is a player; How many times at school/ club team/country was the player present? | <s>[INST]Kimball, toby toby kimball is a player; How many times at school/ club team/country was the player present? Context: CREATE TABLE table_11734041_10 (school_club_team_country VARCHAR, player VARCHAR)[/INST]SELECT COUNT(school_club_team_country) FROM table_11734041_10 WHERE player = "Kimball, Toby Toby Kimball"... |
CREATE TABLE table_26967904_2 (a_external__cm_2__ VARCHAR, chambering VARCHAR) | SELECT COUNT(a_external__cm_2__) FROM table_26967904_2 WHERE chambering = ".338 Lapua Magnum" | How many external (cm 2 ) are there for the .338 lapua magnum chambering? | <s>[INST]How many external (cm 2 ) are there for the .338 lapua magnum chambering? Context: CREATE TABLE table_26967904_2 (a_external__cm_2__ VARCHAR, chambering VARCHAR)[/INST]SELECT COUNT(a_external__cm_2__) FROM table_26967904_2 WHERE chambering = ".338 Lapua Magnum"</s> |
CREATE TABLE table_name_56 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_56 WHERE margin_of_victory = "2 strokes" AND date = "sep 20, 1981" | What is the name of the tournament played on Sep 20, 1981, ending with a margin of vicroty of 2 strokes? | <s>[INST]What is the name of the tournament played on Sep 20, 1981, ending with a margin of vicroty of 2 strokes? Context: CREATE TABLE table_name_56 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_56 WHERE margin_of_victory = "2 strokes" AND date = "sep 20, 1981"</... |
CREATE TABLE table_name_52 (team__number2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_52 WHERE team__number2 = "pamesa valencia" | Which 2nd leg has pamesa valencia for team #2? | <s>[INST]Which 2nd leg has pamesa valencia for team #2? Context: CREATE TABLE table_name_52 (team__number2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_52 WHERE team__number2 = "pamesa valencia"</s> |
CREATE TABLE table_19744915_4 (karen VARCHAR, nicky VARCHAR) | SELECT karen FROM table_19744915_4 WHERE nicky = "2.5" | Name the karen when nicky is 2.5 | <s>[INST]Name the karen when nicky is 2.5 Context: CREATE TABLE table_19744915_4 (karen VARCHAR, nicky VARCHAR)[/INST]SELECT karen FROM table_19744915_4 WHERE nicky = "2.5"</s> |
CREATE TABLE table_name_28 (reg_gp INTEGER, player VARCHAR, pick__number VARCHAR) | SELECT SUM(reg_gp) FROM table_name_28 WHERE player = "peter andersson" AND pick__number < 143 | What is the sum of every REG GP that Peter Andersson played as a pick# less than 143? | <s>[INST]What is the sum of every REG GP that Peter Andersson played as a pick# less than 143? Context: CREATE TABLE table_name_28 (reg_gp INTEGER, player VARCHAR, pick__number VARCHAR)[/INST]SELECT SUM(reg_gp) FROM table_name_28 WHERE player = "peter andersson" AND pick__number < 143</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.