question
stringlengths
16
239
answer
stringlengths
18
400
context
stringlengths
30
308
text
stringlengths
108
764
The Brisbane airport is located in which country?
SELECT country FROM table_name_85 WHERE airport = "brisbane airport"
CREATE TABLE table_name_85 (country VARCHAR, airport VARCHAR)
<s>[INST] The Brisbane airport is located in which country? context: CREATE TABLE table_name_85 (country VARCHAR, airport VARCHAR) [/INST] SELECT country FROM table_name_85 WHERE airport = "brisbane airport" </s>
what is the original air date for the episoe written by vanessa reisen?
SELECT original_air_date FROM table_13336122_5 WHERE written_by = "Vanessa Reisen"
CREATE TABLE table_13336122_5 (original_air_date VARCHAR, written_by VARCHAR)
<s>[INST] what is the original air date for the episoe written by vanessa reisen? context: CREATE TABLE table_13336122_5 (original_air_date VARCHAR, written_by VARCHAR) [/INST] SELECT original_air_date FROM table_13336122_5 WHERE written_by = "Vanessa Reisen" </s>
If the Home team was st kilda, what was the score of the Away team they played?
SELECT away_team AS score FROM table_name_16 WHERE home_team = "st kilda"
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
<s>[INST] If the Home team was st kilda, what was the score of the Away team they played? context: CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) [/INST] SELECT away_team AS score FROM table_name_16 WHERE home_team = "st kilda" </s>
Where did Geelong play a home game?
SELECT venue FROM table_name_74 WHERE home_team = "geelong"
CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR)
<s>[INST] Where did Geelong play a home game? context: CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR) [/INST] SELECT venue FROM table_name_74 WHERE home_team = "geelong" </s>
What team is sponsored by chameleon sunglasses?
SELECT team FROM table_name_63 WHERE sponsor = "chameleon sunglasses"
CREATE TABLE table_name_63 (team VARCHAR, sponsor VARCHAR)
<s>[INST] What team is sponsored by chameleon sunglasses? context: CREATE TABLE table_name_63 (team VARCHAR, sponsor VARCHAR) [/INST] SELECT team FROM table_name_63 WHERE sponsor = "chameleon sunglasses" </s>
How many election results in 2012 had a Cook PVI of D+16?
SELECT COUNT(2012 AS _election_results) FROM table_19283806_4 WHERE cook_pvi = "D+16"
CREATE TABLE table_19283806_4 (cook_pvi VARCHAR)
<s>[INST] How many election results in 2012 had a Cook PVI of D+16? context: CREATE TABLE table_19283806_4 (cook_pvi VARCHAR) [/INST] SELECT COUNT(2012 AS _election_results) FROM table_19283806_4 WHERE cook_pvi = "D+16" </s>
What's the smallest amount of Laps that had a finish of 7 with a start of 6?
SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6"
CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR)
<s>[INST] What's the smallest amount of Laps that had a finish of 7 with a start of 6? context: CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR) [/INST] SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6" </s>
What's the center of the Artsakh province?
SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = "Artsakh"
CREATE TABLE table_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR)
<s>[INST] What's the center of the Artsakh province? context: CREATE TABLE table_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR) [/INST] SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = "Artsakh" </s>
What team was the game on February 27 played against?
SELECT team FROM table_22879323_8 WHERE date = "February 27"
CREATE TABLE table_22879323_8 (team VARCHAR, date VARCHAR)
<s>[INST] What team was the game on February 27 played against? context: CREATE TABLE table_22879323_8 (team VARCHAR, date VARCHAR) [/INST] SELECT team FROM table_22879323_8 WHERE date = "February 27" </s>
A list of the top 10 countries by average invoice size. List country name and average invoice size.
SELECT billing_country, AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10
CREATE TABLE invoices (billing_country VARCHAR, total INTEGER)
<s>[INST] A list of the top 10 countries by average invoice size. List country name and average invoice size. context: CREATE TABLE invoices (billing_country VARCHAR, total INTEGER) [/INST] SELECT billing_country, AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10 </s>
Which Opponent has a Week larger than 3, and a Game site of mile high stadium, and a Record of 3–3?
SELECT opponent FROM table_name_46 WHERE week > 3 AND game_site = "mile high stadium" AND record = "3–3"
CREATE TABLE table_name_46 (opponent VARCHAR, record VARCHAR, week VARCHAR, game_site VARCHAR)
<s>[INST] Which Opponent has a Week larger than 3, and a Game site of mile high stadium, and a Record of 3–3? context: CREATE TABLE table_name_46 (opponent VARCHAR, record VARCHAR, week VARCHAR, game_site VARCHAR) [/INST] SELECT opponent FROM table_name_46 WHERE week > 3 AND game_site = "mile high stadium" AND record ...
At what venue did the team from Collingwood score 7.14 (56) - 4.5 (29)?
SELECT venue FROM table_name_51 WHERE opponent = "collingwood" AND score = "7.14 (56) - 4.5 (29)"
CREATE TABLE table_name_51 (venue VARCHAR, opponent VARCHAR, score VARCHAR)
<s>[INST] At what venue did the team from Collingwood score 7.14 (56) - 4.5 (29)? context: CREATE TABLE table_name_51 (venue VARCHAR, opponent VARCHAR, score VARCHAR) [/INST] SELECT venue FROM table_name_51 WHERE opponent = "collingwood" AND score = "7.14 (56) - 4.5 (29)" </s>
Round of 1r, and an away result of 7–1 is what season?
SELECT season FROM table_name_65 WHERE round = "1r" AND away_result = "7–1"
CREATE TABLE table_name_65 (season VARCHAR, round VARCHAR, away_result VARCHAR)
<s>[INST] Round of 1r, and an away result of 7–1 is what season? context: CREATE TABLE table_name_65 (season VARCHAR, round VARCHAR, away_result VARCHAR) [/INST] SELECT season FROM table_name_65 WHERE round = "1r" AND away_result = "7–1" </s>
What is the earliest year when the composition is 99.99% silver and the issue price is $94.95?
SELECT MIN(year) FROM table_name_66 WHERE composition = "99.99% silver" AND issue_price = "$94.95"
CREATE TABLE table_name_66 (year INTEGER, composition VARCHAR, issue_price VARCHAR)
<s>[INST] What is the earliest year when the composition is 99.99% silver and the issue price is $94.95? context: CREATE TABLE table_name_66 (year INTEGER, composition VARCHAR, issue_price VARCHAR) [/INST] SELECT MIN(year) FROM table_name_66 WHERE composition = "99.99% silver" AND issue_price = "$94.95" </s>
What is the number of points when goals were 29–30?
SELECT SUM(points) FROM table_name_98 WHERE goals = "29–30"
CREATE TABLE table_name_98 (points INTEGER, goals VARCHAR)
<s>[INST] What is the number of points when goals were 29–30? context: CREATE TABLE table_name_98 (points INTEGER, goals VARCHAR) [/INST] SELECT SUM(points) FROM table_name_98 WHERE goals = "29–30" </s>
Which country had notes of sa/b and a rank of 2?
SELECT country FROM table_name_7 WHERE notes = "sa/b" AND rank = 2
CREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR)
<s>[INST] Which country had notes of sa/b and a rank of 2? context: CREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR) [/INST] SELECT country FROM table_name_7 WHERE notes = "sa/b" AND rank = 2 </s>
What team was the winner when the runner-up shows both teams awarded championship after a draw.?
SELECT winner FROM table_name_26 WHERE runner_up = "both teams awarded championship after a draw."
CREATE TABLE table_name_26 (winner VARCHAR, runner_up VARCHAR)
<s>[INST] What team was the winner when the runner-up shows both teams awarded championship after a draw.? context: CREATE TABLE table_name_26 (winner VARCHAR, runner_up VARCHAR) [/INST] SELECT winner FROM table_name_26 WHERE runner_up = "both teams awarded championship after a draw." </s>
What is 2008, when 2006 is "1R"?
SELECT 2008 FROM table_name_70 WHERE 2006 = "1r"
CREATE TABLE table_name_70 (Id VARCHAR)
<s>[INST] What is 2008, when 2006 is "1R"? context: CREATE TABLE table_name_70 (Id VARCHAR) [/INST] SELECT 2008 FROM table_name_70 WHERE 2006 = "1r" </s>
What country has a to par larger than 5 and a player John Mahaffey?
SELECT country FROM table_name_38 WHERE to_par > 5 AND player = "john mahaffey"
CREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, player VARCHAR)
<s>[INST] What country has a to par larger than 5 and a player John Mahaffey? context: CREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] SELECT country FROM table_name_38 WHERE to_par > 5 AND player = "john mahaffey" </s>
What is the Rank of the Film with a Worldwide Gross of $183,031,272?
SELECT SUM(rank) FROM table_name_19 WHERE worldwide_gross = "$183,031,272"
CREATE TABLE table_name_19 (rank INTEGER, worldwide_gross VARCHAR)
<s>[INST] What is the Rank of the Film with a Worldwide Gross of $183,031,272? context: CREATE TABLE table_name_19 (rank INTEGER, worldwide_gross VARCHAR) [/INST] SELECT SUM(rank) FROM table_name_19 WHERE worldwide_gross = "$183,031,272" </s>
Which venue does Mardan sponsor?
SELECT venue FROM table_17356873_1 WHERE shirt_sponsor = "Mardan"
CREATE TABLE table_17356873_1 (venue VARCHAR, shirt_sponsor VARCHAR)
<s>[INST] Which venue does Mardan sponsor? context: CREATE TABLE table_17356873_1 (venue VARCHAR, shirt_sponsor VARCHAR) [/INST] SELECT venue FROM table_17356873_1 WHERE shirt_sponsor = "Mardan" </s>
Which Pavilion depth has a Crown angle of 34.0–34.7°?
SELECT pavilion_depth FROM table_name_49 WHERE crown_angle = "34.0–34.7°"
CREATE TABLE table_name_49 (pavilion_depth VARCHAR, crown_angle VARCHAR)
<s>[INST] Which Pavilion depth has a Crown angle of 34.0–34.7°? context: CREATE TABLE table_name_49 (pavilion_depth VARCHAR, crown_angle VARCHAR) [/INST] SELECT pavilion_depth FROM table_name_49 WHERE crown_angle = "34.0–34.7°" </s>
What award has a year earlier than 2004 and the episode shows —?
SELECT award FROM table_name_90 WHERE year < 2004 AND episode = "—"
CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR)
<s>[INST] What award has a year earlier than 2004 and the episode shows —? context: CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR) [/INST] SELECT award FROM table_name_90 WHERE year < 2004 AND episode = "—" </s>
What was the lowest attendance at the game against chicago when conklin made the decision?
SELECT MIN(attendance) FROM table_name_21 WHERE decision = "conklin" AND visitor = "chicago"
CREATE TABLE table_name_21 (attendance INTEGER, decision VARCHAR, visitor VARCHAR)
<s>[INST] What was the lowest attendance at the game against chicago when conklin made the decision? context: CREATE TABLE table_name_21 (attendance INTEGER, decision VARCHAR, visitor VARCHAR) [/INST] SELECT MIN(attendance) FROM table_name_21 WHERE decision = "conklin" AND visitor = "chicago" </s>
Name the rectifier for Det/Pre-amp of x and # tubes of 4
SELECT rectifier FROM table_name_69 WHERE det_pre_amp = "x" AND _number_tubes = "4"
CREATE TABLE table_name_69 (rectifier VARCHAR, det_pre_amp VARCHAR, _number_tubes VARCHAR)
<s>[INST] Name the rectifier for Det/Pre-amp of x and # tubes of 4 context: CREATE TABLE table_name_69 (rectifier VARCHAR, det_pre_amp VARCHAR, _number_tubes VARCHAR) [/INST] SELECT rectifier FROM table_name_69 WHERE det_pre_amp = "x" AND _number_tubes = "4" </s>
Tell me the time for buffalo bills
SELECT time FROM table_name_9 WHERE opponent = "buffalo bills"
CREATE TABLE table_name_9 (time VARCHAR, opponent VARCHAR)
<s>[INST] Tell me the time for buffalo bills context: CREATE TABLE table_name_9 (time VARCHAR, opponent VARCHAR) [/INST] SELECT time FROM table_name_9 WHERE opponent = "buffalo bills" </s>
When santiago del estero is the hometown who is the contestant?
SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero"
CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR)
<s>[INST] When santiago del estero is the hometown who is the contestant? context: CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR) [/INST] SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero" </s>
What is the lowest Top-25 with Wins less than 0?
SELECT MIN(top_25) FROM table_name_2 WHERE wins < 0
CREATE TABLE table_name_2 (top_25 INTEGER, wins INTEGER)
<s>[INST] What is the lowest Top-25 with Wins less than 0? context: CREATE TABLE table_name_2 (top_25 INTEGER, wins INTEGER) [/INST] SELECT MIN(top_25) FROM table_name_2 WHERE wins < 0 </s>
How many countries had a per capita withdrawal (m 3 /p/yr) of 372?
SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372
CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR)
<s>[INST] How many countries had a per capita withdrawal (m 3 /p/yr) of 372? context: CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR) [/INST] SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372 </s>
On what date was the score 2–4?
SELECT date FROM table_name_89 WHERE score = "2–4"
CREATE TABLE table_name_89 (date VARCHAR, score VARCHAR)
<s>[INST] On what date was the score 2–4? context: CREATE TABLE table_name_89 (date VARCHAR, score VARCHAR) [/INST] SELECT date FROM table_name_89 WHERE score = "2–4" </s>
Name the opponent that has attendance of 76,965
SELECT opponent FROM table_name_86 WHERE attendance = "76,965"
CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
<s>[INST] Name the opponent that has attendance of 76,965 context: CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR) [/INST] SELECT opponent FROM table_name_86 WHERE attendance = "76,965" </s>
who is the driver when the engine is mercedes fo110m?
SELECT driver FROM table_name_1 WHERE engine_† = "mercedes fo110m"
CREATE TABLE table_name_1 (driver VARCHAR, engine_† VARCHAR)
<s>[INST] who is the driver when the engine is mercedes fo110m? context: CREATE TABLE table_name_1 (driver VARCHAR, engine_† VARCHAR) [/INST] SELECT driver FROM table_name_1 WHERE engine_† = "mercedes fo110m" </s>
What is Affiliation, when Nickname is Bulldogs?
SELECT affiliation FROM table_name_4 WHERE nickname = "bulldogs"
CREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR)
<s>[INST] What is Affiliation, when Nickname is Bulldogs? context: CREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR) [/INST] SELECT affiliation FROM table_name_4 WHERE nickname = "bulldogs" </s>
What was the release date of Sonic Adventure 2?
SELECT release FROM table_1322904_1 WHERE title = "Sonic Adventure 2"
CREATE TABLE table_1322904_1 (release VARCHAR, title VARCHAR)
<s>[INST] What was the release date of Sonic Adventure 2? context: CREATE TABLE table_1322904_1 (release VARCHAR, title VARCHAR) [/INST] SELECT release FROM table_1322904_1 WHERE title = "Sonic Adventure 2" </s>
What is the grid number with less than 52 laps and a Time/Retired of collision, and a Constructor of arrows - supertec?
SELECT COUNT(grid) FROM table_name_42 WHERE laps < 52 AND time_retired = "collision" AND constructor = "arrows - supertec"
CREATE TABLE table_name_42 (grid VARCHAR, constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)
<s>[INST] What is the grid number with less than 52 laps and a Time/Retired of collision, and a Constructor of arrows - supertec? context: CREATE TABLE table_name_42 (grid VARCHAR, constructor VARCHAR, laps VARCHAR, time_retired VARCHAR) [/INST] SELECT COUNT(grid) FROM table_name_42 WHERE laps < 52 AND time_retired = ...
How many Top 10s have Wins larger than 0, and Poles larger than 0?
SELECT COUNT(top_10) FROM table_name_35 WHERE wins > 0 AND poles > 0
CREATE TABLE table_name_35 (top_10 VARCHAR, wins VARCHAR, poles VARCHAR)
<s>[INST] How many Top 10s have Wins larger than 0, and Poles larger than 0? context: CREATE TABLE table_name_35 (top_10 VARCHAR, wins VARCHAR, poles VARCHAR) [/INST] SELECT COUNT(top_10) FROM table_name_35 WHERE wins > 0 AND poles > 0 </s>
when was al landis first elected
SELECT first_elected FROM table_29486189_4 WHERE representative = "Al Landis"
CREATE TABLE table_29486189_4 (first_elected VARCHAR, representative VARCHAR)
<s>[INST] when was al landis first elected context: CREATE TABLE table_29486189_4 (first_elected VARCHAR, representative VARCHAR) [/INST] SELECT first_elected FROM table_29486189_4 WHERE representative = "Al Landis" </s>
The tournament in Belgrade had what as a score?
SELECT score FROM table_name_7 WHERE tournament = "belgrade"
CREATE TABLE table_name_7 (score VARCHAR, tournament VARCHAR)
<s>[INST] The tournament in Belgrade had what as a score? context: CREATE TABLE table_name_7 (score VARCHAR, tournament VARCHAR) [/INST] SELECT score FROM table_name_7 WHERE tournament = "belgrade" </s>
How much gold received by nation of uzbekistan (uzb)?
SELECT MAX(gold) FROM table_name_93 WHERE nation = "uzbekistan (uzb)"
CREATE TABLE table_name_93 (gold INTEGER, nation VARCHAR)
<s>[INST] How much gold received by nation of uzbekistan (uzb)? context: CREATE TABLE table_name_93 (gold INTEGER, nation VARCHAR) [/INST] SELECT MAX(gold) FROM table_name_93 WHERE nation = "uzbekistan (uzb)" </s>
The pooulation of јарковац is?
SELECT population__2011_ FROM table_2562572_39 WHERE cyrillic_name_other_names = "Јарковац"
CREATE TABLE table_2562572_39 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)
<s>[INST] The pooulation of јарковац is? context: CREATE TABLE table_2562572_39 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) [/INST] SELECT population__2011_ FROM table_2562572_39 WHERE cyrillic_name_other_names = "Јарковац" </s>
What is SS Player Rich McKinney's Team?
SELECT team FROM table_name_19 WHERE position = "ss" AND player = "rich mckinney"
CREATE TABLE table_name_19 (team VARCHAR, position VARCHAR, player VARCHAR)
<s>[INST] What is SS Player Rich McKinney's Team? context: CREATE TABLE table_name_19 (team VARCHAR, position VARCHAR, player VARCHAR) [/INST] SELECT team FROM table_name_19 WHERE position = "ss" AND player = "rich mckinney" </s>
What is the average year in which Kim was nominated for Thirst as Best Actress at the Baeksang Arts Awards?
SELECT AVG(year) FROM table_name_92 WHERE result = "nominated" AND film_series = "thirst" AND award = "best actress" AND group = "baeksang arts awards"
CREATE TABLE table_name_92 (year INTEGER, group VARCHAR, award VARCHAR, result VARCHAR, film_series VARCHAR)
<s>[INST] What is the average year in which Kim was nominated for Thirst as Best Actress at the Baeksang Arts Awards? context: CREATE TABLE table_name_92 (year INTEGER, group VARCHAR, award VARCHAR, result VARCHAR, film_series VARCHAR) [/INST] SELECT AVG(year) FROM table_name_92 WHERE result = "nominated" AND film_ser...
Which competition occurred after 1980 with a score of 0:5 in Jerusalem?
SELECT competition FROM table_name_51 WHERE year > 1980 AND score = "0:5" AND location = "jerusalem"
CREATE TABLE table_name_51 (competition VARCHAR, location VARCHAR, year VARCHAR, score VARCHAR)
<s>[INST] Which competition occurred after 1980 with a score of 0:5 in Jerusalem? context: CREATE TABLE table_name_51 (competition VARCHAR, location VARCHAR, year VARCHAR, score VARCHAR) [/INST] SELECT competition FROM table_name_51 WHERE year > 1980 AND score = "0:5" AND location = "jerusalem" </s>
Date of october 10, 1965 had what lowest attendance?
SELECT MIN(attendance) FROM table_name_59 WHERE date = "october 10, 1965"
CREATE TABLE table_name_59 (attendance INTEGER, date VARCHAR)
<s>[INST] Date of october 10, 1965 had what lowest attendance? context: CREATE TABLE table_name_59 (attendance INTEGER, date VARCHAR) [/INST] SELECT MIN(attendance) FROM table_name_59 WHERE date = "october 10, 1965" </s>
what is the iata when the city is tripoli?
SELECT iata FROM table_name_71 WHERE city = "tripoli"
CREATE TABLE table_name_71 (iata VARCHAR, city VARCHAR)
<s>[INST] what is the iata when the city is tripoli? context: CREATE TABLE table_name_71 (iata VARCHAR, city VARCHAR) [/INST] SELECT iata FROM table_name_71 WHERE city = "tripoli" </s>
Name the m r romaja for kwanbuk
SELECT m_r_romaja FROM table_160510_5 WHERE region = "Kwanbuk"
CREATE TABLE table_160510_5 (m_r_romaja VARCHAR, region VARCHAR)
<s>[INST] Name the m r romaja for kwanbuk context: CREATE TABLE table_160510_5 (m_r_romaja VARCHAR, region VARCHAR) [/INST] SELECT m_r_romaja FROM table_160510_5 WHERE region = "Kwanbuk" </s>
How many Grid has a Rider of ryuichi kiyonari?
SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari"
CREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR)
<s>[INST] How many Grid has a Rider of ryuichi kiyonari? context: CREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR) [/INST] SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari" </s>
How many ties do teams with 25 Goals For and more than 5 wins have?
SELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 5
CREATE TABLE table_name_40 (ties INTEGER, goals_for VARCHAR, wins VARCHAR)
<s>[INST] How many ties do teams with 25 Goals For and more than 5 wins have? context: CREATE TABLE table_name_40 (ties INTEGER, goals_for VARCHAR, wins VARCHAR) [/INST] SELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 5 </s>
What Constructor has 56 Laps?
SELECT constructor FROM table_name_13 WHERE laps = 56
CREATE TABLE table_name_13 (constructor VARCHAR, laps VARCHAR)
<s>[INST] What Constructor has 56 Laps? context: CREATE TABLE table_name_13 (constructor VARCHAR, laps VARCHAR) [/INST] SELECT constructor FROM table_name_13 WHERE laps = 56 </s>
What's the series number of the episode with season number 2?
SELECT MIN(series_no) FROM table_19236587_4 WHERE season_no = 2
CREATE TABLE table_19236587_4 (series_no INTEGER, season_no VARCHAR)
<s>[INST] What's the series number of the episode with season number 2? context: CREATE TABLE table_19236587_4 (series_no INTEGER, season_no VARCHAR) [/INST] SELECT MIN(series_no) FROM table_19236587_4 WHERE season_no = 2 </s>
What was the decision when Chicago was the visiting team?
SELECT decision FROM table_name_85 WHERE visitor = "chicago"
CREATE TABLE table_name_85 (decision VARCHAR, visitor VARCHAR)
<s>[INST] What was the decision when Chicago was the visiting team? context: CREATE TABLE table_name_85 (decision VARCHAR, visitor VARCHAR) [/INST] SELECT decision FROM table_name_85 WHERE visitor = "chicago" </s>
What competition did he compete in before 2007 in gothenburg, sweden?
SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = "gothenburg, sweden"
CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR)
<s>[INST] What competition did he compete in before 2007 in gothenburg, sweden? context: CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR) [/INST] SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = "gothenburg, sweden" </s>
What is the capacity for the stadium of kadrioru stadium and a current manager of sergei ratnikov?
SELECT AVG(capacity) FROM table_name_14 WHERE stadium = "kadrioru stadium" AND current_manager = "sergei ratnikov"
CREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR)
<s>[INST] What is the capacity for the stadium of kadrioru stadium and a current manager of sergei ratnikov? context: CREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR) [/INST] SELECT AVG(capacity) FROM table_name_14 WHERE stadium = "kadrioru stadium" AND current_manager = "sergei ...
Which Constructor has a Grid larger than 8, and a Time/Retired of +1:17.124?
SELECT constructor FROM table_name_46 WHERE grid > 8 AND time_retired = "+1:17.124"
CREATE TABLE table_name_46 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
<s>[INST] Which Constructor has a Grid larger than 8, and a Time/Retired of +1:17.124? context: CREATE TABLE table_name_46 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) [/INST] SELECT constructor FROM table_name_46 WHERE grid > 8 AND time_retired = "+1:17.124" </s>
What island has a population over 76, a height over 210, and an area larger than 12068?
SELECT island FROM table_name_3 WHERE population > 76 AND height__m_ > 210 AND area___ha__ > 12068
CREATE TABLE table_name_3 (island VARCHAR, area___ha__ VARCHAR, population VARCHAR, height__m_ VARCHAR)
<s>[INST] What island has a population over 76, a height over 210, and an area larger than 12068? context: CREATE TABLE table_name_3 (island VARCHAR, area___ha__ VARCHAR, population VARCHAR, height__m_ VARCHAR) [/INST] SELECT island FROM table_name_3 WHERE population > 76 AND height__m_ > 210 AND area___ha__ > 12068 <...
I want to know the method for opponent of jerry bohlander
SELECT method FROM table_name_71 WHERE opponent = "jerry bohlander"
CREATE TABLE table_name_71 (method VARCHAR, opponent VARCHAR)
<s>[INST] I want to know the method for opponent of jerry bohlander context: CREATE TABLE table_name_71 (method VARCHAR, opponent VARCHAR) [/INST] SELECT method FROM table_name_71 WHERE opponent = "jerry bohlander" </s>
Name the score at mcg venue and footscray opponent
SELECT score FROM table_name_13 WHERE venue = "mcg" AND opponent = "footscray"
CREATE TABLE table_name_13 (score VARCHAR, venue VARCHAR, opponent VARCHAR)
<s>[INST] Name the score at mcg venue and footscray opponent context: CREATE TABLE table_name_13 (score VARCHAR, venue VARCHAR, opponent VARCHAR) [/INST] SELECT score FROM table_name_13 WHERE venue = "mcg" AND opponent = "footscray" </s>
Which grade is studying in classroom 103?
SELECT DISTINCT grade FROM list WHERE classroom = 103
CREATE TABLE list (grade VARCHAR, classroom VARCHAR)
<s>[INST] Which grade is studying in classroom 103? context: CREATE TABLE list (grade VARCHAR, classroom VARCHAR) [/INST] SELECT DISTINCT grade FROM list WHERE classroom = 103 </s>
What is the RECNet with a Class of B and the City of License of Rouyn-Noranda?
SELECT recnet FROM table_name_51 WHERE class = "b" AND city_of_license = "rouyn-noranda"
CREATE TABLE table_name_51 (recnet VARCHAR, class VARCHAR, city_of_license VARCHAR)
<s>[INST] What is the RECNet with a Class of B and the City of License of Rouyn-Noranda? context: CREATE TABLE table_name_51 (recnet VARCHAR, class VARCHAR, city_of_license VARCHAR) [/INST] SELECT recnet FROM table_name_51 WHERE class = "b" AND city_of_license = "rouyn-noranda" </s>
What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing?
SELECT MAX(laps) FROM table_name_13 WHERE class = "v8" AND entrant = "diet-coke racing"
CREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR)
<s>[INST] What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing? context: CREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR) [/INST] SELECT MAX(laps) FROM table_name_13 WHERE class = "v8" AND entrant = "diet-coke racing" </s>
What is the total number played with 1 drawn, and less than 7 points?
SELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7
CREATE TABLE table_name_71 (played VARCHAR, drawn VARCHAR, points VARCHAR)
<s>[INST] What is the total number played with 1 drawn, and less than 7 points? context: CREATE TABLE table_name_71 (played VARCHAR, drawn VARCHAR, points VARCHAR) [/INST] SELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7 </s>
Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1?
SELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 1
CREATE TABLE table_name_44 (winners INTEGER, rank VARCHAR, third VARCHAR)
<s>[INST] Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1? context: CREATE TABLE table_name_44 (winners INTEGER, rank VARCHAR, third VARCHAR) [/INST] SELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 1 </s>
The tko (doctor stoppage) method was used in a loss against which opponent?
SELECT opponent FROM table_name_11 WHERE method = "tko (doctor stoppage)" AND res = "loss"
CREATE TABLE table_name_11 (opponent VARCHAR, method VARCHAR, res VARCHAR)
<s>[INST] The tko (doctor stoppage) method was used in a loss against which opponent? context: CREATE TABLE table_name_11 (opponent VARCHAR, method VARCHAR, res VARCHAR) [/INST] SELECT opponent FROM table_name_11 WHERE method = "tko (doctor stoppage)" AND res = "loss" </s>
Who is the opponent in 1992?
SELECT opponent FROM table_name_17 WHERE year = "1992"
CREATE TABLE table_name_17 (opponent VARCHAR, year VARCHAR)
<s>[INST] Who is the opponent in 1992? context: CREATE TABLE table_name_17 (opponent VARCHAR, year VARCHAR) [/INST] SELECT opponent FROM table_name_17 WHERE year = "1992" </s>
Who are the Semifinalists, when the Week is May 12?
SELECT semifinalists FROM table_name_52 WHERE week = "may 12"
CREATE TABLE table_name_52 (semifinalists VARCHAR, week VARCHAR)
<s>[INST] Who are the Semifinalists, when the Week is May 12? context: CREATE TABLE table_name_52 (semifinalists VARCHAR, week VARCHAR) [/INST] SELECT semifinalists FROM table_name_52 WHERE week = "may 12" </s>
What is the country of t1 place player wayne grady?
SELECT country FROM table_name_9 WHERE place = "t1" AND player = "wayne grady"
CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, player VARCHAR)
<s>[INST] What is the country of t1 place player wayne grady? context: CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, player VARCHAR) [/INST] SELECT country FROM table_name_9 WHERE place = "t1" AND player = "wayne grady" </s>
What is the average number of silvers for nations with over 1 bronze medal?
SELECT AVG(silver) FROM table_name_62 WHERE bronze > 1
CREATE TABLE table_name_62 (silver INTEGER, bronze INTEGER)
<s>[INST] What is the average number of silvers for nations with over 1 bronze medal? context: CREATE TABLE table_name_62 (silver INTEGER, bronze INTEGER) [/INST] SELECT AVG(silver) FROM table_name_62 WHERE bronze > 1 </s>
What is the 2012 value with A in 2007 and qf in 2011?
SELECT 2012 FROM table_name_11 WHERE 2007 = "a" AND 2011 = "qf"
CREATE TABLE table_name_11 (Id VARCHAR)
<s>[INST] What is the 2012 value with A in 2007 and qf in 2011? context: CREATE TABLE table_name_11 (Id VARCHAR) [/INST] SELECT 2012 FROM table_name_11 WHERE 2007 = "a" AND 2011 = "qf" </s>
Who was the nominee having a Tony award?
SELECT nominee FROM table_name_16 WHERE award = "tony award"
CREATE TABLE table_name_16 (nominee VARCHAR, award VARCHAR)
<s>[INST] Who was the nominee having a Tony award? context: CREATE TABLE table_name_16 (nominee VARCHAR, award VARCHAR) [/INST] SELECT nominee FROM table_name_16 WHERE award = "tony award" </s>
What is the total number of points of the honda hr-1 engine?
SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1"
CREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR)
<s>[INST] What is the total number of points of the honda hr-1 engine? context: CREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR) [/INST] SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1" </s>
How many headquarters are there listed for HSBC?
SELECT COUNT(headquarters) FROM table_1682026_7 WHERE company = "HSBC"
CREATE TABLE table_1682026_7 (headquarters VARCHAR, company VARCHAR)
<s>[INST] How many headquarters are there listed for HSBC? context: CREATE TABLE table_1682026_7 (headquarters VARCHAR, company VARCHAR) [/INST] SELECT COUNT(headquarters) FROM table_1682026_7 WHERE company = "HSBC" </s>
in what round types did the opponent come from south africa?
SELECT round FROM table_25505246_8 WHERE against = "South Africa"
CREATE TABLE table_25505246_8 (round VARCHAR, against VARCHAR)
<s>[INST] in what round types did the opponent come from south africa? context: CREATE TABLE table_25505246_8 (round VARCHAR, against VARCHAR) [/INST] SELECT round FROM table_25505246_8 WHERE against = "South Africa" </s>
What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?
SELECT reward FROM table_25016824_2 WHERE immunity = "Martin" AND finish = "13th voted Out 8th Jury Member Day 46"
CREATE TABLE table_25016824_2 (reward VARCHAR, immunity VARCHAR, finish VARCHAR)
<s>[INST] What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46? context: CREATE TABLE table_25016824_2 (reward VARCHAR, immunity VARCHAR, finish VARCHAR) [/INST] SELECT reward FROM table_25016824_2 WHERE immunity = "Martin" AND finish = "13th voted Out 8th Jury Member ...
How many millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped?
SELECT blackberry_os FROM table_14260687_3 WHERE symbian = "10.4"
CREATE TABLE table_14260687_3 (blackberry_os VARCHAR, symbian VARCHAR)
<s>[INST] How many millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped? context: CREATE TABLE table_14260687_3 (blackberry_os VARCHAR, symbian VARCHAR) [/INST] SELECT blackberry_os FROM table_14260687_3 WHERE symbian = "10.4" </s>
Who won the Men's Doubles when Guo Xin won the Women's Singles?
SELECT mens_doubles FROM table_12164707_1 WHERE womens_singles = "Guo Xin"
CREATE TABLE table_12164707_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
<s>[INST] Who won the Men's Doubles when Guo Xin won the Women's Singles? context: CREATE TABLE table_12164707_1 (mens_doubles VARCHAR, womens_singles VARCHAR) [/INST] SELECT mens_doubles FROM table_12164707_1 WHERE womens_singles = "Guo Xin" </s>
Find the names of the swimmers who have both "win" and "loss" results in the record.
SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' INTERSECT SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Loss'
CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR)
<s>[INST] Find the names of the swimmers who have both "win" and "loss" results in the record. context: CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR) [/INST] SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' INTERSECT SELECT t1...
Who is the owner of Miss Terrible?
SELECT owner FROM table_name_40 WHERE winner = "miss terrible"
CREATE TABLE table_name_40 (owner VARCHAR, winner VARCHAR)
<s>[INST] Who is the owner of Miss Terrible? context: CREATE TABLE table_name_40 (owner VARCHAR, winner VARCHAR) [/INST] SELECT owner FROM table_name_40 WHERE winner = "miss terrible" </s>
What date did Footscray play at home?
SELECT date FROM table_name_92 WHERE home_team = "footscray"
CREATE TABLE table_name_92 (date VARCHAR, home_team VARCHAR)
<s>[INST] What date did Footscray play at home? context: CREATE TABLE table_name_92 (date VARCHAR, home_team VARCHAR) [/INST] SELECT date FROM table_name_92 WHERE home_team = "footscray" </s>
What was the Attendance on November 6, 1960?
SELECT attendance FROM table_name_65 WHERE date = "november 6, 1960"
CREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR)
<s>[INST] What was the Attendance on November 6, 1960? context: CREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR) [/INST] SELECT attendance FROM table_name_65 WHERE date = "november 6, 1960" </s>
What is the highest number in series with director as Phil Abraham?
SELECT MAX(no_in_series) FROM table_26736040_1 WHERE directed_by = "Phil Abraham"
CREATE TABLE table_26736040_1 (no_in_series INTEGER, directed_by VARCHAR)
<s>[INST] What is the highest number in series with director as Phil Abraham? context: CREATE TABLE table_26736040_1 (no_in_series INTEGER, directed_by VARCHAR) [/INST] SELECT MAX(no_in_series) FROM table_26736040_1 WHERE directed_by = "Phil Abraham" </s>
Which location has a Score of 3–2, and a Record of 3–2–3?
SELECT location FROM table_name_31 WHERE score = "3–2" AND record = "3–2–3"
CREATE TABLE table_name_31 (location VARCHAR, score VARCHAR, record VARCHAR)
<s>[INST] Which location has a Score of 3–2, and a Record of 3–2–3? context: CREATE TABLE table_name_31 (location VARCHAR, score VARCHAR, record VARCHAR) [/INST] SELECT location FROM table_name_31 WHERE score = "3–2" AND record = "3–2–3" </s>
How many people voted for others in the county where McCain got 65.5% of the votes?
SELECT others FROM table_20453681_1 WHERE mccain_percentage = "65.5%"
CREATE TABLE table_20453681_1 (others VARCHAR, mccain_percentage VARCHAR)
<s>[INST] How many people voted for others in the county where McCain got 65.5% of the votes? context: CREATE TABLE table_20453681_1 (others VARCHAR, mccain_percentage VARCHAR) [/INST] SELECT others FROM table_20453681_1 WHERE mccain_percentage = "65.5%" </s>
For a Lost of 10 and a Try Bonus of 4, what are the points against them?
SELECT points_against FROM table_name_54 WHERE try_bonus = "4" AND lost = "10"
CREATE TABLE table_name_54 (points_against VARCHAR, try_bonus VARCHAR, lost VARCHAR)
<s>[INST] For a Lost of 10 and a Try Bonus of 4, what are the points against them? context: CREATE TABLE table_name_54 (points_against VARCHAR, try_bonus VARCHAR, lost VARCHAR) [/INST] SELECT points_against FROM table_name_54 WHERE try_bonus = "4" AND lost = "10" </s>
What is the Opponent when the location was groves stadium • winston-salem, nc, with a result of t 17-17?
SELECT opponent FROM table_name_20 WHERE location = "groves stadium • winston-salem, nc" AND result = "t 17-17"
CREATE TABLE table_name_20 (opponent VARCHAR, location VARCHAR, result VARCHAR)
<s>[INST] What is the Opponent when the location was groves stadium • winston-salem, nc, with a result of t 17-17? context: CREATE TABLE table_name_20 (opponent VARCHAR, location VARCHAR, result VARCHAR) [/INST] SELECT opponent FROM table_name_20 WHERE location = "groves stadium • winston-salem, nc" AND result = "t 17...
Who drove for team Circle Sport?
SELECT driver_s_ FROM table_1266602_2 WHERE team = "Circle Sport"
CREATE TABLE table_1266602_2 (driver_s_ VARCHAR, team VARCHAR)
<s>[INST] Who drove for team Circle Sport? context: CREATE TABLE table_1266602_2 (driver_s_ VARCHAR, team VARCHAR) [/INST] SELECT driver_s_ FROM table_1266602_2 WHERE team = "Circle Sport" </s>
What countries are visited in the episode presented by Brian B. Thompson?
SELECT countries_visited FROM table_15211468_1 WHERE presenter = "Brian B. Thompson"
CREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR)
<s>[INST] What countries are visited in the episode presented by Brian B. Thompson? context: CREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR) [/INST] SELECT countries_visited FROM table_15211468_1 WHERE presenter = "Brian B. Thompson" </s>
What is the capital (endonym) where Douglas is the Capital (exonym)?
SELECT capital___endonym__ FROM table_1008653_9 WHERE capital___exonym__ = "Douglas"
CREATE TABLE table_1008653_9 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR)
<s>[INST] What is the capital (endonym) where Douglas is the Capital (exonym)? context: CREATE TABLE table_1008653_9 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR) [/INST] SELECT capital___endonym__ FROM table_1008653_9 WHERE capital___exonym__ = "Douglas" </s>
Who did the Tampa Bay Buccaneers play on december 23, 1995?
SELECT opponent FROM table_name_60 WHERE date = "december 23, 1995"
CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR)
<s>[INST] Who did the Tampa Bay Buccaneers play on december 23, 1995? context: CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR) [/INST] SELECT opponent FROM table_name_60 WHERE date = "december 23, 1995" </s>
What country placed t8 and scored 71-71-71=213?
SELECT country FROM table_name_18 WHERE place = "t8" AND score = 71 - 71 - 71 = 213
CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR)
<s>[INST] What country placed t8 and scored 71-71-71=213? context: CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR) [/INST] SELECT country FROM table_name_18 WHERE place = "t8" AND score = 71 - 71 - 71 = 213 </s>
15 albums were released in the UK during which year?
SELECT year FROM table_name_25 WHERE uk_albums = "15"
CREATE TABLE table_name_25 (year VARCHAR, uk_albums VARCHAR)
<s>[INST] 15 albums were released in the UK during which year? context: CREATE TABLE table_name_25 (year VARCHAR, uk_albums VARCHAR) [/INST] SELECT year FROM table_name_25 WHERE uk_albums = "15" </s>
What is the name of the writer for the episode with an Original air date of october 9, 2000?
SELECT written_by FROM table_name_71 WHERE original_air_date = "october 9, 2000"
CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR)
<s>[INST] What is the name of the writer for the episode with an Original air date of october 9, 2000? context: CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR) [/INST] SELECT written_by FROM table_name_71 WHERE original_air_date = "october 9, 2000" </s>
What is the power of the unit built after 1995?
SELECT SUM(power__horsepower_) FROM table_name_71 WHERE year_built > 1995
CREATE TABLE table_name_71 (power__horsepower_ INTEGER, year_built INTEGER)
<s>[INST] What is the power of the unit built after 1995? context: CREATE TABLE table_name_71 (power__horsepower_ INTEGER, year_built INTEGER) [/INST] SELECT SUM(power__horsepower_) FROM table_name_71 WHERE year_built > 1995 </s>
are there bi-tone is there's no olive drab and the caliber is 9×19mm parabellum and model is xdm 5.25 competition
SELECT bi_tone FROM table_2869843_1 WHERE olive_drab = "No" AND caliber = "9×19mm Parabellum" AND model = "XDM 5.25 Competition"
CREATE TABLE table_2869843_1 (bi_tone VARCHAR, model VARCHAR, olive_drab VARCHAR, caliber VARCHAR)
<s>[INST] are there bi-tone is there's no olive drab and the caliber is 9×19mm parabellum and model is xdm 5.25 competition context: CREATE TABLE table_2869843_1 (bi_tone VARCHAR, model VARCHAR, olive_drab VARCHAR, caliber VARCHAR) [/INST] SELECT bi_tone FROM table_2869843_1 WHERE olive_drab = "No" AND caliber = "9×19...
What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points?
SELECT COUNT(wins) FROM table_name_51 WHERE goals_against < 49 AND draws = 9 AND goals_for = 39 AND points < 31
CREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR)
<s>[INST] What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points? context: CREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR) [/INST] SELECT COUNT(wins) FROM table_name_51 WHERE...
Find the state of the college which player Charles is attending.
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName JOIN player AS T3 ON T2.pID = T3.pID WHERE T3.pName = 'Charles'
CREATE TABLE tryout (cName VARCHAR, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
<s>[INST] Find the state of the college which player Charles is attending. context: CREATE TABLE tryout (cName VARCHAR, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR) [/INST] SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName...
What 20-29 was in season 2008?
SELECT 20 AS _29 FROM table_name_69 WHERE season = "2008"
CREATE TABLE table_name_69 (season VARCHAR)
<s>[INST] What 20-29 was in season 2008? context: CREATE TABLE table_name_69 (season VARCHAR) [/INST] SELECT 20 AS _29 FROM table_name_69 WHERE season = "2008" </s>
Who is the Winner for the City of Loutraki?
SELECT winner FROM table_name_65 WHERE city = "loutraki"
CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR)
<s>[INST] Who is the Winner for the City of Loutraki? context: CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR) [/INST] SELECT winner FROM table_name_65 WHERE city = "loutraki" </s>
WHAT POSITION HAS A PICK SMALLER THAN 33, AND PLAYER BEING DARRELL ARTHUR?
SELECT position FROM table_name_67 WHERE pick < 33 AND player = "darrell arthur"
CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR, player VARCHAR)
<s>[INST] WHAT POSITION HAS A PICK SMALLER THAN 33, AND PLAYER BEING DARRELL ARTHUR? context: CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR, player VARCHAR) [/INST] SELECT position FROM table_name_67 WHERE pick < 33 AND player = "darrell arthur" </s>
When 7.08 is the amount of viewers what is the air date?
SELECT air_date FROM table_24781886_3 WHERE viewers = "7.08"
CREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR)
<s>[INST] When 7.08 is the amount of viewers what is the air date? context: CREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR) [/INST] SELECT air_date FROM table_24781886_3 WHERE viewers = "7.08" </s>
Which average rank has an Earning amount that is less than $224,589?
SELECT AVG(rank) FROM table_name_82 WHERE earnings__$__ < 224 OFFSET 589
CREATE TABLE table_name_82 (rank INTEGER, earnings__$__ INTEGER)
<s>[INST] Which average rank has an Earning amount that is less than $224,589? context: CREATE TABLE table_name_82 (rank INTEGER, earnings__$__ INTEGER) [/INST] SELECT AVG(rank) FROM table_name_82 WHERE earnings__$__ < 224 OFFSET 589 </s>