context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_67 (south_marquesan VARCHAR, sāmoan VARCHAR)
SELECT south_marquesan FROM table_name_67 WHERE sāmoan = "/matua/"
What kind of South Marquesan has a Sāmoan of /matua/?
<s>[INST]What kind of South Marquesan has a Sāmoan of /matua/? Context: CREATE TABLE table_name_67 (south_marquesan VARCHAR, sāmoan VARCHAR)[/INST]SELECT south_marquesan FROM table_name_67 WHERE sāmoan = "/matua/"</s>
CREATE TABLE table_name_50 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_50 WHERE rounds = "all" AND driver = "bruno giacomelli"
Which Constructor has Rounds, All and Driver, Bruno Giacomelli?
<s>[INST]Which Constructor has Rounds, All and Driver, Bruno Giacomelli? Context: CREATE TABLE table_name_50 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_50 WHERE rounds = "all" AND driver = "bruno giacomelli"</s>
CREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR)
SELECT yacht_name FROM table_name_28 WHERE overall_place = "12"
What is the name of the yacht where 12 is the overall place?
<s>[INST]What is the name of the yacht where 12 is the overall place? Context: CREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR)[/INST]SELECT yacht_name FROM table_name_28 WHERE overall_place = "12"</s>
CREATE TABLE table_name_13 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_13 WHERE player = "gino pisellini"
Which Position has a Player of gino pisellini?
<s>[INST]Which Position has a Player of gino pisellini? Context: CREATE TABLE table_name_13 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_13 WHERE player = "gino pisellini"</s>
CREATE TABLE table_name_87 (years_in_toronto VARCHAR, nationality VARCHAR, school_club_team VARCHAR)
SELECT years_in_toronto FROM table_name_87 WHERE nationality = "united states" AND school_club_team = "arkansas"
What year is United States school/club team from Arkansas play in Toronto
<s>[INST]What year is United States school/club team from Arkansas play in Toronto Context: CREATE TABLE table_name_87 (years_in_toronto VARCHAR, nationality VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_in_toronto FROM table_name_87 WHERE nationality = "united states" AND school_club_team = "arkansas"</s>
CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Code VARCHAR, GovernmentForm VARCHAR)
SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = "Republic" GROUP BY T2.Language HAVING COUNT(*) = 1
Which languages are spoken by only one country in republic governments?
<s>[INST]Which languages are spoken by only one country in republic governments? Context: CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Code VARCHAR, GovernmentForm VARCHAR)[/INST]SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode W...
CREATE TABLE table_name_36 (regular_attendees INTEGER, parishes VARCHAR)
SELECT AVG(regular_attendees) FROM table_name_36 WHERE parishes = 79
What is the average regular number of attendees that has 79 parishes?
<s>[INST]What is the average regular number of attendees that has 79 parishes? Context: CREATE TABLE table_name_36 (regular_attendees INTEGER, parishes VARCHAR)[/INST]SELECT AVG(regular_attendees) FROM table_name_36 WHERE parishes = 79</s>
CREATE TABLE table_name_7 (pick INTEGER, round VARCHAR, player VARCHAR)
SELECT AVG(pick) FROM table_name_7 WHERE round < 6 AND player = "kenneth green"
What is the average Pick when the round was less than 6 for kenneth green?
<s>[INST]What is the average Pick when the round was less than 6 for kenneth green? Context: CREATE TABLE table_name_7 (pick INTEGER, round VARCHAR, player VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_7 WHERE round < 6 AND player = "kenneth green"</s>
CREATE TABLE table_19850806_3 (report VARCHAR, rd VARCHAR)
SELECT report FROM table_19850806_3 WHERE rd = "9"
Which report is where rd. is 9?
<s>[INST]Which report is where rd. is 9? Context: CREATE TABLE table_19850806_3 (report VARCHAR, rd VARCHAR)[/INST]SELECT report FROM table_19850806_3 WHERE rd = "9"</s>
CREATE TABLE table_name_55 (jockey VARCHAR, time VARCHAR)
SELECT jockey FROM table_name_55 WHERE time = "1:15.89"
What is Jockey, when Time is 1:15.89?
<s>[INST]What is Jockey, when Time is 1:15.89? Context: CREATE TABLE table_name_55 (jockey VARCHAR, time VARCHAR)[/INST]SELECT jockey FROM table_name_55 WHERE time = "1:15.89"</s>
CREATE TABLE table_12576536_1 (year INTEGER, population__woocoo_ VARCHAR)
SELECT MAX(year) FROM table_12576536_1 WHERE population__woocoo_ = 2700
Name the most year when population of woocoo is 2700
<s>[INST]Name the most year when population of woocoo is 2700 Context: CREATE TABLE table_12576536_1 (year INTEGER, population__woocoo_ VARCHAR)[/INST]SELECT MAX(year) FROM table_12576536_1 WHERE population__woocoo_ = 2700</s>
CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR); CREATE TABLE procedures (code VARCHAR, cost VARCHAR)
SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment ORDER BY T3.cost DESC LIMIT 1
Find the physician who was trained in the most expensive procedure?
<s>[INST]Find the physician who was trained in the most expensive procedure? Context: CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR); CREATE TABLE procedures (code VARCHAR, cost VARCHAR)[/INST]SELECT T1.name FROM physician AS T1 JOIN trained_in ...
CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR, december VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_16 WHERE december < 14 AND game < 28 AND score = "6 - 6"
December smaller than 14, and a Game smaller than 28, and a Score of 6 - 6 involved what opponent?
<s>[INST]December smaller than 14, and a Game smaller than 28, and a Score of 6 - 6 involved what opponent? Context: CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR, december VARCHAR, game VARCHAR)[/INST]SELECT opponent FROM table_name_16 WHERE december < 14 AND game < 28 AND score = "6 - 6"</s>
CREATE TABLE table_name_24 (make VARCHAR, drivers VARCHAR)
SELECT make FROM table_name_24 WHERE drivers = "hisashi wada"
What is the make of the vehicle for driver Hisashi Wada?
<s>[INST]What is the make of the vehicle for driver Hisashi Wada? Context: CREATE TABLE table_name_24 (make VARCHAR, drivers VARCHAR)[/INST]SELECT make FROM table_name_24 WHERE drivers = "hisashi wada"</s>
CREATE TABLE table_name_1 (general_classification VARCHAR, asian_rider_classification VARCHAR, winner VARCHAR)
SELECT general_classification FROM table_name_1 WHERE asian_rider_classification = "shinichi fukushima" AND winner = "jeremy hunt"
WHich General classification has an Asian rider classification of shinichi fukushima, and a Winner of jeremy hunt?
<s>[INST]WHich General classification has an Asian rider classification of shinichi fukushima, and a Winner of jeremy hunt? Context: CREATE TABLE table_name_1 (general_classification VARCHAR, asian_rider_classification VARCHAR, winner VARCHAR)[/INST]SELECT general_classification FROM table_name_1 WHERE asian_rider_clas...
CREATE TABLE table_name_74 (loss VARCHAR, time VARCHAR, record VARCHAR)
SELECT loss FROM table_name_74 WHERE time = "3:16" AND record = "15–15"
What is the loss when the time was 3:16, and a Record of 15–15?
<s>[INST]What is the loss when the time was 3:16, and a Record of 15–15? Context: CREATE TABLE table_name_74 (loss VARCHAR, time VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_74 WHERE time = "3:16" AND record = "15–15"</s>
CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (name VARCHAR, operating_system VARCHAR); CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR, browser_id VARCHAR); CREATE TABLE web_client_accelerator (name VARCHAR, operating_system VARCHAR, id VARCHAR)
SELECT name, operating_system FROM web_client_accelerator EXCEPT SELECT T1.name, T1.operating_system FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T3.name = 'Opera'
Show the accelerator names and supporting operating systems that are not compatible with the browser named 'Opera'.
<s>[INST]Show the accelerator names and supporting operating systems that are not compatible with the browser named 'Opera'. Context: CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (name VARCHAR, operating_system VARCHAR); CREATE TABLE accelerator_compatible_browser (accelerator_id...
CREATE TABLE table_name_21 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_21 WHERE away_team = "lincoln city"
What is the home team that had an away team of lincoln city?
<s>[INST]What is the home team that had an away team of lincoln city? Context: CREATE TABLE table_name_21 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_21 WHERE away_team = "lincoln city"</s>
CREATE TABLE table_name_94 (partner VARCHAR, score VARCHAR, outcome VARCHAR, year VARCHAR)
SELECT partner FROM table_name_94 WHERE outcome = "winner" AND year < 1993 AND score = "6–4, 6–2"
Who was the Partner that was a winner, a Year smaller than 1993, and a Score of 6–4, 6–2?
<s>[INST]Who was the Partner that was a winner, a Year smaller than 1993, and a Score of 6–4, 6–2? Context: CREATE TABLE table_name_94 (partner VARCHAR, score VARCHAR, outcome VARCHAR, year VARCHAR)[/INST]SELECT partner FROM table_name_94 WHERE outcome = "winner" AND year < 1993 AND score = "6–4, 6–2"</s>
CREATE TABLE table_name_34 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_34 WHERE visitor = "montreal"
When was Montreal a visitor?
<s>[INST]When was Montreal a visitor? Context: CREATE TABLE table_name_34 (date VARCHAR, visitor VARCHAR)[/INST]SELECT date FROM table_name_34 WHERE visitor = "montreal"</s>
CREATE TABLE table_name_40 (termination_of_mission VARCHAR, appointed_by VARCHAR)
SELECT termination_of_mission FROM table_name_40 WHERE appointed_by = "barack obama"
What was the Termination of Mission date for the ambassador who was appointed by Barack Obama?
<s>[INST]What was the Termination of Mission date for the ambassador who was appointed by Barack Obama? Context: CREATE TABLE table_name_40 (termination_of_mission VARCHAR, appointed_by VARCHAR)[/INST]SELECT termination_of_mission FROM table_name_40 WHERE appointed_by = "barack obama"</s>
CREATE TABLE table_name_3 (year VARCHAR, main VARCHAR, hessen VARCHAR)
SELECT year FROM table_name_3 WHERE main = "eintracht frankfurt" AND hessen = "fsv mainz 05"
Which year has a Main of Eintracht Frankfurt and Hessen of FSV Mainz 05?
<s>[INST]Which year has a Main of Eintracht Frankfurt and Hessen of FSV Mainz 05? Context: CREATE TABLE table_name_3 (year VARCHAR, main VARCHAR, hessen VARCHAR)[/INST]SELECT year FROM table_name_3 WHERE main = "eintracht frankfurt" AND hessen = "fsv mainz 05"</s>
CREATE TABLE table_name_89 (ovrs INTEGER, wkts VARCHAR)
SELECT MIN(ovrs) FROM table_name_89 WHERE wkts = 0
Name the least ovrs for wkts of 0
<s>[INST]Name the least ovrs for wkts of 0 Context: CREATE TABLE table_name_89 (ovrs INTEGER, wkts VARCHAR)[/INST]SELECT MIN(ovrs) FROM table_name_89 WHERE wkts = 0</s>
CREATE TABLE representative (Party VARCHAR)
SELECT COUNT(DISTINCT Party) FROM representative
How many distinct parties are there for representatives?
<s>[INST]How many distinct parties are there for representatives? Context: CREATE TABLE representative (Party VARCHAR)[/INST]SELECT COUNT(DISTINCT Party) FROM representative</s>
CREATE TABLE table_name_42 (circuit VARCHAR, event VARCHAR, session VARCHAR, discipline VARCHAR)
SELECT circuit FROM table_name_42 WHERE session = "race" AND discipline = "open wheel" AND event = "1977 japanese grand prix"
What circuit has a race for the session, and open wheel as the discipline, and the 1977 Japanese Grand Prix as the event?
<s>[INST]What circuit has a race for the session, and open wheel as the discipline, and the 1977 Japanese Grand Prix as the event? Context: CREATE TABLE table_name_42 (circuit VARCHAR, event VARCHAR, session VARCHAR, discipline VARCHAR)[/INST]SELECT circuit FROM table_name_42 WHERE session = "race" AND discipline = "op...
CREATE TABLE table_name_37 (date VARCHAR, competition VARCHAR)
SELECT date FROM table_name_37 WHERE competition = "2008 africa cup of nations"
What is the date of Competition of 2008 africa cup of nations?
<s>[INST]What is the date of Competition of 2008 africa cup of nations? Context: CREATE TABLE table_name_37 (date VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_37 WHERE competition = "2008 africa cup of nations"</s>
CREATE TABLE table_name_88 (country VARCHAR)
SELECT AVG(2002) FROM table_name_88 WHERE country = "peru" AND 2007 > 1 OFFSET 200
What is the normal 2002 that has a Country of Peru, and 2007 bigger than 1,200?
<s>[INST]What is the normal 2002 that has a Country of Peru, and 2007 bigger than 1,200? Context: CREATE TABLE table_name_88 (country VARCHAR)[/INST]SELECT AVG(2002) FROM table_name_88 WHERE country = "peru" AND 2007 > 1 OFFSET 200</s>
CREATE TABLE table_name_73 (results VARCHAR, institutional_authority VARCHAR)
SELECT results FROM table_name_73 WHERE institutional_authority = "paf"
Name the results for institutional authority of paf
<s>[INST]Name the results for institutional authority of paf Context: CREATE TABLE table_name_73 (results VARCHAR, institutional_authority VARCHAR)[/INST]SELECT results FROM table_name_73 WHERE institutional_authority = "paf"</s>
CREATE TABLE table_name_57 (director VARCHAR, title VARCHAR, result VARCHAR)
SELECT director FROM table_name_57 WHERE title = "min dally nseek" AND result = "won"
Who is the director with the Min Dally Nseek title, and won?
<s>[INST]Who is the director with the Min Dally Nseek title, and won? Context: CREATE TABLE table_name_57 (director VARCHAR, title VARCHAR, result VARCHAR)[/INST]SELECT director FROM table_name_57 WHERE title = "min dally nseek" AND result = "won"</s>
CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR)
SELECT location FROM table_name_89 WHERE callsign = "dxbl"
What is the Location of the Frequency with a Callsign of DXBL?
<s>[INST]What is the Location of the Frequency with a Callsign of DXBL? Context: CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR)[/INST]SELECT location FROM table_name_89 WHERE callsign = "dxbl"</s>
CREATE TABLE table_name_65 (school VARCHAR, capacity VARCHAR, ages VARCHAR, ofsted VARCHAR)
SELECT school FROM table_name_65 WHERE ages = "11-16" AND ofsted < 106142 AND capacity = 1206
Which School has Ages of 11-16, and an Ofsted smaller than 106142, and a Capacity of 1206?
<s>[INST]Which School has Ages of 11-16, and an Ofsted smaller than 106142, and a Capacity of 1206? Context: CREATE TABLE table_name_65 (school VARCHAR, capacity VARCHAR, ages VARCHAR, ofsted VARCHAR)[/INST]SELECT school FROM table_name_65 WHERE ages = "11-16" AND ofsted < 106142 AND capacity = 1206</s>
CREATE TABLE table_15040_8 (french VARCHAR, russian VARCHAR)
SELECT french FROM table_15040_8 WHERE russian = "filtrovat (фильтровать)"
What is the french word for the Russian word filtrovat (фильтровать)?
<s>[INST]What is the french word for the Russian word filtrovat (фильтровать)? Context: CREATE TABLE table_15040_8 (french VARCHAR, russian VARCHAR)[/INST]SELECT french FROM table_15040_8 WHERE russian = "filtrovat (фильтровать)"</s>
CREATE TABLE table_name_81 (round INTEGER, opponent VARCHAR)
SELECT MIN(round) FROM table_name_81 WHERE opponent = "aleksandr pitchkounov"
Which Round has an Opponent of aleksandr pitchkounov?
<s>[INST]Which Round has an Opponent of aleksandr pitchkounov? Context: CREATE TABLE table_name_81 (round INTEGER, opponent VARCHAR)[/INST]SELECT MIN(round) FROM table_name_81 WHERE opponent = "aleksandr pitchkounov"</s>
CREATE TABLE table_name_36 (method VARCHAR, time VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_36 WHERE time = "5:00" AND opponent = "adriano martins"
What method had Adriano Martins as an opponent and a time of 5:00?
<s>[INST]What method had Adriano Martins as an opponent and a time of 5:00? Context: CREATE TABLE table_name_36 (method VARCHAR, time VARCHAR, opponent VARCHAR)[/INST]SELECT method FROM table_name_36 WHERE time = "5:00" AND opponent = "adriano martins"</s>
CREATE TABLE table_name_21 (fin_pos VARCHAR, grid VARCHAR)
SELECT fin_pos FROM table_name_21 WHERE grid = "6"
What was the finishing position for the car that started in grid 6?
<s>[INST]What was the finishing position for the car that started in grid 6? Context: CREATE TABLE table_name_21 (fin_pos VARCHAR, grid VARCHAR)[/INST]SELECT fin_pos FROM table_name_21 WHERE grid = "6"</s>
CREATE TABLE table_name_4 (round INTEGER, method VARCHAR)
SELECT MIN(round) FROM table_name_4 WHERE method = "decision"
What round was the fight won or loss by a decision?
<s>[INST]What round was the fight won or loss by a decision? Context: CREATE TABLE table_name_4 (round INTEGER, method VARCHAR)[/INST]SELECT MIN(round) FROM table_name_4 WHERE method = "decision"</s>
CREATE TABLE table_1473672_8 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_1473672_8 WHERE pick__number = 128
Name the position for pick number 128
<s>[INST]Name the position for pick number 128 Context: CREATE TABLE table_1473672_8 (position VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_1473672_8 WHERE pick__number = 128</s>
CREATE TABLE table_2668243_22 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_2668243_22 WHERE district = "South Carolina 6"
who were the "candidate" of South Carolina 6?
<s>[INST]who were the "candidate" of South Carolina 6? Context: CREATE TABLE table_2668243_22 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_2668243_22 WHERE district = "South Carolina 6"</s>
CREATE TABLE table_name_89 (player VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_89 WHERE year_s__won = "1991"
Who won in 1991?
<s>[INST]Who won in 1991? Context: CREATE TABLE table_name_89 (player VARCHAR, year_s__won VARCHAR)[/INST]SELECT player FROM table_name_89 WHERE year_s__won = "1991"</s>
CREATE TABLE table_22839669_12 (total_wins INTEGER)
SELECT MAX(total_wins) FROM table_22839669_12
What is the maximum total wins he had for any year?
<s>[INST]What is the maximum total wins he had for any year? Context: CREATE TABLE table_22839669_12 (total_wins INTEGER)[/INST]SELECT MAX(total_wins) FROM table_22839669_12</s>
CREATE TABLE table_name_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR)
SELECT name FROM table_name_81 WHERE type = "end of contract" AND nat = "sco" AND moving_to = "cardiff city"
What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city?
<s>[INST]What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city? Context: CREATE TABLE table_name_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR)[/INST]SELECT name FROM table_name_81 WHERE type = "end of contract" AND nat = "sco" AND moving_to = "car...
CREATE TABLE table_name_18 (team VARCHAR, ratt VARCHAR)
SELECT team FROM table_name_18 WHERE ratt = "57"
What was the team with a ratt of 57?
<s>[INST]What was the team with a ratt of 57? Context: CREATE TABLE table_name_18 (team VARCHAR, ratt VARCHAR)[/INST]SELECT team FROM table_name_18 WHERE ratt = "57"</s>
CREATE TABLE table_name_75 (venue VARCHAR, rank VARCHAR)
SELECT venue FROM table_name_75 WHERE rank = "2"
What venue has 2 as the rank?
<s>[INST]What venue has 2 as the rank? Context: CREATE TABLE table_name_75 (venue VARCHAR, rank VARCHAR)[/INST]SELECT venue FROM table_name_75 WHERE rank = "2"</s>
CREATE TABLE table_name_4 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_4 WHERE date = "4 september 2013"
What is the Result with a Date with 4 september 2013?
<s>[INST]What is the Result with a Date with 4 september 2013? Context: CREATE TABLE table_name_4 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_4 WHERE date = "4 september 2013"</s>
CREATE TABLE table_24561550_1 (wildcats_points VARCHAR, opponent VARCHAR)
SELECT wildcats_points FROM table_24561550_1 WHERE opponent = "Baylor"
How many points did the Wildcats get when Baylor was an opponent?
<s>[INST]How many points did the Wildcats get when Baylor was an opponent? Context: CREATE TABLE table_24561550_1 (wildcats_points VARCHAR, opponent VARCHAR)[/INST]SELECT wildcats_points FROM table_24561550_1 WHERE opponent = "Baylor"</s>
CREATE TABLE table_name_46 (wins INTEGER, rank VARCHAR, first_win VARCHAR)
SELECT MIN(wins) FROM table_name_46 WHERE rank > 6 AND first_win = "1950 british grand prix"
What is the rank 6 lowest win who's first win was at the 1950 British Grand Prix?
<s>[INST]What is the rank 6 lowest win who's first win was at the 1950 British Grand Prix? Context: CREATE TABLE table_name_46 (wins INTEGER, rank VARCHAR, first_win VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_46 WHERE rank > 6 AND first_win = "1950 british grand prix"</s>
CREATE TABLE table_27734577_2 (team VARCHAR, date VARCHAR)
SELECT team FROM table_27734577_2 WHERE date = "October 21"
Which team was the opponent on october 21?
<s>[INST]Which team was the opponent on october 21? Context: CREATE TABLE table_27734577_2 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_27734577_2 WHERE date = "October 21"</s>
CREATE TABLE table_name_82 (position VARCHAR, round VARCHAR, overall VARCHAR)
SELECT position FROM table_name_82 WHERE round > 15 AND overall = 411
What position is the round higher than 15 and has an overall of 411.
<s>[INST]What position is the round higher than 15 and has an overall of 411. Context: CREATE TABLE table_name_82 (position VARCHAR, round VARCHAR, overall VARCHAR)[/INST]SELECT position FROM table_name_82 WHERE round > 15 AND overall = 411</s>
CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR)
SELECT MAX(attendance) FROM table_name_34 WHERE week = 3
what is the highest attendance for week 3?
<s>[INST]what is the highest attendance for week 3? Context: CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_34 WHERE week = 3</s>
CREATE TABLE table_name_33 (meet VARCHAR, time VARCHAR)
SELECT meet FROM table_name_33 WHERE time = "7:55.02"
What is the Meet of the Event with a Time of 7:55.02?
<s>[INST]What is the Meet of the Event with a Time of 7:55.02? Context: CREATE TABLE table_name_33 (meet VARCHAR, time VARCHAR)[/INST]SELECT meet FROM table_name_33 WHERE time = "7:55.02"</s>
CREATE TABLE table_name_70 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_70 WHERE home_team = "melbourne"
What was the crowd when Melbourne was the home team?
<s>[INST]What was the crowd when Melbourne was the home team? Context: CREATE TABLE table_name_70 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_70 WHERE home_team = "melbourne"</s>
CREATE TABLE table_name_58 (tv_seasons INTEGER, tv_series VARCHAR, species VARCHAR)
SELECT MIN(tv_seasons) FROM table_name_58 WHERE tv_series = "yes" AND species = "human"
What is the smallest season for a tv series with a yes and human was the species?
<s>[INST]What is the smallest season for a tv series with a yes and human was the species? Context: CREATE TABLE table_name_58 (tv_seasons INTEGER, tv_series VARCHAR, species VARCHAR)[/INST]SELECT MIN(tv_seasons) FROM table_name_58 WHERE tv_series = "yes" AND species = "human"</s>
CREATE TABLE table_name_16 (film_or_television_series_or_miniseries VARCHAR, year VARCHAR)
SELECT film_or_television_series_or_miniseries FROM table_name_16 WHERE year = 2001
What is the film, television series, or miniseries with a nomination in 2001?
<s>[INST]What is the film, television series, or miniseries with a nomination in 2001? Context: CREATE TABLE table_name_16 (film_or_television_series_or_miniseries VARCHAR, year VARCHAR)[/INST]SELECT film_or_television_series_or_miniseries FROM table_name_16 WHERE year = 2001</s>
CREATE TABLE table_name_69 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
SELECT SUM(attendance) FROM table_name_69 WHERE opponent = "astros" AND date = "april 29"
What attendance has astros as the opponent, and april 29 as the date?
<s>[INST]What attendance has astros as the opponent, and april 29 as the date? Context: CREATE TABLE table_name_69 (attendance INTEGER, opponent VARCHAR, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_69 WHERE opponent = "astros" AND date = "april 29"</s>
CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, transcription VARCHAR)
SELECT sanskrit_word FROM table_180802_3 WHERE transcription = "wan athit"
What is the sanskrit word if the transcription is wan athit?
<s>[INST]What is the sanskrit word if the transcription is wan athit? Context: CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, transcription VARCHAR)[/INST]SELECT sanskrit_word FROM table_180802_3 WHERE transcription = "wan athit"</s>
CREATE TABLE table_27561503_2 (results VARCHAR, sports_20_winning_team VARCHAR)
SELECT COUNT(results) FROM table_27561503_2 WHERE sports_20_winning_team = "#23 Lotus"
Name the results for #23 lotus
<s>[INST]Name the results for #23 lotus Context: CREATE TABLE table_27561503_2 (results VARCHAR, sports_20_winning_team VARCHAR)[/INST]SELECT COUNT(results) FROM table_27561503_2 WHERE sports_20_winning_team = "#23 Lotus"</s>
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)
SELECT T1.first_name, T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id = T2.support_rep_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1
Find the full name of employee who supported the most number of customers.
<s>[INST]Find the full name of employee who supported the most number of customers. Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)[/INST]SELECT T1.first_name, T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id = T2.suppor...
CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_73 WHERE away_team = "north melbourne"
What is the home team score that played the away team of north melbourne?
<s>[INST]What is the home team score that played the away team of north melbourne? Context: CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_73 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_11545282_17 (player VARCHAR, years_for_jazz VARCHAR)
SELECT player FROM table_11545282_17 WHERE years_for_jazz = "2004-05"
What is the player that played 2004-05?
<s>[INST]What is the player that played 2004-05? Context: CREATE TABLE table_11545282_17 (player VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT player FROM table_11545282_17 WHERE years_for_jazz = "2004-05"</s>
CREATE TABLE table_2429942_2 (club VARCHAR, third_place VARCHAR)
SELECT COUNT(club) FROM table_2429942_2 WHERE third_place = "Drnovice"
how many times was third place held by drnovice?
<s>[INST]how many times was third place held by drnovice? Context: CREATE TABLE table_2429942_2 (club VARCHAR, third_place VARCHAR)[/INST]SELECT COUNT(club) FROM table_2429942_2 WHERE third_place = "Drnovice"</s>
CREATE TABLE table_27547668_2 (title VARCHAR, prod_code VARCHAR)
SELECT title FROM table_27547668_2 WHERE prod_code = 102
What is the title of the episode with production code 102?
<s>[INST]What is the title of the episode with production code 102? Context: CREATE TABLE table_27547668_2 (title VARCHAR, prod_code VARCHAR)[/INST]SELECT title FROM table_27547668_2 WHERE prod_code = 102</s>
CREATE TABLE table_22347090_4 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_22347090_4 WHERE production_code = "3X6752"
Who directed the episode that has 3x6752 listed as the production code?
<s>[INST]Who directed the episode that has 3x6752 listed as the production code? Context: CREATE TABLE table_22347090_4 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_22347090_4 WHERE production_code = "3X6752"</s>
CREATE TABLE table_name_25 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
SELECT episode FROM table_name_25 WHERE year > 1998 AND nominee_s_ = "john wells"
What episode after 1998 had John Wells as the nominee?
<s>[INST]What episode after 1998 had John Wells as the nominee? Context: CREATE TABLE table_name_25 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR)[/INST]SELECT episode FROM table_name_25 WHERE year > 1998 AND nominee_s_ = "john wells"</s>
CREATE TABLE table_name_73 (tournament VARCHAR, year INTEGER)
SELECT tournament FROM table_name_73 WHERE year > 1966
Which tournament was held after 1966?
<s>[INST]Which tournament was held after 1966? Context: CREATE TABLE table_name_73 (tournament VARCHAR, year INTEGER)[/INST]SELECT tournament FROM table_name_73 WHERE year > 1966</s>
CREATE TABLE table_name_33 (population_per_km²__2009_ INTEGER, province VARCHAR, area__km²_ VARCHAR)
SELECT MAX(population_per_km²__2009_) FROM table_name_33 WHERE province = "western province" AND area__km²_ > 5 OFFSET 475
What is the highest Population per km² (2009) that is in western province, with an Area (km²) larger than 5,475?
<s>[INST]What is the highest Population per km² (2009) that is in western province, with an Area (km²) larger than 5,475? Context: CREATE TABLE table_name_33 (population_per_km²__2009_ INTEGER, province VARCHAR, area__km²_ VARCHAR)[/INST]SELECT MAX(population_per_km²__2009_) FROM table_name_33 WHERE province = "western...
CREATE TABLE captain (rank VARCHAR)
SELECT rank FROM captain GROUP BY rank ORDER BY COUNT(*) DESC LIMIT 1
Which rank is the most common among captains?
<s>[INST]Which rank is the most common among captains? Context: CREATE TABLE captain (rank VARCHAR)[/INST]SELECT rank FROM captain GROUP BY rank ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_88 (make VARCHAR, year VARCHAR)
SELECT make FROM table_name_88 WHERE year = 2008
what is the make for the year 2008?
<s>[INST]what is the make for the year 2008? Context: CREATE TABLE table_name_88 (make VARCHAR, year VARCHAR)[/INST]SELECT make FROM table_name_88 WHERE year = 2008</s>
CREATE TABLE Ref_Detention_Type (detention_type_description VARCHAR, detention_type_code VARCHAR); CREATE TABLE Detention (detention_type_code VARCHAR)
SELECT T1.detention_type_code, T2.detention_type_description FROM Detention AS T1 JOIN Ref_Detention_Type AS T2 ON T1.detention_type_code = T2.detention_type_code GROUP BY T1.detention_type_code ORDER BY COUNT(*) LIMIT 1
What are the code and description of the least frequent detention type ?
<s>[INST]What are the code and description of the least frequent detention type ? Context: CREATE TABLE Ref_Detention_Type (detention_type_description VARCHAR, detention_type_code VARCHAR); CREATE TABLE Detention (detention_type_code VARCHAR)[/INST]SELECT T1.detention_type_code, T2.detention_type_description FROM Deten...
CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_26 WHERE score = "6–4, 6–2"
What is the Date of the game with a Score of 6–4, 6–2?
<s>[INST]What is the Date of the game with a Score of 6–4, 6–2? Context: CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_26 WHERE score = "6–4, 6–2"</s>
CREATE TABLE table_name_79 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_79 WHERE date = "march 26"
What was the record on march 26?
<s>[INST]What was the record on march 26? Context: CREATE TABLE table_name_79 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_79 WHERE date = "march 26"</s>
CREATE TABLE table_name_53 (surface VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT surface FROM table_name_53 WHERE opponent = "kerry melville reid" AND score = "6–3, 2–6, 3–6"
Which Surface has an Opponent of kerry melville reid, and a Score of 6–3, 2–6, 3–6?
<s>[INST]Which Surface has an Opponent of kerry melville reid, and a Score of 6–3, 2–6, 3–6? Context: CREATE TABLE table_name_53 (surface VARCHAR, opponent VARCHAR, score VARCHAR)[/INST]SELECT surface FROM table_name_53 WHERE opponent = "kerry melville reid" AND score = "6–3, 2–6, 3–6"</s>
CREATE TABLE Circulation_History (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR)
SELECT Employees.employee_name, COUNT(*) FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id GROUP BY Circulation_History.document_id, Circulation_History.draft_number, Circulation_History.copy_number ORDER BY COUNT(*) DESC LIMIT 1
Which employee has showed up in most circulation history documents. List the employee's name and the number of drafts and copies.
<s>[INST]Which employee has showed up in most circulation history documents. List the employee's name and the number of drafts and copies. Context: CREATE TABLE Circulation_History (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR)[/INST]SELECT Employees.employee_name, COUNT(*) FROM Employees JOIN Circulation_History ON...
CREATE TABLE table_17085947_32 (athlete VARCHAR, trans_1 VARCHAR)
SELECT COUNT(athlete) FROM table_17085947_32 WHERE trans_1 = "0:26"
How many athletes completed a trans 1 within 0:26?
<s>[INST]How many athletes completed a trans 1 within 0:26? Context: CREATE TABLE table_17085947_32 (athlete VARCHAR, trans_1 VARCHAR)[/INST]SELECT COUNT(athlete) FROM table_17085947_32 WHERE trans_1 = "0:26"</s>
CREATE TABLE table_name_83 (away_team VARCHAR, ground VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_83 WHERE ground = "colonial stadium" AND date = "friday, 2 march"
Name the Away team which have a Ground of colonial stadium on friday, 2 march?
<s>[INST]Name the Away team which have a Ground of colonial stadium on friday, 2 march? Context: CREATE TABLE table_name_83 (away_team VARCHAR, ground VARCHAR, date VARCHAR)[/INST]SELECT away_team FROM table_name_83 WHERE ground = "colonial stadium" AND date = "friday, 2 march"</s>
CREATE TABLE table_25887826_17 (total_pts VARCHAR)
SELECT MAX(10 AS _c_pts) FROM table_25887826_17 WHERE total_pts = 39
What is the largest number of 10 C points for a team with 39 total points?
<s>[INST]What is the largest number of 10 C points for a team with 39 total points? Context: CREATE TABLE table_25887826_17 (total_pts VARCHAR)[/INST]SELECT MAX(10 AS _c_pts) FROM table_25887826_17 WHERE total_pts = 39</s>
CREATE TABLE table_18483171_1 (institution VARCHAR, team_nickname VARCHAR)
SELECT institution FROM table_18483171_1 WHERE team_nickname = "Cardinals"
List all institutions with a team name of the Cardinals.
<s>[INST]List all institutions with a team name of the Cardinals. Context: CREATE TABLE table_18483171_1 (institution VARCHAR, team_nickname VARCHAR)[/INST]SELECT institution FROM table_18483171_1 WHERE team_nickname = "Cardinals"</s>
CREATE TABLE table_name_96 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_96 WHERE date = "april 25"
Which record has a Date of april 25?
<s>[INST]Which record has a Date of april 25? Context: CREATE TABLE table_name_96 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_96 WHERE date = "april 25"</s>
CREATE TABLE table_15187735_5 (episode VARCHAR, segment_a VARCHAR)
SELECT episode FROM table_15187735_5 WHERE segment_a = "Kitchen Knives"
Kitchen knives is segment a of what episode?
<s>[INST]Kitchen knives is segment a of what episode? Context: CREATE TABLE table_15187735_5 (episode VARCHAR, segment_a VARCHAR)[/INST]SELECT episode FROM table_15187735_5 WHERE segment_a = "Kitchen Knives"</s>
CREATE TABLE table_name_97 (proto_austronesian VARCHAR, proto_oceanic VARCHAR)
SELECT proto_austronesian FROM table_name_97 WHERE proto_oceanic = "*lima"
Which Proto-Austronesian has a Proto-Oceanic of *lima?
<s>[INST]Which Proto-Austronesian has a Proto-Oceanic of *lima? Context: CREATE TABLE table_name_97 (proto_austronesian VARCHAR, proto_oceanic VARCHAR)[/INST]SELECT proto_austronesian FROM table_name_97 WHERE proto_oceanic = "*lima"</s>
CREATE TABLE table_name_77 (_percentage_wt_2nd VARCHAR, bp_3rd_comp__˚c_ VARCHAR)
SELECT _percentage_wt_2nd FROM table_name_77 WHERE bp_3rd_comp__˚c_ = "98.4"
Tell me the % of wt 2nd for bp 3rd comp of 98.4
<s>[INST]Tell me the % of wt 2nd for bp 3rd comp of 98.4 Context: CREATE TABLE table_name_77 (_percentage_wt_2nd VARCHAR, bp_3rd_comp__˚c_ VARCHAR)[/INST]SELECT _percentage_wt_2nd FROM table_name_77 WHERE bp_3rd_comp__˚c_ = "98.4"</s>
CREATE TABLE table_name_14 (points VARCHAR, entrant VARCHAR, chassis VARCHAR)
SELECT points FROM table_name_14 WHERE entrant = "ats wheels" AND chassis = "ats d2"
How many points did the ATS Wheels entrant with an ATS D2 chassis have?
<s>[INST]How many points did the ATS Wheels entrant with an ATS D2 chassis have? Context: CREATE TABLE table_name_14 (points VARCHAR, entrant VARCHAR, chassis VARCHAR)[/INST]SELECT points FROM table_name_14 WHERE entrant = "ats wheels" AND chassis = "ats d2"</s>
CREATE TABLE teacher (name VARCHAR, hometown VARCHAR)
SELECT name FROM teacher WHERE hometown <> "little lever urban district"
List the name of teachers whose hometown is not `` Little Lever Urban District '' .
<s>[INST]List the name of teachers whose hometown is not `` Little Lever Urban District '' . Context: CREATE TABLE teacher (name VARCHAR, hometown VARCHAR)[/INST]SELECT name FROM teacher WHERE hometown <> "little lever urban district"</s>
CREATE TABLE table_name_15 (tires VARCHAR, team VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT tires FROM table_name_15 WHERE engine = "offy" AND chassis = "manta" AND team = "bfm enterprises"
What tires did BFM Enterprises run on their Offy engine and manta chassis?
<s>[INST]What tires did BFM Enterprises run on their Offy engine and manta chassis? Context: CREATE TABLE table_name_15 (tires VARCHAR, team VARCHAR, engine VARCHAR, chassis VARCHAR)[/INST]SELECT tires FROM table_name_15 WHERE engine = "offy" AND chassis = "manta" AND team = "bfm enterprises"</s>
CREATE TABLE table_name_37 (prominence__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR)
SELECT AVG(prominence__m_) FROM table_name_37 WHERE peak = "nakanai mountains high point" AND elevation__m_ < 2 OFFSET 316
Which Prominence (m) has a Peak of nakanai mountains high point, and an Elevation (m) smaller than 2,316?
<s>[INST]Which Prominence (m) has a Peak of nakanai mountains high point, and an Elevation (m) smaller than 2,316? Context: CREATE TABLE table_name_37 (prominence__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR)[/INST]SELECT AVG(prominence__m_) FROM table_name_37 WHERE peak = "nakanai mountains high point" AND elevati...
CREATE TABLE table_name_89 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_89 WHERE result = "40-20"
Who was the opponent with a score of 40-20?
<s>[INST]Who was the opponent with a score of 40-20? Context: CREATE TABLE table_name_89 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_89 WHERE result = "40-20"</s>
CREATE TABLE Apartments (bedroom_count INTEGER)
SELECT AVG(bedroom_count) FROM Apartments
What is the average number of bedrooms of all apartments?
<s>[INST]What is the average number of bedrooms of all apartments? Context: CREATE TABLE Apartments (bedroom_count INTEGER)[/INST]SELECT AVG(bedroom_count) FROM Apartments</s>
CREATE TABLE table_26166836_2 (country VARCHAR, road_race VARCHAR)
SELECT COUNT(country) FROM table_26166836_2 WHERE road_race = "Ottawa Marathon"
What's the whole range of united states where road race is ottawa marathon
<s>[INST]What's the whole range of united states where road race is ottawa marathon Context: CREATE TABLE table_26166836_2 (country VARCHAR, road_race VARCHAR)[/INST]SELECT COUNT(country) FROM table_26166836_2 WHERE road_race = "Ottawa Marathon"</s>
CREATE TABLE table_name_58 (authority VARCHAR, gender VARCHAR, area VARCHAR)
SELECT authority FROM table_name_58 WHERE gender = "coed" AND area = "pinehaven"
What authority is the coed school in pinehaven?
<s>[INST]What authority is the coed school in pinehaven? Context: CREATE TABLE table_name_58 (authority VARCHAR, gender VARCHAR, area VARCHAR)[/INST]SELECT authority FROM table_name_58 WHERE gender = "coed" AND area = "pinehaven"</s>
CREATE TABLE table_name_31 (position INTEGER, points VARCHAR, pilot VARCHAR)
SELECT AVG(position) FROM table_name_31 WHERE points < 11 AND pilot = "petr krejcirik"
What is the average position of pilot petr krejcirik, who has less than 11 points?
<s>[INST]What is the average position of pilot petr krejcirik, who has less than 11 points? Context: CREATE TABLE table_name_31 (position INTEGER, points VARCHAR, pilot VARCHAR)[/INST]SELECT AVG(position) FROM table_name_31 WHERE points < 11 AND pilot = "petr krejcirik"</s>
CREATE TABLE table_name_35 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_name_35 WHERE film_title_used_in_nomination = "train without a timetable"
What is Original title, when Film title used in nomination is Train Without A Timetable?
<s>[INST]What is Original title, when Film title used in nomination is Train Without A Timetable? Context: CREATE TABLE table_name_35 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_title FROM table_name_35 WHERE film_title_used_in_nomination = "train without a timetable"</s>
CREATE TABLE table_name_51 (württemberg VARCHAR, baden VARCHAR, year VARCHAR)
SELECT württemberg FROM table_name_51 WHERE baden = "karlsruher fv" AND year > 1931
What's the Württemberg for Karlsruher FV happening after 1931?
<s>[INST]What's the Württemberg for Karlsruher FV happening after 1931? Context: CREATE TABLE table_name_51 (württemberg VARCHAR, baden VARCHAR, year VARCHAR)[/INST]SELECT württemberg FROM table_name_51 WHERE baden = "karlsruher fv" AND year > 1931</s>
CREATE TABLE table_28490105_1 (supporting VARCHAR, gt_winning_car VARCHAR, rnd VARCHAR)
SELECT supporting FROM table_28490105_1 WHERE gt_winning_car = "Dodge Viper" AND rnd = 1
Who was supporting in round 1 where the gt winning car was dodge viper?
<s>[INST]Who was supporting in round 1 where the gt winning car was dodge viper? Context: CREATE TABLE table_28490105_1 (supporting VARCHAR, gt_winning_car VARCHAR, rnd VARCHAR)[/INST]SELECT supporting FROM table_28490105_1 WHERE gt_winning_car = "Dodge Viper" AND rnd = 1</s>
CREATE TABLE table_name_40 (height_feet___m VARCHAR, street_address VARCHAR)
SELECT height_feet___m FROM table_name_40 WHERE street_address = "2345 grand avenue"
What is listsed as the Height feet/m and has a Street address of 2345 Grand Avenue?
<s>[INST]What is listsed as the Height feet/m and has a Street address of 2345 Grand Avenue? Context: CREATE TABLE table_name_40 (height_feet___m VARCHAR, street_address VARCHAR)[/INST]SELECT height_feet___m FROM table_name_40 WHERE street_address = "2345 grand avenue"</s>
CREATE TABLE table_234886_3 (no_in_season VARCHAR, prod_code VARCHAR)
SELECT COUNT(no_in_season) FROM table_234886_3 WHERE prod_code = "2-05"
What is the number in the season of the episode with a production code of 2-05?
<s>[INST]What is the number in the season of the episode with a production code of 2-05? Context: CREATE TABLE table_234886_3 (no_in_season VARCHAR, prod_code VARCHAR)[/INST]SELECT COUNT(no_in_season) FROM table_234886_3 WHERE prod_code = "2-05"</s>
CREATE TABLE table_name_2 (free_agent_type VARCHAR, player VARCHAR)
SELECT free_agent_type FROM table_name_2 WHERE player = "bryant johnson"
What is the Free Agent Type for player bryant johnson?
<s>[INST]What is the Free Agent Type for player bryant johnson? Context: CREATE TABLE table_name_2 (free_agent_type VARCHAR, player VARCHAR)[/INST]SELECT free_agent_type FROM table_name_2 WHERE player = "bryant johnson"</s>
CREATE TABLE table_27756014_1 (high_points VARCHAR, date VARCHAR)
SELECT COUNT(high_points) FROM table_27756014_1 WHERE date = "October 16"
How many games were played on october 16?
<s>[INST]How many games were played on october 16? Context: CREATE TABLE table_27756014_1 (high_points VARCHAR, date VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_27756014_1 WHERE date = "October 16"</s>
CREATE TABLE table_name_32 (year INTEGER, chassis VARCHAR, points VARCHAR)
SELECT SUM(year) FROM table_name_32 WHERE chassis = "minardi m190" AND points > 0
What is the total of the year with a point larger than 0 or the Chassis of Minardi m190?
<s>[INST]What is the total of the year with a point larger than 0 or the Chassis of Minardi m190? Context: CREATE TABLE table_name_32 (year INTEGER, chassis VARCHAR, points VARCHAR)[/INST]SELECT SUM(year) FROM table_name_32 WHERE chassis = "minardi m190" AND points > 0</s>
CREATE TABLE table_name_82 (try_bp VARCHAR, losing_bp VARCHAR, club VARCHAR)
SELECT try_bp FROM table_name_82 WHERE losing_bp = "4" AND club = "bargoed rfc"
What is the try BP when the losing BP is 4 and the club is Bargoed RFC?
<s>[INST]What is the try BP when the losing BP is 4 and the club is Bargoed RFC? Context: CREATE TABLE table_name_82 (try_bp VARCHAR, losing_bp VARCHAR, club VARCHAR)[/INST]SELECT try_bp FROM table_name_82 WHERE losing_bp = "4" AND club = "bargoed rfc"</s>
CREATE TABLE table_name_60 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = "osella fa1c"
What entrant has osella fa1c chassis after 1981?
<s>[INST]What entrant has osella fa1c chassis after 1981? Context: CREATE TABLE table_name_60 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = "osella fa1c"</s>
CREATE TABLE table_name_39 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_39 WHERE result = "4-0"
What is the score of the match with a 4-0 result?
<s>[INST]What is the score of the match with a 4-0 result? Context: CREATE TABLE table_name_39 (score VARCHAR, result VARCHAR)[/INST]SELECT score FROM table_name_39 WHERE result = "4-0"</s>