context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_20693870_1 (obama_number VARCHAR, obama_percentage VARCHAR)
SELECT COUNT(obama_number) FROM table_20693870_1 WHERE obama_percentage = "29.9%"
How many numbers were recorded under Obama when he had 29.9% voters?
<s>[INST]How many numbers were recorded under Obama when he had 29.9% voters? Context: CREATE TABLE table_20693870_1 (obama_number VARCHAR, obama_percentage VARCHAR)[/INST]SELECT COUNT(obama_number) FROM table_20693870_1 WHERE obama_percentage = "29.9%"</s>
CREATE TABLE table_name_49 (r1st VARCHAR, ryds VARCHAR)
SELECT r1st FROM table_name_49 WHERE ryds = "36"
Who is the R1st that has 36 RYds?
<s>[INST]Who is the R1st that has 36 RYds? Context: CREATE TABLE table_name_49 (r1st VARCHAR, ryds VARCHAR)[/INST]SELECT r1st FROM table_name_49 WHERE ryds = "36"</s>
CREATE TABLE table_name_91 (year VARCHAR, manager VARCHAR)
SELECT year FROM table_name_91 WHERE manager = "marty berghammer / nick allen"
Manager of marty berghammer / nick allen is what year?
<s>[INST]Manager of marty berghammer / nick allen is what year? Context: CREATE TABLE table_name_91 (year VARCHAR, manager VARCHAR)[/INST]SELECT year FROM table_name_91 WHERE manager = "marty berghammer / nick allen"</s>
CREATE TABLE table_29050051_3 (previous_school VARCHAR, height VARCHAR, position VARCHAR)
SELECT previous_school FROM table_29050051_3 WHERE height = "ft5in (m)" AND position = "Forward"
What was the previous school for the forward with a height of ft5in (m)?
<s>[INST]What was the previous school for the forward with a height of ft5in (m)? Context: CREATE TABLE table_29050051_3 (previous_school VARCHAR, height VARCHAR, position VARCHAR)[/INST]SELECT previous_school FROM table_29050051_3 WHERE height = "ft5in (m)" AND position = "Forward"</s>
CREATE TABLE table_15780718_9 (record VARCHAR, team VARCHAR)
SELECT record FROM table_15780718_9 WHERE team = "New Jersey"
What is the Raptors' record against New Jersey?
<s>[INST]What is the Raptors' record against New Jersey? Context: CREATE TABLE table_15780718_9 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_15780718_9 WHERE team = "New Jersey"</s>
CREATE TABLE table_name_3 (june VARCHAR, november VARCHAR)
SELECT june FROM table_name_3 WHERE november = "lorraine olivia"
Who is the June playmate with the November playmate Lorraine Olivia?
<s>[INST]Who is the June playmate with the November playmate Lorraine Olivia? Context: CREATE TABLE table_name_3 (june VARCHAR, november VARCHAR)[/INST]SELECT june FROM table_name_3 WHERE november = "lorraine olivia"</s>
CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR)
SELECT MIN(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC21"
Name the least number for production code for 3abc21
<s>[INST]Name the least number for production code for 3abc21 Context: CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR)[/INST]SELECT MIN(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC21"</s>
CREATE TABLE table_19744915_16 (rank VARCHAR, couple VARCHAR)
SELECT rank FROM table_19744915_16 WHERE couple = "Zoe and Matt"
What is Zoe and Matt's rank?
<s>[INST]What is Zoe and Matt's rank? Context: CREATE TABLE table_19744915_16 (rank VARCHAR, couple VARCHAR)[/INST]SELECT rank FROM table_19744915_16 WHERE couple = "Zoe and Matt"</s>
CREATE TABLE table_name_25 (home_or_away VARCHAR, shirt_number INTEGER)
SELECT home_or_away FROM table_name_25 WHERE shirt_number > 18
Can you tell me the Home or the Away that has the Shirt Number larger than 18?
<s>[INST]Can you tell me the Home or the Away that has the Shirt Number larger than 18? Context: CREATE TABLE table_name_25 (home_or_away VARCHAR, shirt_number INTEGER)[/INST]SELECT home_or_away FROM table_name_25 WHERE shirt_number > 18</s>
CREATE TABLE table_28802668_3 (title VARCHAR, no_in_season VARCHAR)
SELECT COUNT(title) FROM table_28802668_3 WHERE no_in_season = 19
How many episode titles does episode 19 in the season have?
<s>[INST]How many episode titles does episode 19 in the season have? Context: CREATE TABLE table_28802668_3 (title VARCHAR, no_in_season VARCHAR)[/INST]SELECT COUNT(title) FROM table_28802668_3 WHERE no_in_season = 19</s>
CREATE TABLE table_2102782_1 (episode VARCHAR, run_time VARCHAR)
SELECT episode FROM table_2102782_1 WHERE run_time = "25:05"
Name the episode for run time 25:05
<s>[INST]Name the episode for run time 25:05 Context: CREATE TABLE table_2102782_1 (episode VARCHAR, run_time VARCHAR)[/INST]SELECT episode FROM table_2102782_1 WHERE run_time = "25:05"</s>
CREATE TABLE table_name_61 (team VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT team FROM table_name_61 WHERE year > 1990 AND chassis = "jordan 193"
What team has jordan 193 chassis after 1990?
<s>[INST]What team has jordan 193 chassis after 1990? Context: CREATE TABLE table_name_61 (team VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT team FROM table_name_61 WHERE year > 1990 AND chassis = "jordan 193"</s>
CREATE TABLE table_30121046_1 (poor_law_union VARCHAR, townland VARCHAR)
SELECT poor_law_union FROM table_30121046_1 WHERE townland = "Lackenagobidane"
What is the poor law union of the Lackenagobidane townland?
<s>[INST]What is the poor law union of the Lackenagobidane townland? Context: CREATE TABLE table_30121046_1 (poor_law_union VARCHAR, townland VARCHAR)[/INST]SELECT poor_law_union FROM table_30121046_1 WHERE townland = "Lackenagobidane"</s>
CREATE TABLE table_name_10 (pujehun INTEGER, measure VARCHAR)
SELECT AVG(pujehun) FROM table_name_10 WHERE measure = "female enrollment"
What is the average pjehun measured by female enrollment?
<s>[INST]What is the average pjehun measured by female enrollment? Context: CREATE TABLE table_name_10 (pujehun INTEGER, measure VARCHAR)[/INST]SELECT AVG(pujehun) FROM table_name_10 WHERE measure = "female enrollment"</s>
CREATE TABLE customers (country VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT country FROM customers WHERE first_name = "Roberto" AND last_name = "Almeida"
What country does Roberto Almeida live?
<s>[INST]What country does Roberto Almeida live? Context: CREATE TABLE customers (country VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]SELECT country FROM customers WHERE first_name = "Roberto" AND last_name = "Almeida"</s>
CREATE TABLE table_name_28 (ad_freq VARCHAR, show_name VARCHAR)
SELECT ad_freq FROM table_name_28 WHERE show_name = "off the bench"
What is the ad frequency for the Show Off The Bench?
<s>[INST]What is the ad frequency for the Show Off The Bench? Context: CREATE TABLE table_name_28 (ad_freq VARCHAR, show_name VARCHAR)[/INST]SELECT ad_freq FROM table_name_28 WHERE show_name = "off the bench"</s>
CREATE TABLE table_name_26 (score VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_26 WHERE surface = "hard (i)" AND tournament = "columbus, ohio"
What score has hard (i) as the surface, and Columbus, Ohio as the tournament?
<s>[INST]What score has hard (i) as the surface, and Columbus, Ohio as the tournament? Context: CREATE TABLE table_name_26 (score VARCHAR, surface VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_26 WHERE surface = "hard (i)" AND tournament = "columbus, ohio"</s>
CREATE TABLE table_name_33 (player VARCHAR, score VARCHAR, place VARCHAR)
SELECT player FROM table_name_33 WHERE score < 69 AND place = "t1"
Which Player has a Score smaller than 69, and a Place of t1?
<s>[INST]Which Player has a Score smaller than 69, and a Place of t1? Context: CREATE TABLE table_name_33 (player VARCHAR, score VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_33 WHERE score < 69 AND place = "t1"</s>
CREATE TABLE table_name_67 (date VARCHAR, venue VARCHAR, goal VARCHAR)
SELECT date FROM table_name_67 WHERE venue = "miami" AND goal = 38
What day is miami the venue with 38 goals?
<s>[INST]What day is miami the venue with 38 goals? Context: CREATE TABLE table_name_67 (date VARCHAR, venue VARCHAR, goal VARCHAR)[/INST]SELECT date FROM table_name_67 WHERE venue = "miami" AND goal = 38</s>
CREATE TABLE table_name_79 (constructor VARCHAR, tyre VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_79 WHERE tyre = "e" AND driver = "mike sparken"
Who constructed Mike Sparken's car with a tyre of E?
<s>[INST]Who constructed Mike Sparken's car with a tyre of E? Context: CREATE TABLE table_name_79 (constructor VARCHAR, tyre VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_79 WHERE tyre = "e" AND driver = "mike sparken"</s>
CREATE TABLE table_name_27 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_27 WHERE score = 70
With a score of 70, this player's name is listed as what?
<s>[INST]With a score of 70, this player's name is listed as what? Context: CREATE TABLE table_name_27 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_27 WHERE score = 70</s>
CREATE TABLE table_1676073_13 (points VARCHAR, points_difference VARCHAR)
SELECT points FROM table_1676073_13 WHERE points_difference = "+119"
What is the total points when the point difference is +119?
<s>[INST]What is the total points when the point difference is +119? Context: CREATE TABLE table_1676073_13 (points VARCHAR, points_difference VARCHAR)[/INST]SELECT points FROM table_1676073_13 WHERE points_difference = "+119"</s>
CREATE TABLE people (name VARCHAR, people_id VARCHAR, country VARCHAR, is_male VARCHAR); CREATE TABLE wedding (female_id VARCHAR, year VARCHAR)
SELECT T2.name FROM wedding AS T1 JOIN people AS T2 ON T1.female_id = T2.people_id WHERE T1.year = 2016 AND T2.is_male = 'F' AND T2.country = 'Canada'
Show the names for all females from Canada having a wedding in year 2016.
<s>[INST]Show the names for all females from Canada having a wedding in year 2016. Context: CREATE TABLE people (name VARCHAR, people_id VARCHAR, country VARCHAR, is_male VARCHAR); CREATE TABLE wedding (female_id VARCHAR, year VARCHAR)[/INST]SELECT T2.name FROM wedding AS T1 JOIN people AS T2 ON T1.female_id = T2.peopl...
CREATE TABLE table_name_63 (year INTEGER, team VARCHAR, player VARCHAR)
SELECT MAX(year) FROM table_name_63 WHERE team = "north melbourne" AND player = "hamish mcintosh"
What most recent year had North Melbourne as a team and Hamish Mcintosh as a player?
<s>[INST]What most recent year had North Melbourne as a team and Hamish Mcintosh as a player? Context: CREATE TABLE table_name_63 (year INTEGER, team VARCHAR, player VARCHAR)[/INST]SELECT MAX(year) FROM table_name_63 WHERE team = "north melbourne" AND player = "hamish mcintosh"</s>
CREATE TABLE table_name_58 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_58 WHERE points = 0
Which Chassis has 0 points?
<s>[INST]Which Chassis has 0 points? Context: CREATE TABLE table_name_58 (chassis VARCHAR, points VARCHAR)[/INST]SELECT chassis FROM table_name_58 WHERE points = 0</s>
CREATE TABLE table_name_99 (time VARCHAR, attendance VARCHAR)
SELECT time FROM table_name_99 WHERE attendance = "22,329"
What time was the match that had an attendance of 22,329?
<s>[INST]What time was the match that had an attendance of 22,329? Context: CREATE TABLE table_name_99 (time VARCHAR, attendance VARCHAR)[/INST]SELECT time FROM table_name_99 WHERE attendance = "22,329"</s>
CREATE TABLE table_name_79 (type VARCHAR, quantity VARCHAR)
SELECT type FROM table_name_79 WHERE quantity = "140"
Which type has 140 made?
<s>[INST]Which type has 140 made? Context: CREATE TABLE table_name_79 (type VARCHAR, quantity VARCHAR)[/INST]SELECT type FROM table_name_79 WHERE quantity = "140"</s>
CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_7 WHERE home_team = "bolton wanderers"
Where Bolton Wanderers is the home team, who is the away team?
<s>[INST]Where Bolton Wanderers is the home team, who is the away team? Context: CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_7 WHERE home_team = "bolton wanderers"</s>
CREATE TABLE table_name_47 (winner VARCHAR, win__number INTEGER)
SELECT winner FROM table_name_47 WHERE win__number > 3
Who had more than 3 wins?
<s>[INST]Who had more than 3 wins? Context: CREATE TABLE table_name_47 (winner VARCHAR, win__number INTEGER)[/INST]SELECT winner FROM table_name_47 WHERE win__number > 3</s>
CREATE TABLE table_name_70 (rank INTEGER, time VARCHAR)
SELECT SUM(rank) FROM table_name_70 WHERE time = "6:52.74"
What rank did rower have with the time of 6:52.74?
<s>[INST]What rank did rower have with the time of 6:52.74? Context: CREATE TABLE table_name_70 (rank INTEGER, time VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_70 WHERE time = "6:52.74"</s>
CREATE TABLE table_29697744_1 (movements VARCHAR, position VARCHAR)
SELECT movements FROM table_29697744_1 WHERE position = "7th"
what is the name of the movement in the 7th position
<s>[INST]what is the name of the movement in the 7th position Context: CREATE TABLE table_29697744_1 (movements VARCHAR, position VARCHAR)[/INST]SELECT movements FROM table_29697744_1 WHERE position = "7th"</s>
CREATE TABLE table_name_80 (altitude__ft_ INTEGER, mach VARCHAR, duration VARCHAR)
SELECT MIN(altitude__ft_) FROM table_name_80 WHERE mach > 0.905 AND duration = "00:06:17"
What is the lowest altitude of the flight with a mach bigger than 0.905 and a duration of 00:06:17?
<s>[INST]What is the lowest altitude of the flight with a mach bigger than 0.905 and a duration of 00:06:17? Context: CREATE TABLE table_name_80 (altitude__ft_ INTEGER, mach VARCHAR, duration VARCHAR)[/INST]SELECT MIN(altitude__ft_) FROM table_name_80 WHERE mach > 0.905 AND duration = "00:06:17"</s>
CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_18 WHERE week < 9 AND opponent = "dallas cowboys"
What is the date for a week before 9, and a opponent of dallas cowboys?
<s>[INST]What is the date for a week before 9, and a opponent of dallas cowboys? Context: CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_18 WHERE week < 9 AND opponent = "dallas cowboys"</s>
CREATE TABLE table_name_78 (wheel_arrangement VARCHAR, year_made VARCHAR)
SELECT wheel_arrangement FROM table_name_78 WHERE year_made = "1881"
what is the wheel arrangement when the year made is 1881?
<s>[INST]what is the wheel arrangement when the year made is 1881? Context: CREATE TABLE table_name_78 (wheel_arrangement VARCHAR, year_made VARCHAR)[/INST]SELECT wheel_arrangement FROM table_name_78 WHERE year_made = "1881"</s>
CREATE TABLE table_name_17 (lead VARCHAR, city VARCHAR, third_vice_skip VARCHAR)
SELECT lead FROM table_name_17 WHERE city = "winnipeg" AND third_vice_skip = "kevin park"
Which Lead has a City of winnipeg, and a Third/Vice skip of kevin park?
<s>[INST]Which Lead has a City of winnipeg, and a Third/Vice skip of kevin park? Context: CREATE TABLE table_name_17 (lead VARCHAR, city VARCHAR, third_vice_skip VARCHAR)[/INST]SELECT lead FROM table_name_17 WHERE city = "winnipeg" AND third_vice_skip = "kevin park"</s>
CREATE TABLE table_name_47 (genre VARCHAR, developer_s_ VARCHAR)
SELECT genre FROM table_name_47 WHERE developer_s_ = "naughty dog"
Which Genre has a Developer(s) of naughty dog?
<s>[INST]Which Genre has a Developer(s) of naughty dog? Context: CREATE TABLE table_name_47 (genre VARCHAR, developer_s_ VARCHAR)[/INST]SELECT genre FROM table_name_47 WHERE developer_s_ = "naughty dog"</s>
CREATE TABLE table_26967904_1 (p_max___bar__ VARCHAR, p1_diameter__mm_ VARCHAR)
SELECT p_max___bar__ FROM table_26967904_1 WHERE p1_diameter__mm_ = "9.70"
What is the p max (bar) of the pistol with a P1 diameter of 9.70 mm?
<s>[INST]What is the p max (bar) of the pistol with a P1 diameter of 9.70 mm? Context: CREATE TABLE table_26967904_1 (p_max___bar__ VARCHAR, p1_diameter__mm_ VARCHAR)[/INST]SELECT p_max___bar__ FROM table_26967904_1 WHERE p1_diameter__mm_ = "9.70"</s>
CREATE TABLE table_25214321_1 (season INTEGER, winner VARCHAR)
SELECT MAX(season) FROM table_25214321_1 WHERE winner = "Dado Dolabella"
In what season was the winner Dado Dolabella?
<s>[INST]In what season was the winner Dado Dolabella? Context: CREATE TABLE table_25214321_1 (season INTEGER, winner VARCHAR)[/INST]SELECT MAX(season) FROM table_25214321_1 WHERE winner = "Dado Dolabella"</s>
CREATE TABLE table_name_65 (socialist_ticket VARCHAR, american_labor_ticket VARCHAR)
SELECT socialist_ticket FROM table_name_65 WHERE american_labor_ticket = "caroline o'day"
Which Socialist candidate ran against American Labor candidate Caroline O'Day?
<s>[INST]Which Socialist candidate ran against American Labor candidate Caroline O'Day? Context: CREATE TABLE table_name_65 (socialist_ticket VARCHAR, american_labor_ticket VARCHAR)[/INST]SELECT socialist_ticket FROM table_name_65 WHERE american_labor_ticket = "caroline o'day"</s>
CREATE TABLE table_17802778_1 (laps VARCHAR, year VARCHAR)
SELECT laps FROM table_17802778_1 WHERE year = 2001
How many laps recorded in 2001?
<s>[INST]How many laps recorded in 2001? Context: CREATE TABLE table_17802778_1 (laps VARCHAR, year VARCHAR)[/INST]SELECT laps FROM table_17802778_1 WHERE year = 2001</s>
CREATE TABLE table_name_61 (player VARCHAR, total VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_61 WHERE total = 294 AND year_s__won = "1955"
What is Player, when Total is "294", and when Year(s) Won is "1955"?
<s>[INST]What is Player, when Total is "294", and when Year(s) Won is "1955"? Context: CREATE TABLE table_name_61 (player VARCHAR, total VARCHAR, year_s__won VARCHAR)[/INST]SELECT player FROM table_name_61 WHERE total = 294 AND year_s__won = "1955"</s>
CREATE TABLE table_name_29 (rank INTEGER, source VARCHAR, year VARCHAR)
SELECT AVG(rank) FROM table_name_29 WHERE source = "cia world factbook" AND year < 2005
What is the average rank that has cia world factbook as the source and a year prior to 2005?
<s>[INST]What is the average rank that has cia world factbook as the source and a year prior to 2005? Context: CREATE TABLE table_name_29 (rank INTEGER, source VARCHAR, year VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_29 WHERE source = "cia world factbook" AND year < 2005</s>
CREATE TABLE table_name_71 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_71 WHERE away_team = "melbourne"
Which home team score has an Away team of melbourne?
<s>[INST]Which home team score has an Away team of melbourne? Context: CREATE TABLE table_name_71 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_71 WHERE away_team = "melbourne"</s>
CREATE TABLE table_name_22 (free_agent_class VARCHAR, pick INTEGER)
SELECT free_agent_class FROM table_name_22 WHERE pick < 38
What was the free agent class, with a pick less than 38?
<s>[INST]What was the free agent class, with a pick less than 38? Context: CREATE TABLE table_name_22 (free_agent_class VARCHAR, pick INTEGER)[/INST]SELECT free_agent_class FROM table_name_22 WHERE pick < 38</s>
CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_93 WHERE opponent = "clayton mckinney"
What is the record when Clayton Mckinney was the opponent?
<s>[INST]What is the record when Clayton Mckinney was the opponent? Context: CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_93 WHERE opponent = "clayton mckinney"</s>
CREATE TABLE table_14341967_2 (extra_points INTEGER, player VARCHAR)
SELECT MAX(extra_points) FROM table_14341967_2 WHERE player = "John Heston"
Name the most extra points for john heston
<s>[INST]Name the most extra points for john heston Context: CREATE TABLE table_14341967_2 (extra_points INTEGER, player VARCHAR)[/INST]SELECT MAX(extra_points) FROM table_14341967_2 WHERE player = "John Heston"</s>
CREATE TABLE table_name_8 (normal_temperature VARCHAR, city VARCHAR)
SELECT normal_temperature FROM table_name_8 WHERE city = "abbotsford, british columbia"
What is the normal temperature of Abbotsford, British Columbia?
<s>[INST]What is the normal temperature of Abbotsford, British Columbia? Context: CREATE TABLE table_name_8 (normal_temperature VARCHAR, city VARCHAR)[/INST]SELECT normal_temperature FROM table_name_8 WHERE city = "abbotsford, british columbia"</s>
CREATE TABLE table_name_17 (result__pts_ VARCHAR, set_1 VARCHAR)
SELECT result__pts_ FROM table_name_17 WHERE set_1 = "26-24"
What is the result of the game with a set 1 of 26-24?
<s>[INST]What is the result of the game with a set 1 of 26-24? Context: CREATE TABLE table_name_17 (result__pts_ VARCHAR, set_1 VARCHAR)[/INST]SELECT result__pts_ FROM table_name_17 WHERE set_1 = "26-24"</s>
CREATE TABLE table_name_31 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_31 WHERE driver = "chris amon" AND grid < 4
What was CHris Amon's highest lap when his grid was 4?
<s>[INST]What was CHris Amon's highest lap when his grid was 4? Context: CREATE TABLE table_name_31 (laps INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_31 WHERE driver = "chris amon" AND grid < 4</s>
CREATE TABLE table_name_75 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_75 WHERE score = "l 115–118 (ot)"
What is the Date of the game with a Score of L 115–118 (OT)?
<s>[INST]What is the Date of the game with a Score of L 115–118 (OT)? Context: CREATE TABLE table_name_75 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_75 WHERE score = "l 115–118 (ot)"</s>
CREATE TABLE table_name_47 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_47 WHERE year__ceremony_ = "1968 (41st)"
What is Film title used in nomination, when Year (Ceremony) is 1968 (41st)?
<s>[INST]What is Film title used in nomination, when Year (Ceremony) is 1968 (41st)? Context: CREATE TABLE table_name_47 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_47 WHERE year__ceremony_ = "1968 (41st)"</s>
CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR, customer_phone VARCHAR)
SELECT customer_id, customer_first_name, customer_last_name, customer_phone FROM Customers
Show ids, first names, last names, and phones for all customers.
<s>[INST]Show ids, first names, last names, and phones for all customers. Context: CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR, customer_phone VARCHAR)[/INST]SELECT customer_id, customer_first_name, customer_last_name, customer_phone FROM Customers</s>
CREATE TABLE table_name_35 (game INTEGER, opponent VARCHAR, december VARCHAR)
SELECT MAX(game) FROM table_name_35 WHERE opponent = "new york islanders" AND december > 10
Which Game is the highest one that has an Opponent of new york islanders, and a December larger than 10?
<s>[INST]Which Game is the highest one that has an Opponent of new york islanders, and a December larger than 10? Context: CREATE TABLE table_name_35 (game INTEGER, opponent VARCHAR, december VARCHAR)[/INST]SELECT MAX(game) FROM table_name_35 WHERE opponent = "new york islanders" AND december > 10</s>
CREATE TABLE table_2076595_1 (school VARCHAR, founded VARCHAR)
SELECT school FROM table_2076595_1 WHERE founded = 1791
What school was founded in 1791?
<s>[INST]What school was founded in 1791? Context: CREATE TABLE table_2076595_1 (school VARCHAR, founded VARCHAR)[/INST]SELECT school FROM table_2076595_1 WHERE founded = 1791</s>
CREATE TABLE table_10815352_1 (sport VARCHAR, league VARCHAR)
SELECT sport FROM table_10815352_1 WHERE league = "La Liga"
What is the sport of the La Liga league?
<s>[INST]What is the sport of the La Liga league? Context: CREATE TABLE table_10815352_1 (sport VARCHAR, league VARCHAR)[/INST]SELECT sport FROM table_10815352_1 WHERE league = "La Liga"</s>
CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR)
SELECT name FROM table_name_54 WHERE town_city = "anchorage" AND type = "multiple"
What is the Name of the Multiple Type museum in Anchorage?
<s>[INST]What is the Name of the Multiple Type museum in Anchorage? Context: CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR)[/INST]SELECT name FROM table_name_54 WHERE town_city = "anchorage" AND type = "multiple"</s>
CREATE TABLE table_name_44 (weight__kg_ VARCHAR, name VARCHAR)
SELECT weight__kg_ FROM table_name_44 WHERE name = "john-michael liles"
What is the weight of John-Michael Liles?
<s>[INST]What is the weight of John-Michael Liles? Context: CREATE TABLE table_name_44 (weight__kg_ VARCHAR, name VARCHAR)[/INST]SELECT weight__kg_ FROM table_name_44 WHERE name = "john-michael liles"</s>
CREATE TABLE table_name_13 (team VARCHAR, time VARCHAR)
SELECT team FROM table_name_13 WHERE time = "32:17"
What team was the player that received a penalty at time 32:17 playing for?
<s>[INST]What team was the player that received a penalty at time 32:17 playing for? Context: CREATE TABLE table_name_13 (team VARCHAR, time VARCHAR)[/INST]SELECT team FROM table_name_13 WHERE time = "32:17"</s>
CREATE TABLE table_name_32 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_32 WHERE loss = "willis (0–1)"
What was the date of the game that had a loss of Willis (0–1)?
<s>[INST]What was the date of the game that had a loss of Willis (0–1)? Context: CREATE TABLE table_name_32 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_32 WHERE loss = "willis (0–1)"</s>
CREATE TABLE table_name_54 (front_side_bus VARCHAR, model_number VARCHAR)
SELECT front_side_bus FROM table_name_54 WHERE model_number = "c3 850"
What is the Front Side Bus for Model Number c3 850?
<s>[INST]What is the Front Side Bus for Model Number c3 850? Context: CREATE TABLE table_name_54 (front_side_bus VARCHAR, model_number VARCHAR)[/INST]SELECT front_side_bus FROM table_name_54 WHERE model_number = "c3 850"</s>
CREATE TABLE table_23492454_1 (no_in_series VARCHAR, no_in_season VARCHAR)
SELECT COUNT(no_in_series) FROM table_23492454_1 WHERE no_in_season = 18
How many episodes in the series are also episode 18 in the season?
<s>[INST]How many episodes in the series are also episode 18 in the season? Context: CREATE TABLE table_23492454_1 (no_in_series VARCHAR, no_in_season VARCHAR)[/INST]SELECT COUNT(no_in_series) FROM table_23492454_1 WHERE no_in_season = 18</s>
CREATE TABLE table_name_32 (teams VARCHAR, league VARCHAR, away VARCHAR)
SELECT teams FROM table_name_32 WHERE league = "bundesliga" AND away = "3-2"
What team has a league of bundesliga, and an away of 3-2?
<s>[INST]What team has a league of bundesliga, and an away of 3-2? Context: CREATE TABLE table_name_32 (teams VARCHAR, league VARCHAR, away VARCHAR)[/INST]SELECT teams FROM table_name_32 WHERE league = "bundesliga" AND away = "3-2"</s>
CREATE TABLE table_name_92 (game INTEGER, decision VARCHAR, record VARCHAR)
SELECT MIN(game) FROM table_name_92 WHERE decision = "weekes" AND record = "7-4-2"
What was the first game in which Weekes scored the decision goal and the record was 7-4-2?
<s>[INST]What was the first game in which Weekes scored the decision goal and the record was 7-4-2? Context: CREATE TABLE table_name_92 (game INTEGER, decision VARCHAR, record VARCHAR)[/INST]SELECT MIN(game) FROM table_name_92 WHERE decision = "weekes" AND record = "7-4-2"</s>
CREATE TABLE table_name_27 (gold_medals VARCHAR, appearances VARCHAR, silver_medals VARCHAR)
SELECT COUNT(4 AS th_place) FROM table_name_27 WHERE appearances = 3 AND silver_medals > 0 AND gold_medals < 0
What is the total number of 4th place that has 3 appearances for 3, and a more than 0 silver medals, and no gold medals?
<s>[INST]What is the total number of 4th place that has 3 appearances for 3, and a more than 0 silver medals, and no gold medals? Context: CREATE TABLE table_name_27 (gold_medals VARCHAR, appearances VARCHAR, silver_medals VARCHAR)[/INST]SELECT COUNT(4 AS th_place) FROM table_name_27 WHERE appearances = 3 AND silver_me...
CREATE TABLE Documents (project_id VARCHAR)
SELECT project_id FROM Documents GROUP BY project_id HAVING COUNT(*) >= 2
Show the ids for projects with at least 2 documents.
<s>[INST]Show the ids for projects with at least 2 documents. Context: CREATE TABLE Documents (project_id VARCHAR)[/INST]SELECT project_id FROM Documents GROUP BY project_id HAVING COUNT(*) >= 2</s>
CREATE TABLE table_name_7 (verb VARCHAR)
SELECT 2 AS __f_ FROM table_name_7 WHERE verb = "chena"
What is the 2nd verb for chena?
<s>[INST]What is the 2nd verb for chena? Context: CREATE TABLE table_name_7 (verb VARCHAR)[/INST]SELECT 2 AS __f_ FROM table_name_7 WHERE verb = "chena"</s>
CREATE TABLE table_name_22 (game INTEGER, points VARCHAR, opponent VARCHAR)
SELECT AVG(game) FROM table_name_22 WHERE points = 19 AND opponent = "new jersey devils"
What's the average game against the New Jersey Devils with 19 points?
<s>[INST]What's the average game against the New Jersey Devils with 19 points? Context: CREATE TABLE table_name_22 (game INTEGER, points VARCHAR, opponent VARCHAR)[/INST]SELECT AVG(game) FROM table_name_22 WHERE points = 19 AND opponent = "new jersey devils"</s>
CREATE TABLE table_name_14 (type VARCHAR, course VARCHAR)
SELECT type FROM table_name_14 WHERE course = "orta san giulio to milan"
What type of race took place on the course Orta San Giulio to Milan?
<s>[INST]What type of race took place on the course Orta San Giulio to Milan? Context: CREATE TABLE table_name_14 (type VARCHAR, course VARCHAR)[/INST]SELECT type FROM table_name_14 WHERE course = "orta san giulio to milan"</s>
CREATE TABLE table_name_31 (kickoff___et__ VARCHAR, opponent VARCHAR)
SELECT kickoff___et__ FROM table_name_31 WHERE opponent = "miami dolphins"
What time was the kickoff when the miami dolphins were the opponent?
<s>[INST]What time was the kickoff when the miami dolphins were the opponent? Context: CREATE TABLE table_name_31 (kickoff___et__ VARCHAR, opponent VARCHAR)[/INST]SELECT kickoff___et__ FROM table_name_31 WHERE opponent = "miami dolphins"</s>
CREATE TABLE table_name_73 (director VARCHAR, nomination VARCHAR)
SELECT director FROM table_name_73 WHERE nomination = "best actor in a leading role"
Tell me the director nominated for best actor in a leading role
<s>[INST]Tell me the director nominated for best actor in a leading role Context: CREATE TABLE table_name_73 (director VARCHAR, nomination VARCHAR)[/INST]SELECT director FROM table_name_73 WHERE nomination = "best actor in a leading role"</s>
CREATE TABLE table_12165999_1 (afl_team VARCHAR, player VARCHAR)
SELECT afl_team FROM table_12165999_1 WHERE player = "Bob Johnson"
Bob Johnson plays for which AFL team?
<s>[INST]Bob Johnson plays for which AFL team? Context: CREATE TABLE table_12165999_1 (afl_team VARCHAR, player VARCHAR)[/INST]SELECT afl_team FROM table_12165999_1 WHERE player = "Bob Johnson"</s>
CREATE TABLE table_name_57 (date VARCHAR, result VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_57 WHERE result = "l 27-7" AND opponent = "at minnesota vikings"
When has a Result of l 27-7 and an Opponent of at minnesota vikings?
<s>[INST]When has a Result of l 27-7 and an Opponent of at minnesota vikings? Context: CREATE TABLE table_name_57 (date VARCHAR, result VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_57 WHERE result = "l 27-7" AND opponent = "at minnesota vikings"</s>
CREATE TABLE table_name_70 (grid INTEGER, time VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_70 WHERE time = "+15.532" AND laps > 23
Can you tell me the highest Grid that has the Time of +15.532, and the Laps larger than 23?
<s>[INST]Can you tell me the highest Grid that has the Time of +15.532, and the Laps larger than 23? Context: CREATE TABLE table_name_70 (grid INTEGER, time VARCHAR, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_70 WHERE time = "+15.532" AND laps > 23</s>
CREATE TABLE table_name_5 (date VARCHAR, venue VARCHAR, result VARCHAR)
SELECT date FROM table_name_5 WHERE venue = "away" AND result = "lost 6-4 (lost 9-7 on agg)"
On what date was the venue Away and the result was lost 6-4 (lost 9-7 on agg)?
<s>[INST]On what date was the venue Away and the result was lost 6-4 (lost 9-7 on agg)? Context: CREATE TABLE table_name_5 (date VARCHAR, venue VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_5 WHERE venue = "away" AND result = "lost 6-4 (lost 9-7 on agg)"</s>
CREATE TABLE orders (customer_id VARCHAR, order_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_item_status VARCHAR, order_id VARCHAR)
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = "Cancel" AND T4.product_name = "food" GROUP BY T1.customer_id HAVING COUNT(*) >= 1
List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel").
<s>[INST]List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel"). Context: CREATE TABLE orders (customer_id VARCHAR, order_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name...
CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_55 WHERE opponent = "matt eckerle"
At what event did he fight matt eckerle?
<s>[INST]At what event did he fight matt eckerle? Context: CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_55 WHERE opponent = "matt eckerle"</s>
CREATE TABLE table_name_98 (react VARCHAR, lane VARCHAR, heat VARCHAR)
SELECT react FROM table_name_98 WHERE lane = 3 AND heat = 2
what is the react when the lane is 3 and heat is 2?
<s>[INST]what is the react when the lane is 3 and heat is 2? Context: CREATE TABLE table_name_98 (react VARCHAR, lane VARCHAR, heat VARCHAR)[/INST]SELECT react FROM table_name_98 WHERE lane = 3 AND heat = 2</s>
CREATE TABLE table_name_60 (stage INTEGER, difficulty VARCHAR, start VARCHAR)
SELECT MIN(stage) FROM table_name_60 WHERE difficulty = "middle" AND start = "els alocs"
What is the lowest stage number that starts with els alocs and has a middle difficulty?
<s>[INST]What is the lowest stage number that starts with els alocs and has a middle difficulty? Context: CREATE TABLE table_name_60 (stage INTEGER, difficulty VARCHAR, start VARCHAR)[/INST]SELECT MIN(stage) FROM table_name_60 WHERE difficulty = "middle" AND start = "els alocs"</s>
CREATE TABLE table_24852001_2 (team_record VARCHAR, opponent VARCHAR)
SELECT team_record FROM table_24852001_2 WHERE opponent = "Frankfurt Galaxy"
What was the team record after the Frankfurt Galaxy matchup?
<s>[INST]What was the team record after the Frankfurt Galaxy matchup? Context: CREATE TABLE table_24852001_2 (team_record VARCHAR, opponent VARCHAR)[/INST]SELECT team_record FROM table_24852001_2 WHERE opponent = "Frankfurt Galaxy"</s>
CREATE TABLE table_name_22 (circuit VARCHAR, race_title VARCHAR)
SELECT circuit FROM table_name_22 WHERE race_title = "japanese grand prix"
Which circuit has a Race Title of japanese grand prix?
<s>[INST]Which circuit has a Race Title of japanese grand prix? Context: CREATE TABLE table_name_22 (circuit VARCHAR, race_title VARCHAR)[/INST]SELECT circuit FROM table_name_22 WHERE race_title = "japanese grand prix"</s>
CREATE TABLE table_name_39 (driver VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_39 WHERE laps = "29"
Who was the driver with 29 laps?
<s>[INST]Who was the driver with 29 laps? Context: CREATE TABLE table_name_39 (driver VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_39 WHERE laps = "29"</s>
CREATE TABLE table_name_99 (capacity___mw__ INTEGER, rank VARCHAR, province VARCHAR)
SELECT MIN(capacity___mw__) FROM table_name_99 WHERE rank < 46 AND province = "newfoundland and labrador"
what is the least capacity (mw) when the rank is less than 46 and the province is newfoundland and labrador?
<s>[INST]what is the least capacity (mw) when the rank is less than 46 and the province is newfoundland and labrador? Context: CREATE TABLE table_name_99 (capacity___mw__ INTEGER, rank VARCHAR, province VARCHAR)[/INST]SELECT MIN(capacity___mw__) FROM table_name_99 WHERE rank < 46 AND province = "newfoundland and labrad...
CREATE TABLE table_name_14 (pick__number INTEGER, round VARCHAR, overall VARCHAR, college VARCHAR)
SELECT MAX(pick__number) FROM table_name_14 WHERE overall > 21 AND college = "north carolina" AND round < 3
Which Pick # is the highest one that has an Overall larger than 21, and a College of north carolina, and a Round smaller than 3?
<s>[INST]Which Pick # is the highest one that has an Overall larger than 21, and a College of north carolina, and a Round smaller than 3? Context: CREATE TABLE table_name_14 (pick__number INTEGER, round VARCHAR, overall VARCHAR, college VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_14 WHERE overall > 21 AND c...
CREATE TABLE table_16494599_4 (position VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_16494599_4 WHERE school_club_team = "Bowling Green"
What position(s) do players from bowling green play?
<s>[INST]What position(s) do players from bowling green play? Context: CREATE TABLE table_16494599_4 (position VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_16494599_4 WHERE school_club_team = "Bowling Green"</s>
CREATE TABLE table_name_97 (population_per_square_km VARCHAR, population_112006 VARCHAR)
SELECT COUNT(population_per_square_km) FROM table_name_97 WHERE population_112006 = 12.757
Name the total number of population per square km with population 1.12006 of 12.757
<s>[INST]Name the total number of population per square km with population 1.12006 of 12.757 Context: CREATE TABLE table_name_97 (population_per_square_km VARCHAR, population_112006 VARCHAR)[/INST]SELECT COUNT(population_per_square_km) FROM table_name_97 WHERE population_112006 = 12.757</s>
CREATE TABLE table_name_11 (fac___lc_apps INTEGER, pl_apps VARCHAR, UEfa_yc VARCHAR)
SELECT SUM(fac___lc_apps) FROM table_name_11 WHERE pl_apps < 25 AND UEfa_yc < 0
What is the sum of the FAC/LC apps with less than 25 PC apps and a UEFA YC less than 0?
<s>[INST]What is the sum of the FAC/LC apps with less than 25 PC apps and a UEFA YC less than 0? Context: CREATE TABLE table_name_11 (fac___lc_apps INTEGER, pl_apps VARCHAR, UEfa_yc VARCHAR)[/INST]SELECT SUM(fac___lc_apps) FROM table_name_11 WHERE pl_apps < 25 AND UEfa_yc < 0</s>
CREATE TABLE table_name_9 (winning_driver VARCHAR, race_name VARCHAR)
SELECT winning_driver FROM table_name_9 WHERE race_name = "iv j.c.c. jersey road race"
Which driver won the iv j.c.c. jersey road race?
<s>[INST]Which driver won the iv j.c.c. jersey road race? Context: CREATE TABLE table_name_9 (winning_driver VARCHAR, race_name VARCHAR)[/INST]SELECT winning_driver FROM table_name_9 WHERE race_name = "iv j.c.c. jersey road race"</s>
CREATE TABLE table_name_49 (result VARCHAR, year VARCHAR, tournament VARCHAR)
SELECT result FROM table_name_49 WHERE year < 2010 AND tournament = "hypo-meeting"
What is the result of the hypo-meeting before 2010?
<s>[INST]What is the result of the hypo-meeting before 2010? Context: CREATE TABLE table_name_49 (result VARCHAR, year VARCHAR, tournament VARCHAR)[/INST]SELECT result FROM table_name_49 WHERE year < 2010 AND tournament = "hypo-meeting"</s>
CREATE TABLE table_name_96 (name VARCHAR, spread VARCHAR)
SELECT name FROM table_name_96 WHERE spread = 69
What name has a spread of 69?
<s>[INST]What name has a spread of 69? Context: CREATE TABLE table_name_96 (name VARCHAR, spread VARCHAR)[/INST]SELECT name FROM table_name_96 WHERE spread = 69</s>
CREATE TABLE table_name_39 (iata VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_39 WHERE icao = "eheh"
what's the iata for the icao of eheh?
<s>[INST]what's the iata for the icao of eheh? Context: CREATE TABLE table_name_39 (iata VARCHAR, icao VARCHAR)[/INST]SELECT iata FROM table_name_39 WHERE icao = "eheh"</s>
CREATE TABLE table_name_8 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_8 WHERE date = "april 5"
Who is the visitor on April 5?
<s>[INST]Who is the visitor on April 5? Context: CREATE TABLE table_name_8 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_8 WHERE date = "april 5"</s>
CREATE TABLE table_name_18 (age_as_of_1_february_2014 VARCHAR, name VARCHAR)
SELECT age_as_of_1_february_2014 FROM table_name_18 WHERE name = "dorothy peel"
What is the Age of dorothy Peel as of 1 February 2014 ?
<s>[INST]What is the Age of dorothy Peel as of 1 February 2014 ? Context: CREATE TABLE table_name_18 (age_as_of_1_february_2014 VARCHAR, name VARCHAR)[/INST]SELECT age_as_of_1_february_2014 FROM table_name_18 WHERE name = "dorothy peel"</s>
CREATE TABLE table_name_13 (content VARCHAR, package_option VARCHAR, television_service VARCHAR)
SELECT content FROM table_name_13 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 14"
What is the content when the package/option is qualsiasi and sky primafila 14 is the television service?
<s>[INST]What is the content when the package/option is qualsiasi and sky primafila 14 is the television service? Context: CREATE TABLE table_name_13 (content VARCHAR, package_option VARCHAR, television_service VARCHAR)[/INST]SELECT content FROM table_name_13 WHERE package_option = "qualsiasi" AND television_service = ...
CREATE TABLE table_12564633_1 (series__number INTEGER, season__number VARCHAR)
SELECT MIN(series__number) FROM table_12564633_1 WHERE season__number = 18
What is the series number for Season #18?
<s>[INST]What is the series number for Season #18? Context: CREATE TABLE table_12564633_1 (series__number INTEGER, season__number VARCHAR)[/INST]SELECT MIN(series__number) FROM table_12564633_1 WHERE season__number = 18</s>
CREATE TABLE table_name_69 (video_coding VARCHAR, format_name VARCHAR)
SELECT video_coding FROM table_name_69 WHERE format_name = "dvcam"
What type of video coding has a format name of dvcam?
<s>[INST]What type of video coding has a format name of dvcam? Context: CREATE TABLE table_name_69 (video_coding VARCHAR, format_name VARCHAR)[/INST]SELECT video_coding FROM table_name_69 WHERE format_name = "dvcam"</s>
CREATE TABLE Timed_Status_of_Things (thing_id VARCHAR, Status_of_Thing_Code VARCHAR, Date_and_Date VARCHAR); CREATE TABLE Things (thing_id VARCHAR, Type_of_Thing_Code VARCHAR)
SELECT DISTINCT T2.thing_id, T2.Type_of_Thing_Code FROM Timed_Status_of_Things AS T1 JOIN Things AS T2 ON T1.thing_id = T2.thing_id WHERE T1.Status_of_Thing_Code = 'Close' OR T1.Date_and_Date < '2017-06-19 02:59:21'
What are the distinct id and type of the thing that has the status 'Close' or has a status record before the date '2017-06-19 02:59:21'
<s>[INST]What are the distinct id and type of the thing that has the status 'Close' or has a status record before the date '2017-06-19 02:59:21' Context: CREATE TABLE Timed_Status_of_Things (thing_id VARCHAR, Status_of_Thing_Code VARCHAR, Date_and_Date VARCHAR); CREATE TABLE Things (thing_id VARCHAR, Type_of_Thing_Code...
CREATE TABLE table_name_97 (angle_from_center_ VARCHAR, taper VARCHAR, ft VARCHAR)
SELECT COUNT(angle_from_center_) AS ° FROM table_name_97 WHERE taper / ft < 0.6000000000000001
Which Angle from center/° has a Taper/ft smaller than 0.6000000000000001?
<s>[INST]Which Angle from center/° has a Taper/ft smaller than 0.6000000000000001? Context: CREATE TABLE table_name_97 (angle_from_center_ VARCHAR, taper VARCHAR, ft VARCHAR)[/INST]SELECT COUNT(angle_from_center_) AS ° FROM table_name_97 WHERE taper / ft < 0.6000000000000001</s>
CREATE TABLE table_26733129_1 (episode_number INTEGER, three_darts_challenge VARCHAR)
SELECT MAX(episode_number) FROM table_26733129_1 WHERE three_darts_challenge = "Sharon Osbourne"
How many episodes are there for the three darts challenge with Sharon Osbourne?
<s>[INST]How many episodes are there for the three darts challenge with Sharon Osbourne? Context: CREATE TABLE table_26733129_1 (episode_number INTEGER, three_darts_challenge VARCHAR)[/INST]SELECT MAX(episode_number) FROM table_26733129_1 WHERE three_darts_challenge = "Sharon Osbourne"</s>
CREATE TABLE table_24466191_1 (flaps INTEGER)
SELECT MIN(flaps) FROM table_24466191_1
Name the least flaps
<s>[INST]Name the least flaps Context: CREATE TABLE table_24466191_1 (flaps INTEGER)[/INST]SELECT MIN(flaps) FROM table_24466191_1</s>
CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_93 WHERE venue = "victoria park"
What is the home team for victoria park?
<s>[INST]What is the home team for victoria park? Context: CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_93 WHERE venue = "victoria park"</s>