context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_44 (loser VARCHAR, time VARCHAR)
SELECT loser FROM table_name_44 WHERE time = "0:58"
Who lost with a time of 0:58?
<s>[INST]Who lost with a time of 0:58? Context: CREATE TABLE table_name_44 (loser VARCHAR, time VARCHAR)[/INST]SELECT loser FROM table_name_44 WHERE time = "0:58"</s>
CREATE TABLE table_name_78 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_78 WHERE away_team = "essendon"
What is the lowest crowd when essendon is the away team?
<s>[INST]What is the lowest crowd when essendon is the away team? Context: CREATE TABLE table_name_78 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_78 WHERE away_team = "essendon"</s>
CREATE TABLE table_name_69 (name VARCHAR, games VARCHAR, period VARCHAR)
SELECT name FROM table_name_69 WHERE games > 299 AND period = "1995–07"
What is the name of the person with more than 299 games during the 1995–07 period?
<s>[INST]What is the name of the person with more than 299 games during the 1995–07 period? Context: CREATE TABLE table_name_69 (name VARCHAR, games VARCHAR, period VARCHAR)[/INST]SELECT name FROM table_name_69 WHERE games > 299 AND period = "1995–07"</s>
CREATE TABLE table_1360997_3 (jockey VARCHAR, venue VARCHAR, weight__kg_ VARCHAR)
SELECT jockey FROM table_1360997_3 WHERE venue = "Rosehill" AND weight__kg_ = "57.5"
Who was the jockey at Rosehill and the weight was 57.5 kg?
<s>[INST]Who was the jockey at Rosehill and the weight was 57.5 kg? Context: CREATE TABLE table_1360997_3 (jockey VARCHAR, venue VARCHAR, weight__kg_ VARCHAR)[/INST]SELECT jockey FROM table_1360997_3 WHERE venue = "Rosehill" AND weight__kg_ = "57.5"</s>
CREATE TABLE table_name_23 (constructor VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_23 WHERE time_retired = "collision" AND driver = "olivier panis"
What is the construction of Olivier Panis' car that retired due to a collision?
<s>[INST]What is the construction of Olivier Panis' car that retired due to a collision? Context: CREATE TABLE table_name_23 (constructor VARCHAR, time_retired VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_23 WHERE time_retired = "collision" AND driver = "olivier panis"</s>
CREATE TABLE table_name_42 (location VARCHAR, aircraft VARCHAR, tail_number VARCHAR)
SELECT location FROM table_name_42 WHERE aircraft = "f-27-600rf" AND tail_number = "6o-saz"
What was the location that had an accident by the F-27-600RF aircraft with tail number 6O-SAZ?
<s>[INST]What was the location that had an accident by the F-27-600RF aircraft with tail number 6O-SAZ? Context: CREATE TABLE table_name_42 (location VARCHAR, aircraft VARCHAR, tail_number VARCHAR)[/INST]SELECT location FROM table_name_42 WHERE aircraft = "f-27-600rf" AND tail_number = "6o-saz"</s>
CREATE TABLE table_name_97 (named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR, latitude VARCHAR)
SELECT named AS after FROM table_name_97 WHERE diameter__km_ < 19.2 AND latitude > -37.5 AND longitude < 67.3
Tell me the named after for diameter less than 19.2 and latitude more than -37.5 with longitude less than 67.3
<s>[INST]Tell me the named after for diameter less than 19.2 and latitude more than -37.5 with longitude less than 67.3 Context: CREATE TABLE table_name_97 (named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR, latitude VARCHAR)[/INST]SELECT named AS after FROM table_name_97 WHERE diameter__km_ < 19.2 AND latitude > -37.5 AND longitude < 67.3</s>
CREATE TABLE Students (first_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Addresses (student_id VARCHAR)
SELECT T1.student_id, T2.first_name FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
What are the id and first name of the student whose addresses have the highest average monthly rental?
<s>[INST]What are the id and first name of the student whose addresses have the highest average monthly rental? Context: CREATE TABLE Students (first_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Addresses (student_id VARCHAR)[/INST]SELECT T1.student_id, T2.first_name FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY AVG(monthly_rental) DESC LIMIT 1</s>
CREATE TABLE table_name_19 (the_prize VARCHAR, launch_date VARCHAR, tv_channel VARCHAR, the_presenter VARCHAR)
SELECT the_prize FROM table_name_19 WHERE tv_channel = "ant1" AND the_presenter = "andreas mikroutsikos" AND launch_date = "march 10, 2003"
What was the prize when the show was aired on Ant1, was presented by Andreas Mikroutsikos, and was launched on March 10, 2003?
<s>[INST]What was the prize when the show was aired on Ant1, was presented by Andreas Mikroutsikos, and was launched on March 10, 2003? Context: CREATE TABLE table_name_19 (the_prize VARCHAR, launch_date VARCHAR, tv_channel VARCHAR, the_presenter VARCHAR)[/INST]SELECT the_prize FROM table_name_19 WHERE tv_channel = "ant1" AND the_presenter = "andreas mikroutsikos" AND launch_date = "march 10, 2003"</s>
CREATE TABLE table_name_74 (heat VARCHAR, lane VARCHAR, name VARCHAR)
SELECT COUNT(heat) FROM table_name_74 WHERE lane < 4 AND name = "christophe lebon"
What is the sum of heat for christophe lebon when lane is less than 4?
<s>[INST]What is the sum of heat for christophe lebon when lane is less than 4? Context: CREATE TABLE table_name_74 (heat VARCHAR, lane VARCHAR, name VARCHAR)[/INST]SELECT COUNT(heat) FROM table_name_74 WHERE lane < 4 AND name = "christophe lebon"</s>
CREATE TABLE table_name_56 (original_title VARCHAR, year VARCHAR, winner_and_nominees VARCHAR)
SELECT original_title FROM table_name_56 WHERE year = "1996 (11th)" AND winner_and_nominees = "breaking the waves"
What was the orignal title for the winner and nominee, Breaking the Waves, in 1996 (11th)?
<s>[INST]What was the orignal title for the winner and nominee, Breaking the Waves, in 1996 (11th)? Context: CREATE TABLE table_name_56 (original_title VARCHAR, year VARCHAR, winner_and_nominees VARCHAR)[/INST]SELECT original_title FROM table_name_56 WHERE year = "1996 (11th)" AND winner_and_nominees = "breaking the waves"</s>
CREATE TABLE table_name_26 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_26 WHERE date = "november 8"
What's the stadium on November 8?
<s>[INST]What's the stadium on November 8? Context: CREATE TABLE table_name_26 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_26 WHERE date = "november 8"</s>
CREATE TABLE table_name_6 (college VARCHAR, position VARCHAR)
SELECT college FROM table_name_6 WHERE position = "linebacker"
Where did the player picked for the linebacker position play in college?
<s>[INST]Where did the player picked for the linebacker position play in college? Context: CREATE TABLE table_name_6 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_name_6 WHERE position = "linebacker"</s>
CREATE TABLE table_name_51 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_51 WHERE home_team = "citizen team a"
What was the score for the match with a home team of Citizen Team A?
<s>[INST]What was the score for the match with a home team of Citizen Team A? Context: CREATE TABLE table_name_51 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_51 WHERE home_team = "citizen team a"</s>
CREATE TABLE table_2668254_22 (party VARCHAR, candidates VARCHAR)
SELECT party FROM table_2668254_22 WHERE candidates = "George McDuffie (J)"
What party did candidate george mcduffie (j) represent?
<s>[INST]What party did candidate george mcduffie (j) represent? Context: CREATE TABLE table_2668254_22 (party VARCHAR, candidates VARCHAR)[/INST]SELECT party FROM table_2668254_22 WHERE candidates = "George McDuffie (J)"</s>
CREATE TABLE table_name_65 (irish_name VARCHAR, province VARCHAR, county VARCHAR)
SELECT irish_name FROM table_name_65 WHERE province = "leinster" AND county = "fingal"
Province of leinster, and a County of fingal has which irish name?
<s>[INST]Province of leinster, and a County of fingal has which irish name? Context: CREATE TABLE table_name_65 (irish_name VARCHAR, province VARCHAR, county VARCHAR)[/INST]SELECT irish_name FROM table_name_65 WHERE province = "leinster" AND county = "fingal"</s>
CREATE TABLE teaches (id VARCHAR); CREATE TABLE instructor (id VARCHAR)
SELECT id FROM instructor EXCEPT SELECT id FROM teaches
Find the id of instructors who didn't teach any courses?
<s>[INST]Find the id of instructors who didn't teach any courses? Context: CREATE TABLE teaches (id VARCHAR); CREATE TABLE instructor (id VARCHAR)[/INST]SELECT id FROM instructor EXCEPT SELECT id FROM teaches</s>
CREATE TABLE table_name_5 (kickoff VARCHAR, game_site VARCHAR)
SELECT kickoff FROM table_name_5 WHERE game_site = "bank of america stadium"
Which Kickoff had a Game Site of bank of america stadium?
<s>[INST]Which Kickoff had a Game Site of bank of america stadium? Context: CREATE TABLE table_name_5 (kickoff VARCHAR, game_site VARCHAR)[/INST]SELECT kickoff FROM table_name_5 WHERE game_site = "bank of america stadium"</s>
CREATE TABLE table_name_99 (year INTEGER, rank VARCHAR, name VARCHAR)
SELECT MIN(year) FROM table_name_99 WHERE rank < 132 AND name = "biodiversity richness"
Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richness?
<s>[INST]Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richness? Context: CREATE TABLE table_name_99 (year INTEGER, rank VARCHAR, name VARCHAR)[/INST]SELECT MIN(year) FROM table_name_99 WHERE rank < 132 AND name = "biodiversity richness"</s>
CREATE TABLE table_1342233_11 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342233_11 WHERE district = "Georgia 4"
What candidate is associated with the Georgia 4 district?
<s>[INST]What candidate is associated with the Georgia 4 district? Context: CREATE TABLE table_1342233_11 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342233_11 WHERE district = "Georgia 4"</s>
CREATE TABLE table_name_28 (year INTEGER, day_in_release VARCHAR, day_of_week VARCHAR)
SELECT AVG(year) FROM table_name_28 WHERE day_in_release = "friday" AND day_of_week > 2
What is the average year for releases on Friday and weeks larger than 2 days?
<s>[INST]What is the average year for releases on Friday and weeks larger than 2 days? Context: CREATE TABLE table_name_28 (year INTEGER, day_in_release VARCHAR, day_of_week VARCHAR)[/INST]SELECT AVG(year) FROM table_name_28 WHERE day_in_release = "friday" AND day_of_week > 2</s>
CREATE TABLE Projects (Id VARCHAR)
SELECT COUNT(*) FROM Projects
Show the number of projects.
<s>[INST]Show the number of projects. Context: CREATE TABLE Projects (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Projects</s>
CREATE TABLE table_name_20 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_20 WHERE chassis = "tg181" AND driver = "derek warwick"
Who constructed the car that Derek Warwick raced in with a TG181 chassis?
<s>[INST]Who constructed the car that Derek Warwick raced in with a TG181 chassis? Context: CREATE TABLE table_name_20 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_20 WHERE chassis = "tg181" AND driver = "derek warwick"</s>
CREATE TABLE table_name_37 (call_sign VARCHAR, tail_code VARCHAR, weapon_systems_officer VARCHAR)
SELECT call_sign FROM table_name_37 WHERE tail_code = "oy" AND weapon_systems_officer = "capt charles b. debellevue"
Which Call Sign that has a Tail Code of oy belong to Weapon Systems Officer Capt Charles B. Debellevue?
<s>[INST]Which Call Sign that has a Tail Code of oy belong to Weapon Systems Officer Capt Charles B. Debellevue? Context: CREATE TABLE table_name_37 (call_sign VARCHAR, tail_code VARCHAR, weapon_systems_officer VARCHAR)[/INST]SELECT call_sign FROM table_name_37 WHERE tail_code = "oy" AND weapon_systems_officer = "capt charles b. debellevue"</s>
CREATE TABLE table_name_78 (time_retired VARCHAR, points VARCHAR)
SELECT time_retired FROM table_name_78 WHERE points = "14"
What was the time/retired for the driver with 14 points?
<s>[INST]What was the time/retired for the driver with 14 points? Context: CREATE TABLE table_name_78 (time_retired VARCHAR, points VARCHAR)[/INST]SELECT time_retired FROM table_name_78 WHERE points = "14"</s>
CREATE TABLE table_16581695_4 (no_in_series VARCHAR, production_code VARCHAR)
SELECT no_in_series FROM table_16581695_4 WHERE production_code = "303"
What is the series episode number of the episode with production code 303?
<s>[INST]What is the series episode number of the episode with production code 303? Context: CREATE TABLE table_16581695_4 (no_in_series VARCHAR, production_code VARCHAR)[/INST]SELECT no_in_series FROM table_16581695_4 WHERE production_code = "303"</s>
CREATE TABLE market (District VARCHAR, Market_ID VARCHAR, Ranking VARCHAR); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Phone_ID VARCHAR)
SELECT T3.Name, T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID ORDER BY T2.Ranking
Show the names of phones and the districts of markets they are on, in ascending order of the ranking of the market.
<s>[INST]Show the names of phones and the districts of markets they are on, in ascending order of the ranking of the market. Context: CREATE TABLE market (District VARCHAR, Market_ID VARCHAR, Ranking VARCHAR); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Phone_ID VARCHAR)[/INST]SELECT T3.Name, T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID ORDER BY T2.Ranking</s>
CREATE TABLE table_name_93 (round VARCHAR, opponent VARCHAR)
SELECT COUNT(round) FROM table_name_93 WHERE opponent = "paul sutherland"
What is the total number of round values that had opponents named Paul Sutherland?
<s>[INST]What is the total number of round values that had opponents named Paul Sutherland? Context: CREATE TABLE table_name_93 (round VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_93 WHERE opponent = "paul sutherland"</s>
CREATE TABLE table_name_8 (year INTEGER, category VARCHAR)
SELECT SUM(year) FROM table_name_8 WHERE category = "best supporting actress"
What year was there a category of Best Supporting Actress?
<s>[INST]What year was there a category of Best Supporting Actress? Context: CREATE TABLE table_name_8 (year INTEGER, category VARCHAR)[/INST]SELECT SUM(year) FROM table_name_8 WHERE category = "best supporting actress"</s>
CREATE TABLE table_name_58 (attendance INTEGER, visitor VARCHAR, decision VARCHAR)
SELECT AVG(attendance) FROM table_name_58 WHERE visitor = "montreal" AND decision = "price"
What was the average attendance when the decision was price and montreal were the visitors?
<s>[INST]What was the average attendance when the decision was price and montreal were the visitors? Context: CREATE TABLE table_name_58 (attendance INTEGER, visitor VARCHAR, decision VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_58 WHERE visitor = "montreal" AND decision = "price"</s>
CREATE TABLE table_name_99 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_99 WHERE date = "9 january 2008"
Who was the leading scorer on 9 January 2008?
<s>[INST]Who was the leading scorer on 9 January 2008? Context: CREATE TABLE table_name_99 (leading_scorer VARCHAR, date VARCHAR)[/INST]SELECT leading_scorer FROM table_name_99 WHERE date = "9 january 2008"</s>
CREATE TABLE table_name_6 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_6 WHERE date = "september 2"
What was the record on september 2?
<s>[INST]What was the record on september 2? Context: CREATE TABLE table_name_6 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_6 WHERE date = "september 2"</s>
CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_39 WHERE opponent = "cedric marks"
What round was the game against Cedric Marks?
<s>[INST]What round was the game against Cedric Marks? Context: CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_39 WHERE opponent = "cedric marks"</s>
CREATE TABLE table (platform VARCHAR, weight VARCHAR)
SELECT platform FROM table WHERE weight = "131.5g"
What is the platform if the weight is 131.5g?
<s>[INST]What is the platform if the weight is 131.5g? Context: CREATE TABLE table (platform VARCHAR, weight VARCHAR)[/INST]SELECT platform FROM table WHERE weight = "131.5g"</s>
CREATE TABLE table_name_86 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR)
SELECT gdp__ppp__$m_usd FROM table_name_86 WHERE area__km²_ = "61,395"
How much is the GDP for an area of 61,395?
<s>[INST]How much is the GDP for an area of 61,395? Context: CREATE TABLE table_name_86 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR)[/INST]SELECT gdp__ppp__$m_usd FROM table_name_86 WHERE area__km²_ = "61,395"</s>
CREATE TABLE table_1341577_50 (candidates VARCHAR, first_elected VARCHAR)
SELECT candidates FROM table_1341577_50 WHERE first_elected = 1982
Who were the candidates that ran when Jim Moody was up for reelection after 1982?
<s>[INST]Who were the candidates that ran when Jim Moody was up for reelection after 1982? Context: CREATE TABLE table_1341577_50 (candidates VARCHAR, first_elected VARCHAR)[/INST]SELECT candidates FROM table_1341577_50 WHERE first_elected = 1982</s>
CREATE TABLE table_name_31 (position VARCHAR, pick INTEGER)
SELECT position FROM table_name_31 WHERE pick > 28
Which position has a pick greater than 28?
<s>[INST]Which position has a pick greater than 28? Context: CREATE TABLE table_name_31 (position VARCHAR, pick INTEGER)[/INST]SELECT position FROM table_name_31 WHERE pick > 28</s>
CREATE TABLE table_10015132_1 (school_club_team VARCHAR, years_in_toronto VARCHAR)
SELECT school_club_team FROM table_10015132_1 WHERE years_in_toronto = "2012-present"
What school did the player that has been in Toronto from 2012-present come from?
<s>[INST]What school did the player that has been in Toronto from 2012-present come from? Context: CREATE TABLE table_10015132_1 (school_club_team VARCHAR, years_in_toronto VARCHAR)[/INST]SELECT school_club_team FROM table_10015132_1 WHERE years_in_toronto = "2012-present"</s>
CREATE TABLE table_name_15 (round_1 INTEGER, place VARCHAR, year VARCHAR)
SELECT MIN(round_1) FROM table_name_15 WHERE place = "t15" AND year < 1998
What is the lowest round with a place of t15 in a year earlier than 1998?
<s>[INST]What is the lowest round with a place of t15 in a year earlier than 1998? Context: CREATE TABLE table_name_15 (round_1 INTEGER, place VARCHAR, year VARCHAR)[/INST]SELECT MIN(round_1) FROM table_name_15 WHERE place = "t15" AND year < 1998</s>
CREATE TABLE table_10420426_1 (team VARCHAR, series VARCHAR)
SELECT team FROM table_10420426_1 WHERE series = "Formula Renault 2.0 NEC"
What was the team where series is formula renault 2.0 nec?
<s>[INST]What was the team where series is formula renault 2.0 nec? Context: CREATE TABLE table_10420426_1 (team VARCHAR, series VARCHAR)[/INST]SELECT team FROM table_10420426_1 WHERE series = "Formula Renault 2.0 NEC"</s>
CREATE TABLE table_name_56 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_56 WHERE record = "4-4"
What was the date of the game where the record was 4-4?
<s>[INST]What was the date of the game where the record was 4-4? Context: CREATE TABLE table_name_56 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_56 WHERE record = "4-4"</s>
CREATE TABLE table_name_88 (history VARCHAR, name VARCHAR)
SELECT history FROM table_name_88 WHERE name = "speedrunner iii (ssc3)"
What is the history behind Speedrunner III (SSC3)?
<s>[INST]What is the history behind Speedrunner III (SSC3)? Context: CREATE TABLE table_name_88 (history VARCHAR, name VARCHAR)[/INST]SELECT history FROM table_name_88 WHERE name = "speedrunner iii (ssc3)"</s>
CREATE TABLE table_name_92 (club VARCHAR, season VARCHAR, away_result VARCHAR, round VARCHAR)
SELECT club FROM table_name_92 WHERE away_result = "1–1" AND round = "1r" AND season = "1967-68"
Away result of 1–1, and a Round of 1r, and a Season of 1967-68 involves what club?
<s>[INST]Away result of 1–1, and a Round of 1r, and a Season of 1967-68 involves what club? Context: CREATE TABLE table_name_92 (club VARCHAR, season VARCHAR, away_result VARCHAR, round VARCHAR)[/INST]SELECT club FROM table_name_92 WHERE away_result = "1–1" AND round = "1r" AND season = "1967-68"</s>
CREATE TABLE student (stu_num VARCHAR, stu_lname VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_credit VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR)
SELECT T4.crs_description, T4.crs_credit FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T3.stu_num = T2.stu_num JOIN course AS T4 ON T4.crs_code = T1.crs_code WHERE T3.stu_lname = 'Smithson'
What are the description and credit of the course which the student whose last name is Smithson took?
<s>[INST]What are the description and credit of the course which the student whose last name is Smithson took? Context: CREATE TABLE student (stu_num VARCHAR, stu_lname VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_credit VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR)[/INST]SELECT T4.crs_description, T4.crs_credit FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T3.stu_num = T2.stu_num JOIN course AS T4 ON T4.crs_code = T1.crs_code WHERE T3.stu_lname = 'Smithson'</s>
CREATE TABLE table_name_31 (time VARCHAR, record VARCHAR)
SELECT time FROM table_name_31 WHERE record = "66-95"
when is Record of 66-95?
<s>[INST]when is Record of 66-95? Context: CREATE TABLE table_name_31 (time VARCHAR, record VARCHAR)[/INST]SELECT time FROM table_name_31 WHERE record = "66-95"</s>
CREATE TABLE table_name_67 (draws INTEGER, total VARCHAR, goal_difference VARCHAR)
SELECT AVG(draws) FROM table_name_67 WHERE total = 1 AND goal_difference = "2:0"
What is the average number of draws that have a total of 1 and a goal difference of 2:0?
<s>[INST]What is the average number of draws that have a total of 1 and a goal difference of 2:0? Context: CREATE TABLE table_name_67 (draws INTEGER, total VARCHAR, goal_difference VARCHAR)[/INST]SELECT AVG(draws) FROM table_name_67 WHERE total = 1 AND goal_difference = "2:0"</s>
CREATE TABLE table_name_60 (game VARCHAR, team VARCHAR, début VARCHAR)
SELECT game FROM table_name_60 WHERE team = "waterford" AND début > 1995
What is the name of the game whose team is Waterford and debuted later than 1995?
<s>[INST]What is the name of the game whose team is Waterford and debuted later than 1995? Context: CREATE TABLE table_name_60 (game VARCHAR, team VARCHAR, début VARCHAR)[/INST]SELECT game FROM table_name_60 WHERE team = "waterford" AND début > 1995</s>
CREATE TABLE table_name_97 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_97 WHERE visitor = "toronto"
what day did the team go to toronto
<s>[INST]what day did the team go to toronto Context: CREATE TABLE table_name_97 (date VARCHAR, visitor VARCHAR)[/INST]SELECT date FROM table_name_97 WHERE visitor = "toronto"</s>
CREATE TABLE table_name_76 (website VARCHAR, founded VARCHAR)
SELECT website FROM table_name_76 WHERE founded = 1921
Which website has 1921 as the year founded?
<s>[INST]Which website has 1921 as the year founded? Context: CREATE TABLE table_name_76 (website VARCHAR, founded VARCHAR)[/INST]SELECT website FROM table_name_76 WHERE founded = 1921</s>
CREATE TABLE table_name_74 (net_power VARCHAR, type VARCHAR, finish_construction VARCHAR)
SELECT net_power FROM table_name_74 WHERE type = "wwer-440/230" AND finish_construction = "24.10.1977"
What was the net power, when the type was wwer-440/230, and when construction was finished on 24.10.1977?
<s>[INST]What was the net power, when the type was wwer-440/230, and when construction was finished on 24.10.1977? Context: CREATE TABLE table_name_74 (net_power VARCHAR, type VARCHAR, finish_construction VARCHAR)[/INST]SELECT net_power FROM table_name_74 WHERE type = "wwer-440/230" AND finish_construction = "24.10.1977"</s>
CREATE TABLE table_1341423_36 (results VARCHAR, district VARCHAR)
SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 3"
What was the results for the district oklahoma 3?
<s>[INST]What was the results for the district oklahoma 3? Context: CREATE TABLE table_1341423_36 (results VARCHAR, district VARCHAR)[/INST]SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 3"</s>
CREATE TABLE table_name_46 (overall_record VARCHAR, away_team VARCHAR)
SELECT overall_record FROM table_name_46 WHERE away_team = "miami"
Can you tell me the Overall Record that has the Away Team of miami?
<s>[INST]Can you tell me the Overall Record that has the Away Team of miami? Context: CREATE TABLE table_name_46 (overall_record VARCHAR, away_team VARCHAR)[/INST]SELECT overall_record FROM table_name_46 WHERE away_team = "miami"</s>
CREATE TABLE table_name_13 (nation VARCHAR, heat VARCHAR, rank VARCHAR)
SELECT nation FROM table_name_13 WHERE heat = 4 AND rank = 8
Which nation has a heat of 4, and is ranked 8?
<s>[INST]Which nation has a heat of 4, and is ranked 8? Context: CREATE TABLE table_name_13 (nation VARCHAR, heat VARCHAR, rank VARCHAR)[/INST]SELECT nation FROM table_name_13 WHERE heat = 4 AND rank = 8</s>
CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_17 WHERE date = "december 18, 1960"
What is the Week number on December 18, 1960?
<s>[INST]What is the Week number on December 18, 1960? Context: CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_17 WHERE date = "december 18, 1960"</s>
CREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR)
SELECT nationality FROM table_2679061_9 WHERE pick__number = 179
What was the nationality of player picked no. 179?
<s>[INST]What was the nationality of player picked no. 179? Context: CREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR)[/INST]SELECT nationality FROM table_2679061_9 WHERE pick__number = 179</s>
CREATE TABLE table_1220125_4 (commissioned VARCHAR, laid_down VARCHAR)
SELECT commissioned FROM table_1220125_4 WHERE laid_down = "4 May 1943"
What is the comissioned for 4 may 1943?
<s>[INST]What is the comissioned for 4 may 1943? Context: CREATE TABLE table_1220125_4 (commissioned VARCHAR, laid_down VARCHAR)[/INST]SELECT commissioned FROM table_1220125_4 WHERE laid_down = "4 May 1943"</s>
CREATE TABLE table_15187735_15 (segment_d VARCHAR, episode VARCHAR)
SELECT segment_d FROM table_15187735_15 WHERE episode = 183
What was segment D for episode 183?
<s>[INST]What was segment D for episode 183? Context: CREATE TABLE table_15187735_15 (segment_d VARCHAR, episode VARCHAR)[/INST]SELECT segment_d FROM table_15187735_15 WHERE episode = 183</s>
CREATE TABLE table_name_60 (rank INTEGER, publication VARCHAR, year VARCHAR)
SELECT SUM(rank) FROM table_name_60 WHERE publication = "rolling stone" AND year = 2008
Where did Day & Age rank in the Rolling Stone in 2008?
<s>[INST]Where did Day & Age rank in the Rolling Stone in 2008? Context: CREATE TABLE table_name_60 (rank INTEGER, publication VARCHAR, year VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_60 WHERE publication = "rolling stone" AND year = 2008</s>
CREATE TABLE table_name_29 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_29 WHERE away_team = "south melbourne"
What was the score of the Home team in the game that had the Away team of south melbourne?
<s>[INST]What was the score of the Home team in the game that had the Away team of south melbourne? Context: CREATE TABLE table_name_29 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_29 WHERE away_team = "south melbourne"</s>
CREATE TABLE table_name_77 (grid INTEGER, driver VARCHAR)
SELECT MAX(grid) FROM table_name_77 WHERE driver = "patrick carpentier"
What was the highest grid for Patrick Carpentier?
<s>[INST]What was the highest grid for Patrick Carpentier? Context: CREATE TABLE table_name_77 (grid INTEGER, driver VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_77 WHERE driver = "patrick carpentier"</s>
CREATE TABLE table_name_78 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_78 WHERE score = "8-1"
What competition had a score of 8-1?
<s>[INST]What competition had a score of 8-1? Context: CREATE TABLE table_name_78 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_78 WHERE score = "8-1"</s>
CREATE TABLE table_name_83 (total VARCHAR, player VARCHAR)
SELECT COUNT(total) FROM table_name_83 WHERE player = "bernhard langer"
What is the total for Bernhard Langer?
<s>[INST]What is the total for Bernhard Langer? Context: CREATE TABLE table_name_83 (total VARCHAR, player VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_83 WHERE player = "bernhard langer"</s>
CREATE TABLE workshop (Date VARCHAR, Venue VARCHAR)
SELECT Date, Venue FROM workshop ORDER BY Venue
Show the date and venue of each workshop in ascending alphabetical order of the venue.
<s>[INST]Show the date and venue of each workshop in ascending alphabetical order of the venue. Context: CREATE TABLE workshop (Date VARCHAR, Venue VARCHAR)[/INST]SELECT Date, Venue FROM workshop ORDER BY Venue</s>
CREATE TABLE table_name_58 (municipality VARCHAR, station VARCHAR)
SELECT municipality FROM table_name_58 WHERE station = "harmon cove"
What municipality is the Harmon Cove station located in?
<s>[INST]What municipality is the Harmon Cove station located in? Context: CREATE TABLE table_name_58 (municipality VARCHAR, station VARCHAR)[/INST]SELECT municipality FROM table_name_58 WHERE station = "harmon cove"</s>
CREATE TABLE table_name_69 (part_2 VARCHAR, part_4 VARCHAR)
SELECT part_2 FROM table_name_69 WHERE part_4 = "*haldanaz"
What was part 2 when part 4 was *haldanaz?
<s>[INST]What was part 2 when part 4 was *haldanaz? Context: CREATE TABLE table_name_69 (part_2 VARCHAR, part_4 VARCHAR)[/INST]SELECT part_2 FROM table_name_69 WHERE part_4 = "*haldanaz"</s>
CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, end_of_term VARCHAR)
SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = "5July1978"
what's the date of birth with end of term being 5july1978
<s>[INST]what's the date of birth with end of term being 5july1978 Context: CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, end_of_term VARCHAR)[/INST]SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = "5July1978"</s>
CREATE TABLE table_12715053_1 (trademark VARCHAR, molecular_target VARCHAR)
SELECT trademark FROM table_12715053_1 WHERE molecular_target = "DNA-Binding"
What is the trademark listed for the molecular target : dna-binding?
<s>[INST]What is the trademark listed for the molecular target : dna-binding? Context: CREATE TABLE table_12715053_1 (trademark VARCHAR, molecular_target VARCHAR)[/INST]SELECT trademark FROM table_12715053_1 WHERE molecular_target = "DNA-Binding"</s>
CREATE TABLE table_name_64 (away_team VARCHAR, attendance VARCHAR)
SELECT away_team FROM table_name_64 WHERE attendance = "7,891"
Who was the away team when the attendance was 7,891?
<s>[INST]Who was the away team when the attendance was 7,891? Context: CREATE TABLE table_name_64 (away_team VARCHAR, attendance VARCHAR)[/INST]SELECT away_team FROM table_name_64 WHERE attendance = "7,891"</s>
CREATE TABLE table_name_88 (party VARCHAR, name VARCHAR, first_elected VARCHAR, position VARCHAR)
SELECT party FROM table_name_88 WHERE first_elected > 1999 AND position = "supervisor" AND name = "john foust"
Name the party with first elected more than 1999 and position of supervisor for john foust
<s>[INST]Name the party with first elected more than 1999 and position of supervisor for john foust Context: CREATE TABLE table_name_88 (party VARCHAR, name VARCHAR, first_elected VARCHAR, position VARCHAR)[/INST]SELECT party FROM table_name_88 WHERE first_elected > 1999 AND position = "supervisor" AND name = "john foust"</s>
CREATE TABLE table_name_87 (resolution VARCHAR, official_website VARCHAR, callsign VARCHAR)
SELECT resolution FROM table_name_87 WHERE official_website = "ketftv.com" AND callsign = "kldo-dt2"
Name the resolution for ketftv.com and callsign of kldo-dt2
<s>[INST]Name the resolution for ketftv.com and callsign of kldo-dt2 Context: CREATE TABLE table_name_87 (resolution VARCHAR, official_website VARCHAR, callsign VARCHAR)[/INST]SELECT resolution FROM table_name_87 WHERE official_website = "ketftv.com" AND callsign = "kldo-dt2"</s>
CREATE TABLE table_name_35 (independent INTEGER, green VARCHAR, conservative VARCHAR)
SELECT AVG(independent) FROM table_name_35 WHERE green > 7 AND conservative < 0
Name the average Independent with a Green larger than 7, and a Conservative smaller than 0?
<s>[INST]Name the average Independent with a Green larger than 7, and a Conservative smaller than 0? Context: CREATE TABLE table_name_35 (independent INTEGER, green VARCHAR, conservative VARCHAR)[/INST]SELECT AVG(independent) FROM table_name_35 WHERE green > 7 AND conservative < 0</s>
CREATE TABLE table_25594271_2 (position INTEGER, sail_number VARCHAR)
SELECT MIN(position) FROM table_25594271_2 WHERE sail_number = "AUS 03"
What is the position for sail number aus 03?
<s>[INST]What is the position for sail number aus 03? Context: CREATE TABLE table_25594271_2 (position INTEGER, sail_number VARCHAR)[/INST]SELECT MIN(position) FROM table_25594271_2 WHERE sail_number = "AUS 03"</s>
CREATE TABLE table_name_84 (round INTEGER, overall INTEGER)
SELECT MAX(round) FROM table_name_84 WHERE overall < 6
Which Round has an Overall smaller than 6?
<s>[INST]Which Round has an Overall smaller than 6? Context: CREATE TABLE table_name_84 (round INTEGER, overall INTEGER)[/INST]SELECT MAX(round) FROM table_name_84 WHERE overall < 6</s>
CREATE TABLE table_11959669_6 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_11959669_6 WHERE location_attendance = "US Airways Center 18,422"
What is the team when location attendance is us airways center 18,422?
<s>[INST]What is the team when location attendance is us airways center 18,422? Context: CREATE TABLE table_11959669_6 (team VARCHAR, location_attendance VARCHAR)[/INST]SELECT team FROM table_11959669_6 WHERE location_attendance = "US Airways Center 18,422"</s>
CREATE TABLE table_1341598_11 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_1341598_11 WHERE first_elected = 1980
Which district shows a first elected of 1980?
<s>[INST]Which district shows a first elected of 1980? Context: CREATE TABLE table_1341598_11 (district VARCHAR, first_elected VARCHAR)[/INST]SELECT district FROM table_1341598_11 WHERE first_elected = 1980</s>
CREATE TABLE table_name_83 (communes INTEGER, cantons VARCHAR, area__square_km_ VARCHAR)
SELECT AVG(communes) FROM table_name_83 WHERE cantons > 10 AND area__square_km_ = 1 OFFSET 589
How many communes associated with over 10 cantons and an area (Square km) of 1,589?
<s>[INST]How many communes associated with over 10 cantons and an area (Square km) of 1,589? Context: CREATE TABLE table_name_83 (communes INTEGER, cantons VARCHAR, area__square_km_ VARCHAR)[/INST]SELECT AVG(communes) FROM table_name_83 WHERE cantons > 10 AND area__square_km_ = 1 OFFSET 589</s>
CREATE TABLE table_12807904_3 (points_for VARCHAR, lost VARCHAR)
SELECT COUNT(points_for) FROM table_12807904_3 WHERE lost = "12"
HOW MANY GAMES WERE LOST BY 12 POINTS?
<s>[INST]HOW MANY GAMES WERE LOST BY 12 POINTS? Context: CREATE TABLE table_12807904_3 (points_for VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(points_for) FROM table_12807904_3 WHERE lost = "12"</s>
CREATE TABLE table_23619005_3 (player VARCHAR, cfl_team VARCHAR)
SELECT COUNT(player) FROM table_23619005_3 WHERE cfl_team = "Ottawa Renegades"
How many different players got drafted for the Ottawa Renegades?
<s>[INST]How many different players got drafted for the Ottawa Renegades? Context: CREATE TABLE table_23619005_3 (player VARCHAR, cfl_team VARCHAR)[/INST]SELECT COUNT(player) FROM table_23619005_3 WHERE cfl_team = "Ottawa Renegades"</s>
CREATE TABLE table_name_22 (release_date VARCHAR, dvd_title VARCHAR)
SELECT release_date FROM table_name_22 WHERE dvd_title = "ben 10: alien force volume 9"
What is the release date for Ben 10: Alien Force Volume 9 on DVD?
<s>[INST]What is the release date for Ben 10: Alien Force Volume 9 on DVD? Context: CREATE TABLE table_name_22 (release_date VARCHAR, dvd_title VARCHAR)[/INST]SELECT release_date FROM table_name_22 WHERE dvd_title = "ben 10: alien force volume 9"</s>
CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_17322817_10 WHERE date = "April 13"
Name the location attendance for april 13
<s>[INST]Name the location attendance for april 13 Context: CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_17322817_10 WHERE date = "April 13"</s>
CREATE TABLE table_14342480_5 (extra_points INTEGER, position VARCHAR)
SELECT MAX(extra_points) FROM table_14342480_5 WHERE position = "Right halfback"
Name the most extra points for right halfback
<s>[INST]Name the most extra points for right halfback Context: CREATE TABLE table_14342480_5 (extra_points INTEGER, position VARCHAR)[/INST]SELECT MAX(extra_points) FROM table_14342480_5 WHERE position = "Right halfback"</s>
CREATE TABLE table_name_48 (heat INTEGER, time VARCHAR, nationality VARCHAR)
SELECT MAX(heat) FROM table_name_48 WHERE time > 48.87 AND nationality = "sweden"
What was the highest heat with a time slower than 48.87 from sweden?
<s>[INST]What was the highest heat with a time slower than 48.87 from sweden? Context: CREATE TABLE table_name_48 (heat INTEGER, time VARCHAR, nationality VARCHAR)[/INST]SELECT MAX(heat) FROM table_name_48 WHERE time > 48.87 AND nationality = "sweden"</s>
CREATE TABLE table_10701133_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT directed_by FROM table_10701133_1 WHERE us_viewers__million_ = "12.90"
Who directed the episode where u.s. viewers (million) is 12.90?
<s>[INST]Who directed the episode where u.s. viewers (million) is 12.90? Context: CREATE TABLE table_10701133_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_10701133_1 WHERE us_viewers__million_ = "12.90"</s>
CREATE TABLE table_27539535_4 (game VARCHAR, november VARCHAR)
SELECT game FROM table_27539535_4 WHERE november = 21
What is every game on November 21?
<s>[INST]What is every game on November 21? Context: CREATE TABLE table_27539535_4 (game VARCHAR, november VARCHAR)[/INST]SELECT game FROM table_27539535_4 WHERE november = 21</s>
CREATE TABLE table_name_38 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_38 WHERE away_team = "collingwood"
What was the date of the Collingwood away game?
<s>[INST]What was the date of the Collingwood away game? Context: CREATE TABLE table_name_38 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_38 WHERE away_team = "collingwood"</s>
CREATE TABLE table_11839306_2 (track INTEGER)
SELECT MIN(track) FROM table_11839306_2
What is the smallest track number?
<s>[INST]What is the smallest track number? Context: CREATE TABLE table_11839306_2 (track INTEGER)[/INST]SELECT MIN(track) FROM table_11839306_2</s>
CREATE TABLE table_name_40 (total INTEGER, to_par VARCHAR)
SELECT MAX(total) FROM table_name_40 WHERE to_par = "+9"
What is the highest total to par of +9?
<s>[INST]What is the highest total to par of +9? Context: CREATE TABLE table_name_40 (total INTEGER, to_par VARCHAR)[/INST]SELECT MAX(total) FROM table_name_40 WHERE to_par = "+9"</s>
CREATE TABLE table_28190534_1 (constructor VARCHAR, no VARCHAR)
SELECT constructor FROM table_28190534_1 WHERE no = 10
Name the constructor for number 10
<s>[INST]Name the constructor for number 10 Context: CREATE TABLE table_28190534_1 (constructor VARCHAR, no VARCHAR)[/INST]SELECT constructor FROM table_28190534_1 WHERE no = 10</s>
CREATE TABLE table_name_22 (delegates INTEGER, counties_carries VARCHAR, state_delegate VARCHAR)
SELECT SUM(delegates) FROM table_name_22 WHERE counties_carries = 4 AND state_delegate > 1 OFFSET 903
What is the total number of delegate that have 4 counties carries and more than 1,903 state delegates?
<s>[INST]What is the total number of delegate that have 4 counties carries and more than 1,903 state delegates? Context: CREATE TABLE table_name_22 (delegates INTEGER, counties_carries VARCHAR, state_delegate VARCHAR)[/INST]SELECT SUM(delegates) FROM table_name_22 WHERE counties_carries = 4 AND state_delegate > 1 OFFSET 903</s>
CREATE TABLE table_20007413_3 (torque VARCHAR, year VARCHAR)
SELECT torque FROM table_20007413_3 WHERE year = "1986"
Name the torque for 1986
<s>[INST]Name the torque for 1986 Context: CREATE TABLE table_20007413_3 (torque VARCHAR, year VARCHAR)[/INST]SELECT torque FROM table_20007413_3 WHERE year = "1986"</s>
CREATE TABLE table_name_66 (album_number VARCHAR, chinese__simplified_ VARCHAR)
SELECT album_number FROM table_name_66 WHERE chinese__simplified_ = "情歌没有告诉你"
What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name?
<s>[INST]What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name? Context: CREATE TABLE table_name_66 (album_number VARCHAR, chinese__simplified_ VARCHAR)[/INST]SELECT album_number FROM table_name_66 WHERE chinese__simplified_ = "情歌没有告诉你"</s>
CREATE TABLE table_name_94 (country VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT country FROM table_name_94 WHERE to_par = "+4" AND score = 73 - 71 - 73 = 217
What is the Country of the Player with a To par of +4 and Score of 73-71-73=217?
<s>[INST]What is the Country of the Player with a To par of +4 and Score of 73-71-73=217? Context: CREATE TABLE table_name_94 (country VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_94 WHERE to_par = "+4" AND score = 73 - 71 - 73 = 217</s>
CREATE TABLE table_name_87 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_87 WHERE away_team = "oxford united"
What is the Home team with an Away team that is oxford united?
<s>[INST]What is the Home team with an Away team that is oxford united? Context: CREATE TABLE table_name_87 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_87 WHERE away_team = "oxford united"</s>
CREATE TABLE table_29803475_2 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT original_air_date FROM table_29803475_2 WHERE us_viewers__million_ = "0.23"
What is every original air date with U.S. viewers of 0.23 million?
<s>[INST]What is every original air date with U.S. viewers of 0.23 million? Context: CREATE TABLE table_29803475_2 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT original_air_date FROM table_29803475_2 WHERE us_viewers__million_ = "0.23"</s>
CREATE TABLE table_name_96 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_96 WHERE away_team = "fitzroy"
What is the crowd size of the game when Fitzroy is the away team?
<s>[INST]What is the crowd size of the game when Fitzroy is the away team? Context: CREATE TABLE table_name_96 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_96 WHERE away_team = "fitzroy"</s>
CREATE TABLE table_1342270_5 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1342270_5 WHERE incumbent = "William Fadjo Cravens"
William Fadjo Cravens is the only candidate who was first elected in 1939.
<s>[INST]William Fadjo Cravens is the only candidate who was first elected in 1939. Context: CREATE TABLE table_1342270_5 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1342270_5 WHERE incumbent = "William Fadjo Cravens"</s>
CREATE TABLE table_name_24 (venue VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT venue FROM table_name_24 WHERE opponent = "kilmarnock" AND result = "1–1"
Opponent of kilmarnock, and a Result of 1–1 happened in what venue?
<s>[INST]Opponent of kilmarnock, and a Result of 1–1 happened in what venue? Context: CREATE TABLE table_name_24 (venue VARCHAR, opponent VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_24 WHERE opponent = "kilmarnock" AND result = "1–1"</s>
CREATE TABLE table_name_73 (airport VARCHAR, city VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_73 WHERE city = "tokyo" AND icao = "rjtt"
Which airport is in Tokyo and has an ICAO of rjtt?
<s>[INST]Which airport is in Tokyo and has an ICAO of rjtt? Context: CREATE TABLE table_name_73 (airport VARCHAR, city VARCHAR, icao VARCHAR)[/INST]SELECT airport FROM table_name_73 WHERE city = "tokyo" AND icao = "rjtt"</s>
CREATE TABLE table_name_54 (tournament VARCHAR, score_in_final VARCHAR)
SELECT tournament FROM table_name_54 WHERE score_in_final = "5–7, 7–5, 6–4"
At what tournament was the Score 5–7, 7–5, 6–4?
<s>[INST]At what tournament was the Score 5–7, 7–5, 6–4? Context: CREATE TABLE table_name_54 (tournament VARCHAR, score_in_final VARCHAR)[/INST]SELECT tournament FROM table_name_54 WHERE score_in_final = "5–7, 7–5, 6–4"</s>
CREATE TABLE table_name_80 (total_attendance VARCHAR, average_attendance VARCHAR, sport VARCHAR)
SELECT total_attendance FROM table_name_80 WHERE average_attendance < 4850 AND sport = "rink hockey"
What's the total attendance in rink hockey when the average attendance was smaller than 4850?
<s>[INST]What's the total attendance in rink hockey when the average attendance was smaller than 4850? Context: CREATE TABLE table_name_80 (total_attendance VARCHAR, average_attendance VARCHAR, sport VARCHAR)[/INST]SELECT total_attendance FROM table_name_80 WHERE average_attendance < 4850 AND sport = "rink hockey"</s>