context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_27 (film VARCHAR, year VARCHAR)
SELECT film FROM table_name_27 WHERE year = "1999"
What film was made in 1999?
<s>[INST]What film was made in 1999? Context: CREATE TABLE table_name_27 (film VARCHAR, year VARCHAR)[/INST]SELECT film FROM table_name_27 WHERE year = "1999"</s>
CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_4th_iv VARCHAR)
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_4th_iv = "GT"
what are all the open 1st viii with u15 4th iv being gt
<s>[INST]what are all the open 1st viii with u15 4th iv being gt Context: CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_4th_iv VARCHAR)[/INST]SELECT open_1st_viii FROM table_11318462_5 WHERE u15_4th_iv = "GT"</s>
CREATE TABLE table_name_71 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_71 WHERE home_team = "collingwood"
If collingwood was the Home team, what Date did they play?
<s>[INST]If collingwood was the Home team, what Date did they play? Context: CREATE TABLE table_name_71 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_71 WHERE home_team = "collingwood"</s>
CREATE TABLE table_name_45 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_45 WHERE team_1 = "portol palma mallorca"
What is 1st Leg, when Team 1 is "Portol Palma Mallorca"?
<s>[INST]What is 1st Leg, when Team 1 is "Portol Palma Mallorca"? Context: CREATE TABLE table_name_45 (team_1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_45 WHERE team_1 = "portol palma mallorca"</s>
CREATE TABLE Payments (booking_id VARCHAR); CREATE TABLE Bookings (booking_id VARCHAR, amount_of_refund VARCHAR)
SELECT T1.booking_id, T1.amount_of_refund FROM Bookings AS T1 JOIN Payments AS T2 ON T1.booking_id = T2.booking_id GROUP BY T1.booking_id ORDER BY COUNT(*) DESC LIMIT 1
What are the id and the amount of refund of the booking that incurred the most times of payments?
<s>[INST]What are the id and the amount of refund of the booking that incurred the most times of payments? Context: CREATE TABLE Payments (booking_id VARCHAR); CREATE TABLE Bookings (booking_id VARCHAR, amount_of_refund VARCHAR)[/INST]SELECT T1.booking_id, T1.amount_of_refund FROM Bookings AS T1 JOIN Payments AS T2 ON T1.booking_id = T2.booking_id GROUP BY T1.booking_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_73 (silver INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_73 WHERE bronze > 1 AND gold < 2 AND total < 2
What is the lowest silver that has a bronze greater than 1, a gold less than 2, and a total less than 2?
<s>[INST]What is the lowest silver that has a bronze greater than 1, a gold less than 2, and a total less than 2? Context: CREATE TABLE table_name_73 (silver INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_73 WHERE bronze > 1 AND gold < 2 AND total < 2</s>
CREATE TABLE table_name_13 (finish VARCHAR, qual VARCHAR)
SELECT finish FROM table_name_13 WHERE qual = "99.550"
Which finish has a 99.550 Qual?
<s>[INST]Which finish has a 99.550 Qual? Context: CREATE TABLE table_name_13 (finish VARCHAR, qual VARCHAR)[/INST]SELECT finish FROM table_name_13 WHERE qual = "99.550"</s>
CREATE TABLE table_name_26 (matches INTEGER, high_score VARCHAR, innings VARCHAR)
SELECT SUM(matches) FROM table_name_26 WHERE high_score = "299" AND innings < 412
What is the match total for a score over 299 and under 412 innings?
<s>[INST]What is the match total for a score over 299 and under 412 innings? Context: CREATE TABLE table_name_26 (matches INTEGER, high_score VARCHAR, innings VARCHAR)[/INST]SELECT SUM(matches) FROM table_name_26 WHERE high_score = "299" AND innings < 412</s>
CREATE TABLE table_name_44 (laps VARCHAR, grid VARCHAR, time VARCHAR)
SELECT laps FROM table_name_44 WHERE grid > 22 AND time = "+1:29.001"
What is the number of laps of the grid larger than 22 with a +1:29.001 time?
<s>[INST]What is the number of laps of the grid larger than 22 with a +1:29.001 time? Context: CREATE TABLE table_name_44 (laps VARCHAR, grid VARCHAR, time VARCHAR)[/INST]SELECT laps FROM table_name_44 WHERE grid > 22 AND time = "+1:29.001"</s>
CREATE TABLE Movie (title VARCHAR, director VARCHAR, YEAR VARCHAR)
SELECT title FROM Movie WHERE director = 'James Cameron' AND YEAR > 2000
What is the name of the movie produced after 2000 and directed by James Cameron?
<s>[INST]What is the name of the movie produced after 2000 and directed by James Cameron? Context: CREATE TABLE Movie (title VARCHAR, director VARCHAR, YEAR VARCHAR)[/INST]SELECT title FROM Movie WHERE director = 'James Cameron' AND YEAR > 2000</s>
CREATE TABLE table_name_71 (surface VARCHAR, week VARCHAR)
SELECT surface FROM table_name_71 WHERE week = "march 16"
What was the surface that was played on during the week of March 16?
<s>[INST]What was the surface that was played on during the week of March 16? Context: CREATE TABLE table_name_71 (surface VARCHAR, week VARCHAR)[/INST]SELECT surface FROM table_name_71 WHERE week = "march 16"</s>
CREATE TABLE table_1341586_19 (candidates VARCHAR, result VARCHAR)
SELECT COUNT(candidates) FROM table_1341586_19 WHERE result = "Retired to run for U. S. Senate Republican hold"
how many candidates with result being retired to run for u. s. senate republican hold
<s>[INST] how many candidates with result being retired to run for u. s. senate republican hold Context: CREATE TABLE table_1341586_19 (candidates VARCHAR, result VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1341586_19 WHERE result = "Retired to run for U. S. Senate Republican hold"</s>
CREATE TABLE table_22043925_1 (founded VARCHAR, enrolment VARCHAR)
SELECT COUNT(founded) FROM table_22043925_1 WHERE enrolment = 850
How many values for founded when enrollment is 850?
<s>[INST]How many values for founded when enrollment is 850? Context: CREATE TABLE table_22043925_1 (founded VARCHAR, enrolment VARCHAR)[/INST]SELECT COUNT(founded) FROM table_22043925_1 WHERE enrolment = 850</s>
CREATE TABLE table_name_35 (points INTEGER, races INTEGER)
SELECT MIN(points) FROM table_name_35 WHERE races > 16
What is the lowest number of points for Drivers that have raced in more than 16 Races?
<s>[INST]What is the lowest number of points for Drivers that have raced in more than 16 Races? Context: CREATE TABLE table_name_35 (points INTEGER, races INTEGER)[/INST]SELECT MIN(points) FROM table_name_35 WHERE races > 16</s>
CREATE TABLE flight (velocity INTEGER)
SELECT COUNT(*) FROM flight WHERE velocity > 200
How many flights have a velocity larger than 200?
<s>[INST]How many flights have a velocity larger than 200? Context: CREATE TABLE flight (velocity INTEGER)[/INST]SELECT COUNT(*) FROM flight WHERE velocity > 200</s>
CREATE TABLE table_name_46 (listed VARCHAR, built VARCHAR)
SELECT listed FROM table_name_46 WHERE built = "ca.1876"
What is the date Listed of the Bridge Built CA.1876?
<s>[INST]What is the date Listed of the Bridge Built CA.1876? Context: CREATE TABLE table_name_46 (listed VARCHAR, built VARCHAR)[/INST]SELECT listed FROM table_name_46 WHERE built = "ca.1876"</s>
CREATE TABLE table_name_27 (result VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT result FROM table_name_27 WHERE opponent = "clyde" AND venue = "h"
What is the result of the match with clyde as the opponent in the h venue?
<s>[INST]What is the result of the match with clyde as the opponent in the h venue? Context: CREATE TABLE table_name_27 (result VARCHAR, opponent VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_27 WHERE opponent = "clyde" AND venue = "h"</s>
CREATE TABLE table_name_2 (total_region INTEGER, year VARCHAR, nebo VARCHAR)
SELECT SUM(total_region) FROM table_name_2 WHERE year = 1954 AND nebo > 447
What is the sum of Total Regions that have the Year 1954, and a Nebo greater than 447?
<s>[INST]What is the sum of Total Regions that have the Year 1954, and a Nebo greater than 447? Context: CREATE TABLE table_name_2 (total_region INTEGER, year VARCHAR, nebo VARCHAR)[/INST]SELECT SUM(total_region) FROM table_name_2 WHERE year = 1954 AND nebo > 447</s>
CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "14.59"
What is the title that has 14.59 u.s. viewers (millions)?
<s>[INST]What is the title that has 14.59 u.s. viewers (millions)? Context: CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "14.59"</s>
CREATE TABLE table_name_84 (surface VARCHAR, track VARCHAR)
SELECT surface FROM table_name_84 WHERE track = "riverhead raceway"
What is the surface for the riverhead raceway?
<s>[INST]What is the surface for the riverhead raceway? Context: CREATE TABLE table_name_84 (surface VARCHAR, track VARCHAR)[/INST]SELECT surface FROM table_name_84 WHERE track = "riverhead raceway"</s>
CREATE TABLE table_name_46 (year INTEGER, entrant VARCHAR)
SELECT MIN(year) FROM table_name_46 WHERE entrant = "ligier gitanes"
What was the earliest year for the Ligier Gitanes?
<s>[INST]What was the earliest year for the Ligier Gitanes? Context: CREATE TABLE table_name_46 (year INTEGER, entrant VARCHAR)[/INST]SELECT MIN(year) FROM table_name_46 WHERE entrant = "ligier gitanes"</s>
CREATE TABLE table_23528223_2 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT no_in_series FROM table_23528223_2 WHERE directed_by = "Skipp Sudduth"
What's the series number of the episode directed by Skipp Sudduth?
<s>[INST]What's the series number of the episode directed by Skipp Sudduth? Context: CREATE TABLE table_23528223_2 (no_in_series VARCHAR, directed_by VARCHAR)[/INST]SELECT no_in_series FROM table_23528223_2 WHERE directed_by = "Skipp Sudduth"</s>
CREATE TABLE table_name_14 (gold VARCHAR, silver VARCHAR)
SELECT gold FROM table_name_14 WHERE silver = "1"
In the Year Yugoslavia won 1 Silver, how many Gold medals did they win?
<s>[INST]In the Year Yugoslavia won 1 Silver, how many Gold medals did they win? Context: CREATE TABLE table_name_14 (gold VARCHAR, silver VARCHAR)[/INST]SELECT gold FROM table_name_14 WHERE silver = "1"</s>
CREATE TABLE table_name_97 (player VARCHAR, money___£__ VARCHAR)
SELECT player FROM table_name_97 WHERE money___£__ = "140,000"
Who is the player with £140,000?
<s>[INST]Who is the player with £140,000? Context: CREATE TABLE table_name_97 (player VARCHAR, money___£__ VARCHAR)[/INST]SELECT player FROM table_name_97 WHERE money___£__ = "140,000"</s>
CREATE TABLE table_name_47 (enrollment VARCHAR, _number___county VARCHAR)
SELECT COUNT(enrollment) FROM table_name_47 WHERE _number___county = "48 madison"
Name the number of enrollment for county of 48 madison
<s>[INST]Name the number of enrollment for county of 48 madison Context: CREATE TABLE table_name_47 (enrollment VARCHAR, _number___county VARCHAR)[/INST]SELECT COUNT(enrollment) FROM table_name_47 WHERE _number___county = "48 madison"</s>
CREATE TABLE table_name_63 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_63 WHERE venue = "windy hill"
What was the Home Team Score for the Windy Hill Venue?
<s>[INST]What was the Home Team Score for the Windy Hill Venue? Context: CREATE TABLE table_name_63 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_63 WHERE venue = "windy hill"</s>
CREATE TABLE table_name_54 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_54 WHERE time_retired = "collision" AND laps = "41"
Which driver retired from a collision after 41 laps?
<s>[INST]Which driver retired from a collision after 41 laps? Context: CREATE TABLE table_name_54 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_54 WHERE time_retired = "collision" AND laps = "41"</s>
CREATE TABLE table_name_33 (frequency VARCHAR, origin VARCHAR, number VARCHAR)
SELECT frequency FROM table_name_33 WHERE origin = "bus station" AND number = 3
What is the frequency of number 3 with a bus station origin?
<s>[INST]What is the frequency of number 3 with a bus station origin? Context: CREATE TABLE table_name_33 (frequency VARCHAR, origin VARCHAR, number VARCHAR)[/INST]SELECT frequency FROM table_name_33 WHERE origin = "bus station" AND number = 3</s>
CREATE TABLE table_name_55 (method VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_55 WHERE opponent = "kenneth allen"
What Method was used with opponent Kenneth Allen?
<s>[INST]What Method was used with opponent Kenneth Allen? Context: CREATE TABLE table_name_55 (method VARCHAR, opponent VARCHAR)[/INST]SELECT method FROM table_name_55 WHERE opponent = "kenneth allen"</s>
CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE hosting_city (year VARCHAR, host_city VARCHAR)
SELECT T2.year FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T1.city = "Taizhou ( Zhejiang )"
What is the host year of city "Taizhou ( Zhejiang )"?
<s>[INST]What is the host year of city "Taizhou ( Zhejiang )"? Context: CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE hosting_city (year VARCHAR, host_city VARCHAR)[/INST]SELECT T2.year FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T1.city = "Taizhou ( Zhejiang )"</s>
CREATE TABLE table_22875369_3 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_22875369_3 WHERE date = "2-27-10"
Name the opponent for 2-27-10
<s>[INST]Name the opponent for 2-27-10 Context: CREATE TABLE table_22875369_3 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_22875369_3 WHERE date = "2-27-10"</s>
CREATE TABLE table_name_4 (played VARCHAR, lost VARCHAR, team VARCHAR)
SELECT played FROM table_name_4 WHERE lost > 2 AND team = "américa"
Which Played has a Lost larger than 2, and a Team of américa?
<s>[INST]Which Played has a Lost larger than 2, and a Team of américa? Context: CREATE TABLE table_name_4 (played VARCHAR, lost VARCHAR, team VARCHAR)[/INST]SELECT played FROM table_name_4 WHERE lost > 2 AND team = "américa"</s>
CREATE TABLE table_name_51 (source_of_wealth VARCHAR, value VARCHAR)
SELECT source_of_wealth FROM table_name_51 WHERE value = "£5726m"
What source of wealth has a value of £5726m?
<s>[INST]What source of wealth has a value of £5726m? Context: CREATE TABLE table_name_51 (source_of_wealth VARCHAR, value VARCHAR)[/INST]SELECT source_of_wealth FROM table_name_51 WHERE value = "£5726m"</s>
CREATE TABLE table_name_44 (revenue__ INTEGER, team VARCHAR, rank VARCHAR)
SELECT MAX(revenue__) AS $m_ FROM table_name_44 WHERE team = "schalke 04" AND rank < 10
Name the highest revenue for schalke 04 with rank less than 10
<s>[INST]Name the highest revenue for schalke 04 with rank less than 10 Context: CREATE TABLE table_name_44 (revenue__ INTEGER, team VARCHAR, rank VARCHAR)[/INST]SELECT MAX(revenue__) AS $m_ FROM table_name_44 WHERE team = "schalke 04" AND rank < 10</s>
CREATE TABLE table_name_13 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_13 WHERE score = 68 - 73 - 66 - 74 = 281
What is the Place of the Player with a Score of 68-73-66-74=281?
<s>[INST]What is the Place of the Player with a Score of 68-73-66-74=281? Context: CREATE TABLE table_name_13 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_13 WHERE score = 68 - 73 - 66 - 74 = 281</s>
CREATE TABLE table_name_93 (points INTEGER, played INTEGER)
SELECT SUM(points) FROM table_name_93 WHERE played < 12
What is the total amount of points when the played number was less than 12?
<s>[INST]What is the total amount of points when the played number was less than 12? Context: CREATE TABLE table_name_93 (points INTEGER, played INTEGER)[/INST]SELECT SUM(points) FROM table_name_93 WHERE played < 12</s>
CREATE TABLE table_name_10 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, losing_bonus VARCHAR)
SELECT points_against FROM table_name_10 WHERE played = "22" AND losing_bonus = "3" AND tries_against = "45"
For teams with 22 matches played, a losing bonus of 3, and 45 tries against, what was the number of points against?
<s>[INST]For teams with 22 matches played, a losing bonus of 3, and 45 tries against, what was the number of points against? Context: CREATE TABLE table_name_10 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, losing_bonus VARCHAR)[/INST]SELECT points_against FROM table_name_10 WHERE played = "22" AND losing_bonus = "3" AND tries_against = "45"</s>
CREATE TABLE table_name_43 (stadium VARCHAR, result VARCHAR)
SELECT stadium FROM table_name_43 WHERE result = "hunter mariners def. sheffield eagles"
What stadium was the game played at when the result was hunter mariners def. sheffield eagles?
<s>[INST]What stadium was the game played at when the result was hunter mariners def. sheffield eagles? Context: CREATE TABLE table_name_43 (stadium VARCHAR, result VARCHAR)[/INST]SELECT stadium FROM table_name_43 WHERE result = "hunter mariners def. sheffield eagles"</s>
CREATE TABLE table_name_32 (purse___us$__ VARCHAR, race VARCHAR)
SELECT purse___us$__ FROM table_name_32 WHERE race = "illinois derby"
What was the Illinois Derby purse?
<s>[INST]What was the Illinois Derby purse? Context: CREATE TABLE table_name_32 (purse___us$__ VARCHAR, race VARCHAR)[/INST]SELECT purse___us$__ FROM table_name_32 WHERE race = "illinois derby"</s>
CREATE TABLE table_29942205_1 (miss_international INTEGER)
SELECT MIN(miss_international) FROM table_29942205_1
What is the lowest value in the miss international column?
<s>[INST]What is the lowest value in the miss international column? Context: CREATE TABLE table_29942205_1 (miss_international INTEGER)[/INST]SELECT MIN(miss_international) FROM table_29942205_1</s>
CREATE TABLE table_name_69 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_69 WHERE result = "w 20-17"
Who was the opponent at the game with a result of w 20-17?
<s>[INST]Who was the opponent at the game with a result of w 20-17? Context: CREATE TABLE table_name_69 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_69 WHERE result = "w 20-17"</s>
CREATE TABLE table_name_51 (rating INTEGER, night_rank VARCHAR, timeslot_rank VARCHAR)
SELECT AVG(rating) FROM table_name_51 WHERE night_rank = "11" AND timeslot_rank > 4
What is the rating for the episode with the night rank of 11 and timeslot rank is larger than 4?
<s>[INST]What is the rating for the episode with the night rank of 11 and timeslot rank is larger than 4? Context: CREATE TABLE table_name_51 (rating INTEGER, night_rank VARCHAR, timeslot_rank VARCHAR)[/INST]SELECT AVG(rating) FROM table_name_51 WHERE night_rank = "11" AND timeslot_rank > 4</s>
CREATE TABLE table_name_19 (year_built__converted VARCHAR, _ VARCHAR, withdrawn VARCHAR)
SELECT year_built__converted * _ FROM table_name_19 WHERE withdrawn = 1983
Tell me the year built for withdrawn of 1983
<s>[INST]Tell me the year built for withdrawn of 1983 Context: CREATE TABLE table_name_19 (year_built__converted VARCHAR, _ VARCHAR, withdrawn VARCHAR)[/INST]SELECT year_built__converted * _ FROM table_name_19 WHERE withdrawn = 1983</s>
CREATE TABLE table_name_74 (Id VARCHAR)
SELECT 2006 FROM table_name_74 WHERE 2007 = "1r"
What 2006 has 1r as the 2007?
<s>[INST]What 2006 has 1r as the 2007? Context: CREATE TABLE table_name_74 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_74 WHERE 2007 = "1r"</s>
CREATE TABLE table_name_90 (laps VARCHAR, rank VARCHAR)
SELECT COUNT(laps) FROM table_name_90 WHERE rank = "8"
Name the total number of laps with rank of 8
<s>[INST]Name the total number of laps with rank of 8 Context: CREATE TABLE table_name_90 (laps VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_90 WHERE rank = "8"</s>
CREATE TABLE table_name_42 (author VARCHAR, language VARCHAR, book_title VARCHAR)
SELECT author FROM table_name_42 WHERE language = "english" AND book_title = "sironia, texas"
Which author wrote Sironia, Texas in English?
<s>[INST]Which author wrote Sironia, Texas in English? Context: CREATE TABLE table_name_42 (author VARCHAR, language VARCHAR, book_title VARCHAR)[/INST]SELECT author FROM table_name_42 WHERE language = "english" AND book_title = "sironia, texas"</s>
CREATE TABLE table_19439864_2 (total VARCHAR, song VARCHAR)
SELECT total FROM table_19439864_2 WHERE song = "Radio Luxembourg"
What was the total for radio luxembourg?
<s>[INST]What was the total for radio luxembourg? Context: CREATE TABLE table_19439864_2 (total VARCHAR, song VARCHAR)[/INST]SELECT total FROM table_19439864_2 WHERE song = "Radio Luxembourg"</s>
CREATE TABLE table_name_96 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_96 WHERE date = "november 25, 1965"
What is the Attendance with a Date that is november 25, 1965?
<s>[INST]What is the Attendance with a Date that is november 25, 1965? Context: CREATE TABLE table_name_96 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_96 WHERE date = "november 25, 1965"</s>
CREATE TABLE table_25369796_1 (series VARCHAR, points VARCHAR)
SELECT series FROM table_25369796_1 WHERE points = "56"
What was the series where a team scored 56 points?
<s>[INST]What was the series where a team scored 56 points? Context: CREATE TABLE table_25369796_1 (series VARCHAR, points VARCHAR)[/INST]SELECT series FROM table_25369796_1 WHERE points = "56"</s>
CREATE TABLE table_25751274_2 (episode_number INTEGER, rating VARCHAR)
SELECT MIN(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 1.1 / 3
What is the lowest episode number that had a ratings/share (18-49) of 1.1/3?
<s>[INST]What is the lowest episode number that had a ratings/share (18-49) of 1.1/3? Context: CREATE TABLE table_25751274_2 (episode_number INTEGER, rating VARCHAR)[/INST]SELECT MIN(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 1.1 / 3</s>
CREATE TABLE table_name_57 (pick__number VARCHAR, player VARCHAR)
SELECT COUNT(pick__number) FROM table_name_57 WHERE player = "matt marquess"
How many pick numbers did Matt Marquess have?
<s>[INST]How many pick numbers did Matt Marquess have? Context: CREATE TABLE table_name_57 (pick__number VARCHAR, player VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_57 WHERE player = "matt marquess"</s>
CREATE TABLE table_27700530_9 (record VARCHAR, team VARCHAR)
SELECT record FROM table_27700530_9 WHERE team = "Minnesota"
What was the team's record when they played minnesota?
<s>[INST]What was the team's record when they played minnesota? Context: CREATE TABLE table_27700530_9 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_27700530_9 WHERE team = "Minnesota"</s>
CREATE TABLE table_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_20061872_1 WHERE film_title_used_in_nomination = "Zozo"
What's the original title of the film Zozo?
<s>[INST]What's the original title of the film Zozo? Context: CREATE TABLE table_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_title FROM table_20061872_1 WHERE film_title_used_in_nomination = "Zozo"</s>
CREATE TABLE table_name_47 (label VARCHAR, date VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_47 WHERE date = "1988" AND catalog = "54513"
Which label had a catalog of 54513 in 1988?
<s>[INST]Which label had a catalog of 54513 in 1988? Context: CREATE TABLE table_name_47 (label VARCHAR, date VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_47 WHERE date = "1988" AND catalog = "54513"</s>
CREATE TABLE table_name_62 (wins INTEGER, byes INTEGER)
SELECT AVG(wins) FROM table_name_62 WHERE byes < 2
What's the average number of wins for those with less than 2 byes?
<s>[INST]What's the average number of wins for those with less than 2 byes? Context: CREATE TABLE table_name_62 (wins INTEGER, byes INTEGER)[/INST]SELECT AVG(wins) FROM table_name_62 WHERE byes < 2</s>
CREATE TABLE table_name_83 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_83 WHERE venue = "glenferrie oval"
What was the lowest attendance at Glenferrie Oval?
<s>[INST]What was the lowest attendance at Glenferrie Oval? Context: CREATE TABLE table_name_83 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_83 WHERE venue = "glenferrie oval"</s>
CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE review (u_id VARCHAR)
SELECT T1.name FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id ORDER BY COUNT(*) DESC LIMIT 1
Find the name of the user who gives the most reviews.
<s>[INST]Find the name of the user who gives the most reviews. Context: CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE review (u_id VARCHAR)[/INST]SELECT T1.name FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_90 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_90 WHERE venue = "glenferrie oval"
Who is the away side at glenferrie oval?
<s>[INST]Who is the away side at glenferrie oval? Context: CREATE TABLE table_name_90 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_90 WHERE venue = "glenferrie oval"</s>
CREATE TABLE table_name_95 (played INTEGER, position VARCHAR, drawn VARCHAR, team VARCHAR)
SELECT MAX(played) FROM table_name_95 WHERE drawn = 5 AND team = "palmeiras" AND position < 6
Which Played has a Drawn of 5, and a Team of palmeiras, and a Position smaller than 6?
<s>[INST]Which Played has a Drawn of 5, and a Team of palmeiras, and a Position smaller than 6? Context: CREATE TABLE table_name_95 (played INTEGER, position VARCHAR, drawn VARCHAR, team VARCHAR)[/INST]SELECT MAX(played) FROM table_name_95 WHERE drawn = 5 AND team = "palmeiras" AND position < 6</s>
CREATE TABLE table_name_33 (tournament_venue VARCHAR, tournament_champion VARCHAR, record VARCHAR)
SELECT tournament_venue FROM table_name_33 WHERE tournament_champion = "duke" AND record = "15–1"
WHich Tournament venue has a Tournament Champion of duke and a Record of 15–1?
<s>[INST]WHich Tournament venue has a Tournament Champion of duke and a Record of 15–1? Context: CREATE TABLE table_name_33 (tournament_venue VARCHAR, tournament_champion VARCHAR, record VARCHAR)[/INST]SELECT tournament_venue FROM table_name_33 WHERE tournament_champion = "duke" AND record = "15–1"</s>
CREATE TABLE table_name_31 (melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR, product VARCHAR)
SELECT melamine_content_mg_kg_ FROM table_name_31 WHERE samples_failed > 1 AND product = "英雄牌嬰幼兒配方乳粉"
What's the melamine content of 英雄牌嬰幼兒配方乳粉 having more than 1 samples failed?
<s>[INST]What's the melamine content of 英雄牌嬰幼兒配方乳粉 having more than 1 samples failed? Context: CREATE TABLE table_name_31 (melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR, product VARCHAR)[/INST]SELECT melamine_content_mg_kg_ FROM table_name_31 WHERE samples_failed > 1 AND product = "英雄牌嬰幼兒配方乳粉"</s>
CREATE TABLE table_name_95 (lead VARCHAR, skip VARCHAR)
SELECT lead FROM table_name_95 WHERE skip = "ted appelman"
Which Lead has a Skip of ted appelman?
<s>[INST]Which Lead has a Skip of ted appelman? Context: CREATE TABLE table_name_95 (lead VARCHAR, skip VARCHAR)[/INST]SELECT lead FROM table_name_95 WHERE skip = "ted appelman"</s>
CREATE TABLE table_name_23 (game_site VARCHAR, attendance VARCHAR)
SELECT game_site FROM table_name_23 WHERE attendance = "54,040"
What is the site of the game that had an attendance of 54,040?
<s>[INST]What is the site of the game that had an attendance of 54,040? Context: CREATE TABLE table_name_23 (game_site VARCHAR, attendance VARCHAR)[/INST]SELECT game_site FROM table_name_23 WHERE attendance = "54,040"</s>
CREATE TABLE table_name_91 (tournament VARCHAR)
SELECT 2008 FROM table_name_91 WHERE 2009 = "a" AND tournament = "madrid masters"
What is 2008, when 2009 is "A", and when Tournament is "Madrid Masters"?
<s>[INST]What is 2008, when 2009 is "A", and when Tournament is "Madrid Masters"? Context: CREATE TABLE table_name_91 (tournament VARCHAR)[/INST]SELECT 2008 FROM table_name_91 WHERE 2009 = "a" AND tournament = "madrid masters"</s>
CREATE TABLE table_17157367_1 (model VARCHAR, method VARCHAR)
SELECT model FROM table_17157367_1 WHERE method = "HA"
what is the model where the method is ha?
<s>[INST]what is the model where the method is ha? Context: CREATE TABLE table_17157367_1 (model VARCHAR, method VARCHAR)[/INST]SELECT model FROM table_17157367_1 WHERE method = "HA"</s>
CREATE TABLE table_name_89 (segment_a VARCHAR, netflix VARCHAR)
SELECT segment_a FROM table_name_89 WHERE netflix = "s05e01"
Name the segment A for netflix of s05e01
<s>[INST]Name the segment A for netflix of s05e01 Context: CREATE TABLE table_name_89 (segment_a VARCHAR, netflix VARCHAR)[/INST]SELECT segment_a FROM table_name_89 WHERE netflix = "s05e01"</s>
CREATE TABLE table_name_3 (fixtures INTEGER, clubs_involved VARCHAR)
SELECT AVG(fixtures) FROM table_name_3 WHERE clubs_involved = 4
When 4 clubs are involved, what is the average number of fixtures?
<s>[INST]When 4 clubs are involved, what is the average number of fixtures? Context: CREATE TABLE table_name_3 (fixtures INTEGER, clubs_involved VARCHAR)[/INST]SELECT AVG(fixtures) FROM table_name_3 WHERE clubs_involved = 4</s>
CREATE TABLE table_name_94 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_94 WHERE to_par = "+7" AND player = "david frost"
For the match in which player David Frost scored a To Par of +7, what was the final score?
<s>[INST]For the match in which player David Frost scored a To Par of +7, what was the final score? Context: CREATE TABLE table_name_94 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_94 WHERE to_par = "+7" AND player = "david frost"</s>
CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MAX(gold) FROM table_name_19 WHERE rank = "7" AND bronze < 3
What is the highest number of gold medals for the team ranked 7 with less than 3 bronze?
<s>[INST]What is the highest number of gold medals for the team ranked 7 with less than 3 bronze? Context: CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_19 WHERE rank = "7" AND bronze < 3</s>
CREATE TABLE table_name_34 (season INTEGER, team VARCHAR, series VARCHAR)
SELECT MAX(season) FROM table_name_34 WHERE team = "prema powerteam" AND series = "masters of formula three"
What is the most recent season for the Prema Powerteam with a Masters of Formula Three series?
<s>[INST]What is the most recent season for the Prema Powerteam with a Masters of Formula Three series? Context: CREATE TABLE table_name_34 (season INTEGER, team VARCHAR, series VARCHAR)[/INST]SELECT MAX(season) FROM table_name_34 WHERE team = "prema powerteam" AND series = "masters of formula three"</s>
CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR)
SELECT account_id, date_account_opened, account_name, other_account_details FROM Accounts
Show the id, the date of account opened, the account name, and other account detail for all accounts.
<s>[INST]Show the id, the date of account opened, the account name, and other account detail for all accounts. Context: CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR)[/INST]SELECT account_id, date_account_opened, account_name, other_account_details FROM Accounts</s>
CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT record FROM table_name_37 WHERE opponent = "indians" AND loss = "camacho (1-4)"
What was the record at the game against the Indians with a loss of Camacho (1-4)?
<s>[INST]What was the record at the game against the Indians with a loss of Camacho (1-4)? Context: CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_37 WHERE opponent = "indians" AND loss = "camacho (1-4)"</s>
CREATE TABLE table_name_11 (result_f___a VARCHAR, h___a VARCHAR, attendance VARCHAR)
SELECT result_f___a FROM table_name_11 WHERE h___a = "h" AND attendance > 31 OFFSET 727
What is the result F-A with an H/A of h and more than 31,727 attending?
<s>[INST]What is the result F-A with an H/A of h and more than 31,727 attending? Context: CREATE TABLE table_name_11 (result_f___a VARCHAR, h___a VARCHAR, attendance VARCHAR)[/INST]SELECT result_f___a FROM table_name_11 WHERE h___a = "h" AND attendance > 31 OFFSET 727</s>
CREATE TABLE table_name_5 (winning_score VARCHAR, tournament VARCHAR)
SELECT winning_score FROM table_name_5 WHERE tournament = "mazda senior tournament players championship"
What was the winning score in the mazda senior tournament players championship?
<s>[INST]What was the winning score in the mazda senior tournament players championship? Context: CREATE TABLE table_name_5 (winning_score VARCHAR, tournament VARCHAR)[/INST]SELECT winning_score FROM table_name_5 WHERE tournament = "mazda senior tournament players championship"</s>
CREATE TABLE table_name_44 (nationality VARCHAR, position VARCHAR, pick VARCHAR)
SELECT nationality FROM table_name_44 WHERE position = "g" AND pick > 26
What is Nationality, when Position is "G", and when Pick is greater than 26?
<s>[INST]What is Nationality, when Position is "G", and when Pick is greater than 26? Context: CREATE TABLE table_name_44 (nationality VARCHAR, position VARCHAR, pick VARCHAR)[/INST]SELECT nationality FROM table_name_44 WHERE position = "g" AND pick > 26</s>
CREATE TABLE table_12243817_1 (tournament_location VARCHAR, winners_share__$_ VARCHAR)
SELECT tournament_location FROM table_12243817_1 WHERE winners_share__$_ = 7000
What is the location of the tournament that the share of winning is 7000?
<s>[INST]What is the location of the tournament that the share of winning is 7000? Context: CREATE TABLE table_12243817_1 (tournament_location VARCHAR, winners_share__$_ VARCHAR)[/INST]SELECT tournament_location FROM table_12243817_1 WHERE winners_share__$_ = 7000</s>
CREATE TABLE table_name_86 (opponent VARCHAR, method VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_86 WHERE method = "submission (armbar)" AND record = "9-3-1"
Who is the opponent of the match with a method of submission (armbar) and a 9-3-1 record?
<s>[INST]Who is the opponent of the match with a method of submission (armbar) and a 9-3-1 record? Context: CREATE TABLE table_name_86 (opponent VARCHAR, method VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_86 WHERE method = "submission (armbar)" AND record = "9-3-1"</s>
CREATE TABLE table_name_31 (scorers VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT scorers FROM table_name_31 WHERE opponent = "west germany" AND date = "october 7"
What shows for Scorers when the Opponent was west germany on October 7?
<s>[INST]What shows for Scorers when the Opponent was west germany on October 7? Context: CREATE TABLE table_name_31 (scorers VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT scorers FROM table_name_31 WHERE opponent = "west germany" AND date = "october 7"</s>
CREATE TABLE table_15780718_6 (high_rebounds VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_15780718_6 WHERE score = "W 105–91 (OT)"
Name for the high rebounds when score is w 105–91 (ot)
<s>[INST]Name for the high rebounds when score is w 105–91 (ot) Context: CREATE TABLE table_15780718_6 (high_rebounds VARCHAR, score VARCHAR)[/INST]SELECT high_rebounds FROM table_15780718_6 WHERE score = "W 105–91 (OT)"</s>
CREATE TABLE table_name_55 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_55 WHERE date = "may 25, 2009"
What was the outcome on May 25, 2009?
<s>[INST]What was the outcome on May 25, 2009? Context: CREATE TABLE table_name_55 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_55 WHERE date = "may 25, 2009"</s>
CREATE TABLE table_23028629_2 (part_number_s_ VARCHAR, model_number VARCHAR)
SELECT part_number_s_ FROM table_23028629_2 WHERE model_number = "Core i5-670"
What is every part number with model number core i5-670?
<s>[INST]What is every part number with model number core i5-670? Context: CREATE TABLE table_23028629_2 (part_number_s_ VARCHAR, model_number VARCHAR)[/INST]SELECT part_number_s_ FROM table_23028629_2 WHERE model_number = "Core i5-670"</s>
CREATE TABLE table_name_59 (rounds VARCHAR, tyre VARCHAR, drivers VARCHAR)
SELECT rounds FROM table_name_59 WHERE tyre = "y" AND drivers = "tomonobu fujii"
In what rounds was the featured driver Tomonobu Fujii with a Tyre of Y?
<s>[INST]In what rounds was the featured driver Tomonobu Fujii with a Tyre of Y? Context: CREATE TABLE table_name_59 (rounds VARCHAR, tyre VARCHAR, drivers VARCHAR)[/INST]SELECT rounds FROM table_name_59 WHERE tyre = "y" AND drivers = "tomonobu fujii"</s>
CREATE TABLE table_name_3 (game VARCHAR, score VARCHAR, points VARCHAR)
SELECT game FROM table_name_3 WHERE score = "4–0" AND points = 44
Which Game has a Score of 4–0 and Points of 44?
<s>[INST]Which Game has a Score of 4–0 and Points of 44? Context: CREATE TABLE table_name_3 (game VARCHAR, score VARCHAR, points VARCHAR)[/INST]SELECT game FROM table_name_3 WHERE score = "4–0" AND points = 44</s>
CREATE TABLE table_name_87 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_87 WHERE attendance = 54 OFFSET 187
How many weeks has 54,187 as the attendance?
<s>[INST]How many weeks has 54,187 as the attendance? Context: CREATE TABLE table_name_87 (week VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_87 WHERE attendance = 54 OFFSET 187</s>
CREATE TABLE table_name_17 (name VARCHAR, country VARCHAR)
SELECT name FROM table_name_17 WHERE country = "nga"
What is the name of the player from NGA?
<s>[INST]What is the name of the player from NGA? Context: CREATE TABLE table_name_17 (name VARCHAR, country VARCHAR)[/INST]SELECT name FROM table_name_17 WHERE country = "nga"</s>
CREATE TABLE table_name_36 (points INTEGER, position INTEGER)
SELECT MIN(points) FROM table_name_36 WHERE position > 5
Which Points is the lowest one that has a Position larger than 5?
<s>[INST]Which Points is the lowest one that has a Position larger than 5? Context: CREATE TABLE table_name_36 (points INTEGER, position INTEGER)[/INST]SELECT MIN(points) FROM table_name_36 WHERE position > 5</s>
CREATE TABLE table_name_81 (milan___san_remo VARCHAR, liège_bastogne_liège VARCHAR)
SELECT milan___san_remo FROM table_name_81 WHERE liège_bastogne_liège = "danilo di luca ( ita )"
Name the Milan – San Remo which has a Liège–Bastogne–Liège of danilo di luca ( ita )?
<s>[INST]Name the Milan – San Remo which has a Liège–Bastogne–Liège of danilo di luca ( ita )? Context: CREATE TABLE table_name_81 (milan___san_remo VARCHAR, liège_bastogne_liège VARCHAR)[/INST]SELECT milan___san_remo FROM table_name_81 WHERE liège_bastogne_liège = "danilo di luca ( ita )"</s>
CREATE TABLE table_name_48 (game VARCHAR, team VARCHAR)
SELECT game FROM table_name_48 WHERE team = "philadelphia"
What is Game, when Team is "Philadelphia"
<s>[INST]What is Game, when Team is "Philadelphia" Context: CREATE TABLE table_name_48 (game VARCHAR, team VARCHAR)[/INST]SELECT game FROM table_name_48 WHERE team = "philadelphia"</s>
CREATE TABLE table_1341930_10 (first_elected INTEGER)
SELECT MAX(first_elected) FROM table_1341930_10
What year were the latest elections?
<s>[INST]What year were the latest elections? Context: CREATE TABLE table_1341930_10 (first_elected INTEGER)[/INST]SELECT MAX(first_elected) FROM table_1341930_10</s>
CREATE TABLE table_name_95 (opponent VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_95 WHERE round = "r2"
Who was the opponent in the round of R2?
<s>[INST]Who was the opponent in the round of R2? Context: CREATE TABLE table_name_95 (opponent VARCHAR, round VARCHAR)[/INST]SELECT opponent FROM table_name_95 WHERE round = "r2"</s>
CREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR)
SELECT COUNT(change_in_population_since_1993) FROM table_2637317_1 WHERE _percentage_of_countrys_population = "4.2"
What is the change in population since 1993 in the region where the % of country's population was 4.2?
<s>[INST]What is the change in population since 1993 in the region where the % of country's population was 4.2? Context: CREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR)[/INST]SELECT COUNT(change_in_population_since_1993) FROM table_2637317_1 WHERE _percentage_of_countrys_population = "4.2"</s>
CREATE TABLE table_name_36 (against INTEGER, draws VARCHAR, wins VARCHAR, golden_rivers VARCHAR)
SELECT SUM(against) FROM table_name_36 WHERE wins < 12 AND golden_rivers = "moulamein" AND draws < 0
What is the total of against matches when there are less than 12 wins, less than 0 draws, and Moulamein is the golden river?
<s>[INST]What is the total of against matches when there are less than 12 wins, less than 0 draws, and Moulamein is the golden river? Context: CREATE TABLE table_name_36 (against INTEGER, draws VARCHAR, wins VARCHAR, golden_rivers VARCHAR)[/INST]SELECT SUM(against) FROM table_name_36 WHERE wins < 12 AND golden_rivers = "moulamein" AND draws < 0</s>
CREATE TABLE table_name_23 (lbsc_name VARCHAR)
SELECT MAX(1 AS st_lbsc_no) FROM table_name_23 WHERE lbsc_name = "northcote"
What is the largest 1st LBSC number with a LBSC Name of northcote?
<s>[INST]What is the largest 1st LBSC number with a LBSC Name of northcote? Context: CREATE TABLE table_name_23 (lbsc_name VARCHAR)[/INST]SELECT MAX(1 AS st_lbsc_no) FROM table_name_23 WHERE lbsc_name = "northcote"</s>
CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR)
SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru"
Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru?
<s>[INST]Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru? Context: CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR)[/INST]SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru"</s>
CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR)
SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: ~100nm, L: 1 μm"
Where was d: ~100nm, l: 1 μm geometry researched?
<s>[INST]Where was d: ~100nm, l: 1 μm geometry researched? Context: CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR)[/INST]SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: ~100nm, L: 1 μm"</s>
CREATE TABLE table_name_24 (lane INTEGER, nationality VARCHAR, split__50m_ VARCHAR)
SELECT SUM(lane) FROM table_name_24 WHERE nationality = "sweden" AND split__50m_ < 26.25
What is the total of lane(s) for swimmers from Sweden with a 50m split of faster than 26.25?
<s>[INST]What is the total of lane(s) for swimmers from Sweden with a 50m split of faster than 26.25? Context: CREATE TABLE table_name_24 (lane INTEGER, nationality VARCHAR, split__50m_ VARCHAR)[/INST]SELECT SUM(lane) FROM table_name_24 WHERE nationality = "sweden" AND split__50m_ < 26.25</s>
CREATE TABLE table_name_32 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
SELECT winning_score FROM table_name_32 WHERE margin_of_victory = "1 stroke" AND date = "jan 22, 1995"
What was the winning score on Jan 22, 1995 when the margin of victory was 1 stroke?
<s>[INST]What was the winning score on Jan 22, 1995 when the margin of victory was 1 stroke? Context: CREATE TABLE table_name_32 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT winning_score FROM table_name_32 WHERE margin_of_victory = "1 stroke" AND date = "jan 22, 1995"</s>
CREATE TABLE table_name_44 (driver VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR)
SELECT driver FROM table_name_44 WHERE laps > 16 AND constructor = "ferrari" AND grid < 15
I want the driver with Laps larger than 16 with a ferrari and grid less than 15
<s>[INST]I want the driver with Laps larger than 16 with a ferrari and grid less than 15 Context: CREATE TABLE table_name_44 (driver VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR)[/INST]SELECT driver FROM table_name_44 WHERE laps > 16 AND constructor = "ferrari" AND grid < 15</s>
CREATE TABLE table_name_24 (lane INTEGER, rank VARCHAR)
SELECT MAX(lane) FROM table_name_24 WHERE rank = 8
What is the Lane of the swimmer with a Rank of 8?
<s>[INST]What is the Lane of the swimmer with a Rank of 8? Context: CREATE TABLE table_name_24 (lane INTEGER, rank VARCHAR)[/INST]SELECT MAX(lane) FROM table_name_24 WHERE rank = 8</s>
CREATE TABLE table_name_90 (decile VARCHAR, name VARCHAR)
SELECT decile FROM table_name_90 WHERE name = "mayfield school"
Which decile features Mayfield School?
<s>[INST]Which decile features Mayfield School? Context: CREATE TABLE table_name_90 (decile VARCHAR, name VARCHAR)[/INST]SELECT decile FROM table_name_90 WHERE name = "mayfield school"</s>