context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_1341577_43 (candidates VARCHAR, incumbent VARCHAR)
SELECT COUNT(candidates) FROM table_1341577_43 WHERE incumbent = "Bob Clement"
How many candidates are listed all together for the incumbent named bob clement?
<s>[INST]How many candidates are listed all together for the incumbent named bob clement? Context: CREATE TABLE table_1341577_43 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1341577_43 WHERE incumbent = "Bob Clement"</s>
CREATE TABLE table_name_38 (byes INTEGER, south_west_dfl VARCHAR, wins VARCHAR)
SELECT MAX(byes) FROM table_name_38 WHERE south_west_dfl = "heathmere" AND wins > 11
When the team Heathmere of the South West DFL won more than 11 games, what is the maximum byes?
<s>[INST]When the team Heathmere of the South West DFL won more than 11 games, what is the maximum byes? Context: CREATE TABLE table_name_38 (byes INTEGER, south_west_dfl VARCHAR, wins VARCHAR)[/INST]SELECT MAX(byes) FROM table_name_38 WHERE south_west_dfl = "heathmere" AND wins > 11</s>
CREATE TABLE table_name_78 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_78 WHERE home_team = "essendon"
What did the home team of essendon score?
<s>[INST]What did the home team of essendon score? Context: CREATE TABLE table_name_78 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_78 WHERE home_team = "essendon"</s>
CREATE TABLE table_name_28 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT gold FROM table_name_28 WHERE bronze > 1 AND total < 10 AND silver = 3
What is the gold for a bronze larger than 1, with a total smaller than 10, and a silver of 3?
<s>[INST]What is the gold for a bronze larger than 1, with a total smaller than 10, and a silver of 3? Context: CREATE TABLE table_name_28 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT gold FROM table_name_28 WHERE bronze > 1 AND total < 10 AND silver = 3</s>
CREATE TABLE device (Software_Platform VARCHAR)
SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC
Please show the software platforms of devices in descending order of the count.
<s>[INST]Please show the software platforms of devices in descending order of the count. Context: CREATE TABLE device (Software_Platform VARCHAR)[/INST]SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC</s>
CREATE TABLE table_name_90 (country VARCHAR, total VARCHAR, year_s__won VARCHAR)
SELECT country FROM table_name_90 WHERE total > 283 AND year_s__won = "1989"
What is Country, when Total is greater than 283, and when Year(s) Won is "1989"?
<s>[INST]What is Country, when Total is greater than 283, and when Year(s) Won is "1989"? Context: CREATE TABLE table_name_90 (country VARCHAR, total VARCHAR, year_s__won VARCHAR)[/INST]SELECT country FROM table_name_90 WHERE total > 283 AND year_s__won = "1989"</s>
CREATE TABLE table_name_69 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT year__ceremony_ FROM table_name_69 WHERE original_title = "zona sur"
What year was Zona Sur nominated?
<s>[INST]What year was Zona Sur nominated? Context: CREATE TABLE table_name_69 (year__ceremony_ VARCHAR, original_title VARCHAR)[/INST]SELECT year__ceremony_ FROM table_name_69 WHERE original_title = "zona sur"</s>
CREATE TABLE university (school_id VARCHAR); CREATE TABLE basketball_match (team_name VARCHAR, school_id VARCHAR); CREATE TABLE university (enrollment INTEGER)
SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE enrollment < (SELECT AVG(enrollment) FROM university)
Find the team names of the universities whose enrollments are smaller than the average enrollment size.
<s>[INST]Find the team names of the universities whose enrollments are smaller than the average enrollment size. Context: CREATE TABLE university (school_id VARCHAR); CREATE TABLE basketball_match (team_name VARCHAR, school_id VARCHAR); CREATE TABLE university (enrollment INTEGER)[/INST]SELECT t2.team_name FROM univers...
CREATE TABLE table_name_79 (Id VARCHAR)
SELECT 2009 FROM table_name_79 WHERE 2010 = "a"
What is the 2009 value with a 2010 A value?
<s>[INST]What is the 2009 value with a 2010 A value? Context: CREATE TABLE table_name_79 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_79 WHERE 2010 = "a"</s>
CREATE TABLE table_name_63 (opponent_in_the_final VARCHAR, championship VARCHAR)
SELECT opponent_in_the_final FROM table_name_63 WHERE championship = "johannesburg, south africa"
Who was the opponent in the championship in Johannesburg, South Africa?
<s>[INST]Who was the opponent in the championship in Johannesburg, South Africa? Context: CREATE TABLE table_name_63 (opponent_in_the_final VARCHAR, championship VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_63 WHERE championship = "johannesburg, south africa"</s>
CREATE TABLE table_name_15 (gold INTEGER, bronze VARCHAR, total VARCHAR)
SELECT MAX(gold) FROM table_name_15 WHERE bronze > 3 AND total < 24
Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?
<s>[INST]Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24? Context: CREATE TABLE table_name_15 (gold INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_15 WHERE bronze > 3 AND total < 24</s>
CREATE TABLE table_name_10 (grid VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_10 WHERE driver = "heinz-harald frentzen"
I want the total number of Grids for heinz-harald frentzen
<s>[INST]I want the total number of Grids for heinz-harald frentzen Context: CREATE TABLE table_name_10 (grid VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_10 WHERE driver = "heinz-harald frentzen"</s>
CREATE TABLE table_name_10 (record VARCHAR, save VARCHAR)
SELECT record FROM table_name_10 WHERE save = "david weathers (15)"
What was the record the day David Weathers (15) had a save?
<s>[INST]What was the record the day David Weathers (15) had a save? Context: CREATE TABLE table_name_10 (record VARCHAR, save VARCHAR)[/INST]SELECT record FROM table_name_10 WHERE save = "david weathers (15)"</s>
CREATE TABLE table_name_28 (score VARCHAR, record VARCHAR, december VARCHAR, game VARCHAR, points VARCHAR)
SELECT score FROM table_name_28 WHERE game > 32 AND points < 42 AND december > 19 AND record = "18–12–5"
Which Score has a Game larger than 32, and Points smaller than 42, and a December larger than 19, and a Record of 18–12–5?
<s>[INST]Which Score has a Game larger than 32, and Points smaller than 42, and a December larger than 19, and a Record of 18–12–5? Context: CREATE TABLE table_name_28 (score VARCHAR, record VARCHAR, december VARCHAR, game VARCHAR, points VARCHAR)[/INST]SELECT score FROM table_name_28 WHERE game > 32 AND points < 42 AN...
CREATE TABLE table_2409041_3 (production_code VARCHAR, no_in_series VARCHAR)
SELECT COUNT(production_code) FROM table_2409041_3 WHERE no_in_series = 39
How many production codes were in series 39?
<s>[INST]How many production codes were in series 39? Context: CREATE TABLE table_2409041_3 (production_code VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(production_code) FROM table_2409041_3 WHERE no_in_series = 39</s>
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT 2009 FROM table_name_19 WHERE 2012 = "lq" AND 2011 = "2r" AND 2008 = "lq"
What is the 2009 value with lq in 2012, 2r in 2011, and lq in 2008?
<s>[INST]What is the 2009 value with lq in 2012, 2r in 2011, and lq in 2008? Context: CREATE TABLE table_name_19 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_19 WHERE 2012 = "lq" AND 2011 = "2r" AND 2008 = "lq"</s>
CREATE TABLE table_26267607_2 (circuit VARCHAR, round VARCHAR)
SELECT circuit FROM table_26267607_2 WHERE round = "1"
Round 1 is in what circuit?
<s>[INST]Round 1 is in what circuit? Context: CREATE TABLE table_26267607_2 (circuit VARCHAR, round VARCHAR)[/INST]SELECT circuit FROM table_26267607_2 WHERE round = "1"</s>
CREATE TABLE table_name_30 (extra VARCHAR, result VARCHAR, year VARCHAR)
SELECT extra FROM table_name_30 WHERE result = "2nd" AND year < 2005
Which extra resulted in 2nd before 2005?
<s>[INST]Which extra resulted in 2nd before 2005? Context: CREATE TABLE table_name_30 (extra VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT extra FROM table_name_30 WHERE result = "2nd" AND year < 2005</s>
CREATE TABLE table_name_56 (elected VARCHAR, district VARCHAR)
SELECT elected FROM table_name_56 WHERE district = 15
What was the year elected in District 15?
<s>[INST]What was the year elected in District 15? Context: CREATE TABLE table_name_56 (elected VARCHAR, district VARCHAR)[/INST]SELECT elected FROM table_name_56 WHERE district = 15</s>
CREATE TABLE table_name_67 (grid INTEGER, name VARCHAR)
SELECT MAX(grid) FROM table_name_67 WHERE name = "jamie whincup"
What is the highest Grid with a Name that is jamie whincup?
<s>[INST]What is the highest Grid with a Name that is jamie whincup? Context: CREATE TABLE table_name_67 (grid INTEGER, name VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_67 WHERE name = "jamie whincup"</s>
CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Name VARCHAR, Member_ID VARCHAR)
SELECT Name FROM member WHERE NOT Member_ID IN (SELECT Member_ID FROM member_attendance)
List the names of members who did not attend any performance.
<s>[INST]List the names of members who did not attend any performance. Context: CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Name VARCHAR, Member_ID VARCHAR)[/INST]SELECT Name FROM member WHERE NOT Member_ID IN (SELECT Member_ID FROM member_attendance)</s>
CREATE TABLE table_name_40 (density__per_km²_ INTEGER, no_munic VARCHAR)
SELECT AVG(density__per_km²_) FROM table_name_40 WHERE no_munic = 53
What is the average Density of 53 No. munic.?
<s>[INST]What is the average Density of 53 No. munic.? Context: CREATE TABLE table_name_40 (density__per_km²_ INTEGER, no_munic VARCHAR)[/INST]SELECT AVG(density__per_km²_) FROM table_name_40 WHERE no_munic = 53</s>
CREATE TABLE table_name_19 (tournament VARCHAR)
SELECT 2010 FROM table_name_19 WHERE 2009 = "0" AND tournament = "finals"
WHAT IS THE 2010 PERFORMANCE THAT HAD 2009 0F 0, AND FINALS TOURNAMENT?
<s>[INST]WHAT IS THE 2010 PERFORMANCE THAT HAD 2009 0F 0, AND FINALS TOURNAMENT? Context: CREATE TABLE table_name_19 (tournament VARCHAR)[/INST]SELECT 2010 FROM table_name_19 WHERE 2009 = "0" AND tournament = "finals"</s>
CREATE TABLE table_27862483_3 (attendance INTEGER, win VARCHAR)
SELECT MIN(attendance) FROM table_27862483_3 WHERE win = "G. Claypool (4-1)"
How many people saw the game won by G. Claypool (4-1)?
<s>[INST]How many people saw the game won by G. Claypool (4-1)? Context: CREATE TABLE table_27862483_3 (attendance INTEGER, win VARCHAR)[/INST]SELECT MIN(attendance) FROM table_27862483_3 WHERE win = "G. Claypool (4-1)"</s>
CREATE TABLE table_27496841_3 (average VARCHAR, rank_by_average VARCHAR)
SELECT average FROM table_27496841_3 WHERE rank_by_average = 3
Name the average for rank of 3
<s>[INST]Name the average for rank of 3 Context: CREATE TABLE table_27496841_3 (average VARCHAR, rank_by_average VARCHAR)[/INST]SELECT average FROM table_27496841_3 WHERE rank_by_average = 3</s>
CREATE TABLE table_name_88 (latin_commander VARCHAR, battle VARCHAR)
SELECT latin_commander FROM table_name_88 WHERE battle = "siege of constantinople"
Who is the Latin Commander of the Siege of Constantinople?
<s>[INST]Who is the Latin Commander of the Siege of Constantinople? Context: CREATE TABLE table_name_88 (latin_commander VARCHAR, battle VARCHAR)[/INST]SELECT latin_commander FROM table_name_88 WHERE battle = "siege of constantinople"</s>
CREATE TABLE table_name_65 (week VARCHAR, opponent VARCHAR)
SELECT COUNT(week) FROM table_name_65 WHERE opponent = "san francisco 49ers"
How many weeks has the opponent been san francisco 49ers?
<s>[INST]How many weeks has the opponent been san francisco 49ers? Context: CREATE TABLE table_name_65 (week VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_65 WHERE opponent = "san francisco 49ers"</s>
CREATE TABLE table_name_9 (year INTEGER, result VARCHAR)
SELECT MIN(year) FROM table_name_9 WHERE result = "12th"
What was the first year he placed 12th
<s>[INST]What was the first year he placed 12th Context: CREATE TABLE table_name_9 (year INTEGER, result VARCHAR)[/INST]SELECT MIN(year) FROM table_name_9 WHERE result = "12th"</s>
CREATE TABLE table_name_58 (renamed VARCHAR, ship VARCHAR)
SELECT renamed FROM table_name_58 WHERE ship = "ajax"
What was the original name of the ship 'Ajax'?
<s>[INST]What was the original name of the ship 'Ajax'? Context: CREATE TABLE table_name_58 (renamed VARCHAR, ship VARCHAR)[/INST]SELECT renamed FROM table_name_58 WHERE ship = "ajax"</s>
CREATE TABLE table_name_38 (Id VARCHAR)
SELECT 2008 FROM table_name_38 WHERE 2011 = "2r" AND 2010 = "a"
What is the 2008 of the 2r 2011 and A 2010?
<s>[INST]What is the 2008 of the 2r 2011 and A 2010? Context: CREATE TABLE table_name_38 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_38 WHERE 2011 = "2r" AND 2010 = "a"</s>
CREATE TABLE table_name_40 (constructor VARCHAR, rounds VARCHAR, chassis VARCHAR)
SELECT constructor FROM table_name_40 WHERE rounds = "10-12" AND chassis = "m7a"
Which constructor has 10-12 rounds and a M7A chassis?
<s>[INST]Which constructor has 10-12 rounds and a M7A chassis? Context: CREATE TABLE table_name_40 (constructor VARCHAR, rounds VARCHAR, chassis VARCHAR)[/INST]SELECT constructor FROM table_name_40 WHERE rounds = "10-12" AND chassis = "m7a"</s>
CREATE TABLE table_name_41 (nba_draft VARCHAR, height VARCHAR, college VARCHAR)
SELECT nba_draft FROM table_name_41 WHERE height = "6-9" AND college = "kentucky"
For the player with a Height of 6-9 and College of Kentucky what was their NBA Draft?
<s>[INST]For the player with a Height of 6-9 and College of Kentucky what was their NBA Draft? Context: CREATE TABLE table_name_41 (nba_draft VARCHAR, height VARCHAR, college VARCHAR)[/INST]SELECT nba_draft FROM table_name_41 WHERE height = "6-9" AND college = "kentucky"</s>
CREATE TABLE Rating (mID VARCHAR, stars INTEGER)
SELECT mID, AVG(stars) FROM Rating GROUP BY mID HAVING COUNT(*) >= 2
Find the average rating star for each movie that received at least 2 ratings.
<s>[INST]Find the average rating star for each movie that received at least 2 ratings. Context: CREATE TABLE Rating (mID VARCHAR, stars INTEGER)[/INST]SELECT mID, AVG(stars) FROM Rating GROUP BY mID HAVING COUNT(*) >= 2</s>
CREATE TABLE table_name_46 (date_of_birth__age_ VARCHAR, player VARCHAR)
SELECT date_of_birth__age_ FROM table_name_46 WHERE player = "paino hehea"
What is Paino Hehea's date of birth?
<s>[INST]What is Paino Hehea's date of birth? Context: CREATE TABLE table_name_46 (date_of_birth__age_ VARCHAR, player VARCHAR)[/INST]SELECT date_of_birth__age_ FROM table_name_46 WHERE player = "paino hehea"</s>
CREATE TABLE table_name_89 (polling_firm VARCHAR, green VARCHAR, date_of_polling VARCHAR)
SELECT polling_firm FROM table_name_89 WHERE green < 13 AND date_of_polling = "june 21–22, 2011"
What june 21–22, 2011 polling has green smaller than 13?
<s>[INST]What june 21–22, 2011 polling has green smaller than 13? Context: CREATE TABLE table_name_89 (polling_firm VARCHAR, green VARCHAR, date_of_polling VARCHAR)[/INST]SELECT polling_firm FROM table_name_89 WHERE green < 13 AND date_of_polling = "june 21–22, 2011"</s>
CREATE TABLE table_name_93 (location VARCHAR, previous_champion_s_ VARCHAR)
SELECT location FROM table_name_93 WHERE previous_champion_s_ = "mike webb and nick fahrenheit"
Which location had previous champions of Mike Webb and Nick Fahrenheit?
<s>[INST]Which location had previous champions of Mike Webb and Nick Fahrenheit? Context: CREATE TABLE table_name_93 (location VARCHAR, previous_champion_s_ VARCHAR)[/INST]SELECT location FROM table_name_93 WHERE previous_champion_s_ = "mike webb and nick fahrenheit"</s>
CREATE TABLE table_name_2 (week INTEGER, attendance VARCHAR)
SELECT SUM(week) FROM table_name_2 WHERE attendance = 40 OFFSET 429
For what week was the attendance 40,429?
<s>[INST]For what week was the attendance 40,429? Context: CREATE TABLE table_name_2 (week INTEGER, attendance VARCHAR)[/INST]SELECT SUM(week) FROM table_name_2 WHERE attendance = 40 OFFSET 429</s>
CREATE TABLE table_23614702_2 (warship VARCHAR, main_artillery VARCHAR)
SELECT warship FROM table_23614702_2 WHERE main_artillery = "1x115-2x70-2x12-pounders"
List the ship with 1x115-2x70-2x12-pounders for primary artillery.
<s>[INST]List the ship with 1x115-2x70-2x12-pounders for primary artillery. Context: CREATE TABLE table_23614702_2 (warship VARCHAR, main_artillery VARCHAR)[/INST]SELECT warship FROM table_23614702_2 WHERE main_artillery = "1x115-2x70-2x12-pounders"</s>
CREATE TABLE table_name_68 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR)
SELECT telugu_తెలుగు FROM table_name_68 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்"
Which Telugu తెలుగు has a Tamil தமிழ் of pūrāṭam பூராடம்?
<s>[INST]Which Telugu తెలుగు has a Tamil தமிழ் of pūrāṭam பூராடம்? Context: CREATE TABLE table_name_68 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR)[/INST]SELECT telugu_తెలుగు FROM table_name_68 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்"</s>
CREATE TABLE players (Id VARCHAR)
SELECT COUNT(*) FROM players
Find the total number of players.
<s>[INST]Find the total number of players. Context: CREATE TABLE players (Id VARCHAR)[/INST]SELECT COUNT(*) FROM players</s>
CREATE TABLE table_name_86 (opponent VARCHAR, field VARCHAR)
SELECT opponent FROM table_name_86 WHERE field = "homewood field"
Who was the opponent of the game at Homewood field?
<s>[INST]Who was the opponent of the game at Homewood field? Context: CREATE TABLE table_name_86 (opponent VARCHAR, field VARCHAR)[/INST]SELECT opponent FROM table_name_86 WHERE field = "homewood field"</s>
CREATE TABLE table_13805432_2 (highest_position INTEGER, artist VARCHAR)
SELECT MIN(highest_position) FROM table_13805432_2 WHERE artist = "Paul Evans"
what is the minimum highest position with artbeingt being paul evans
<s>[INST]what is the minimum highest position with artbeingt being paul evans Context: CREATE TABLE table_13805432_2 (highest_position INTEGER, artist VARCHAR)[/INST]SELECT MIN(highest_position) FROM table_13805432_2 WHERE artist = "Paul Evans"</s>
CREATE TABLE table_name_71 (lecturers VARCHAR, total VARCHAR, associate_professors VARCHAR, assistant_professors VARCHAR, professors VARCHAR)
SELECT COUNT(lecturers) FROM table_name_71 WHERE assistant_professors > 8 AND professors > 14 AND associate_professors < 35 AND total > 81
How may lecturers are there in the case when there are more than 8 assistant professors, fewer than 35 associate professors, more than 14 professors and total of more than 81?
<s>[INST]How may lecturers are there in the case when there are more than 8 assistant professors, fewer than 35 associate professors, more than 14 professors and total of more than 81? Context: CREATE TABLE table_name_71 (lecturers VARCHAR, total VARCHAR, associate_professors VARCHAR, assistant_professors VARCHAR, prof...
CREATE TABLE table_name_97 (surface VARCHAR, tournament VARCHAR, date VARCHAR)
SELECT surface FROM table_name_97 WHERE tournament = "carthage" AND date = "august 14, 1994"
What type of surface was used for the carthage tournament on august 14, 1994?
<s>[INST]What type of surface was used for the carthage tournament on august 14, 1994? Context: CREATE TABLE table_name_97 (surface VARCHAR, tournament VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_97 WHERE tournament = "carthage" AND date = "august 14, 1994"</s>
CREATE TABLE route (train_id VARCHAR); CREATE TABLE train (name VARCHAR, id VARCHAR)
SELECT t1.name FROM train AS t1 JOIN route AS t2 ON t1.id = t2.train_id GROUP BY t2.train_id ORDER BY COUNT(*) DESC LIMIT 1
Find the name of the train whose route runs through greatest number of stations.
<s>[INST]Find the name of the train whose route runs through greatest number of stations. Context: CREATE TABLE route (train_id VARCHAR); CREATE TABLE train (name VARCHAR, id VARCHAR)[/INST]SELECT t1.name FROM train AS t1 JOIN route AS t2 ON t1.id = t2.train_id GROUP BY t2.train_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_2588674_1 (village VARCHAR, area_km² VARCHAR)
SELECT village FROM table_2588674_1 WHERE area_km² = "27.19"
What village has an area of 27.19 km2?
<s>[INST]What village has an area of 27.19 km2? Context: CREATE TABLE table_2588674_1 (village VARCHAR, area_km² VARCHAR)[/INST]SELECT village FROM table_2588674_1 WHERE area_km² = "27.19"</s>
CREATE TABLE table_16010376_1 (cartridge VARCHAR, source VARCHAR)
SELECT cartridge FROM table_16010376_1 WHERE source = "Weatherby"
What type of cartridge is used by a Weatherby?
<s>[INST]What type of cartridge is used by a Weatherby? Context: CREATE TABLE table_16010376_1 (cartridge VARCHAR, source VARCHAR)[/INST]SELECT cartridge FROM table_16010376_1 WHERE source = "Weatherby"</s>
CREATE TABLE table_name_11 (club VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT club FROM table_name_11 WHERE drawn = "0" AND points = "26"
Which Club has a Drawn of 0, and Points of 26?
<s>[INST]Which Club has a Drawn of 0, and Points of 26? Context: CREATE TABLE table_name_11 (club VARCHAR, drawn VARCHAR, points VARCHAR)[/INST]SELECT club FROM table_name_11 WHERE drawn = "0" AND points = "26"</s>
CREATE TABLE table_name_45 (field_goals INTEGER, extra_points VARCHAR, touchdowns VARCHAR, player VARCHAR)
SELECT SUM(field_goals) FROM table_name_45 WHERE touchdowns < 3 AND player = "willis ward" AND extra_points < 0
How many Field goals have Touchdowns smaller than 3, and a Player of willis ward, and an Extra points smaller than 0?
<s>[INST]How many Field goals have Touchdowns smaller than 3, and a Player of willis ward, and an Extra points smaller than 0? Context: CREATE TABLE table_name_45 (field_goals INTEGER, extra_points VARCHAR, touchdowns VARCHAR, player VARCHAR)[/INST]SELECT SUM(field_goals) FROM table_name_45 WHERE touchdowns < 3 AND pla...
CREATE TABLE table_name_57 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_57 WHERE opponent = "greg rusedski"
What is the tournament with greg rusedski as the opponent?
<s>[INST]What is the tournament with greg rusedski as the opponent? Context: CREATE TABLE table_name_57 (tournament VARCHAR, opponent VARCHAR)[/INST]SELECT tournament FROM table_name_57 WHERE opponent = "greg rusedski"</s>
CREATE TABLE table_name_77 (throws VARCHAR, first VARCHAR)
SELECT throws FROM table_name_77 WHERE first = "torey"
How many throws did Torey have?
<s>[INST]How many throws did Torey have? Context: CREATE TABLE table_name_77 (throws VARCHAR, first VARCHAR)[/INST]SELECT throws FROM table_name_77 WHERE first = "torey"</s>
CREATE TABLE table_name_11 (stadium VARCHAR, city VARCHAR)
SELECT stadium FROM table_name_11 WHERE city = "penrith"
What stadium is in penrith?
<s>[INST]What stadium is in penrith? Context: CREATE TABLE table_name_11 (stadium VARCHAR, city VARCHAR)[/INST]SELECT stadium FROM table_name_11 WHERE city = "penrith"</s>
CREATE TABLE table_name_82 (round INTEGER, event VARCHAR)
SELECT MIN(round) FROM table_name_82 WHERE event = "kotc 25: flaming fury"
What was the lowest round for the KOTC 25: Flaming Fury event?
<s>[INST]What was the lowest round for the KOTC 25: Flaming Fury event? Context: CREATE TABLE table_name_82 (round INTEGER, event VARCHAR)[/INST]SELECT MIN(round) FROM table_name_82 WHERE event = "kotc 25: flaming fury"</s>
CREATE TABLE table_name_57 (title VARCHAR, japan VARCHAR)
SELECT title FROM table_name_57 WHERE japan = "august 23, 2012"
Tell me the title for japan august 23, 2012
<s>[INST]Tell me the title for japan august 23, 2012 Context: CREATE TABLE table_name_57 (title VARCHAR, japan VARCHAR)[/INST]SELECT title FROM table_name_57 WHERE japan = "august 23, 2012"</s>
CREATE TABLE table_name_40 (overall_pick VARCHAR, round INTEGER)
SELECT COUNT(overall_pick) FROM table_name_40 WHERE round < 3
What was the overall pick number of the player selected before round 3?
<s>[INST]What was the overall pick number of the player selected before round 3? Context: CREATE TABLE table_name_40 (overall_pick VARCHAR, round INTEGER)[/INST]SELECT COUNT(overall_pick) FROM table_name_40 WHERE round < 3</s>
CREATE TABLE table_name_64 (delivered_as VARCHAR, locomotive VARCHAR)
SELECT delivered_as FROM table_name_64 WHERE locomotive = "h3"
What is the Delivered as name of the H3 Locomotive?
<s>[INST]What is the Delivered as name of the H3 Locomotive? Context: CREATE TABLE table_name_64 (delivered_as VARCHAR, locomotive VARCHAR)[/INST]SELECT delivered_as FROM table_name_64 WHERE locomotive = "h3"</s>
CREATE TABLE table_name_56 (rank INTEGER, code__iata_icao_ VARCHAR)
SELECT MAX(rank) FROM table_name_56 WHERE code__iata_icao_ = "hkg/vhhh"
What is the highest rank for the airport with a code of HKG/VHHH?
<s>[INST]What is the highest rank for the airport with a code of HKG/VHHH? Context: CREATE TABLE table_name_56 (rank INTEGER, code__iata_icao_ VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_56 WHERE code__iata_icao_ = "hkg/vhhh"</s>
CREATE TABLE table_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR)
SELECT theatre_name FROM table_2461720_1 WHERE language_of_films = "French"
Name the theatre name for french
<s>[INST]Name the theatre name for french Context: CREATE TABLE table_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR)[/INST]SELECT theatre_name FROM table_2461720_1 WHERE language_of_films = "French"</s>
CREATE TABLE table_2351952_1 (country VARCHAR, serial_numbers VARCHAR)
SELECT country FROM table_2351952_1 WHERE serial_numbers = "713096-713119"
The serial numbers 713096-713119 are in which country?
<s>[INST]The serial numbers 713096-713119 are in which country? Context: CREATE TABLE table_2351952_1 (country VARCHAR, serial_numbers VARCHAR)[/INST]SELECT country FROM table_2351952_1 WHERE serial_numbers = "713096-713119"</s>
CREATE TABLE table_name_59 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_59 WHERE icao = "kiah"
Which city has an ICAO of Kiah?
<s>[INST]Which city has an ICAO of Kiah? Context: CREATE TABLE table_name_59 (city VARCHAR, icao VARCHAR)[/INST]SELECT city FROM table_name_59 WHERE icao = "kiah"</s>
CREATE TABLE table_name_10 (silver INTEGER, total VARCHAR, gold VARCHAR)
SELECT AVG(silver) FROM table_name_10 WHERE total = 7 AND gold > 1
Which Silver has a Total of 7, and a Gold larger than 1?
<s>[INST]Which Silver has a Total of 7, and a Gold larger than 1? Context: CREATE TABLE table_name_10 (silver INTEGER, total VARCHAR, gold VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_10 WHERE total = 7 AND gold > 1</s>
CREATE TABLE table_name_5 (location VARCHAR, entered_service VARCHAR, customer VARCHAR)
SELECT location FROM table_name_5 WHERE entered_service = "1999" AND customer = "anadarko"
What location entered service in 1999 and had a customer of Anadarko?
<s>[INST]What location entered service in 1999 and had a customer of Anadarko? Context: CREATE TABLE table_name_5 (location VARCHAR, entered_service VARCHAR, customer VARCHAR)[/INST]SELECT location FROM table_name_5 WHERE entered_service = "1999" AND customer = "anadarko"</s>
CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, chassis VARCHAR)
SELECT constructor FROM table_name_54 WHERE rounds = "8" AND chassis = "156 158 1512"
What is the constructor on the team with 8 rounds and a chassis of 156 158 1512?
<s>[INST]What is the constructor on the team with 8 rounds and a chassis of 156 158 1512? Context: CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, chassis VARCHAR)[/INST]SELECT constructor FROM table_name_54 WHERE rounds = "8" AND chassis = "156 158 1512"</s>
CREATE TABLE table_25352318_1 (points INTEGER, position VARCHAR)
SELECT MIN(points) FROM table_25352318_1 WHERE position = "3rd"
When 3rd is the position what is the lowest amount of points?
<s>[INST]When 3rd is the position what is the lowest amount of points? Context: CREATE TABLE table_25352318_1 (points INTEGER, position VARCHAR)[/INST]SELECT MIN(points) FROM table_25352318_1 WHERE position = "3rd"</s>
CREATE TABLE table_name_84 (position INTEGER, difference VARCHAR, drawn VARCHAR)
SELECT MIN(position) FROM table_name_84 WHERE difference = "5" AND drawn < 3
Which Position has a Difference of 5, and a Drawn smaller than 3?
<s>[INST]Which Position has a Difference of 5, and a Drawn smaller than 3? Context: CREATE TABLE table_name_84 (position INTEGER, difference VARCHAR, drawn VARCHAR)[/INST]SELECT MIN(position) FROM table_name_84 WHERE difference = "5" AND drawn < 3</s>
CREATE TABLE table_25531112_2 (challenge VARCHAR, event VARCHAR)
SELECT challenge FROM table_25531112_2 WHERE event = "Australian Grand Prix"
Who made the challenge in the Australian Grand Prix?
<s>[INST]Who made the challenge in the Australian Grand Prix? Context: CREATE TABLE table_25531112_2 (challenge VARCHAR, event VARCHAR)[/INST]SELECT challenge FROM table_25531112_2 WHERE event = "Australian Grand Prix"</s>
CREATE TABLE table_name_87 (total INTEGER, last VARCHAR)
SELECT MAX(total) FROM table_name_87 WHERE last = "september 1970"
What is the greatest total when the last was September 1970?
<s>[INST]What is the greatest total when the last was September 1970? Context: CREATE TABLE table_name_87 (total INTEGER, last VARCHAR)[/INST]SELECT MAX(total) FROM table_name_87 WHERE last = "september 1970"</s>
CREATE TABLE table_name_8 (cover_model VARCHAR, date VARCHAR)
SELECT cover_model FROM table_name_8 WHERE date = "8-03"
Which Cover Model was featured on 8-03?
<s>[INST]Which Cover Model was featured on 8-03? Context: CREATE TABLE table_name_8 (cover_model VARCHAR, date VARCHAR)[/INST]SELECT cover_model FROM table_name_8 WHERE date = "8-03"</s>
CREATE TABLE table_name_50 (airing_date VARCHAR, english_title__chinese_title_ VARCHAR, genre VARCHAR, official_website VARCHAR, number_of_episodes VARCHAR)
SELECT airing_date FROM table_name_50 WHERE official_website = "official website" AND number_of_episodes = 20 AND genre = "modern action" AND english_title__chinese_title_ = "armed reaction 陀槍師姐"
What's the airing date of Armed Reaction 陀槍師姐 with 20 episodes in the Modern Action genre having an official website?
<s>[INST]What's the airing date of Armed Reaction 陀槍師姐 with 20 episodes in the Modern Action genre having an official website? Context: CREATE TABLE table_name_50 (airing_date VARCHAR, english_title__chinese_title_ VARCHAR, genre VARCHAR, official_website VARCHAR, number_of_episodes VARCHAR)[/INST]SELECT airing_date FR...
CREATE TABLE table_name_88 (wins INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, draws VARCHAR)
SELECT MIN(wins) FROM table_name_88 WHERE goals_conceded < 26 AND draws = 1 AND goals_scored < 74
What is the smallest number of wins where goals conceded are below 26, draws are 1 and goals scored are below 74?
<s>[INST]What is the smallest number of wins where goals conceded are below 26, draws are 1 and goals scored are below 74? Context: CREATE TABLE table_name_88 (wins INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, draws VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_88 WHERE goals_conceded < 26 AND draws = 1 AND...
CREATE TABLE table_name_99 (enrollment VARCHAR, institution VARCHAR, capacity VARCHAR)
SELECT COUNT(enrollment) FROM table_name_99 WHERE institution = "mcgill university" AND capacity < 25 OFFSET 012
What's the total enrollment ofr Mcgill University that has a capacity less than 25,012?
<s>[INST]What's the total enrollment ofr Mcgill University that has a capacity less than 25,012? Context: CREATE TABLE table_name_99 (enrollment VARCHAR, institution VARCHAR, capacity VARCHAR)[/INST]SELECT COUNT(enrollment) FROM table_name_99 WHERE institution = "mcgill university" AND capacity < 25 OFFSET 012</s>
CREATE TABLE table_name_22 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_22 WHERE tournament = "città di caltanissetta"
What surface was the città di caltanissetta played on?
<s>[INST]What surface was the città di caltanissetta played on? Context: CREATE TABLE table_name_22 (surface VARCHAR, tournament VARCHAR)[/INST]SELECT surface FROM table_name_22 WHERE tournament = "città di caltanissetta"</s>
CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR)
SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "2"
When the quiabaya municipality is 2 what is the combaya municipality?
<s>[INST]When the quiabaya municipality is 2 what is the combaya municipality? Context: CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR)[/INST]SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "2"</s>
CREATE TABLE table_name_6 (dates VARCHAR, squadron VARCHAR)
SELECT dates FROM table_name_6 WHERE squadron = "squadron 33"
What are the dates of squadron 33?
<s>[INST]What are the dates of squadron 33? Context: CREATE TABLE table_name_6 (dates VARCHAR, squadron VARCHAR)[/INST]SELECT dates FROM table_name_6 WHERE squadron = "squadron 33"</s>
CREATE TABLE table_name_38 (name VARCHAR, reported_age VARCHAR)
SELECT name FROM table_name_38 WHERE reported_age = "111 years, 66 days"
Who has a reported age of 111 years, 66 days?
<s>[INST]Who has a reported age of 111 years, 66 days? Context: CREATE TABLE table_name_38 (name VARCHAR, reported_age VARCHAR)[/INST]SELECT name FROM table_name_38 WHERE reported_age = "111 years, 66 days"</s>
CREATE TABLE table_27922491_8 (innings INTEGER, average VARCHAR)
SELECT MIN(innings) FROM table_27922491_8 WHERE average = "30.03"
How many innings for the player with an average of 30.03?
<s>[INST]How many innings for the player with an average of 30.03? Context: CREATE TABLE table_27922491_8 (innings INTEGER, average VARCHAR)[/INST]SELECT MIN(innings) FROM table_27922491_8 WHERE average = "30.03"</s>
CREATE TABLE table_name_86 (points_for VARCHAR, club VARCHAR)
SELECT points_for FROM table_name_86 WHERE club = "bridgend athletic rfc"
How many points for did Bridgend Athletic RFC score?
<s>[INST]How many points for did Bridgend Athletic RFC score? Context: CREATE TABLE table_name_86 (points_for VARCHAR, club VARCHAR)[/INST]SELECT points_for FROM table_name_86 WHERE club = "bridgend athletic rfc"</s>
CREATE TABLE table_name_74 (natural_change VARCHAR, crude_death_rate__per_1000_ VARCHAR, live_births VARCHAR)
SELECT natural_change FROM table_name_74 WHERE crude_death_rate__per_1000_ = 8.7 AND live_births < 472
What is natural change with a crude death rate of 8.7 and less than 472 live births?
<s>[INST]What is natural change with a crude death rate of 8.7 and less than 472 live births? Context: CREATE TABLE table_name_74 (natural_change VARCHAR, crude_death_rate__per_1000_ VARCHAR, live_births VARCHAR)[/INST]SELECT natural_change FROM table_name_74 WHERE crude_death_rate__per_1000_ = 8.7 AND live_births < 47...
CREATE TABLE company (Name VARCHAR, Industry VARCHAR)
SELECT Name FROM company WHERE Industry = "Banking" OR Industry = "Retailing"
Show the names of companies in the banking or retailing industry?
<s>[INST]Show the names of companies in the banking or retailing industry? Context: CREATE TABLE company (Name VARCHAR, Industry VARCHAR)[/INST]SELECT Name FROM company WHERE Industry = "Banking" OR Industry = "Retailing"</s>
CREATE TABLE table_name_28 (season VARCHAR, points VARCHAR, races VARCHAR)
SELECT season FROM table_name_28 WHERE points < 301 AND races = 17
What season had less than 301 points and 17 races?
<s>[INST]What season had less than 301 points and 17 races? Context: CREATE TABLE table_name_28 (season VARCHAR, points VARCHAR, races VARCHAR)[/INST]SELECT season FROM table_name_28 WHERE points < 301 AND races = 17</s>
CREATE TABLE table_name_46 (h___a VARCHAR, date VARCHAR)
SELECT h___a FROM table_name_46 WHERE date = "5 august 1990"
What is the H/A on 5 August 1990?
<s>[INST]What is the H/A on 5 August 1990? Context: CREATE TABLE table_name_46 (h___a VARCHAR, date VARCHAR)[/INST]SELECT h___a FROM table_name_46 WHERE date = "5 august 1990"</s>
CREATE TABLE student (dept_code VARCHAR)
SELECT COUNT(*), dept_code FROM student GROUP BY dept_code
Find the number of students for each department.
<s>[INST]Find the number of students for each department. Context: CREATE TABLE student (dept_code VARCHAR)[/INST]SELECT COUNT(*), dept_code FROM student GROUP BY dept_code</s>
CREATE TABLE table_12146068_2 (rnd VARCHAR, gt1_winning_team VARCHAR)
SELECT rnd FROM table_12146068_2 WHERE gt1_winning_team = "Doc Bundy Andy Wallace"
What is the rnd for gt1 winning team for doc bundy andy wallace?
<s>[INST]What is the rnd for gt1 winning team for doc bundy andy wallace? Context: CREATE TABLE table_12146068_2 (rnd VARCHAR, gt1_winning_team VARCHAR)[/INST]SELECT rnd FROM table_12146068_2 WHERE gt1_winning_team = "Doc Bundy Andy Wallace"</s>
CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, date VARCHAR)
SELECT result FROM table_name_26 WHERE home_team = "portland" AND date = "june 12"
What was the result for Portland at home on June 12?
<s>[INST]What was the result for Portland at home on June 12? Context: CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_26 WHERE home_team = "portland" AND date = "june 12"</s>
CREATE TABLE table_name_35 (pole_position VARCHAR, date VARCHAR)
SELECT pole_position FROM table_name_35 WHERE date = "8 september"
Name the pole position for 8 september
<s>[INST]Name the pole position for 8 september Context: CREATE TABLE table_name_35 (pole_position VARCHAR, date VARCHAR)[/INST]SELECT pole_position FROM table_name_35 WHERE date = "8 september"</s>
CREATE TABLE table_name_75 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_75 WHERE record = "43-56"
Which Opponent has a Record of 43-56?
<s>[INST]Which Opponent has a Record of 43-56? Context: CREATE TABLE table_name_75 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_75 WHERE record = "43-56"</s>
CREATE TABLE Student (Id VARCHAR)
SELECT COUNT(*) FROM Student
How many students are there?
<s>[INST]How many students are there? Context: CREATE TABLE Student (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Student</s>
CREATE TABLE table_name_24 (race_title VARCHAR, drivers VARCHAR, date VARCHAR)
SELECT race_title FROM table_name_24 WHERE drivers = "ron fellows" AND date = "aug 4"
What race is on aug 4 with ron fellows?
<s>[INST]What race is on aug 4 with ron fellows? Context: CREATE TABLE table_name_24 (race_title VARCHAR, drivers VARCHAR, date VARCHAR)[/INST]SELECT race_title FROM table_name_24 WHERE drivers = "ron fellows" AND date = "aug 4"</s>
CREATE TABLE table_name_28 (date VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)
SELECT date FROM table_name_28 WHERE constructor = "maserati" AND fastest_lap = "stirling moss"
What is the date that Stirling Moss had his fastest lap in a Maserati?
<s>[INST]What is the date that Stirling Moss had his fastest lap in a Maserati? Context: CREATE TABLE table_name_28 (date VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE constructor = "maserati" AND fastest_lap = "stirling moss"</s>
CREATE TABLE table_name_39 (runners_up VARCHAR, last_final_lost VARCHAR)
SELECT runners_up FROM table_name_39 WHERE last_final_lost = "1985"
How many runners-up did the club with the last final lost in 1985 have?
<s>[INST]How many runners-up did the club with the last final lost in 1985 have? Context: CREATE TABLE table_name_39 (runners_up VARCHAR, last_final_lost VARCHAR)[/INST]SELECT runners_up FROM table_name_39 WHERE last_final_lost = "1985"</s>
CREATE TABLE table_name_3 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)
SELECT release_price___usd__ FROM table_name_3 WHERE release_date = "2008 q3" AND part_number_s_ = "nu80579ez009c"
Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )?
<s>[INST]Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )? Context: CREATE TABLE table_name_3 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)[/INST]SELECT release_price___usd__ FROM table_name_3 WHERE release_date = "2008 q3" AND part_number_s_ ...
CREATE TABLE table_name_83 (rank VARCHAR, name VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT COUNT(rank) FROM table_name_83 WHERE lane > 4 AND nationality = "great britain" AND name = "margaretha pedder"
How many ranks are higher than lane 4 from Great Britain, raced by Margaretha Pedder?
<s>[INST]How many ranks are higher than lane 4 from Great Britain, raced by Margaretha Pedder? Context: CREATE TABLE table_name_83 (rank VARCHAR, name VARCHAR, lane VARCHAR, nationality VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_83 WHERE lane > 4 AND nationality = "great britain" AND name = "margaretha pedder"</...
CREATE TABLE table_name_82 (serial_numbers VARCHAR, year_made VARCHAR)
SELECT serial_numbers FROM table_name_82 WHERE year_made = "1930"
What is the serial number of the model made in 1930?
<s>[INST]What is the serial number of the model made in 1930? Context: CREATE TABLE table_name_82 (serial_numbers VARCHAR, year_made VARCHAR)[/INST]SELECT serial_numbers FROM table_name_82 WHERE year_made = "1930"</s>
CREATE TABLE table_name_38 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_38 WHERE nation = "brazil (bra)" AND bronze > 2
What is the total when the nation is brazil (bra) and bronze is more than 2?
<s>[INST]What is the total when the nation is brazil (bra) and bronze is more than 2? Context: CREATE TABLE table_name_38 (total INTEGER, nation VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(total) FROM table_name_38 WHERE nation = "brazil (bra)" AND bronze > 2</s>
CREATE TABLE table_24431264_16 (seed INTEGER, player VARCHAR)
SELECT MAX(seed) FROM table_24431264_16 WHERE player = "David Ferrer"
What was david ferrer seeded?
<s>[INST]What was david ferrer seeded? Context: CREATE TABLE table_24431264_16 (seed INTEGER, player VARCHAR)[/INST]SELECT MAX(seed) FROM table_24431264_16 WHERE player = "David Ferrer"</s>
CREATE TABLE table_name_37 (u15_1st_quad VARCHAR, open_3rd_viii VARCHAR, u16_3rd_viii VARCHAR)
SELECT u15_1st_quad FROM table_name_37 WHERE open_3rd_viii = "bbc" AND u16_3rd_viii = "bbc"
Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC?
<s>[INST]Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC? Context: CREATE TABLE table_name_37 (u15_1st_quad VARCHAR, open_3rd_viii VARCHAR, u16_3rd_viii VARCHAR)[/INST]SELECT u15_1st_quad FROM table_name_37 WHERE open_3rd_viii = "bbc" AND u16_3rd_viii = "bbc"</s>
CREATE TABLE table_name_67 (remixed_by VARCHAR, length VARCHAR)
SELECT remixed_by FROM table_name_67 WHERE length = "4:22"
Who remixed the version with a length of 4:22?
<s>[INST]Who remixed the version with a length of 4:22? Context: CREATE TABLE table_name_67 (remixed_by VARCHAR, length VARCHAR)[/INST]SELECT remixed_by FROM table_name_67 WHERE length = "4:22"</s>
CREATE TABLE table_name_36 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_36 WHERE attendance > 74 OFFSET 382
When was the Attendance larger than 74,382?
<s>[INST]When was the Attendance larger than 74,382? Context: CREATE TABLE table_name_36 (date VARCHAR, attendance INTEGER)[/INST]SELECT date FROM table_name_36 WHERE attendance > 74 OFFSET 382</s>
CREATE TABLE table_233830_1 (horizontal_order VARCHAR, channels VARCHAR)
SELECT horizontal_order FROM table_233830_1 WHERE channels = "WXYZRSTUVPQ"
If the channels is wxyzrstuvpq, what is the horizontal order?
<s>[INST]If the channels is wxyzrstuvpq, what is the horizontal order? Context: CREATE TABLE table_233830_1 (horizontal_order VARCHAR, channels VARCHAR)[/INST]SELECT horizontal_order FROM table_233830_1 WHERE channels = "WXYZRSTUVPQ"</s>
CREATE TABLE table_22496344_1 (name VARCHAR, year VARCHAR, _number VARCHAR)
SELECT name FROM table_22496344_1 WHERE year = "Senior" AND _number < 10.0
What is the name when senior is the year with the # less than 10.0?
<s>[INST]What is the name when senior is the year with the # less than 10.0? Context: CREATE TABLE table_22496344_1 (name VARCHAR, year VARCHAR, _number VARCHAR)[/INST]SELECT name FROM table_22496344_1 WHERE year = "Senior" AND _number < 10.0</s>