context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_13836704_6 (transit_passengers VARCHAR, airport VARCHAR)
SELECT transit_passengers FROM table_13836704_6 WHERE airport = "London Gatwick"
How many transit passengers at london gatwick?
<s>[INST]How many transit passengers at london gatwick? Context: CREATE TABLE table_13836704_6 (transit_passengers VARCHAR, airport VARCHAR)[/INST]SELECT transit_passengers FROM table_13836704_6 WHERE airport = "London Gatwick"</s>
CREATE TABLE table_name_61 (pba_team VARCHAR, college VARCHAR)
SELECT pba_team FROM table_name_61 WHERE college = "nu"
Which PBA team has a College of nu?
<s>[INST]Which PBA team has a College of nu? Context: CREATE TABLE table_name_61 (pba_team VARCHAR, college VARCHAR)[/INST]SELECT pba_team FROM table_name_61 WHERE college = "nu"</s>
CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_49 WHERE away_team = "hawthorn"
Which home team played against Hawthorn?
<s>[INST]Which home team played against Hawthorn? Context: CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_49 WHERE away_team = "hawthorn"</s>
CREATE TABLE table_1986692_1 (regular_season VARCHAR, playoffs VARCHAR)
SELECT regular_season FROM table_1986692_1 WHERE playoffs = "divisional Finals"
When divisional finals are the playoffs what is the regular season?
<s>[INST]When divisional finals are the playoffs what is the regular season? Context: CREATE TABLE table_1986692_1 (regular_season VARCHAR, playoffs VARCHAR)[/INST]SELECT regular_season FROM table_1986692_1 WHERE playoffs = "divisional Finals"</s>
CREATE TABLE table_name_6 (game INTEGER, date VARCHAR)
SELECT MAX(game) FROM table_name_6 WHERE date = "july 31"
What is the highest game that has July 31 as the date?
<s>[INST]What is the highest game that has July 31 as the date? Context: CREATE TABLE table_name_6 (game INTEGER, date VARCHAR)[/INST]SELECT MAX(game) FROM table_name_6 WHERE date = "july 31"</s>
CREATE TABLE table_name_47 (wins VARCHAR, rank VARCHAR, latest_win VARCHAR)
SELECT wins FROM table_name_47 WHERE rank > 16 AND latest_win = "1967 belgian grand prix"
What is the rank 16 wins with the latest win at the 1967 Belgian Grand Prix?
<s>[INST]What is the rank 16 wins with the latest win at the 1967 Belgian Grand Prix? Context: CREATE TABLE table_name_47 (wins VARCHAR, rank VARCHAR, latest_win VARCHAR)[/INST]SELECT wins FROM table_name_47 WHERE rank > 16 AND latest_win = "1967 belgian grand prix"</s>
CREATE TABLE table_17360840_9 (score VARCHAR, record VARCHAR)
SELECT score FROM table_17360840_9 WHERE record = "21-31-13"
What was the score when the record was 21-31-13?
<s>[INST]What was the score when the record was 21-31-13? Context: CREATE TABLE table_17360840_9 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_17360840_9 WHERE record = "21-31-13"</s>
CREATE TABLE table_name_74 (nation VARCHAR, rank VARCHAR, gold VARCHAR, total VARCHAR)
SELECT nation FROM table_name_74 WHERE gold > 0 AND total > 4 AND rank = "6"
Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6?
<s>[INST]Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6? Context: CREATE TABLE table_name_74 (nation VARCHAR, rank VARCHAR, gold VARCHAR, total VARCHAR)[/INST]SELECT nation FROM table_name_74 WHERE gold > 0 AND total > 4 AND rank = "6"</s>
CREATE TABLE table_name_83 (gross_revenue__1986_ VARCHAR, tickets_sold___available VARCHAR)
SELECT gross_revenue__1986_ FROM table_name_83 WHERE tickets_sold___available = "24,000 / 24,000 (100%)"
What was the gross revenue (1986) when there were tickets sold/available of 24,000 / 24,000 (100%)?
<s>[INST]What was the gross revenue (1986) when there were tickets sold/available of 24,000 / 24,000 (100%)? Context: CREATE TABLE table_name_83 (gross_revenue__1986_ VARCHAR, tickets_sold___available VARCHAR)[/INST]SELECT gross_revenue__1986_ FROM table_name_83 WHERE tickets_sold___available = "24,000 / 24,000 (100%)"...
CREATE TABLE table_name_40 (age_groups VARCHAR, sport VARCHAR)
SELECT age_groups FROM table_name_40 WHERE sport = "figure skating"
What is the age group for figure skating?
<s>[INST]What is the age group for figure skating? Context: CREATE TABLE table_name_40 (age_groups VARCHAR, sport VARCHAR)[/INST]SELECT age_groups FROM table_name_40 WHERE sport = "figure skating"</s>
CREATE TABLE table_1997759_1 (registration VARCHAR, first_flew VARCHAR)
SELECT registration FROM table_1997759_1 WHERE first_flew = "31 January 1975"
what is the registration located on 31 january 1975 where first flew?
<s>[INST]what is the registration located on 31 january 1975 where first flew? Context: CREATE TABLE table_1997759_1 (registration VARCHAR, first_flew VARCHAR)[/INST]SELECT registration FROM table_1997759_1 WHERE first_flew = "31 January 1975"</s>
CREATE TABLE table_name_39 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_39 WHERE away_team = "melbourne"
What is the visiting team of Melbourne's score?
<s>[INST]What is the visiting team of Melbourne's score? Context: CREATE TABLE table_name_39 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_39 WHERE away_team = "melbourne"</s>
CREATE TABLE salary (salary VARCHAR, YEAR VARCHAR)
SELECT salary FROM salary WHERE YEAR = 2010 UNION SELECT salary FROM salary WHERE YEAR = 2001
What were all the salary values of players in 2010 and 2001?
<s>[INST]What were all the salary values of players in 2010 and 2001? Context: CREATE TABLE salary (salary VARCHAR, YEAR VARCHAR)[/INST]SELECT salary FROM salary WHERE YEAR = 2010 UNION SELECT salary FROM salary WHERE YEAR = 2001</s>
CREATE TABLE table_13549921_18 (programme VARCHAR, date_s__of_return VARCHAR)
SELECT programme FROM table_13549921_18 WHERE date_s__of_return = "July 2008"
What show is coming back on in July 2008
<s>[INST]What show is coming back on in July 2008 Context: CREATE TABLE table_13549921_18 (programme VARCHAR, date_s__of_return VARCHAR)[/INST]SELECT programme FROM table_13549921_18 WHERE date_s__of_return = "July 2008"</s>
CREATE TABLE College (enr INTEGER)
SELECT COUNT(*) FROM College WHERE enr > 15000
How many colleges has more than 15000 students?
<s>[INST]How many colleges has more than 15000 students? Context: CREATE TABLE College (enr INTEGER)[/INST]SELECT COUNT(*) FROM College WHERE enr > 15000</s>
CREATE TABLE table_name_43 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_43 WHERE date = "24 november 2008"
Who is the opponent in the final on 24 November 2008?
<s>[INST]Who is the opponent in the final on 24 November 2008? Context: CREATE TABLE table_name_43 (opponent_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_43 WHERE date = "24 november 2008"</s>
CREATE TABLE table_name_14 (finalist VARCHAR, week VARCHAR)
SELECT finalist FROM table_name_14 WHERE week = "may 7"
What is the May 7 finalist?
<s>[INST]What is the May 7 finalist? Context: CREATE TABLE table_name_14 (finalist VARCHAR, week VARCHAR)[/INST]SELECT finalist FROM table_name_14 WHERE week = "may 7"</s>
CREATE TABLE table_24172157_3 (table VARCHAR, team VARCHAR)
SELECT table FROM table_24172157_3 WHERE team = "Blackburn Rovers"
What is the table for the team Blackburn Rovers?
<s>[INST]What is the table for the team Blackburn Rovers? Context: CREATE TABLE table_24172157_3 (table VARCHAR, team VARCHAR)[/INST]SELECT table FROM table_24172157_3 WHERE team = "Blackburn Rovers"</s>
CREATE TABLE table_name_55 (matches INTEGER, points VARCHAR, goals VARCHAR)
SELECT MAX(matches) FROM table_name_55 WHERE points < 88 AND goals < 0
What are the highest matches that have points less than 88, and goals less than 0?
<s>[INST]What are the highest matches that have points less than 88, and goals less than 0? Context: CREATE TABLE table_name_55 (matches INTEGER, points VARCHAR, goals VARCHAR)[/INST]SELECT MAX(matches) FROM table_name_55 WHERE points < 88 AND goals < 0</s>
CREATE TABLE table_name_12 (game INTEGER, high_rebounds VARCHAR)
SELECT MAX(game) FROM table_name_12 WHERE high_rebounds = "pau gasol (11)"
Which Game is the highest one that has High rebounds of pau gasol (11)?
<s>[INST]Which Game is the highest one that has High rebounds of pau gasol (11)? Context: CREATE TABLE table_name_12 (game INTEGER, high_rebounds VARCHAR)[/INST]SELECT MAX(game) FROM table_name_12 WHERE high_rebounds = "pau gasol (11)"</s>
CREATE TABLE table_name_20 (league VARCHAR, nationality VARCHAR, points VARCHAR)
SELECT league FROM table_name_20 WHERE nationality = "italy" AND points = "62"
Which league's nationality was Italy when there were 62 points?
<s>[INST]Which league's nationality was Italy when there were 62 points? Context: CREATE TABLE table_name_20 (league VARCHAR, nationality VARCHAR, points VARCHAR)[/INST]SELECT league FROM table_name_20 WHERE nationality = "italy" AND points = "62"</s>
CREATE TABLE table_24735155_1 (points VARCHAR, seasons VARCHAR)
SELECT points FROM table_24735155_1 WHERE seasons = "2006 – 2007 , 2009"
How many points for the driver who raced in seasons 2006 – 2007 , 2009?
<s>[INST]How many points for the driver who raced in seasons 2006 – 2007 , 2009? Context: CREATE TABLE table_24735155_1 (points VARCHAR, seasons VARCHAR)[/INST]SELECT points FROM table_24735155_1 WHERE seasons = "2006 – 2007 , 2009"</s>
CREATE TABLE table_12321870_32 (goals VARCHAR, matches VARCHAR)
SELECT goals FROM table_12321870_32 WHERE matches = "17"
How many goals were scored by the player who played 17 matches?
<s>[INST]How many goals were scored by the player who played 17 matches? Context: CREATE TABLE table_12321870_32 (goals VARCHAR, matches VARCHAR)[/INST]SELECT goals FROM table_12321870_32 WHERE matches = "17"</s>
CREATE TABLE table_19722664_5 (assists INTEGER, player VARCHAR)
SELECT MAX(assists) FROM table_19722664_5 WHERE player = "Nicole Levandusky"
What is the largest amount of assists that Nicole Levandusky made?
<s>[INST]What is the largest amount of assists that Nicole Levandusky made? Context: CREATE TABLE table_19722664_5 (assists INTEGER, player VARCHAR)[/INST]SELECT MAX(assists) FROM table_19722664_5 WHERE player = "Nicole Levandusky"</s>
CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
SELECT directed_by FROM table_29063233_1 WHERE uk_viewers__million_ = "5.77"
Who directed the episode with a UK viewership of exactly 5.77 million?
<s>[INST]Who directed the episode with a UK viewership of exactly 5.77 million? Context: CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_29063233_1 WHERE uk_viewers__million_ = "5.77"</s>
CREATE TABLE table_name_86 (Id VARCHAR)
SELECT 1995 FROM table_name_86 WHERE 1993 = "3r"
Which 1995 has a 1993 of 3r?
<s>[INST]Which 1995 has a 1993 of 3r? Context: CREATE TABLE table_name_86 (Id VARCHAR)[/INST]SELECT 1995 FROM table_name_86 WHERE 1993 = "3r"</s>
CREATE TABLE table_name_28 (railway_number_s_ VARCHAR, class VARCHAR)
SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)"
What's the railway number of a D(rebuild) class?
<s>[INST]What's the railway number of a D(rebuild) class? Context: CREATE TABLE table_name_28 (railway_number_s_ VARCHAR, class VARCHAR)[/INST]SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)"</s>
CREATE TABLE table_name_16 (member VARCHAR, electorate VARCHAR)
SELECT member FROM table_name_16 WHERE electorate = "cook"
Which member has Cook as the electorate?
<s>[INST]Which member has Cook as the electorate? Context: CREATE TABLE table_name_16 (member VARCHAR, electorate VARCHAR)[/INST]SELECT member FROM table_name_16 WHERE electorate = "cook"</s>
CREATE TABLE table_name_34 (class VARCHAR, prom__m_ VARCHAR, peak VARCHAR)
SELECT class FROM table_name_34 WHERE prom__m_ > 30 AND peak = "sail"
Which Class is Peak Sail when it has a Prom larger than 30?
<s>[INST]Which Class is Peak Sail when it has a Prom larger than 30? Context: CREATE TABLE table_name_34 (class VARCHAR, prom__m_ VARCHAR, peak VARCHAR)[/INST]SELECT class FROM table_name_34 WHERE prom__m_ > 30 AND peak = "sail"</s>
CREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_50 WHERE country = "united states" AND year_s__won = "1962"
Which player from the United States won in 1962?
<s>[INST]Which player from the United States won in 1962? Context: CREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, year_s__won VARCHAR)[/INST]SELECT player FROM table_name_50 WHERE country = "united states" AND year_s__won = "1962"</s>
CREATE TABLE table_name_78 (romaji_title VARCHAR, japanese_title VARCHAR)
SELECT romaji_title FROM table_name_78 WHERE japanese_title = "花より男子2(リターンズ)"
Which Romaji Title has a Japanese Title of 花より男子2(リターンズ)?
<s>[INST]Which Romaji Title has a Japanese Title of 花より男子2(リターンズ)? Context: CREATE TABLE table_name_78 (romaji_title VARCHAR, japanese_title VARCHAR)[/INST]SELECT romaji_title FROM table_name_78 WHERE japanese_title = "花より男子2(リターンズ)"</s>
CREATE TABLE table_name_7 (level INTEGER, season VARCHAR)
SELECT SUM(level) FROM table_name_7 WHERE season = 2007
what is the total levels in 2007?
<s>[INST]what is the total levels in 2007? Context: CREATE TABLE table_name_7 (level INTEGER, season VARCHAR)[/INST]SELECT SUM(level) FROM table_name_7 WHERE season = 2007</s>
CREATE TABLE table_name_62 (wins INTEGER, earnings___$__ VARCHAR, events VARCHAR, player VARCHAR)
SELECT MIN(wins) FROM table_name_62 WHERE events = 8 AND player = "billy casper" AND earnings___$__ < 71 OFFSET 979
How many wins for billy casper over 8 events and uner $71,979 in earnings?
<s>[INST]How many wins for billy casper over 8 events and uner $71,979 in earnings? Context: CREATE TABLE table_name_62 (wins INTEGER, earnings___$__ VARCHAR, events VARCHAR, player VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_62 WHERE events = 8 AND player = "billy casper" AND earnings___$__ < 71 OFFSET 979</s>
CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_36 WHERE record = "18-21-7"
Which score has a record of 18-21-7?
<s>[INST]Which score has a record of 18-21-7? Context: CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_36 WHERE record = "18-21-7"</s>
CREATE TABLE table_2668329_25 (party VARCHAR, district VARCHAR)
SELECT party FROM table_2668329_25 WHERE district = "Virginia 4"
What party won the Virginia 4 district?
<s>[INST]What party won the Virginia 4 district? Context: CREATE TABLE table_2668329_25 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_2668329_25 WHERE district = "Virginia 4"</s>
CREATE TABLE table_name_75 (year VARCHAR, position VARCHAR)
SELECT year FROM table_name_75 WHERE position = "6/13"
What year was the position 6/13?
<s>[INST]What year was the position 6/13? Context: CREATE TABLE table_name_75 (year VARCHAR, position VARCHAR)[/INST]SELECT year FROM table_name_75 WHERE position = "6/13"</s>
CREATE TABLE table_name_98 (carries INTEGER, points VARCHAR, touchdowns VARCHAR)
SELECT SUM(carries) FROM table_name_98 WHERE points = 80 AND touchdowns < 16
What is the sum of carries associated with 80 points and fewer than 16 touchdowns?
<s>[INST]What is the sum of carries associated with 80 points and fewer than 16 touchdowns? Context: CREATE TABLE table_name_98 (carries INTEGER, points VARCHAR, touchdowns VARCHAR)[/INST]SELECT SUM(carries) FROM table_name_98 WHERE points = 80 AND touchdowns < 16</s>
CREATE TABLE table_name_1 (oilers_points INTEGER, record VARCHAR, oilers_first_downs VARCHAR)
SELECT AVG(oilers_points) FROM table_name_1 WHERE record = "10–6" AND oilers_first_downs > 14
Which Oilers points have a Record of 10–6, and Oilers first downs larger than 14?
<s>[INST]Which Oilers points have a Record of 10–6, and Oilers first downs larger than 14? Context: CREATE TABLE table_name_1 (oilers_points INTEGER, record VARCHAR, oilers_first_downs VARCHAR)[/INST]SELECT AVG(oilers_points) FROM table_name_1 WHERE record = "10–6" AND oilers_first_downs > 14</s>
CREATE TABLE table_name_48 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_48 WHERE catalog = "ch-9196"
Which label had a catalog designation of ch-9196?
<s>[INST]Which label had a catalog designation of ch-9196? Context: CREATE TABLE table_name_48 (label VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_48 WHERE catalog = "ch-9196"</s>
CREATE TABLE table_name_57 (title VARCHAR, name VARCHAR)
SELECT title FROM table_name_57 WHERE name = "amenemhat i"
What is the title of Amenemhat I?
<s>[INST]What is the title of Amenemhat I? Context: CREATE TABLE table_name_57 (title VARCHAR, name VARCHAR)[/INST]SELECT title FROM table_name_57 WHERE name = "amenemhat i"</s>
CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, secretary VARCHAR)
SELECT COUNT(production_stagemanager) FROM table_22410780_1 WHERE secretary = "Rachel Hartmann"
How many production stage managers worked with secretary Rachel Hartmann?
<s>[INST]How many production stage managers worked with secretary Rachel Hartmann? Context: CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, secretary VARCHAR)[/INST]SELECT COUNT(production_stagemanager) FROM table_22410780_1 WHERE secretary = "Rachel Hartmann"</s>
CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_18 WHERE player = "lon hinkle"
What place in Lon Hinkle in?
<s>[INST]What place in Lon Hinkle in? Context: CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_18 WHERE player = "lon hinkle"</s>
CREATE TABLE table_name_4 (role VARCHAR, year VARCHAR, festival_organization VARCHAR)
SELECT role FROM table_name_4 WHERE year = 2008 AND festival_organization = "sydney film festival"
What role was at the Sydney Film Festival in 2008?
<s>[INST]What role was at the Sydney Film Festival in 2008? Context: CREATE TABLE table_name_4 (role VARCHAR, year VARCHAR, festival_organization VARCHAR)[/INST]SELECT role FROM table_name_4 WHERE year = 2008 AND festival_organization = "sydney film festival"</s>
CREATE TABLE table_21350772_2 (gas_name VARCHAR)
SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Sulfur hexafluoride"
What is the 20 year for Sulfur Hexafluoride?
<s>[INST]What is the 20 year for Sulfur Hexafluoride? Context: CREATE TABLE table_21350772_2 (gas_name VARCHAR)[/INST]SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Sulfur hexafluoride"</s>
CREATE TABLE table_19017269_5 (europe VARCHAR, northern_america VARCHAR)
SELECT europe FROM table_19017269_5 WHERE northern_america = "482 (4.7%)"
what will be the population of Europe when Northern America is 482 (4.7%)?
<s>[INST]what will be the population of Europe when Northern America is 482 (4.7%)? Context: CREATE TABLE table_19017269_5 (europe VARCHAR, northern_america VARCHAR)[/INST]SELECT europe FROM table_19017269_5 WHERE northern_america = "482 (4.7%)"</s>
CREATE TABLE table_name_26 (home_team VARCHAR, road_team VARCHAR, game VARCHAR)
SELECT home_team FROM table_name_26 WHERE road_team = "los angeles" AND game = "game 1"
Which home team played against Los Angeles in game 1?
<s>[INST]Which home team played against Los Angeles in game 1? Context: CREATE TABLE table_name_26 (home_team VARCHAR, road_team VARCHAR, game VARCHAR)[/INST]SELECT home_team FROM table_name_26 WHERE road_team = "los angeles" AND game = "game 1"</s>
CREATE TABLE table_name_5 (casualties INTEGER, number VARCHAR)
SELECT AVG(casualties) FROM table_name_5 WHERE number = "u-844"
What is the average number of casualties for the convoy with a number of U-844?
<s>[INST]What is the average number of casualties for the convoy with a number of U-844? Context: CREATE TABLE table_name_5 (casualties INTEGER, number VARCHAR)[/INST]SELECT AVG(casualties) FROM table_name_5 WHERE number = "u-844"</s>
CREATE TABLE table_name_91 (bronze VARCHAR, total INTEGER)
SELECT bronze FROM table_name_91 WHERE total < 2
What is the value of bronze with less than 2 in total?
<s>[INST]What is the value of bronze with less than 2 in total? Context: CREATE TABLE table_name_91 (bronze VARCHAR, total INTEGER)[/INST]SELECT bronze FROM table_name_91 WHERE total < 2</s>
CREATE TABLE table_name_82 (nickname VARCHAR, location VARCHAR)
SELECT nickname FROM table_name_82 WHERE location = "southern river"
What Nickname has a Location of Southern River?
<s>[INST]What Nickname has a Location of Southern River? Context: CREATE TABLE table_name_82 (nickname VARCHAR, location VARCHAR)[/INST]SELECT nickname FROM table_name_82 WHERE location = "southern river"</s>
CREATE TABLE table_name_92 (villages INTEGER, hanzi VARCHAR, population VARCHAR)
SELECT MAX(villages) FROM table_name_92 WHERE hanzi = "南流乡" AND population > 24 OFFSET 802
Which town has the most villages with the hanzi 南流乡 and a population larger than 24,802?
<s>[INST]Which town has the most villages with the hanzi 南流乡 and a population larger than 24,802? Context: CREATE TABLE table_name_92 (villages INTEGER, hanzi VARCHAR, population VARCHAR)[/INST]SELECT MAX(villages) FROM table_name_92 WHERE hanzi = "南流乡" AND population > 24 OFFSET 802</s>
CREATE TABLE table_name_51 (ngc_number INTEGER, declination___j2000__ VARCHAR)
SELECT MAX(ngc_number) FROM table_name_51 WHERE declination___j2000__ = "°25′26″"
what is the highest ngc number when the declination (j2000) is °25′26″?
<s>[INST]what is the highest ngc number when the declination (j2000) is °25′26″? Context: CREATE TABLE table_name_51 (ngc_number INTEGER, declination___j2000__ VARCHAR)[/INST]SELECT MAX(ngc_number) FROM table_name_51 WHERE declination___j2000__ = "°25′26″"</s>
CREATE TABLE table_name_6 (laps INTEGER, pos VARCHAR)
SELECT AVG(laps) FROM table_name_6 WHERE pos = "dnf"
What is the average number of laps with a dnf pos.?
<s>[INST]What is the average number of laps with a dnf pos.? Context: CREATE TABLE table_name_6 (laps INTEGER, pos VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_6 WHERE pos = "dnf"</s>
CREATE TABLE table_name_92 (team VARCHAR, qual_2 VARCHAR)
SELECT team FROM table_name_92 WHERE qual_2 = "58.385"
What team had a qual 2 time of 58.385?
<s>[INST]What team had a qual 2 time of 58.385? Context: CREATE TABLE table_name_92 (team VARCHAR, qual_2 VARCHAR)[/INST]SELECT team FROM table_name_92 WHERE qual_2 = "58.385"</s>
CREATE TABLE table_20871703_1 (player_name VARCHAR, college VARCHAR)
SELECT player_name FROM table_20871703_1 WHERE college = "Eastern Michigan"
Who is the player name when eastern michigan is the college?
<s>[INST]Who is the player name when eastern michigan is the college? Context: CREATE TABLE table_20871703_1 (player_name VARCHAR, college VARCHAR)[/INST]SELECT player_name FROM table_20871703_1 WHERE college = "Eastern Michigan"</s>
CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342233_13 WHERE incumbent = "Melvin Price"
What district is incumbent melvin price from?
<s>[INST]What district is incumbent melvin price from? Context: CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1342233_13 WHERE incumbent = "Melvin Price"</s>
CREATE TABLE table_26826304_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
SELECT us_viewers__millions_ FROM table_26826304_1 WHERE directed_by = "Gordon C. Lonsdale"
How many were the US viewers (in millions) of the episode that was written by Gordon C. Lonsdale?
<s>[INST]How many were the US viewers (in millions) of the episode that was written by Gordon C. Lonsdale? Context: CREATE TABLE table_26826304_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_26826304_1 WHERE directed_by = "Gordon C. Lonsdale"</s>
CREATE TABLE table_name_15 (year INTEGER, issue_price VARCHAR, mintage VARCHAR)
SELECT SUM(year) FROM table_name_15 WHERE issue_price = "$1089.95" AND mintage < 900
What is the Year of the Coin with an Issue Price of $1089.95 and Mintage less than 900?
<s>[INST]What is the Year of the Coin with an Issue Price of $1089.95 and Mintage less than 900? Context: CREATE TABLE table_name_15 (year INTEGER, issue_price VARCHAR, mintage VARCHAR)[/INST]SELECT SUM(year) FROM table_name_15 WHERE issue_price = "$1089.95" AND mintage < 900</s>
CREATE TABLE table_1331313_1 (acronym VARCHAR, department VARCHAR)
SELECT acronym FROM table_1331313_1 WHERE department = "department of Finance Kagawaran ng Pananalapi"
what's the acronym with department being department of finance kagawaran ng pananalapi
<s>[INST]what's the acronym with department being department of finance kagawaran ng pananalapi Context: CREATE TABLE table_1331313_1 (acronym VARCHAR, department VARCHAR)[/INST]SELECT acronym FROM table_1331313_1 WHERE department = "department of Finance Kagawaran ng Pananalapi"</s>
CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_95 WHERE away_team = "melbourne tigers"
What was the venue that featured the Melbourne Tigers as the away team?
<s>[INST]What was the venue that featured the Melbourne Tigers as the away team? Context: CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_95 WHERE away_team = "melbourne tigers"</s>
CREATE TABLE member (Membership_card VARCHAR)
SELECT COUNT(*) FROM member WHERE Membership_card = 'Black'
How many members have the black membership card?
<s>[INST]How many members have the black membership card? Context: CREATE TABLE member (Membership_card VARCHAR)[/INST]SELECT COUNT(*) FROM member WHERE Membership_card = 'Black'</s>
CREATE TABLE table_name_40 (bronze INTEGER, rank INTEGER)
SELECT MAX(bronze) FROM table_name_40 WHERE rank < 1
What's the highest bronze with a less than 1 Rank?
<s>[INST]What's the highest bronze with a less than 1 Rank? Context: CREATE TABLE table_name_40 (bronze INTEGER, rank INTEGER)[/INST]SELECT MAX(bronze) FROM table_name_40 WHERE rank < 1</s>
CREATE TABLE table_15187735_20 (episode INTEGER)
SELECT MIN(episode) FROM table_15187735_20
What is the first episode number?
<s>[INST]What is the first episode number? Context: CREATE TABLE table_15187735_20 (episode INTEGER)[/INST]SELECT MIN(episode) FROM table_15187735_20</s>
CREATE TABLE table_22822559_4 (location_attendance VARCHAR, game VARCHAR)
SELECT COUNT(location_attendance) FROM table_22822559_4 WHERE game = 7
List the location and number of fans in attendance for game 7/
<s>[INST]List the location and number of fans in attendance for game 7/ Context: CREATE TABLE table_22822559_4 (location_attendance VARCHAR, game VARCHAR)[/INST]SELECT COUNT(location_attendance) FROM table_22822559_4 WHERE game = 7</s>
CREATE TABLE table_name_2 (engine VARCHAR, driver VARCHAR, class VARCHAR, team VARCHAR)
SELECT engine FROM table_name_2 WHERE class = "c" AND team = "hs technik motorsport" AND driver = "philipp eng"
What c class engine did philipp eng and team hs technik motorsport use?
<s>[INST]What c class engine did philipp eng and team hs technik motorsport use? Context: CREATE TABLE table_name_2 (engine VARCHAR, driver VARCHAR, class VARCHAR, team VARCHAR)[/INST]SELECT engine FROM table_name_2 WHERE class = "c" AND team = "hs technik motorsport" AND driver = "philipp eng"</s>
CREATE TABLE table_name_26 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR)
SELECT nationality FROM table_name_26 WHERE distance = "500m" AND year < 2012 AND record = "1:37.071s"
Which nationality's distance was 500m before 2012, when the record was 1:37.071s?
<s>[INST]Which nationality's distance was 500m before 2012, when the record was 1:37.071s? Context: CREATE TABLE table_name_26 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR)[/INST]SELECT nationality FROM table_name_26 WHERE distance = "500m" AND year < 2012 AND record = "1:37.071s"</s>
CREATE TABLE table_name_62 (host VARCHAR, state VARCHAR, venue VARCHAR)
SELECT host FROM table_name_62 WHERE state = "texas" AND venue = "montagne center"
What was the host of the round in the Montagne Center in Texas?
<s>[INST]What was the host of the round in the Montagne Center in Texas? Context: CREATE TABLE table_name_62 (host VARCHAR, state VARCHAR, venue VARCHAR)[/INST]SELECT host FROM table_name_62 WHERE state = "texas" AND venue = "montagne center"</s>
CREATE TABLE table_name_94 (sydney VARCHAR, melbourne VARCHAR, auckland VARCHAR)
SELECT sydney FROM table_name_94 WHERE melbourne = "no" AND auckland = "yes"
Which Sydney's Melbourne was no, when Auckland was yes?
<s>[INST]Which Sydney's Melbourne was no, when Auckland was yes? Context: CREATE TABLE table_name_94 (sydney VARCHAR, melbourne VARCHAR, auckland VARCHAR)[/INST]SELECT sydney FROM table_name_94 WHERE melbourne = "no" AND auckland = "yes"</s>
CREATE TABLE table_name_99 (bronze VARCHAR, gold VARCHAR)
SELECT bronze FROM table_name_99 WHERE gold = "jin kanno"
Who won the bronze when jin kanno won the gold?
<s>[INST]Who won the bronze when jin kanno won the gold? Context: CREATE TABLE table_name_99 (bronze VARCHAR, gold VARCHAR)[/INST]SELECT bronze FROM table_name_99 WHERE gold = "jin kanno"</s>
CREATE TABLE table_name_44 (draws INTEGER, against VARCHAR, wins VARCHAR)
SELECT SUM(draws) FROM table_name_44 WHERE against > 1106 AND wins > 13
Can you tell me the sum of Draws that has the Against larger than 1106, and the Wins larger than 13?
<s>[INST]Can you tell me the sum of Draws that has the Against larger than 1106, and the Wins larger than 13? Context: CREATE TABLE table_name_44 (draws INTEGER, against VARCHAR, wins VARCHAR)[/INST]SELECT SUM(draws) FROM table_name_44 WHERE against > 1106 AND wins > 13</s>
CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_56 WHERE home_team = "richmond"
Who was the opponent when Richmond played as the home team?
<s>[INST]Who was the opponent when Richmond played as the home team? Context: CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_56 WHERE home_team = "richmond"</s>
CREATE TABLE table_name_54 (tv_station VARCHAR, average_ratings VARCHAR)
SELECT tv_station FROM table_name_54 WHERE average_ratings = "16.89%"
Which TV Station has Average Ratings of 16.89%?
<s>[INST]Which TV Station has Average Ratings of 16.89%? Context: CREATE TABLE table_name_54 (tv_station VARCHAR, average_ratings VARCHAR)[/INST]SELECT tv_station FROM table_name_54 WHERE average_ratings = "16.89%"</s>
CREATE TABLE table_name_20 (award VARCHAR, category VARCHAR)
SELECT award FROM table_name_20 WHERE category = "best performance by a leading actor in a musical"
Which Award has best performance by a leading actor in a musical
<s>[INST]Which Award has best performance by a leading actor in a musical Context: CREATE TABLE table_name_20 (award VARCHAR, category VARCHAR)[/INST]SELECT award FROM table_name_20 WHERE category = "best performance by a leading actor in a musical"</s>
CREATE TABLE table_15315816_1 (year VARCHAR, champion VARCHAR)
SELECT year FROM table_15315816_1 WHERE champion = "Ji Min Jeong"
When are all years that the champion is Ji Min Jeong?
<s>[INST]When are all years that the champion is Ji Min Jeong? Context: CREATE TABLE table_15315816_1 (year VARCHAR, champion VARCHAR)[/INST]SELECT year FROM table_15315816_1 WHERE champion = "Ji Min Jeong"</s>
CREATE TABLE table_name_90 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
SELECT MIN(silver) FROM table_name_90 WHERE gold > 1 AND bronze > 6
What is the number of silver medals when there are more than 1 gold, and more than 6 bronze?
<s>[INST]What is the number of silver medals when there are more than 1 gold, and more than 6 bronze? Context: CREATE TABLE table_name_90 (silver INTEGER, gold VARCHAR, bronze VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_90 WHERE gold > 1 AND bronze > 6</s>
CREATE TABLE table_name_71 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
SELECT years_for_grizzlies FROM table_name_71 WHERE school_club_team = "ucla"
What are the years when the grizzles had a player who attended UCLA?
<s>[INST]What are the years when the grizzles had a player who attended UCLA? Context: CREATE TABLE table_name_71 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_for_grizzlies FROM table_name_71 WHERE school_club_team = "ucla"</s>
CREATE TABLE table_name_2 (status VARCHAR, opposing_team VARCHAR)
SELECT status FROM table_name_2 WHERE opposing_team = "gauteng falcons"
What status has gauteng falcons as the opposing team?
<s>[INST]What status has gauteng falcons as the opposing team? Context: CREATE TABLE table_name_2 (status VARCHAR, opposing_team VARCHAR)[/INST]SELECT status FROM table_name_2 WHERE opposing_team = "gauteng falcons"</s>
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_93 WHERE date = "march 12"
What is the Score with a Date that is march 12?
<s>[INST]What is the Score with a Date that is march 12? Context: CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_93 WHERE date = "march 12"</s>
CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, condition VARCHAR)
SELECT bleeding_time FROM table_1099080_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura"
What was the bleeding time for the factor x deficiency as seen in amyloid purpura
<s>[INST]What was the bleeding time for the factor x deficiency as seen in amyloid purpura Context: CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, condition VARCHAR)[/INST]SELECT bleeding_time FROM table_1099080_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura"</s>
CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR)
SELECT document_type_code FROM Document_Types WHERE document_description LIKE 'Initial%'
Which document type is described with the prefix 'Initial'?
<s>[INST]Which document type is described with the prefix 'Initial'? Context: CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR)[/INST]SELECT document_type_code FROM Document_Types WHERE document_description LIKE 'Initial%'</s>
CREATE TABLE table_name_65 (opponent VARCHAR, save VARCHAR)
SELECT opponent FROM table_name_65 WHERE save = "smith (22)"
Which opponent has a save of smith (22)?
<s>[INST]Which opponent has a save of smith (22)? Context: CREATE TABLE table_name_65 (opponent VARCHAR, save VARCHAR)[/INST]SELECT opponent FROM table_name_65 WHERE save = "smith (22)"</s>
CREATE TABLE table_name_57 (weight__kg_ INTEGER, name VARCHAR)
SELECT MAX(weight__kg_) FROM table_name_57 WHERE name = "scott gomez"
What is Scott Gomez's biggest weight?
<s>[INST]What is Scott Gomez's biggest weight? Context: CREATE TABLE table_name_57 (weight__kg_ INTEGER, name VARCHAR)[/INST]SELECT MAX(weight__kg_) FROM table_name_57 WHERE name = "scott gomez"</s>
CREATE TABLE table_name_40 (robbery INTEGER, crime_index_total VARCHAR, aggravated_assault VARCHAR, non_violent_crime VARCHAR, rape VARCHAR)
SELECT AVG(robbery) FROM table_name_40 WHERE non_violent_crime < 1147 AND rape < 11 AND aggravated_assault > 167 AND crime_index_total = 1313
Which average Robbery has the following criteria: Non-Violent crime less than 1147, rape less then 11, aggrevated assault greater than 167 and a crime index with a total of 1313?
<s>[INST]Which average Robbery has the following criteria: Non-Violent crime less than 1147, rape less then 11, aggrevated assault greater than 167 and a crime index with a total of 1313? Context: CREATE TABLE table_name_40 (robbery INTEGER, crime_index_total VARCHAR, aggravated_assault VARCHAR, non_violent_crime VARCH...
CREATE TABLE table_name_60 (event VARCHAR, opponent VARCHAR, method VARCHAR)
SELECT event FROM table_name_60 WHERE opponent = "akihiro gono" AND method = "decision"
Which event has an Opponent of akihiro gono, and a Method of decision?
<s>[INST]Which event has an Opponent of akihiro gono, and a Method of decision? Context: CREATE TABLE table_name_60 (event VARCHAR, opponent VARCHAR, method VARCHAR)[/INST]SELECT event FROM table_name_60 WHERE opponent = "akihiro gono" AND method = "decision"</s>
CREATE TABLE table_name_65 (error VARCHAR, size__steps_ VARCHAR, just__cents_ VARCHAR)
SELECT error FROM table_name_65 WHERE size__steps_ > 5 AND just__cents_ = 536.95
What is the error that has a size (steps) more than 5 and a just (cents) value 536.95
<s>[INST]What is the error that has a size (steps) more than 5 and a just (cents) value 536.95 Context: CREATE TABLE table_name_65 (error VARCHAR, size__steps_ VARCHAR, just__cents_ VARCHAR)[/INST]SELECT error FROM table_name_65 WHERE size__steps_ > 5 AND just__cents_ = 536.95</s>
CREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR)
SELECT team_name FROM table_name_92 WHERE races = 10
Which team completed 10 races?
<s>[INST]Which team completed 10 races? Context: CREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR)[/INST]SELECT team_name FROM table_name_92 WHERE races = 10</s>
CREATE TABLE table_name_71 (total INTEGER, nation VARCHAR, e_score VARCHAR)
SELECT AVG(total) FROM table_name_71 WHERE nation = "belarus" AND e_score < 8.2
What is the average total score of Belarus, which had an E score less than 8.2?
<s>[INST]What is the average total score of Belarus, which had an E score less than 8.2? Context: CREATE TABLE table_name_71 (total INTEGER, nation VARCHAR, e_score VARCHAR)[/INST]SELECT AVG(total) FROM table_name_71 WHERE nation = "belarus" AND e_score < 8.2</s>
CREATE TABLE table_name_16 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR)
SELECT date FROM table_name_16 WHERE label = "alfa records" AND format = "cd" AND catalog = "alca-9201"
What is the date of the label Alfa records, a CD format, and an alca-9201 catalog?
<s>[INST]What is the date of the label Alfa records, a CD format, and an alca-9201 catalog? Context: CREATE TABLE table_name_16 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_16 WHERE label = "alfa records" AND format = "cd" AND catalog = "alca-9201"</s>
CREATE TABLE review (i_id VARCHAR, rank INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR)
SELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rank) DESC LIMIT 1
Find the name and id of the good with the highest average rank.
<s>[INST]Find the name and id of the good with the highest average rank. Context: CREATE TABLE review (i_id VARCHAR, rank INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR)[/INST]SELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rank) DESC LIMIT 1</s...
CREATE TABLE table_name_36 (year INTEGER, points VARCHAR, chassis VARCHAR)
SELECT MIN(year) FROM table_name_36 WHERE points = 3 AND chassis = "cooper t20"
What was the earliest year for a car with 3 points and Cooper t20 chassis?
<s>[INST]What was the earliest year for a car with 3 points and Cooper t20 chassis? Context: CREATE TABLE table_name_36 (year INTEGER, points VARCHAR, chassis VARCHAR)[/INST]SELECT MIN(year) FROM table_name_36 WHERE points = 3 AND chassis = "cooper t20"</s>
CREATE TABLE table_name_99 (matches INTEGER, clubs VARCHAR)
SELECT MIN(matches) FROM table_name_99 WHERE clubs = "46 → 32"
What is the lowest number of matches that has a Clubs of 46 → 32?
<s>[INST]What is the lowest number of matches that has a Clubs of 46 → 32? Context: CREATE TABLE table_name_99 (matches INTEGER, clubs VARCHAR)[/INST]SELECT MIN(matches) FROM table_name_99 WHERE clubs = "46 → 32"</s>
CREATE TABLE Transcripts (transcript_date VARCHAR)
SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1
What is the last transcript release date?
<s>[INST]What is the last transcript release date? Context: CREATE TABLE Transcripts (transcript_date VARCHAR)[/INST]SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1</s>
CREATE TABLE table_name_15 (date VARCHAR, centerfold_model VARCHAR)
SELECT date FROM table_name_15 WHERE centerfold_model = "shannon long"
When was Shannon Long the Centerfold model?
<s>[INST]When was Shannon Long the Centerfold model? Context: CREATE TABLE table_name_15 (date VARCHAR, centerfold_model VARCHAR)[/INST]SELECT date FROM table_name_15 WHERE centerfold_model = "shannon long"</s>
CREATE TABLE table_name_80 (undecided VARCHAR, source VARCHAR, murray VARCHAR)
SELECT undecided FROM table_name_80 WHERE source = "suffolk university" AND murray = "11%"
What is the undecided percentage of the poll from Suffolk University with Murray at 11%?
<s>[INST]What is the undecided percentage of the poll from Suffolk University with Murray at 11%? Context: CREATE TABLE table_name_80 (undecided VARCHAR, source VARCHAR, murray VARCHAR)[/INST]SELECT undecided FROM table_name_80 WHERE source = "suffolk university" AND murray = "11%"</s>
CREATE TABLE table_name_89 (tyres VARCHAR, laps VARCHAR, team VARCHAR)
SELECT tyres FROM table_name_89 WHERE laps > 5 AND team = "nissan motorsports international"
Which tyres has more than 5 laps with team nissan motorsports international?
<s>[INST]Which tyres has more than 5 laps with team nissan motorsports international? Context: CREATE TABLE table_name_89 (tyres VARCHAR, laps VARCHAR, team VARCHAR)[/INST]SELECT tyres FROM table_name_89 WHERE laps > 5 AND team = "nissan motorsports international"</s>
CREATE TABLE table_1341453_40 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1341453_40 WHERE incumbent = "Bud Shuster"
When was incumbent Bud Shuster first elected?
<s>[INST]When was incumbent Bud Shuster first elected? Context: CREATE TABLE table_1341453_40 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_1341453_40 WHERE incumbent = "Bud Shuster"</s>
CREATE TABLE table_name_2 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)
SELECT height_above_sea_level__m_ FROM table_name_2 WHERE opened < 1887 AND distance_from_wellington = "175.67km"
What is the height above sea level for the station opened 175.67km from Wellington prior to 1887?
<s>[INST]What is the height above sea level for the station opened 175.67km from Wellington prior to 1887? Context: CREATE TABLE table_name_2 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)[/INST]SELECT height_above_sea_level__m_ FROM table_name_2 WHERE opened < 1887 AND distance_...
CREATE TABLE table_1701371_2 (pixels VARCHAR, hardware_colours VARCHAR)
SELECT pixels FROM table_1701371_2 WHERE hardware_colours = 8
How many pixels would be found in a hardware colour of 8?
<s>[INST]How many pixels would be found in a hardware colour of 8? Context: CREATE TABLE table_1701371_2 (pixels VARCHAR, hardware_colours VARCHAR)[/INST]SELECT pixels FROM table_1701371_2 WHERE hardware_colours = 8</s>
CREATE TABLE table_name_54 (segment_b VARCHAR, netflix VARCHAR)
SELECT segment_b FROM table_name_54 WHERE netflix = "s03e01"
What was the B segmint for Netlix S03E01?
<s>[INST]What was the B segmint for Netlix S03E01? Context: CREATE TABLE table_name_54 (segment_b VARCHAR, netflix VARCHAR)[/INST]SELECT segment_b FROM table_name_54 WHERE netflix = "s03e01"</s>
CREATE TABLE table_name_15 (total INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_15 WHERE silver > 1 AND bronze < 8
Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8?
<s>[INST]Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8? Context: CREATE TABLE table_name_15 (total INTEGER, silver VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(total) FROM table_name_15 WHERE silver > 1 AND bronze < 8</s>
CREATE TABLE table_name_71 (class VARCHAR, team VARCHAR)
SELECT class AS pos FROM table_name_71 WHERE team = "jml team panoz"
Which class Pos has a Team of jml team panoz?
<s>[INST]Which class Pos has a Team of jml team panoz? Context: CREATE TABLE table_name_71 (class VARCHAR, team VARCHAR)[/INST]SELECT class AS pos FROM table_name_71 WHERE team = "jml team panoz"</s>