context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_29 (location VARCHAR, bronze VARCHAR)
SELECT location FROM table_name_29 WHERE bronze = "michael eric bibat"
Where did Michael Eric Bibat win bronze?
<s>[INST]Where did Michael Eric Bibat win bronze? Context: CREATE TABLE table_name_29 (location VARCHAR, bronze VARCHAR)[/INST]SELECT location FROM table_name_29 WHERE bronze = "michael eric bibat"</s>
CREATE TABLE table_name_98 (record VARCHAR, game_site VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_98 WHERE game_site = "mile high stadium" AND opponent = "detroit lions"
What was the Bronco's record when they played the Detroit Lions at Mile High Stadium?
<s>[INST]What was the Bronco's record when they played the Detroit Lions at Mile High Stadium? Context: CREATE TABLE table_name_98 (record VARCHAR, game_site VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_98 WHERE game_site = "mile high stadium" AND opponent = "detroit lions"</s>
CREATE TABLE table_17822401_1 (power__kw_ VARCHAR, location VARCHAR)
SELECT power__kw_ FROM table_17822401_1 WHERE location = "Baguio"
What is the power of the Baguio station?
<s>[INST]What is the power of the Baguio station? Context: CREATE TABLE table_17822401_1 (power__kw_ VARCHAR, location VARCHAR)[/INST]SELECT power__kw_ FROM table_17822401_1 WHERE location = "Baguio"</s>
CREATE TABLE table_name_65 (representative VARCHAR, appointed_by VARCHAR, presentation_of_credentials VARCHAR)
SELECT representative FROM table_name_65 WHERE appointed_by = "george w. bush" AND presentation_of_credentials = "9 november 2007"
Name the representative appointed by george w. bush with presentation of credentials 9 november 2007
<s>[INST]Name the representative appointed by george w. bush with presentation of credentials 9 november 2007 Context: CREATE TABLE table_name_65 (representative VARCHAR, appointed_by VARCHAR, presentation_of_credentials VARCHAR)[/INST]SELECT representative FROM table_name_65 WHERE appointed_by = "george w. bush" AND p...
CREATE TABLE DEPARTMENT (DNO VARCHAR, DName VARCHAR); CREATE TABLE MEMBER_OF (DNO VARCHAR, FacID VARCHAR); CREATE TABLE FACULTY (Lname VARCHAR, FacID VARCHAR)
SELECT T2.Lname FROM DEPARTMENT AS T1 JOIN FACULTY AS T2 ON T1.DNO = T3.DNO JOIN MEMBER_OF AS T3 ON T2.FacID = T3.FacID WHERE T1.DName = "Computer Science"
Find the last names of faculties who are members of computer science department.
<s>[INST]Find the last names of faculties who are members of computer science department. Context: CREATE TABLE DEPARTMENT (DNO VARCHAR, DName VARCHAR); CREATE TABLE MEMBER_OF (DNO VARCHAR, FacID VARCHAR); CREATE TABLE FACULTY (Lname VARCHAR, FacID VARCHAR)[/INST]SELECT T2.Lname FROM DEPARTMENT AS T1 JOIN FACULTY AS T2...
CREATE TABLE table_name_39 (year VARCHAR, outcome VARCHAR, opponent VARCHAR)
SELECT year FROM table_name_39 WHERE outcome = "runner-up" AND opponent = "filippo volandri"
What year was the match against filippo volandri where xavier malisse was runner-up?
<s>[INST]What year was the match against filippo volandri where xavier malisse was runner-up? Context: CREATE TABLE table_name_39 (year VARCHAR, outcome VARCHAR, opponent VARCHAR)[/INST]SELECT year FROM table_name_39 WHERE outcome = "runner-up" AND opponent = "filippo volandri"</s>
CREATE TABLE table_name_74 (winning_team VARCHAR, year VARCHAR)
SELECT winning_team FROM table_name_74 WHERE year = 2013
What was the winning team in 2013?
<s>[INST]What was the winning team in 2013? Context: CREATE TABLE table_name_74 (winning_team VARCHAR, year VARCHAR)[/INST]SELECT winning_team FROM table_name_74 WHERE year = 2013</s>
CREATE TABLE table_27733909_7 (team VARCHAR, score VARCHAR)
SELECT team FROM table_27733909_7 WHERE score = "L 102–122 (OT)"
Name the team for score l 102–122 (ot)
<s>[INST]Name the team for score l 102–122 (ot) Context: CREATE TABLE table_27733909_7 (team VARCHAR, score VARCHAR)[/INST]SELECT team FROM table_27733909_7 WHERE score = "L 102–122 (OT)"</s>
CREATE TABLE table_name_15 (class VARCHAR, part_3 VARCHAR)
SELECT class FROM table_name_15 WHERE part_3 = "blétu"
What is Class, when Part 2 is "blétu"?
<s>[INST]What is Class, when Part 2 is "blétu"? Context: CREATE TABLE table_name_15 (class VARCHAR, part_3 VARCHAR)[/INST]SELECT class FROM table_name_15 WHERE part_3 = "blétu"</s>
CREATE TABLE table_name_90 (year VARCHAR, bronze VARCHAR)
SELECT COUNT(year) FROM table_name_90 WHERE bronze = "jamie stevenson"
What is the total number of Year, when Bronze is "Jamie Stevenson"?
<s>[INST]What is the total number of Year, when Bronze is "Jamie Stevenson"? Context: CREATE TABLE table_name_90 (year VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_90 WHERE bronze = "jamie stevenson"</s>
CREATE TABLE table_name_33 (city VARCHAR)
SELECT 2007 AS _08_season FROM table_name_33 WHERE city = "ferrara"
What was the result of the 2007-08 season for the city of Ferrara?
<s>[INST]What was the result of the 2007-08 season for the city of Ferrara? Context: CREATE TABLE table_name_33 (city VARCHAR)[/INST]SELECT 2007 AS _08_season FROM table_name_33 WHERE city = "ferrara"</s>
CREATE TABLE table_name_34 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR)
SELECT termination_of_mission FROM table_name_34 WHERE presentation_of_credentials = "august 29, 1859"
What's the Termination of Mission listed that has a Presentation of Credentials for August 29, 1859?
<s>[INST]What's the Termination of Mission listed that has a Presentation of Credentials for August 29, 1859? Context: CREATE TABLE table_name_34 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR)[/INST]SELECT termination_of_mission FROM table_name_34 WHERE presentation_of_credentials = "august 29, 1...
CREATE TABLE table_17697980_1 (region_2 VARCHAR, dvd_title VARCHAR)
SELECT COUNT(region_2) FROM table_17697980_1 WHERE dvd_title = "Series 5"
How many dvd titled "series 5" were released having a release date or a non available date in region 2?
<s>[INST]How many dvd titled "series 5" were released having a release date or a non available date in region 2? Context: CREATE TABLE table_17697980_1 (region_2 VARCHAR, dvd_title VARCHAR)[/INST]SELECT COUNT(region_2) FROM table_17697980_1 WHERE dvd_title = "Series 5"</s>
CREATE TABLE table_name_67 (result VARCHAR, year VARCHAR)
SELECT result FROM table_name_67 WHERE year = 2001
What was the result of the tournament in 2001?
<s>[INST]What was the result of the tournament in 2001? Context: CREATE TABLE table_name_67 (result VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_67 WHERE year = 2001</s>
CREATE TABLE table_name_62 (total INTEGER, coppa_italia VARCHAR, champions_league VARCHAR, serie_a VARCHAR)
SELECT SUM(total) FROM table_name_62 WHERE champions_league = 0 AND serie_a > 1 AND coppa_italia < 0
What's the total when the champions league was 0, the coppa italia was less than 0, and the Serie A was more than 1?
<s>[INST]What's the total when the champions league was 0, the coppa italia was less than 0, and the Serie A was more than 1? Context: CREATE TABLE table_name_62 (total INTEGER, coppa_italia VARCHAR, champions_league VARCHAR, serie_a VARCHAR)[/INST]SELECT SUM(total) FROM table_name_62 WHERE champions_league = 0 AND ser...
CREATE TABLE table_name_89 (owner VARCHAR, broadcasting_hours VARCHAR, channel___bkk__ VARCHAR)
SELECT owner FROM table_name_89 WHERE broadcasting_hours = "24-hours" AND channel___bkk__ = "3/32 (vhf/uhf)"
Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours?
<s>[INST]Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours? Context: CREATE TABLE table_name_89 (owner VARCHAR, broadcasting_hours VARCHAR, channel___bkk__ VARCHAR)[/INST]SELECT owner FROM table_name_89 WHERE broadcasting_hours = "24-hours" AND channel___bkk__ = "3/32 (vhf/uhf)"</s>
CREATE TABLE table_name_26 (visitor VARCHAR, home VARCHAR)
SELECT visitor FROM table_name_26 WHERE home = "tampa bay"
Who was the visitor team in tampa bay?
<s>[INST]Who was the visitor team in tampa bay? Context: CREATE TABLE table_name_26 (visitor VARCHAR, home VARCHAR)[/INST]SELECT visitor FROM table_name_26 WHERE home = "tampa bay"</s>
CREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR)
SELECT MAX(population__2000_) FROM table_2004733_2 WHERE area__in_km_2__ = "1.2530"
How many people lived in the city which has 1.2530 km² in the year 2000?
<s>[INST]How many people lived in the city which has 1.2530 km² in the year 2000? Context: CREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR)[/INST]SELECT MAX(population__2000_) FROM table_2004733_2 WHERE area__in_km_2__ = "1.2530"</s>
CREATE TABLE table_name_92 (try_bonus VARCHAR, lost VARCHAR)
SELECT try_bonus FROM table_name_92 WHERE lost = "10"
Name the Try bonus with lost of 10
<s>[INST]Name the Try bonus with lost of 10 Context: CREATE TABLE table_name_92 (try_bonus VARCHAR, lost VARCHAR)[/INST]SELECT try_bonus FROM table_name_92 WHERE lost = "10"</s>
CREATE TABLE Person (name VARCHAR, job VARCHAR)
SELECT name, job FROM Person ORDER BY name
list the name, job title of all people ordered by their names.
<s>[INST]list the name, job title of all people ordered by their names. Context: CREATE TABLE Person (name VARCHAR, job VARCHAR)[/INST]SELECT name, job FROM Person ORDER BY name</s>
CREATE TABLE table_name_54 (series VARCHAR, winner VARCHAR)
SELECT series FROM table_name_54 WHERE winner = "jetmir salaj"
What is Series, when Winner is Jetmir Salaj?
<s>[INST]What is Series, when Winner is Jetmir Salaj? Context: CREATE TABLE table_name_54 (series VARCHAR, winner VARCHAR)[/INST]SELECT series FROM table_name_54 WHERE winner = "jetmir salaj"</s>
CREATE TABLE table_name_20 (pennant_number VARCHAR, current_status VARCHAR)
SELECT pennant_number FROM table_name_20 WHERE current_status = "retired"
what builder is now retired
<s>[INST]what builder is now retired Context: CREATE TABLE table_name_20 (pennant_number VARCHAR, current_status VARCHAR)[/INST]SELECT pennant_number FROM table_name_20 WHERE current_status = "retired"</s>
CREATE TABLE table_25360865_1 (_number VARCHAR, last_school VARCHAR)
SELECT _number FROM table_25360865_1 WHERE last_school = "Florida Air Academy"
Name the number for florida air academy
<s>[INST]Name the number for florida air academy Context: CREATE TABLE table_25360865_1 (_number VARCHAR, last_school VARCHAR)[/INST]SELECT _number FROM table_25360865_1 WHERE last_school = "Florida Air Academy"</s>
CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR)
SELECT AVG(laps) FROM table_name_31 WHERE grid = 6
What is the average number of laps for a grid of 6?
<s>[INST]What is the average number of laps for a grid of 6? Context: CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_31 WHERE grid = 6</s>
CREATE TABLE table_22385461_8 (end__utc_ VARCHAR, duration VARCHAR)
SELECT end__utc_ FROM table_22385461_8 WHERE duration = "6 hours, 55 minutes"
What is the end (UTC) if the duration is 6 hours, 55 minutes?
<s>[INST]What is the end (UTC) if the duration is 6 hours, 55 minutes? Context: CREATE TABLE table_22385461_8 (end__utc_ VARCHAR, duration VARCHAR)[/INST]SELECT end__utc_ FROM table_22385461_8 WHERE duration = "6 hours, 55 minutes"</s>
CREATE TABLE table_28140590_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_28140590_1 WHERE production_code = 60072
What date did the episode with a production code of 60072 originally air?
<s>[INST]What date did the episode with a production code of 60072 originally air? Context: CREATE TABLE table_28140590_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_28140590_1 WHERE production_code = 60072</s>
CREATE TABLE table_name_14 (profits__billion_ INTEGER, company VARCHAR)
SELECT MAX(profits__billion_) AS $_ FROM table_name_14 WHERE company = "walmart"
Name the highest Profits (billion $) which has a Company of walmart?
<s>[INST]Name the highest Profits (billion $) which has a Company of walmart? Context: CREATE TABLE table_name_14 (profits__billion_ INTEGER, company VARCHAR)[/INST]SELECT MAX(profits__billion_) AS $_ FROM table_name_14 WHERE company = "walmart"</s>
CREATE TABLE table_2725949_6 (starts INTEGER, wins VARCHAR)
SELECT MAX(starts) FROM table_2725949_6 WHERE wins = 6
Name the most starts for 6 wins
<s>[INST]Name the most starts for 6 wins Context: CREATE TABLE table_2725949_6 (starts INTEGER, wins VARCHAR)[/INST]SELECT MAX(starts) FROM table_2725949_6 WHERE wins = 6</s>
CREATE TABLE table_name_69 (result VARCHAR, time VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_69 WHERE time = "6:00 pm" AND attendance = "79,419"
What was the score of the match that took place at 6:00 PM with 79,419 in attendance?
<s>[INST]What was the score of the match that took place at 6:00 PM with 79,419 in attendance? Context: CREATE TABLE table_name_69 (result VARCHAR, time VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_69 WHERE time = "6:00 pm" AND attendance = "79,419"</s>
CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_38 WHERE grid = 7
Who drove the car with a grid of 7?
<s>[INST]Who drove the car with a grid of 7? Context: CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_38 WHERE grid = 7</s>
CREATE TABLE table_name_99 (position VARCHAR, points VARCHAR, w_l_d VARCHAR)
SELECT COUNT(position) FROM table_name_99 WHERE points > 24 AND w_l_d = "8-5-3"
What is the position number of the club with more than 24 points and a w-l-d of 8-5-3?
<s>[INST]What is the position number of the club with more than 24 points and a w-l-d of 8-5-3? Context: CREATE TABLE table_name_99 (position VARCHAR, points VARCHAR, w_l_d VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_99 WHERE points > 24 AND w_l_d = "8-5-3"</s>
CREATE TABLE table_name_78 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_78 WHERE venue = "junction oval"
What was the crowd size at Junction Oval?
<s>[INST]What was the crowd size at Junction Oval? Context: CREATE TABLE table_name_78 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_78 WHERE venue = "junction oval"</s>
CREATE TABLE table_name_20 (music VARCHAR, style VARCHAR)
SELECT music FROM table_name_20 WHERE style = "jive"
Which music is jive?
<s>[INST]Which music is jive? Context: CREATE TABLE table_name_20 (music VARCHAR, style VARCHAR)[/INST]SELECT music FROM table_name_20 WHERE style = "jive"</s>
CREATE TABLE table_name_6 (Id VARCHAR)
SELECT 2002 FROM table_name_6 WHERE 2008 = "career statistics"
What was 2002, when 2008 was, "career statistics"?
<s>[INST]What was 2002, when 2008 was, "career statistics"? Context: CREATE TABLE table_name_6 (Id VARCHAR)[/INST]SELECT 2002 FROM table_name_6 WHERE 2008 = "career statistics"</s>
CREATE TABLE table_name_83 (winners VARCHAR, team VARCHAR)
SELECT winners FROM table_name_83 WHERE team = "halcones uv xalapa"
How many winners did Halcones uv xalapa have?
<s>[INST]How many winners did Halcones uv xalapa have? Context: CREATE TABLE table_name_83 (winners VARCHAR, team VARCHAR)[/INST]SELECT winners FROM table_name_83 WHERE team = "halcones uv xalapa"</s>
CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER)
SELECT MIN(champ_car_world_series__2004_2007_) FROM table_19524523_1
What is the minimum number of wins possible for the Champ Car World Series among all the drivers?
<s>[INST]What is the minimum number of wins possible for the Champ Car World Series among all the drivers? Context: CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER)[/INST]SELECT MIN(champ_car_world_series__2004_2007_) FROM table_19524523_1</s>
CREATE TABLE table_name_9 (played INTEGER, lost VARCHAR, drawn VARCHAR)
SELECT MAX(played) FROM table_name_9 WHERE lost < 11 AND drawn < 12
What is the highest number of played of the team with less than 11 losses and less than 12 drawns?
<s>[INST]What is the highest number of played of the team with less than 11 losses and less than 12 drawns? Context: CREATE TABLE table_name_9 (played INTEGER, lost VARCHAR, drawn VARCHAR)[/INST]SELECT MAX(played) FROM table_name_9 WHERE lost < 11 AND drawn < 12</s>
CREATE TABLE table_24642706_1 (year INTEGER, money_list_rank VARCHAR)
SELECT MAX(year) FROM table_24642706_1 WHERE money_list_rank = 74
Name the most year for money list rank is 74
<s>[INST]Name the most year for money list rank is 74 Context: CREATE TABLE table_24642706_1 (year INTEGER, money_list_rank VARCHAR)[/INST]SELECT MAX(year) FROM table_24642706_1 WHERE money_list_rank = 74</s>
CREATE TABLE table_name_59 (nickname VARCHAR, club VARCHAR)
SELECT nickname FROM table_name_59 WHERE club = "geelong west cricket & football club"
What was the nickname of the team in the Geelong West Cricket & Football Club?
<s>[INST]What was the nickname of the team in the Geelong West Cricket & Football Club? Context: CREATE TABLE table_name_59 (nickname VARCHAR, club VARCHAR)[/INST]SELECT nickname FROM table_name_59 WHERE club = "geelong west cricket & football club"</s>
CREATE TABLE table_name_56 (category VARCHAR, director_s_ VARCHAR)
SELECT category FROM table_name_56 WHERE director_s_ = "tom shankland"
what category is for tom shankland, director?
<s>[INST]what category is for tom shankland, director? Context: CREATE TABLE table_name_56 (category VARCHAR, director_s_ VARCHAR)[/INST]SELECT category FROM table_name_56 WHERE director_s_ = "tom shankland"</s>
CREATE TABLE table_name_91 (wins INTEGER, hampden_fl VARCHAR)
SELECT AVG(wins) FROM table_name_91 WHERE hampden_fl = "south warrambool"
How many wins did South Warrambool have?
<s>[INST]How many wins did South Warrambool have? Context: CREATE TABLE table_name_91 (wins INTEGER, hampden_fl VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_91 WHERE hampden_fl = "south warrambool"</s>
CREATE TABLE table_name_73 (gross VARCHAR, director VARCHAR)
SELECT gross FROM table_name_73 WHERE director = "richard tuggle"
WHAT IS THE GROSS WITH A DIRECTOR OF RICHARD TUGGLE?
<s>[INST]WHAT IS THE GROSS WITH A DIRECTOR OF RICHARD TUGGLE? Context: CREATE TABLE table_name_73 (gross VARCHAR, director VARCHAR)[/INST]SELECT gross FROM table_name_73 WHERE director = "richard tuggle"</s>
CREATE TABLE company (Headquarters VARCHAR, Sales_in_Billion VARCHAR)
SELECT Headquarters FROM company ORDER BY Sales_in_Billion DESC LIMIT 1
What is the headquarter of the company with the largest sales?
<s>[INST]What is the headquarter of the company with the largest sales? Context: CREATE TABLE company (Headquarters VARCHAR, Sales_in_Billion VARCHAR)[/INST]SELECT Headquarters FROM company ORDER BY Sales_in_Billion DESC LIMIT 1</s>
CREATE TABLE table_11173827_1 (hk_viewers VARCHAR, chinese_title VARCHAR)
SELECT hk_viewers FROM table_11173827_1 WHERE chinese_title = "十兄弟"
What amount is the number of hk viewers where chinese title is 十兄弟?
<s>[INST]What amount is the number of hk viewers where chinese title is 十兄弟? Context: CREATE TABLE table_11173827_1 (hk_viewers VARCHAR, chinese_title VARCHAR)[/INST]SELECT hk_viewers FROM table_11173827_1 WHERE chinese_title = "十兄弟"</s>
CREATE TABLE table_name_87 (displacement VARCHAR, engine VARCHAR)
SELECT displacement FROM table_name_87 WHERE engine = "iveco f1ce3481e"
What is the Displacement of the Iveco F1CE3481E Engine?
<s>[INST]What is the Displacement of the Iveco F1CE3481E Engine? Context: CREATE TABLE table_name_87 (displacement VARCHAR, engine VARCHAR)[/INST]SELECT displacement FROM table_name_87 WHERE engine = "iveco f1ce3481e"</s>
CREATE TABLE table_name_23 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_23 WHERE score = 69 - 68 - 71 = 208
Who is the player with a 69-68-71=208 score?
<s>[INST]Who is the player with a 69-68-71=208 score? Context: CREATE TABLE table_name_23 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_23 WHERE score = 69 - 68 - 71 = 208</s>
CREATE TABLE review (i_id VARCHAR)
SELECT COUNT(DISTINCT i_id) FROM review
How many different items were reviewed by some users?
<s>[INST]How many different items were reviewed by some users? Context: CREATE TABLE review (i_id VARCHAR)[/INST]SELECT COUNT(DISTINCT i_id) FROM review</s>
CREATE TABLE Other_Available_Features (Id VARCHAR)
SELECT COUNT(*) FROM Other_Available_Features
How many available features are there in total?
<s>[INST]How many available features are there in total? Context: CREATE TABLE Other_Available_Features (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Other_Available_Features</s>
CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_72 WHERE away_team = "bradford city"
What is the home team that Bradford City is playing against?
<s>[INST]What is the home team that Bradford City is playing against? Context: CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_72 WHERE away_team = "bradford city"</s>
CREATE TABLE table_name_50 (name VARCHAR, direction VARCHAR, terminus VARCHAR)
SELECT name FROM table_name_50 WHERE direction = "bi-directional" AND terminus = "ecat/rosa park transit center"
Which bi-directional route has a terminus at Ecat/Rosa Park Transit Center?
<s>[INST]Which bi-directional route has a terminus at Ecat/Rosa Park Transit Center? Context: CREATE TABLE table_name_50 (name VARCHAR, direction VARCHAR, terminus VARCHAR)[/INST]SELECT name FROM table_name_50 WHERE direction = "bi-directional" AND terminus = "ecat/rosa park transit center"</s>
CREATE TABLE table_name_81 (award VARCHAR, result VARCHAR, production VARCHAR)
SELECT award FROM table_name_81 WHERE result = "nominated" AND production = "an officer and a gentleman"
Which award was An Officer and a Gentleman nominated for?
<s>[INST]Which award was An Officer and a Gentleman nominated for? Context: CREATE TABLE table_name_81 (award VARCHAR, result VARCHAR, production VARCHAR)[/INST]SELECT award FROM table_name_81 WHERE result = "nominated" AND production = "an officer and a gentleman"</s>
CREATE TABLE table_name_4 (year_s__won VARCHAR, country VARCHAR, total VARCHAR)
SELECT year_s__won FROM table_name_4 WHERE country = "united states" AND total = 278
What year did the United States win with a total of 278?
<s>[INST]What year did the United States win with a total of 278? Context: CREATE TABLE table_name_4 (year_s__won VARCHAR, country VARCHAR, total VARCHAR)[/INST]SELECT year_s__won FROM table_name_4 WHERE country = "united states" AND total = 278</s>
CREATE TABLE table_19630743_2 (no VARCHAR, runner_s__up VARCHAR)
SELECT COUNT(no) FROM table_19630743_2 WHERE runner_s__up = "John Merrick"
What is the total number of John Merrick as a runner up?
<s>[INST]What is the total number of John Merrick as a runner up? Context: CREATE TABLE table_19630743_2 (no VARCHAR, runner_s__up VARCHAR)[/INST]SELECT COUNT(no) FROM table_19630743_2 WHERE runner_s__up = "John Merrick"</s>
CREATE TABLE table_name_83 (remarks VARCHAR, destination_number VARCHAR, rank VARCHAR)
SELECT remarks FROM table_name_83 WHERE destination_number < 19 AND rank < 5
What were the remarks for a destination under 19 and rank less than 5?
<s>[INST]What were the remarks for a destination under 19 and rank less than 5? Context: CREATE TABLE table_name_83 (remarks VARCHAR, destination_number VARCHAR, rank VARCHAR)[/INST]SELECT remarks FROM table_name_83 WHERE destination_number < 19 AND rank < 5</s>
CREATE TABLE table_name_15 (total VARCHAR, bronze INTEGER)
SELECT total FROM table_name_15 WHERE bronze > 35
What is the total associated with Bronzes over 35?
<s>[INST]What is the total associated with Bronzes over 35? Context: CREATE TABLE table_name_15 (total VARCHAR, bronze INTEGER)[/INST]SELECT total FROM table_name_15 WHERE bronze > 35</s>
CREATE TABLE table_name_14 (rank VARCHAR, nation VARCHAR, total VARCHAR)
SELECT COUNT(rank) FROM table_name_14 WHERE nation = "turkey (tur)" AND total > 2
What's the rank of Turkey (TUR) with a total more than 2?
<s>[INST]What's the rank of Turkey (TUR) with a total more than 2? Context: CREATE TABLE table_name_14 (rank VARCHAR, nation VARCHAR, total VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_14 WHERE nation = "turkey (tur)" AND total > 2</s>
CREATE TABLE table_1827900_1 (votes_khuzestan INTEGER, _percentage_of_votes_khuzestan VARCHAR)
SELECT MIN(votes_khuzestan) FROM table_1827900_1 WHERE _percentage_of_votes_khuzestan = "34.50"
How many votes Khuzestan were there when the percentage was 34.50?
<s>[INST]How many votes Khuzestan were there when the percentage was 34.50? Context: CREATE TABLE table_1827900_1 (votes_khuzestan INTEGER, _percentage_of_votes_khuzestan VARCHAR)[/INST]SELECT MIN(votes_khuzestan) FROM table_1827900_1 WHERE _percentage_of_votes_khuzestan = "34.50"</s>
CREATE TABLE table_name_44 (game VARCHAR, opponent VARCHAR)
SELECT game FROM table_name_44 WHERE opponent = "@ atlanta flames"
Opponent of @ atlanta flames had what game?
<s>[INST]Opponent of @ atlanta flames had what game? Context: CREATE TABLE table_name_44 (game VARCHAR, opponent VARCHAR)[/INST]SELECT game FROM table_name_44 WHERE opponent = "@ atlanta flames"</s>
CREATE TABLE table_17102076_5 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_17102076_5 WHERE location_attendance = "ARCO Arena 13,685"
Name the team for arco arena 13,685
<s>[INST]Name the team for arco arena 13,685 Context: CREATE TABLE table_17102076_5 (team VARCHAR, location_attendance VARCHAR)[/INST]SELECT team FROM table_17102076_5 WHERE location_attendance = "ARCO Arena 13,685"</s>
CREATE TABLE table_name_23 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_23 WHERE date = "july 30"
what team lost on july 30
<s>[INST]what team lost on july 30 Context: CREATE TABLE table_name_23 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_23 WHERE date = "july 30"</s>
CREATE TABLE table_name_40 (pick INTEGER, position VARCHAR, overall VARCHAR)
SELECT SUM(pick) FROM table_name_40 WHERE position = "k" AND overall < 181
WHAT IS THE PICK WITH K POSITION AND OVERALL SMALLER THAN 181?
<s>[INST]WHAT IS THE PICK WITH K POSITION AND OVERALL SMALLER THAN 181? Context: CREATE TABLE table_name_40 (pick INTEGER, position VARCHAR, overall VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_40 WHERE position = "k" AND overall < 181</s>
CREATE TABLE table_1914090_2 (africa INTEGER, year VARCHAR)
SELECT MIN(africa) FROM table_1914090_2 WHERE year = 2001
What is the minimum number of members Africa had in 2001?
<s>[INST]What is the minimum number of members Africa had in 2001? Context: CREATE TABLE table_1914090_2 (africa INTEGER, year VARCHAR)[/INST]SELECT MIN(africa) FROM table_1914090_2 WHERE year = 2001</s>
CREATE TABLE table_name_40 (position VARCHAR, venue VARCHAR)
SELECT position FROM table_name_40 WHERE venue = "helsinki, finland"
Which position has a venue of Helsinki, Finland?
<s>[INST]Which position has a venue of Helsinki, Finland? Context: CREATE TABLE table_name_40 (position VARCHAR, venue VARCHAR)[/INST]SELECT position FROM table_name_40 WHERE venue = "helsinki, finland"</s>
CREATE TABLE table_name_59 (score VARCHAR, game VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_59 WHERE game > 26 AND opponent = "montreal canadiens"
What was the score of the game against montreal canadiens after game 26?
<s>[INST]What was the score of the game against montreal canadiens after game 26? Context: CREATE TABLE table_name_59 (score VARCHAR, game VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_59 WHERE game > 26 AND opponent = "montreal canadiens"</s>
CREATE TABLE table_name_30 (theme VARCHAR, result VARCHAR, week VARCHAR)
SELECT theme FROM table_name_30 WHERE result = "advanced" AND week = "vegas verdicts"
What was the theme for Vegas Verdicts week with a result of Advanced?
<s>[INST]What was the theme for Vegas Verdicts week with a result of Advanced? Context: CREATE TABLE table_name_30 (theme VARCHAR, result VARCHAR, week VARCHAR)[/INST]SELECT theme FROM table_name_30 WHERE result = "advanced" AND week = "vegas verdicts"</s>
CREATE TABLE table_name_25 (süskən VARCHAR, malax VARCHAR)
SELECT süskən FROM table_name_25 WHERE malax = "meşəbaş"
What is the Süskən village with a Malax village meşəbaş?
<s>[INST]What is the Süskən village with a Malax village meşəbaş? Context: CREATE TABLE table_name_25 (süskən VARCHAR, malax VARCHAR)[/INST]SELECT süskən FROM table_name_25 WHERE malax = "meşəbaş"</s>
CREATE TABLE table_name_91 (nominative VARCHAR, dative VARCHAR)
SELECT nominative FROM table_name_91 WHERE dative = "mis"
What nominative has mis as the dative?
<s>[INST]What nominative has mis as the dative? Context: CREATE TABLE table_name_91 (nominative VARCHAR, dative VARCHAR)[/INST]SELECT nominative FROM table_name_91 WHERE dative = "mis"</s>
CREATE TABLE table_name_54 (mass VARCHAR, designation VARCHAR)
SELECT mass FROM table_name_54 WHERE designation = "prognoz 2"
What is Mass, when Designation is Prognoz 2?
<s>[INST]What is Mass, when Designation is Prognoz 2? Context: CREATE TABLE table_name_54 (mass VARCHAR, designation VARCHAR)[/INST]SELECT mass FROM table_name_54 WHERE designation = "prognoz 2"</s>
CREATE TABLE table_name_97 (tyre VARCHAR, drivers VARCHAR)
SELECT tyre FROM table_name_97 WHERE drivers = "yoshihisa namekata"
What is the tyre for Yoshihisa Namekata?
<s>[INST]What is the tyre for Yoshihisa Namekata? Context: CREATE TABLE table_name_97 (tyre VARCHAR, drivers VARCHAR)[/INST]SELECT tyre FROM table_name_97 WHERE drivers = "yoshihisa namekata"</s>
CREATE TABLE table_name_13 (province VARCHAR, _community VARCHAR, hometown VARCHAR)
SELECT province, _community FROM table_name_13 WHERE hometown = "jamao afuera"
What is the province for Jamao Afuera?
<s>[INST]What is the province for Jamao Afuera? Context: CREATE TABLE table_name_13 (province VARCHAR, _community VARCHAR, hometown VARCHAR)[/INST]SELECT province, _community FROM table_name_13 WHERE hometown = "jamao afuera"</s>
CREATE TABLE table_name_39 (rank VARCHAR)
SELECT 2010 FROM table_name_39 WHERE rank = "8"
what is the production in 2010 with rank of 8?
<s>[INST]what is the production in 2010 with rank of 8? Context: CREATE TABLE table_name_39 (rank VARCHAR)[/INST]SELECT 2010 FROM table_name_39 WHERE rank = "8"</s>
CREATE TABLE table_name_37 (designation VARCHAR, launch_weight VARCHAR)
SELECT designation FROM table_name_37 WHERE launch_weight = "11.3kg"
What designation has a launch weight of 11.3kg?
<s>[INST]What designation has a launch weight of 11.3kg? Context: CREATE TABLE table_name_37 (designation VARCHAR, launch_weight VARCHAR)[/INST]SELECT designation FROM table_name_37 WHERE launch_weight = "11.3kg"</s>
CREATE TABLE table_name_34 (call_sign VARCHAR, format VARCHAR, frequency VARCHAR)
SELECT call_sign FROM table_name_34 WHERE format = "country" AND frequency = "fm 93.1"
What is the call sign for country station fm 93.1?
<s>[INST]What is the call sign for country station fm 93.1? Context: CREATE TABLE table_name_34 (call_sign VARCHAR, format VARCHAR, frequency VARCHAR)[/INST]SELECT call_sign FROM table_name_34 WHERE format = "country" AND frequency = "fm 93.1"</s>
CREATE TABLE table_name_42 (weight VARCHAR, _dimensions VARCHAR, model VARCHAR)
SELECT weight, _dimensions FROM table_name_42 WHERE model = "n800"
What is the weight and dimensions of an N800?
<s>[INST]What is the weight and dimensions of an N800? Context: CREATE TABLE table_name_42 (weight VARCHAR, _dimensions VARCHAR, model VARCHAR)[/INST]SELECT weight, _dimensions FROM table_name_42 WHERE model = "n800"</s>
CREATE TABLE table_name_95 (tie_no VARCHAR, score VARCHAR, date VARCHAR)
SELECT tie_no FROM table_name_95 WHERE score = "0–1" AND date = "9 march 1953"
Which Tie no has a Score of 0–1, and a Date of 9 march 1953?
<s>[INST]Which Tie no has a Score of 0–1, and a Date of 9 march 1953? Context: CREATE TABLE table_name_95 (tie_no VARCHAR, score VARCHAR, date VARCHAR)[/INST]SELECT tie_no FROM table_name_95 WHERE score = "0–1" AND date = "9 march 1953"</s>
CREATE TABLE table_name_48 (killed INTEGER, incident_no VARCHAR)
SELECT MAX(killed) FROM table_name_48 WHERE incident_no = "14"
What is the highest number killed in incident #14?
<s>[INST]What is the highest number killed in incident #14? Context: CREATE TABLE table_name_48 (killed INTEGER, incident_no VARCHAR)[/INST]SELECT MAX(killed) FROM table_name_48 WHERE incident_no = "14"</s>
CREATE TABLE table_name_20 (played VARCHAR, wins VARCHAR, goals_against VARCHAR)
SELECT COUNT(played) FROM table_name_20 WHERE wins = 8 AND goals_against > 58
How many played have 8 wins and more than 58 goals against?
<s>[INST]How many played have 8 wins and more than 58 goals against? Context: CREATE TABLE table_name_20 (played VARCHAR, wins VARCHAR, goals_against VARCHAR)[/INST]SELECT COUNT(played) FROM table_name_20 WHERE wins = 8 AND goals_against > 58</s>
CREATE TABLE table_11391954_3 (Half VARCHAR, country VARCHAR)
SELECT COUNT(Half) AS marathon__womens_ FROM table_11391954_3 WHERE country = "Moldova"
How many times is Moldova the winner of half marathon (womens)?
<s>[INST]How many times is Moldova the winner of half marathon (womens)? Context: CREATE TABLE table_11391954_3 (Half VARCHAR, country VARCHAR)[/INST]SELECT COUNT(Half) AS marathon__womens_ FROM table_11391954_3 WHERE country = "Moldova"</s>
CREATE TABLE table_name_68 (machine VARCHAR, rider VARCHAR)
SELECT machine FROM table_name_68 WHERE rider = "tony rutter"
What machine has tony rutter as the rider?
<s>[INST]What machine has tony rutter as the rider? Context: CREATE TABLE table_name_68 (machine VARCHAR, rider VARCHAR)[/INST]SELECT machine FROM table_name_68 WHERE rider = "tony rutter"</s>
CREATE TABLE table_name_22 (arkansas VARCHAR, alabama VARCHAR)
SELECT arkansas FROM table_name_22 WHERE alabama = "ken stabler"
Who is the Arkansas player associated with Ken Stabler?
<s>[INST]Who is the Arkansas player associated with Ken Stabler? Context: CREATE TABLE table_name_22 (arkansas VARCHAR, alabama VARCHAR)[/INST]SELECT arkansas FROM table_name_22 WHERE alabama = "ken stabler"</s>
CREATE TABLE table_name_26 (number_of_decimal_digits VARCHAR, total_bits VARCHAR, exponent VARCHAR)
SELECT number_of_decimal_digits FROM table_name_26 WHERE total_bits > 32 AND exponent < 15
What's the number of decimal digits when the total bits is more than 32 and the exponent is less than 15?
<s>[INST]What's the number of decimal digits when the total bits is more than 32 and the exponent is less than 15? Context: CREATE TABLE table_name_26 (number_of_decimal_digits VARCHAR, total_bits VARCHAR, exponent VARCHAR)[/INST]SELECT number_of_decimal_digits FROM table_name_26 WHERE total_bits > 32 AND exponent < 15...
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR)
SELECT international_tourist_arrivals__2011_ FROM table_14752049_2 WHERE country = "Senegal"
How many international tourist arrivals were in Senegal in 2011?
<s>[INST]How many international tourist arrivals were in Senegal in 2011? Context: CREATE TABLE table_14752049_2 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR)[/INST]SELECT international_tourist_arrivals__2011_ FROM table_14752049_2 WHERE country = "Senegal"</s>
CREATE TABLE table_name_43 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_43 WHERE place = "t3" AND player = "bob gilder"
What is Bob Gilder in Place T3's To par?
<s>[INST]What is Bob Gilder in Place T3's To par? Context: CREATE TABLE table_name_43 (to_par VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_43 WHERE place = "t3" AND player = "bob gilder"</s>
CREATE TABLE table_name_12 (previous_team VARCHAR, pick VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)
SELECT previous_team FROM table_name_12 WHERE nba_years_[a_] = "4" AND pick < 16
What is the previous team of the player with 4 NBA years and a pick less than 16?
<s>[INST]What is the previous team of the player with 4 NBA years and a pick less than 16? Context: CREATE TABLE table_name_12 (previous_team VARCHAR, pick VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)[/INST]SELECT previous_team FROM table_name_12 WHERE nba_years_[a_] = "4" AND pick < 16</s>
CREATE TABLE table_14342210_6 (field_goals INTEGER)
SELECT MIN(field_goals) FROM table_14342210_6
What is the least amount of field goals made by a player?
<s>[INST]What is the least amount of field goals made by a player? Context: CREATE TABLE table_14342210_6 (field_goals INTEGER)[/INST]SELECT MIN(field_goals) FROM table_14342210_6</s>
CREATE TABLE table_name_12 (year INTEGER, position VARCHAR, venue VARCHAR)
SELECT MAX(year) FROM table_name_12 WHERE position = "4th" AND venue = "budapest, hungary"
What was the latest year in which she took 4th position in Budapest, Hungary?
<s>[INST]What was the latest year in which she took 4th position in Budapest, Hungary? Context: CREATE TABLE table_name_12 (year INTEGER, position VARCHAR, venue VARCHAR)[/INST]SELECT MAX(year) FROM table_name_12 WHERE position = "4th" AND venue = "budapest, hungary"</s>
CREATE TABLE table_name_85 (total INTEGER, silver VARCHAR, rank VARCHAR, nation VARCHAR)
SELECT AVG(total) FROM table_name_85 WHERE rank > 11 AND nation = "switzerland" AND silver < 0
What is the average total with a Rank larger than 11, a Nation of switzerland, and a Silver smaller than 0?
<s>[INST]What is the average total with a Rank larger than 11, a Nation of switzerland, and a Silver smaller than 0? Context: CREATE TABLE table_name_85 (total INTEGER, silver VARCHAR, rank VARCHAR, nation VARCHAR)[/INST]SELECT AVG(total) FROM table_name_85 WHERE rank > 11 AND nation = "switzerland" AND silver < 0</s>
CREATE TABLE table_name_55 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_55 WHERE opponent = "wataru sakata"
What is the result for the match against Wataru Sakata?
<s>[INST]What is the result for the match against Wataru Sakata? Context: CREATE TABLE table_name_55 (res VARCHAR, opponent VARCHAR)[/INST]SELECT res FROM table_name_55 WHERE opponent = "wataru sakata"</s>
CREATE TABLE table_name_91 (race VARCHAR, most_laps_led VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT race FROM table_name_91 WHERE winning_team = "chip ganassi racing" AND pole_position = "ryan briscoe" AND most_laps_led = "scott dixon"
What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott Dixon?
<s>[INST]What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott Dixon? Context: CREATE TABLE table_name_91 (race VARCHAR, most_laps_led VARCHAR, winning_team VARCHAR, pole_position VARCHAR)[/INST]SELECT race FROM table_name_91 WHERE winning_team = "ch...
CREATE TABLE table_27293285_6 (tries_for VARCHAR, points_for VARCHAR)
SELECT tries_for FROM table_27293285_6 WHERE points_for = "396"
How many tries for were scored by the team that had exactly 396 points for?
<s>[INST]How many tries for were scored by the team that had exactly 396 points for? Context: CREATE TABLE table_27293285_6 (tries_for VARCHAR, points_for VARCHAR)[/INST]SELECT tries_for FROM table_27293285_6 WHERE points_for = "396"</s>
CREATE TABLE table_name_46 (agg VARCHAR)
SELECT 2 AS nd_leg FROM table_name_46 WHERE agg = "4-9"
What was the 2nd leg score of the aggregate score of 4-9?
<s>[INST]What was the 2nd leg score of the aggregate score of 4-9? Context: CREATE TABLE table_name_46 (agg VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_46 WHERE agg = "4-9"</s>
CREATE TABLE table_name_79 (film_title_used_in_nomination VARCHAR, language_s_ VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_79 WHERE language_s_ = "dutch" AND original_title = "rosie"
What was the title used for Rosie, the film nominated for the dutch language?
<s>[INST]What was the title used for Rosie, the film nominated for the dutch language? Context: CREATE TABLE table_name_79 (film_title_used_in_nomination VARCHAR, language_s_ VARCHAR, original_title VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_79 WHERE language_s_ = "dutch" AND original_title = "...
CREATE TABLE table_1566852_6 (interview_subject VARCHAR, centerfold_model VARCHAR)
SELECT COUNT(interview_subject) FROM table_1566852_6 WHERE centerfold_model = "Tamara Witmer"
How many total interview subjects wererthere when the centerfold model was Tamara Witmer?
<s>[INST]How many total interview subjects wererthere when the centerfold model was Tamara Witmer? Context: CREATE TABLE table_1566852_6 (interview_subject VARCHAR, centerfold_model VARCHAR)[/INST]SELECT COUNT(interview_subject) FROM table_1566852_6 WHERE centerfold_model = "Tamara Witmer"</s>
CREATE TABLE table_24807406_1 (assists VARCHAR, minutes VARCHAR)
SELECT COUNT(assists) FROM table_24807406_1 WHERE minutes = 1
What is the assists total number if the minutes is 1?
<s>[INST]What is the assists total number if the minutes is 1? Context: CREATE TABLE table_24807406_1 (assists VARCHAR, minutes VARCHAR)[/INST]SELECT COUNT(assists) FROM table_24807406_1 WHERE minutes = 1</s>
CREATE TABLE table_22897967_1 (golden_tickets VARCHAR, audition_venue VARCHAR)
SELECT golden_tickets FROM table_22897967_1 WHERE audition_venue = "Invesco Field"
Name the golden ticket for invesco field
<s>[INST]Name the golden ticket for invesco field Context: CREATE TABLE table_22897967_1 (golden_tickets VARCHAR, audition_venue VARCHAR)[/INST]SELECT golden_tickets FROM table_22897967_1 WHERE audition_venue = "Invesco Field"</s>
CREATE TABLE table_name_74 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT record FROM table_name_74 WHERE visitor = "detroit red wings" AND date = "january 31"
What is the Record of the game on January 31 with Visitors Detroit Red Wings?
<s>[INST]What is the Record of the game on January 31 with Visitors Detroit Red Wings? Context: CREATE TABLE table_name_74 (record VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_74 WHERE visitor = "detroit red wings" AND date = "january 31"</s>
CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, year VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)
SELECT DISTINCT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T3.name = 'Brittany Harris' OR T2.year > 2000
What are names of the movies that are either made after 2000 or reviewed by Brittany Harris?
<s>[INST]What are names of the movies that are either made after 2000 or reviewed by Brittany Harris? Context: CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, year VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)[/INST]SELECT DISTINCT T2.title FROM Rating AS T1...
CREATE TABLE table_name_10 (playoff_apps VARCHAR, position VARCHAR, name VARCHAR)
SELECT playoff_apps FROM table_name_10 WHERE position = "df" AND name = "thomas heary"
What was the playoff apps for Thomas Heary, that had the position df?
<s>[INST]What was the playoff apps for Thomas Heary, that had the position df? Context: CREATE TABLE table_name_10 (playoff_apps VARCHAR, position VARCHAR, name VARCHAR)[/INST]SELECT playoff_apps FROM table_name_10 WHERE position = "df" AND name = "thomas heary"</s>
CREATE TABLE table_name_19 (rank INTEGER, headquarters VARCHAR, screens VARCHAR)
SELECT AVG(rank) FROM table_name_19 WHERE headquarters = "toronto, on" AND screens < 1 OFFSET 438
What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438?
<s>[INST]What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438? Context: CREATE TABLE table_name_19 (rank INTEGER, headquarters VARCHAR, screens VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_19 WHERE headquarters = "toronto, on" AND screens < 1 OFFSET 438</s>
CREATE TABLE table_15187735_4 (netflix VARCHAR, series_ep VARCHAR)
SELECT netflix FROM table_15187735_4 WHERE series_ep = "4-11"
What is the netflix code where the series and episode are 4-11?
<s>[INST]What is the netflix code where the series and episode are 4-11? Context: CREATE TABLE table_15187735_4 (netflix VARCHAR, series_ep VARCHAR)[/INST]SELECT netflix FROM table_15187735_4 WHERE series_ep = "4-11"</s>