context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_1341843_10 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341843_10 WHERE incumbent = "Charles Edward Bennett Redistricted from 2nd"
Who was featured in the election of charles edward bennett redistricted from 2nd?
<s>[INST]Who was featured in the election of charles edward bennett redistricted from 2nd? Context: CREATE TABLE table_1341843_10 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341843_10 WHERE incumbent = "Charles Edward Bennett Redistricted from 2nd"</s>
CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_47 WHERE away_team = "melbourne"
Who is the home team when melbourne is the away team?
<s>[INST]Who is the home team when melbourne is the away team? Context: CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_47 WHERE away_team = "melbourne"</s>
CREATE TABLE table_name_64 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_name_64 WHERE district = "south carolina 3"
Who was the incumbent for south carolina 3 district?
<s>[INST]Who was the incumbent for south carolina 3 district? Context: CREATE TABLE table_name_64 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_name_64 WHERE district = "south carolina 3"</s>
CREATE TABLE table_name_26 (rank INTEGER, candidate_name VARCHAR)
SELECT AVG(rank) FROM table_name_26 WHERE candidate_name = "antun salman"
What is the average rank for antun salman?
<s>[INST]What is the average rank for antun salman? Context: CREATE TABLE table_name_26 (rank INTEGER, candidate_name VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_26 WHERE candidate_name = "antun salman"</s>
CREATE TABLE table_name_7 (stadium VARCHAR, city VARCHAR)
SELECT stadium FROM table_name_7 WHERE city = "melfi"
What is the name of the stadium for the city of melfi?
<s>[INST]What is the name of the stadium for the city of melfi? Context: CREATE TABLE table_name_7 (stadium VARCHAR, city VARCHAR)[/INST]SELECT stadium FROM table_name_7 WHERE city = "melfi"</s>
CREATE TABLE table_27723228_8 (high_rebounds VARCHAR, game VARCHAR)
SELECT COUNT(high_rebounds) FROM table_27723228_8 WHERE game = 30
How many people are listed for high rebounds on game 30?
<s>[INST]How many people are listed for high rebounds on game 30? Context: CREATE TABLE table_27723228_8 (high_rebounds VARCHAR, game VARCHAR)[/INST]SELECT COUNT(high_rebounds) FROM table_27723228_8 WHERE game = 30</s>
CREATE TABLE table_name_33 (others VARCHAR, martin VARCHAR, source VARCHAR)
SELECT others FROM table_name_33 WHERE martin = "9%" AND source = "ogm/news"
What percent of others did ogm/news count when MARTIN had 9%?
<s>[INST]What percent of others did ogm/news count when MARTIN had 9%? Context: CREATE TABLE table_name_33 (others VARCHAR, martin VARCHAR, source VARCHAR)[/INST]SELECT others FROM table_name_33 WHERE martin = "9%" AND source = "ogm/news"</s>
CREATE TABLE table_16409745_1 (interface VARCHAR, pages_per_minute__color_ VARCHAR)
SELECT interface FROM table_16409745_1 WHERE pages_per_minute__color_ = 36
What interface is used on the scanner that has a 36 pages per minute?
<s>[INST]What interface is used on the scanner that has a 36 pages per minute? Context: CREATE TABLE table_16409745_1 (interface VARCHAR, pages_per_minute__color_ VARCHAR)[/INST]SELECT interface FROM table_16409745_1 WHERE pages_per_minute__color_ = 36</s>
CREATE TABLE table_211714_2 (rank VARCHAR, season VARCHAR)
SELECT COUNT(rank) FROM table_211714_2 WHERE season = 6
Name the number of rank for season 6
<s>[INST]Name the number of rank for season 6 Context: CREATE TABLE table_211714_2 (rank VARCHAR, season VARCHAR)[/INST]SELECT COUNT(rank) FROM table_211714_2 WHERE season = 6</s>
CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_80 WHERE mascot = "raiders"
Which IHSAA class has a mascot of the Raiders?
<s>[INST]Which IHSAA class has a mascot of the Raiders? Context: CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_80 WHERE mascot = "raiders"</s>
CREATE TABLE table_name_92 (vote__percentage VARCHAR, seats VARCHAR)
SELECT vote__percentage FROM table_name_92 WHERE seats = 9
Name the vote % for seats of 9
<s>[INST]Name the vote % for seats of 9 Context: CREATE TABLE table_name_92 (vote__percentage VARCHAR, seats VARCHAR)[/INST]SELECT vote__percentage FROM table_name_92 WHERE seats = 9</s>
CREATE TABLE table_name_36 (year VARCHAR, notes VARCHAR, competition VARCHAR)
SELECT COUNT(year) FROM table_name_36 WHERE notes = "5000 m" AND competition = "world junior championships in athletics"
what is the year when the notes is 5000 m and the competition is world junior championships in athletics?
<s>[INST]what is the year when the notes is 5000 m and the competition is world junior championships in athletics? Context: CREATE TABLE table_name_36 (year VARCHAR, notes VARCHAR, competition VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_36 WHERE notes = "5000 m" AND competition = "world junior championships in athletics"</s>
CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "jarama"
What year has a result of 3 in the venue of Jarama.
<s>[INST]What year has a result of 3 in the venue of Jarama. Context: CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR)[/INST]SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "jarama"</s>
CREATE TABLE table_1342393_41 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1342393_41 WHERE incumbent = "Cordell Hull"
Cordell Hull is the incumbent in how many districts?
<s>[INST]Cordell Hull is the incumbent in how many districts? Context: CREATE TABLE table_1342393_41 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(district) FROM table_1342393_41 WHERE incumbent = "Cordell Hull"</s>
CREATE TABLE table_name_72 (relative_value VARCHAR, jyutping VARCHAR)
SELECT relative_value FROM table_name_72 WHERE jyutping = "daam3"
what's the relative value that contains a jyutping of daam3?
<s>[INST]what's the relative value that contains a jyutping of daam3? Context: CREATE TABLE table_name_72 (relative_value VARCHAR, jyutping VARCHAR)[/INST]SELECT relative_value FROM table_name_72 WHERE jyutping = "daam3"</s>
CREATE TABLE table_name_89 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_89 WHERE score = "110-106"
What is the record of the game with a 110-106 score?
<s>[INST]What is the record of the game with a 110-106 score? Context: CREATE TABLE table_name_89 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_89 WHERE score = "110-106"</s>
CREATE TABLE table_name_37 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_37 WHERE date = "october 15, 2008"
What is the competition on October 15, 2008?
<s>[INST]What is the competition on October 15, 2008? Context: CREATE TABLE table_name_37 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_37 WHERE date = "october 15, 2008"</s>
CREATE TABLE table_14308895_2 (former_pageant VARCHAR, new_pageant VARCHAR)
SELECT former_pageant FROM table_14308895_2 WHERE new_pageant = "Miss Bahamas"
which is the former pageant in the country where the new pageant is miss bahamas?
<s>[INST]which is the former pageant in the country where the new pageant is miss bahamas? Context: CREATE TABLE table_14308895_2 (former_pageant VARCHAR, new_pageant VARCHAR)[/INST]SELECT former_pageant FROM table_14308895_2 WHERE new_pageant = "Miss Bahamas"</s>
CREATE TABLE table_name_3 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_3 WHERE away_team = "leeds united"
What was the date when the away team was the leeds united?
<s>[INST]What was the date when the away team was the leeds united? Context: CREATE TABLE table_name_3 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_3 WHERE away_team = "leeds united"</s>
CREATE TABLE table_15824796_4 (original_air_date VARCHAR, season__number VARCHAR)
SELECT original_air_date FROM table_15824796_4 WHERE season__number = 9
When did season 9 originally air?
<s>[INST]When did season 9 originally air? Context: CREATE TABLE table_15824796_4 (original_air_date VARCHAR, season__number VARCHAR)[/INST]SELECT original_air_date FROM table_15824796_4 WHERE season__number = 9</s>
CREATE TABLE table_name_93 (withdrawn VARCHAR, name VARCHAR)
SELECT withdrawn FROM table_name_93 WHERE name = "charles dickens"
Name the withdrawn for charles dickens
<s>[INST]Name the withdrawn for charles dickens Context: CREATE TABLE table_name_93 (withdrawn VARCHAR, name VARCHAR)[/INST]SELECT withdrawn FROM table_name_93 WHERE name = "charles dickens"</s>
CREATE TABLE table_11727969_1 (peru_vs_world__percent_ INTEGER, species_in_the_world VARCHAR)
SELECT MAX(peru_vs_world__percent_) FROM table_11727969_1 WHERE species_in_the_world = 9672
what's the maximum peru vs. world (percent) with 9672 species in the world 
<s>[INST]what's the maximum peru vs. world (percent) with 9672 species in the world  Context: CREATE TABLE table_11727969_1 (peru_vs_world__percent_ INTEGER, species_in_the_world VARCHAR)[/INST]SELECT MAX(peru_vs_world__percent_) FROM table_11727969_1 WHERE species_in_the_world = 9672</s>
CREATE TABLE table_name_31 (against INTEGER, wins VARCHAR, draws VARCHAR)
SELECT AVG(against) FROM table_name_31 WHERE wins = 11 AND draws < 0
What is the average number of against with 11 wins and less than 0 draws?
<s>[INST]What is the average number of against with 11 wins and less than 0 draws? Context: CREATE TABLE table_name_31 (against INTEGER, wins VARCHAR, draws VARCHAR)[/INST]SELECT AVG(against) FROM table_name_31 WHERE wins = 11 AND draws < 0</s>
CREATE TABLE table_23449363_1 (round VARCHAR, new_entries_this_round VARCHAR)
SELECT round FROM table_23449363_1 WHERE new_entries_this_round = "24"
Which round had 24 new entries?
<s>[INST]Which round had 24 new entries? Context: CREATE TABLE table_23449363_1 (round VARCHAR, new_entries_this_round VARCHAR)[/INST]SELECT round FROM table_23449363_1 WHERE new_entries_this_round = "24"</s>
CREATE TABLE table_name_90 (score VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score FROM table_name_90 WHERE surface = "carpet" AND date = "november 5, 2007"
What is the score of the tournament on November 5, 2007 with a carpet surface?
<s>[INST]What is the score of the tournament on November 5, 2007 with a carpet surface? Context: CREATE TABLE table_name_90 (score VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_90 WHERE surface = "carpet" AND date = "november 5, 2007"</s>
CREATE TABLE table_name_26 (ipsos_5_25_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)
SELECT ipsos_5_25_09 FROM table_name_26 WHERE tns_sofres_5_28_09 = "20%"
Which Ipsos 5/25/09 has a TNS-Sofres 5/28/09 of 20%?
<s>[INST]Which Ipsos 5/25/09 has a TNS-Sofres 5/28/09 of 20%? Context: CREATE TABLE table_name_26 (ipsos_5_25_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)[/INST]SELECT ipsos_5_25_09 FROM table_name_26 WHERE tns_sofres_5_28_09 = "20%"</s>
CREATE TABLE table_name_94 (source VARCHAR, clinton VARCHAR, undecided VARCHAR)
SELECT source FROM table_name_94 WHERE clinton = "39%" AND undecided = "7%"
Which Source has a Clinton of 39% and a Undecided of 7%?
<s>[INST]Which Source has a Clinton of 39% and a Undecided of 7%? Context: CREATE TABLE table_name_94 (source VARCHAR, clinton VARCHAR, undecided VARCHAR)[/INST]SELECT source FROM table_name_94 WHERE clinton = "39%" AND undecided = "7%"</s>
CREATE TABLE table_27537518_6 (location VARCHAR, attendance VARCHAR)
SELECT location FROM table_27537518_6 WHERE attendance = 10056
Where was the game seen by 10056 people played?
<s>[INST]Where was the game seen by 10056 people played? Context: CREATE TABLE table_27537518_6 (location VARCHAR, attendance VARCHAR)[/INST]SELECT location FROM table_27537518_6 WHERE attendance = 10056</s>
CREATE TABLE table_name_53 (unit VARCHAR, location VARCHAR, authors VARCHAR)
SELECT unit FROM table_name_53 WHERE location = "china" AND authors = "zhou zhang"
What unit is located in China and has Zhou Zhang as an author?
<s>[INST]What unit is located in China and has Zhou Zhang as an author? Context: CREATE TABLE table_name_53 (unit VARCHAR, location VARCHAR, authors VARCHAR)[/INST]SELECT unit FROM table_name_53 WHERE location = "china" AND authors = "zhou zhang"</s>
CREATE TABLE table_name_7 (Id VARCHAR)
SELECT 2002 FROM table_name_7 WHERE 2001 = "452,000 tonnes"
What is the 2002 statistic for the product that had 452,000 tonnes in 2001?
<s>[INST]What is the 2002 statistic for the product that had 452,000 tonnes in 2001? Context: CREATE TABLE table_name_7 (Id VARCHAR)[/INST]SELECT 2002 FROM table_name_7 WHERE 2001 = "452,000 tonnes"</s>
CREATE TABLE table_name_59 (year VARCHAR, class VARCHAR, stages_won VARCHAR)
SELECT year FROM table_name_59 WHERE class = "car" AND stages_won = "0"
What year did he compete in the car class and win 0 stages?
<s>[INST]What year did he compete in the car class and win 0 stages? Context: CREATE TABLE table_name_59 (year VARCHAR, class VARCHAR, stages_won VARCHAR)[/INST]SELECT year FROM table_name_59 WHERE class = "car" AND stages_won = "0"</s>
CREATE TABLE table_name_76 (guest VARCHAR, score__first_match_ VARCHAR)
SELECT guest FROM table_name_76 WHERE score__first_match_ = "3:0 (0:2)"
Who were the guest team wehn the match score was 3:0 (0:2)?
<s>[INST]Who were the guest team wehn the match score was 3:0 (0:2)? Context: CREATE TABLE table_name_76 (guest VARCHAR, score__first_match_ VARCHAR)[/INST]SELECT guest FROM table_name_76 WHERE score__first_match_ = "3:0 (0:2)"</s>
CREATE TABLE table_21500850_1 (song_title VARCHAR, year VARCHAR)
SELECT song_title FROM table_21500850_1 WHERE year = 2007
What is every song title for 2007?
<s>[INST]What is every song title for 2007? Context: CREATE TABLE table_21500850_1 (song_title VARCHAR, year VARCHAR)[/INST]SELECT song_title FROM table_21500850_1 WHERE year = 2007</s>
CREATE TABLE table_name_13 (place VARCHAR, date VARCHAR)
SELECT place FROM table_name_13 WHERE date = "4 august 2012"
What is the Place that has a Date of 4 august 2012?
<s>[INST]What is the Place that has a Date of 4 august 2012? Context: CREATE TABLE table_name_13 (place VARCHAR, date VARCHAR)[/INST]SELECT place FROM table_name_13 WHERE date = "4 august 2012"</s>
CREATE TABLE table_25818630_2 (candidate VARCHAR, result____percentage VARCHAR)
SELECT candidate FROM table_25818630_2 WHERE result____percentage = "2.9%"
Who as the candidate when the result - % was 2.9%?
<s>[INST]Who as the candidate when the result - % was 2.9%? Context: CREATE TABLE table_25818630_2 (candidate VARCHAR, result____percentage VARCHAR)[/INST]SELECT candidate FROM table_25818630_2 WHERE result____percentage = "2.9%"</s>
CREATE TABLE Customers (customer_id VARCHAR); CREATE TABLE Accounts (customer_id VARCHAR)
SELECT COUNT(*) FROM Customers WHERE NOT customer_id IN (SELECT customer_id FROM Accounts)
Show the number of all customers without an account.
<s>[INST]Show the number of all customers without an account. Context: CREATE TABLE Customers (customer_id VARCHAR); CREATE TABLE Accounts (customer_id VARCHAR)[/INST]SELECT COUNT(*) FROM Customers WHERE NOT customer_id IN (SELECT customer_id FROM Accounts)</s>
CREATE TABLE table_name_33 (set_4 VARCHAR, set_1 VARCHAR, set_2 VARCHAR)
SELECT set_4 FROM table_name_33 WHERE set_1 = "19-25" AND set_2 = "23-25"
What is Set 4, when Set 1 is 19-25, and when Set 2 is 23-25?
<s>[INST]What is Set 4, when Set 1 is 19-25, and when Set 2 is 23-25? Context: CREATE TABLE table_name_33 (set_4 VARCHAR, set_1 VARCHAR, set_2 VARCHAR)[/INST]SELECT set_4 FROM table_name_33 WHERE set_1 = "19-25" AND set_2 = "23-25"</s>
CREATE TABLE table_name_77 (position_in_2006 VARCHAR, team VARCHAR)
SELECT position_in_2006 FROM table_name_77 WHERE team = "dnepr"
What was Team Dnepr's position in 2006?
<s>[INST]What was Team Dnepr's position in 2006? Context: CREATE TABLE table_name_77 (position_in_2006 VARCHAR, team VARCHAR)[/INST]SELECT position_in_2006 FROM table_name_77 WHERE team = "dnepr"</s>
CREATE TABLE entrepreneur (Company VARCHAR, People_ID VARCHAR); CREATE TABLE people (People_ID VARCHAR, Height VARCHAR)
SELECT T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Height DESC LIMIT 1
Show the company of the tallest entrepreneur.
<s>[INST]Show the company of the tallest entrepreneur. Context: CREATE TABLE entrepreneur (Company VARCHAR, People_ID VARCHAR); CREATE TABLE people (People_ID VARCHAR, Height VARCHAR)[/INST]SELECT T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Height DESC LIMIT 1</s>
CREATE TABLE table_name_83 (to_par INTEGER, player VARCHAR, place VARCHAR, score VARCHAR)
SELECT MAX(to_par) FROM table_name_83 WHERE place = "t7" AND score = 73 - 74 = 147 AND player = "len mattiace"
What is the highest to par of player len mattiace, who has a t7 place and a score of 73-74=147?
<s>[INST]What is the highest to par of player len mattiace, who has a t7 place and a score of 73-74=147? Context: CREATE TABLE table_name_83 (to_par INTEGER, player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT MAX(to_par) FROM table_name_83 WHERE place = "t7" AND score = 73 - 74 = 147 AND player = "len mattiace"</s>
CREATE TABLE table_name_88 (total INTEGER, finish VARCHAR)
SELECT MIN(total) FROM table_name_88 WHERE finish = "t47"
What was the lowest total with a finish of t47?
<s>[INST]What was the lowest total with a finish of t47? Context: CREATE TABLE table_name_88 (total INTEGER, finish VARCHAR)[/INST]SELECT MIN(total) FROM table_name_88 WHERE finish = "t47"</s>
CREATE TABLE table_name_13 (losses VARCHAR, team VARCHAR)
SELECT losses FROM table_name_13 WHERE team = "japan"
What losses consist of the team of japan?
<s>[INST]What losses consist of the team of japan? Context: CREATE TABLE table_name_13 (losses VARCHAR, team VARCHAR)[/INST]SELECT losses FROM table_name_13 WHERE team = "japan"</s>
CREATE TABLE table_name_2 (week INTEGER, date VARCHAR, attendance VARCHAR)
SELECT MIN(week) FROM table_name_2 WHERE date = "september 16, 1979" AND attendance < 54 OFFSET 212
what is the lowest week when the date is september 16, 1979 and the attendance less than 54,212?
<s>[INST]what is the lowest week when the date is september 16, 1979 and the attendance less than 54,212? Context: CREATE TABLE table_name_2 (week INTEGER, date VARCHAR, attendance VARCHAR)[/INST]SELECT MIN(week) FROM table_name_2 WHERE date = "september 16, 1979" AND attendance < 54 OFFSET 212</s>
CREATE TABLE table_name_90 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT COUNT(bronze) FROM table_name_90 WHERE total = 4 AND gold = 1
What is the total number of bronze medals with a total of 4 medals and 1 gold medal?
<s>[INST]What is the total number of bronze medals with a total of 4 medals and 1 gold medal? Context: CREATE TABLE table_name_90 (bronze VARCHAR, total VARCHAR, gold VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_90 WHERE total = 4 AND gold = 1</s>
CREATE TABLE table_name_88 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_88 WHERE venue = "princes park"
What is the Crowd for the Venue of Princes Park?
<s>[INST]What is the Crowd for the Venue of Princes Park? Context: CREATE TABLE table_name_88 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT crowd FROM table_name_88 WHERE venue = "princes park"</s>
CREATE TABLE table_name_28 (time_retired VARCHAR, laps VARCHAR, team VARCHAR)
SELECT time_retired FROM table_name_28 WHERE laps < 51 AND team = "newman-haas racing"
What is the Time/Retired of the Newman-Haas Racing team in under 51 laps?
<s>[INST]What is the Time/Retired of the Newman-Haas Racing team in under 51 laps? Context: CREATE TABLE table_name_28 (time_retired VARCHAR, laps VARCHAR, team VARCHAR)[/INST]SELECT time_retired FROM table_name_28 WHERE laps < 51 AND team = "newman-haas racing"</s>
CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rank VARCHAR)
SELECT sat_29_aug FROM table_23465864_3 WHERE rank = 3
When 3 is the rank what is the time for Saturday August 29th?
<s>[INST]When 3 is the rank what is the time for Saturday August 29th? Context: CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rank VARCHAR)[/INST]SELECT sat_29_aug FROM table_23465864_3 WHERE rank = 3</s>
CREATE TABLE table_26250176_1 (theme VARCHAR, week__number VARCHAR)
SELECT theme FROM table_26250176_1 WHERE week__number = "Audition"
What is the theme for Audition week?
<s>[INST]What is the theme for Audition week? Context: CREATE TABLE table_26250176_1 (theme VARCHAR, week__number VARCHAR)[/INST]SELECT theme FROM table_26250176_1 WHERE week__number = "Audition"</s>
CREATE TABLE table_name_79 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_79 WHERE away_team = "ashford town (middx)"
What was the tie number of the away game for Ashford Town (Middx)?
<s>[INST]What was the tie number of the away game for Ashford Town (Middx)? Context: CREATE TABLE table_name_79 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_79 WHERE away_team = "ashford town (middx)"</s>
CREATE TABLE table_name_33 (score VARCHAR, attendance VARCHAR, date VARCHAR)
SELECT score FROM table_name_33 WHERE attendance = "gund arena 20,562" AND date = "january 27"
What is Score, when Attendance is Gund Arena 20,562, and when Date is January 27?
<s>[INST]What is Score, when Attendance is Gund Arena 20,562, and when Date is January 27? Context: CREATE TABLE table_name_33 (score VARCHAR, attendance VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_33 WHERE attendance = "gund arena 20,562" AND date = "january 27"</s>
CREATE TABLE table_1067134_1 (dvd_name VARCHAR, region_2 VARCHAR)
SELECT dvd_name FROM table_1067134_1 WHERE region_2 = "August 22, 2010"
What DVD season/name for region 2 was released August 22, 2010?
<s>[INST]What DVD season/name for region 2 was released August 22, 2010? Context: CREATE TABLE table_1067134_1 (dvd_name VARCHAR, region_2 VARCHAR)[/INST]SELECT dvd_name FROM table_1067134_1 WHERE region_2 = "August 22, 2010"</s>
CREATE TABLE table_name_2 (wins INTEGER, points VARCHAR, draws VARCHAR)
SELECT MIN(wins) FROM table_name_2 WHERE points = 34 AND draws > 13
What was the lowest win when there were 34 points and more than 13 draws?
<s>[INST]What was the lowest win when there were 34 points and more than 13 draws? Context: CREATE TABLE table_name_2 (wins INTEGER, points VARCHAR, draws VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_2 WHERE points = 34 AND draws > 13</s>
CREATE TABLE table_name_5 (segment_a VARCHAR, segment_b VARCHAR)
SELECT segment_a FROM table_name_5 WHERE segment_b = "aerospace fuel lines"
Segment B of aerospace fuel lines has what segment A?
<s>[INST]Segment B of aerospace fuel lines has what segment A? Context: CREATE TABLE table_name_5 (segment_a VARCHAR, segment_b VARCHAR)[/INST]SELECT segment_a FROM table_name_5 WHERE segment_b = "aerospace fuel lines"</s>
CREATE TABLE table_name_65 (points VARCHAR, car_no VARCHAR)
SELECT points FROM table_name_65 WHERE car_no = "20"
How many points did car 20 score?
<s>[INST]How many points did car 20 score? Context: CREATE TABLE table_name_65 (points VARCHAR, car_no VARCHAR)[/INST]SELECT points FROM table_name_65 WHERE car_no = "20"</s>
CREATE TABLE table_name_8 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_8 WHERE away_team = "collingwood"
How many spectators watched when the away team was Collingwood?
<s>[INST]How many spectators watched when the away team was Collingwood? Context: CREATE TABLE table_name_8 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_8 WHERE away_team = "collingwood"</s>
CREATE TABLE table_16729457_17 (points INTEGER, driver___passenger VARCHAR)
SELECT MIN(points) FROM table_16729457_17 WHERE driver___passenger = "Daniël Willemsen / Kenny van Gaalen"
Name the least points for daniël willemsen / kenny van gaalen
<s>[INST]Name the least points for daniël willemsen / kenny van gaalen Context: CREATE TABLE table_16729457_17 (points INTEGER, driver___passenger VARCHAR)[/INST]SELECT MIN(points) FROM table_16729457_17 WHERE driver___passenger = "Daniël Willemsen / Kenny van Gaalen"</s>
CREATE TABLE table_name_32 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_32 WHERE record = "18–15–6"
Record of 18–15–6 belongs to what lowest attendance?
<s>[INST]Record of 18–15–6 belongs to what lowest attendance? Context: CREATE TABLE table_name_32 (attendance INTEGER, record VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_32 WHERE record = "18–15–6"</s>
CREATE TABLE table_name_15 (revenues VARCHAR, name VARCHAR)
SELECT revenues FROM table_name_15 WHERE name = "ōoka tadayoshi (2nd) (大岡忠愛)"
What are the revenues for ōoka tadayoshi (2nd) (大岡忠愛)?
<s>[INST]What are the revenues for ōoka tadayoshi (2nd) (大岡忠愛)? Context: CREATE TABLE table_name_15 (revenues VARCHAR, name VARCHAR)[/INST]SELECT revenues FROM table_name_15 WHERE name = "ōoka tadayoshi (2nd) (大岡忠愛)"</s>
CREATE TABLE table_name_49 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_49 WHERE home_team = "geelong"
What was the date when Geelong was the home team?
<s>[INST]What was the date when Geelong was the home team? Context: CREATE TABLE table_name_49 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_49 WHERE home_team = "geelong"</s>
CREATE TABLE table_2588674_1 (region VARCHAR, village VARCHAR)
SELECT region FROM table_2588674_1 WHERE village = "Inarajan"
What region is inarajan in?
<s>[INST]What region is inarajan in? Context: CREATE TABLE table_2588674_1 (region VARCHAR, village VARCHAR)[/INST]SELECT region FROM table_2588674_1 WHERE village = "Inarajan"</s>
CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, lane VARCHAR)
SELECT SUM(rank) FROM table_name_85 WHERE name = "meagen nay" AND lane > 5
What is Meagen Nay's rank with a lane greater than 5?
<s>[INST]What is Meagen Nay's rank with a lane greater than 5? Context: CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, lane VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_85 WHERE name = "meagen nay" AND lane > 5</s>
CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR, nominated_work VARCHAR)
SELECT result FROM table_name_58 WHERE year > 2006 AND nominated_work = "the king and i"
What is the result for the king and I after 2006?
<s>[INST]What is the result for the king and I after 2006? Context: CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR, nominated_work VARCHAR)[/INST]SELECT result FROM table_name_58 WHERE year > 2006 AND nominated_work = "the king and i"</s>
CREATE TABLE table_name_98 (catalog VARCHAR, region VARCHAR)
SELECT catalog FROM table_name_98 WHERE region = "united states"
What is the catalog with the region of the United States?
<s>[INST]What is the catalog with the region of the United States? Context: CREATE TABLE table_name_98 (catalog VARCHAR, region VARCHAR)[/INST]SELECT catalog FROM table_name_98 WHERE region = "united states"</s>
CREATE TABLE table_name_62 (commissioned__decommissioned VARCHAR, home_port VARCHAR, nvr_page VARCHAR)
SELECT commissioned__decommissioned FROM table_name_62 WHERE home_port = "oakland" AND nvr_page = "aor-1"
Name the commissioned-decommissioned for oakland and NVR page of aor-1
<s>[INST]Name the commissioned-decommissioned for oakland and NVR page of aor-1 Context: CREATE TABLE table_name_62 (commissioned__decommissioned VARCHAR, home_port VARCHAR, nvr_page VARCHAR)[/INST]SELECT commissioned__decommissioned FROM table_name_62 WHERE home_port = "oakland" AND nvr_page = "aor-1"</s>
CREATE TABLE table_name_49 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_49 WHERE away_team = "footscray"
What is the smallest crowd that Footscray had as the away team?
<s>[INST]What is the smallest crowd that Footscray had as the away team? Context: CREATE TABLE table_name_49 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_49 WHERE away_team = "footscray"</s>
CREATE TABLE table_name_78 (date_of_vacancy VARCHAR, team VARCHAR)
SELECT date_of_vacancy FROM table_name_78 WHERE team = "vitória de guimarães"
What was the day of vacancy for vitória de guimarães?
<s>[INST]What was the day of vacancy for vitória de guimarães? Context: CREATE TABLE table_name_78 (date_of_vacancy VARCHAR, team VARCHAR)[/INST]SELECT date_of_vacancy FROM table_name_78 WHERE team = "vitória de guimarães"</s>
CREATE TABLE table_12310814_1 (order__number VARCHAR, original_artist VARCHAR)
SELECT order__number FROM table_12310814_1 WHERE original_artist = "Rickie Lee Jones"
What's the order number of the song originally performed by Rickie Lee Jones?
<s>[INST]What's the order number of the song originally performed by Rickie Lee Jones? Context: CREATE TABLE table_12310814_1 (order__number VARCHAR, original_artist VARCHAR)[/INST]SELECT order__number FROM table_12310814_1 WHERE original_artist = "Rickie Lee Jones"</s>
CREATE TABLE storm (number_deaths INTEGER, damage_millions_USD INTEGER, max_speed INTEGER)
SELECT SUM(number_deaths), SUM(damage_millions_USD) FROM storm WHERE max_speed > (SELECT AVG(max_speed) FROM storm)
What is the total number of deaths and damage for all storms with a max speed greater than the average?
<s>[INST]What is the total number of deaths and damage for all storms with a max speed greater than the average? Context: CREATE TABLE storm (number_deaths INTEGER, damage_millions_USD INTEGER, max_speed INTEGER)[/INST]SELECT SUM(number_deaths), SUM(damage_millions_USD) FROM storm WHERE max_speed > (SELECT AVG(max_speed) FROM storm)</s>
CREATE TABLE table_name_44 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_44 WHERE date = "14/12/1996"
What is Venue, when Date is "14/12/1996"?
<s>[INST]What is Venue, when Date is "14/12/1996"? Context: CREATE TABLE table_name_44 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_44 WHERE date = "14/12/1996"</s>
CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR)
SELECT result FROM table_2668329_25 WHERE district = "Virginia 22"
What ended up happening in the district Virginia 22?
<s>[INST]What ended up happening in the district Virginia 22? Context: CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_2668329_25 WHERE district = "Virginia 22"</s>
CREATE TABLE table_25740774_1 (series VARCHAR, position VARCHAR)
SELECT series FROM table_25740774_1 WHERE position = "NC"
Which series is in position nc?
<s>[INST]Which series is in position nc? Context: CREATE TABLE table_25740774_1 (series VARCHAR, position VARCHAR)[/INST]SELECT series FROM table_25740774_1 WHERE position = "NC"</s>
CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_22853654_9 WHERE opponent = "Alexander Shvec"
Name the result for alexander shvec
<s>[INST]Name the result for alexander shvec Context: CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_22853654_9 WHERE opponent = "Alexander Shvec"</s>
CREATE TABLE table_name_95 (date VARCHAR, year VARCHAR, winner VARCHAR)
SELECT date FROM table_name_95 WHERE year = 1975 AND winner = "oakland raiders"
What is the date where the winner was the Oakland Raiders in 1975?
<s>[INST]What is the date where the winner was the Oakland Raiders in 1975? Context: CREATE TABLE table_name_95 (date VARCHAR, year VARCHAR, winner VARCHAR)[/INST]SELECT date FROM table_name_95 WHERE year = 1975 AND winner = "oakland raiders"</s>
CREATE TABLE table_27537518_6 (decision VARCHAR, date VARCHAR)
SELECT decision FROM table_27537518_6 WHERE date = "December 26"
Who made the decision in the game played on December 26?
<s>[INST]Who made the decision in the game played on December 26? Context: CREATE TABLE table_27537518_6 (decision VARCHAR, date VARCHAR)[/INST]SELECT decision FROM table_27537518_6 WHERE date = "December 26"</s>
CREATE TABLE table_1656555_1 (Appointed VARCHAR, ordained_priest VARCHAR)
SELECT COUNT(Appointed) AS archbishop FROM table_1656555_1 WHERE ordained_priest = "December 20, 1959"
How many appointed archbishops were ordained as priests on December 20, 1959
<s>[INST]How many appointed archbishops were ordained as priests on December 20, 1959 Context: CREATE TABLE table_1656555_1 (Appointed VARCHAR, ordained_priest VARCHAR)[/INST]SELECT COUNT(Appointed) AS archbishop FROM table_1656555_1 WHERE ordained_priest = "December 20, 1959"</s>
CREATE TABLE teacher (Age VARCHAR, Hometown VARCHAR)
SELECT Age, Hometown FROM teacher
What are the age and hometown of teachers?
<s>[INST]What are the age and hometown of teachers? Context: CREATE TABLE teacher (Age VARCHAR, Hometown VARCHAR)[/INST]SELECT Age, Hometown FROM teacher</s>
CREATE TABLE table_2562572_7 (urban_settlement VARCHAR, city___municipality VARCHAR)
SELECT urban_settlement FROM table_2562572_7 WHERE city___municipality = "Kovin"
What was the urban settlement when the city / municipality was kovin?
<s>[INST]What was the urban settlement when the city / municipality was kovin? Context: CREATE TABLE table_2562572_7 (urban_settlement VARCHAR, city___municipality VARCHAR)[/INST]SELECT urban_settlement FROM table_2562572_7 WHERE city___municipality = "Kovin"</s>
CREATE TABLE table_22020724_1 (year__ceremony_ VARCHAR, title_in_the_original_language VARCHAR)
SELECT year__ceremony_ FROM table_22020724_1 WHERE title_in_the_original_language = "Tummien perhosten koti"
What year was the ceremony where the film 'Tummien Perhosten Koti' was submitted?
<s>[INST]What year was the ceremony where the film 'Tummien Perhosten Koti' was submitted? Context: CREATE TABLE table_22020724_1 (year__ceremony_ VARCHAR, title_in_the_original_language VARCHAR)[/INST]SELECT year__ceremony_ FROM table_22020724_1 WHERE title_in_the_original_language = "Tummien perhosten koti"</s>
CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR)
SELECT 2 AS fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "94.4"
What is the 2fm for rnag 94.4?
<s>[INST]What is the 2fm for rnag 94.4? Context: CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR)[/INST]SELECT 2 AS fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "94.4"</s>
CREATE TABLE table_name_52 (volleyball VARCHAR, golf VARCHAR, indoor_track VARCHAR)
SELECT volleyball FROM table_name_52 WHERE golf = "2" AND indoor_track = "3"
Which Volleyball has a Golf of 2, and an Indoor track of 3?
<s>[INST]Which Volleyball has a Golf of 2, and an Indoor track of 3? Context: CREATE TABLE table_name_52 (volleyball VARCHAR, golf VARCHAR, indoor_track VARCHAR)[/INST]SELECT volleyball FROM table_name_52 WHERE golf = "2" AND indoor_track = "3"</s>
CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR)
SELECT third FROM table_name_78 WHERE lead = "zanda bikše"
Which Third has a Lead of zanda bikše?
<s>[INST]Which Third has a Lead of zanda bikše? Context: CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR)[/INST]SELECT third FROM table_name_78 WHERE lead = "zanda bikše"</s>
CREATE TABLE table_30120555_1 (poor_law_union VARCHAR, townland VARCHAR)
SELECT poor_law_union FROM table_30120555_1 WHERE townland = "Curradonohoe"
What poor law union is Curradonohoe a part of?
<s>[INST]What poor law union is Curradonohoe a part of? Context: CREATE TABLE table_30120555_1 (poor_law_union VARCHAR, townland VARCHAR)[/INST]SELECT poor_law_union FROM table_30120555_1 WHERE townland = "Curradonohoe"</s>
CREATE TABLE table_name_4 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_4 WHERE date = "august 20, 2004"
What is the name of the competition that was held on August 20, 2004?
<s>[INST]What is the name of the competition that was held on August 20, 2004? Context: CREATE TABLE table_name_4 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_4 WHERE date = "august 20, 2004"</s>
CREATE TABLE table_name_21 (status VARCHAR, population VARCHAR, census_ranking VARCHAR)
SELECT status FROM table_name_21 WHERE population > 930 AND census_ranking = "1,769 of 5,008"
What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930?
<s>[INST]What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930? Context: CREATE TABLE table_name_21 (status VARCHAR, population VARCHAR, census_ranking VARCHAR)[/INST]SELECT status FROM table_name_21 WHERE population > 930 AND census_ranking = "1,769 of 5,008"</s>
CREATE TABLE museum (Museum_ID VARCHAR, open_year INTEGER); CREATE TABLE visitor (id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, Museum_ID VARCHAR)
SELECT COUNT(*) FROM visitor WHERE NOT id IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010)
Find the number of visitors who did not visit any museum opened after 2010.
<s>[INST]Find the number of visitors who did not visit any museum opened after 2010. Context: CREATE TABLE museum (Museum_ID VARCHAR, open_year INTEGER); CREATE TABLE visitor (id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, Museum_ID VARCHAR)[/INST]SELECT COUNT(*) FROM visitor WHERE NOT id IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010)</s>
CREATE TABLE table_name_30 (bronze INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR)
SELECT SUM(bronze) FROM table_name_30 WHERE total < 4 AND gold > 0 AND silver = 0
Who has a total of the Bronze less than 4, gold more than 0, and no silver?
<s>[INST]Who has a total of the Bronze less than 4, gold more than 0, and no silver? Context: CREATE TABLE table_name_30 (bronze INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_30 WHERE total < 4 AND gold > 0 AND silver = 0</s>
CREATE TABLE table_name_33 (player VARCHAR, round INTEGER)
SELECT player FROM table_name_33 WHERE round < 3
Which player was selected in rounds under 3?
<s>[INST]Which player was selected in rounds under 3? Context: CREATE TABLE table_name_33 (player VARCHAR, round INTEGER)[/INST]SELECT player FROM table_name_33 WHERE round < 3</s>
CREATE TABLE review (rating INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)
SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > (SELECT AVG(rating) FROM review)
Find the titles of items whose rating is higher than the average review rating of all items.
<s>[INST]Find the titles of items whose rating is higher than the average review rating of all items. Context: CREATE TABLE review (rating INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)[/INST]SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > (SELECT AVG(rating) FROM review)</s>
CREATE TABLE table_name_69 (mls_team VARCHAR, pick__number VARCHAR)
SELECT mls_team FROM table_name_69 WHERE pick__number = 31
Which MLS Team's pick number was 31?
<s>[INST]Which MLS Team's pick number was 31? Context: CREATE TABLE table_name_69 (mls_team VARCHAR, pick__number VARCHAR)[/INST]SELECT mls_team FROM table_name_69 WHERE pick__number = 31</s>
CREATE TABLE table_17311812_8 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_17311812_8 WHERE team = "Denver"
Who has the most assists on Denver?
<s>[INST]Who has the most assists on Denver? Context: CREATE TABLE table_17311812_8 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_17311812_8 WHERE team = "Denver"</s>
CREATE TABLE table_19753079_13 (result VARCHAR, district VARCHAR)
SELECT result FROM table_19753079_13 WHERE district = "Georgia 8"
What was the result of the Georgia 8 district?
<s>[INST]What was the result of the Georgia 8 district? Context: CREATE TABLE table_19753079_13 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_19753079_13 WHERE district = "Georgia 8"</s>
CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR, mens_singles VARCHAR)
SELECT COUNT(year) FROM table_14903491_1 WHERE womens_doubles = "Diana Koleva Emilia Dimitrova" AND mens_singles = "Jeliazko Valkov"
Name the number of years for womens doubles being diana koleva emilia dimitrova and jeliazko valkov
<s>[INST]Name the number of years for womens doubles being diana koleva emilia dimitrova and jeliazko valkov Context: CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR, mens_singles VARCHAR)[/INST]SELECT COUNT(year) FROM table_14903491_1 WHERE womens_doubles = "Diana Koleva Emilia Dimitrova" AND mens_singles = "Jeliazko Valkov"</s>
CREATE TABLE table_name_72 (total INTEGER, year_s__won VARCHAR)
SELECT MAX(total) FROM table_name_72 WHERE year_s__won = "1998"
What is the Total of the Player who won in 1998?
<s>[INST]What is the Total of the Player who won in 1998? Context: CREATE TABLE table_name_72 (total INTEGER, year_s__won VARCHAR)[/INST]SELECT MAX(total) FROM table_name_72 WHERE year_s__won = "1998"</s>
CREATE TABLE table_13114949_3 (final_rank VARCHAR, event VARCHAR, competition VARCHAR)
SELECT final_rank FROM table_13114949_3 WHERE event = "Uneven Bars" AND competition = "U.S. Championships"
what is the final-rank for the uneven bars and the competition is u.s. championships?
<s>[INST]what is the final-rank for the uneven bars and the competition is u.s. championships? Context: CREATE TABLE table_13114949_3 (final_rank VARCHAR, event VARCHAR, competition VARCHAR)[/INST]SELECT final_rank FROM table_13114949_3 WHERE event = "Uneven Bars" AND competition = "U.S. Championships"</s>
CREATE TABLE table_name_74 (lead VARCHAR, second VARCHAR, third VARCHAR)
SELECT lead FROM table_name_74 WHERE second = "vicki adams" AND third = "anna sloan"
What is the lead with a second of Vicki Adams and a third of Anna Sloan?
<s>[INST]What is the lead with a second of Vicki Adams and a third of Anna Sloan? Context: CREATE TABLE table_name_74 (lead VARCHAR, second VARCHAR, third VARCHAR)[/INST]SELECT lead FROM table_name_74 WHERE second = "vicki adams" AND third = "anna sloan"</s>
CREATE TABLE table_18811741_15 (podiums VARCHAR, stage_wins VARCHAR)
SELECT COUNT(podiums) FROM table_18811741_15 WHERE stage_wins = 18
How many podiums for the driver with 18 stage wins?
<s>[INST]How many podiums for the driver with 18 stage wins? Context: CREATE TABLE table_18811741_15 (podiums VARCHAR, stage_wins VARCHAR)[/INST]SELECT COUNT(podiums) FROM table_18811741_15 WHERE stage_wins = 18</s>
CREATE TABLE table_name_64 (year VARCHAR, avg_attendance VARCHAR)
SELECT year FROM table_name_64 WHERE avg_attendance = "5,445"
When was the year that had an average attendance of 5,445?
<s>[INST]When was the year that had an average attendance of 5,445? Context: CREATE TABLE table_name_64 (year VARCHAR, avg_attendance VARCHAR)[/INST]SELECT year FROM table_name_64 WHERE avg_attendance = "5,445"</s>
CREATE TABLE table_name_84 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_84 WHERE date = "october 27, 2003"
What tournament is on October 27, 2003?
<s>[INST]What tournament is on October 27, 2003? Context: CREATE TABLE table_name_84 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_84 WHERE date = "october 27, 2003"</s>
CREATE TABLE table_name_27 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_27 WHERE pick < 92 AND school_club_team = "ucla"
Which position at UCLA has a lower than 92 pick number?
<s>[INST]Which position at UCLA has a lower than 92 pick number? Context: CREATE TABLE table_name_27 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_name_27 WHERE pick < 92 AND school_club_team = "ucla"</s>
CREATE TABLE table_name_65 (call_sign VARCHAR, city_of_license VARCHAR)
SELECT call_sign FROM table_name_65 WHERE city_of_license = "soledad, california"
What call sign is licensed in soledad, california?
<s>[INST]What call sign is licensed in soledad, california? Context: CREATE TABLE table_name_65 (call_sign VARCHAR, city_of_license VARCHAR)[/INST]SELECT call_sign FROM table_name_65 WHERE city_of_license = "soledad, california"</s>