context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_73 (suffix VARCHAR, group VARCHAR)
SELECT suffix FROM table_name_73 WHERE group = "benzyl"
What is the Suffix for the Group of Benzyl?
<s>[INST]What is the Suffix for the Group of Benzyl? Context: CREATE TABLE table_name_73 (suffix VARCHAR, group VARCHAR)[/INST]SELECT suffix FROM table_name_73 WHERE group = "benzyl"</s>
CREATE TABLE table_name_5 (score VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score FROM table_name_5 WHERE surface = "clay" AND date = "may 29, 2006"
What was the score on a clay surface on May 29, 2006?
<s>[INST]What was the score on a clay surface on May 29, 2006? Context: CREATE TABLE table_name_5 (score VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_5 WHERE surface = "clay" AND date = "may 29, 2006"</s>
CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubid VARCHAR)
SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Linda" AND t3.lname = "Smith"
How many clubs does "Linda Smith" belong to?
<s>[INST]How many clubs does "Linda Smith" belong to? Context: CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubid VARCHAR)[/INST]SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN...
CREATE TABLE table_name_58 (launch_date VARCHAR, institutional_authority VARCHAR, launch_vehicle VARCHAR)
SELECT launch_date FROM table_name_58 WHERE institutional_authority = "ndc" AND launch_vehicle = "hatf-xi"
Tell me the launch date with Institutional authority of ndc and launch vehicle of hatf-xi
<s>[INST]Tell me the launch date with Institutional authority of ndc and launch vehicle of hatf-xi Context: CREATE TABLE table_name_58 (launch_date VARCHAR, institutional_authority VARCHAR, launch_vehicle VARCHAR)[/INST]SELECT launch_date FROM table_name_58 WHERE institutional_authority = "ndc" AND launch_vehicle = "ha...
CREATE TABLE table_name_73 (opponents VARCHAR, record VARCHAR)
SELECT opponents FROM table_name_73 WHERE record = "3-0"
Who are the opponents with a record of 3-0?
<s>[INST]Who are the opponents with a record of 3-0? Context: CREATE TABLE table_name_73 (opponents VARCHAR, record VARCHAR)[/INST]SELECT opponents FROM table_name_73 WHERE record = "3-0"</s>
CREATE TABLE table_name_75 (john_oxendine VARCHAR, karen_handel VARCHAR)
SELECT john_oxendine FROM table_name_75 WHERE karen_handel = "38%"
What is John Oxendine at in the poll where Karen Handel is at 38%?
<s>[INST]What is John Oxendine at in the poll where Karen Handel is at 38%? Context: CREATE TABLE table_name_75 (john_oxendine VARCHAR, karen_handel VARCHAR)[/INST]SELECT john_oxendine FROM table_name_75 WHERE karen_handel = "38%"</s>
CREATE TABLE table_2468961_2 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_2468961_2 WHERE written_by = "Ross Brown"
What is the name of the episode written by Ross Brown?
<s>[INST]What is the name of the episode written by Ross Brown? Context: CREATE TABLE table_2468961_2 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_2468961_2 WHERE written_by = "Ross Brown"</s>
CREATE TABLE table_16799784_8 (longitude VARCHAR, name VARCHAR)
SELECT longitude FROM table_16799784_8 WHERE name = "Razia Patera"
What is the longitude of the feature named Razia Patera?
<s>[INST]What is the longitude of the feature named Razia Patera? Context: CREATE TABLE table_16799784_8 (longitude VARCHAR, name VARCHAR)[/INST]SELECT longitude FROM table_16799784_8 WHERE name = "Razia Patera"</s>
CREATE TABLE table_name_41 (games INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)
SELECT MAX(games) FROM table_name_41 WHERE points = 32 AND team = "montepaschi siena" AND rank > 4
What is the highest game that has 32 points and a team rank larger than 4 named montepaschi siena
<s>[INST]What is the highest game that has 32 points and a team rank larger than 4 named montepaschi siena Context: CREATE TABLE table_name_41 (games INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)[/INST]SELECT MAX(games) FROM table_name_41 WHERE points = 32 AND team = "montepaschi siena" AND rank > 4</s>
CREATE TABLE table_20803241_1 (type_of_fare VARCHAR, cash_fare VARCHAR, day_pass VARCHAR)
SELECT COUNT(type_of_fare) FROM table_20803241_1 WHERE 31 - day_pass = "N/A" AND cash_fare = "N/A"
When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there?
<s>[INST]When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there? Context: CREATE TABLE table_20803241_1 (type_of_fare VARCHAR, cash_fare VARCHAR, day_pass VARCHAR)[/INST]SELECT COUNT(type_of_fare) FROM table_20803241_1 WHERE 31 - day_pass = "N/A" AND cash_fare = "N/A"</s>
CREATE TABLE table_2051288_1 (_2000_ VARCHAR, population__may INTEGER, location VARCHAR, barangay VARCHAR)
SELECT MIN(population__may), _2000_ FROM table_2051288_1 WHERE location = "coastal" AND barangay = "Isio"
What was the population of the coastal location Isio in May of 2000?
<s>[INST]What was the population of the coastal location Isio in May of 2000? Context: CREATE TABLE table_2051288_1 (_2000_ VARCHAR, population__may INTEGER, location VARCHAR, barangay VARCHAR)[/INST]SELECT MIN(population__may), _2000_ FROM table_2051288_1 WHERE location = "coastal" AND barangay = "Isio"</s>
CREATE TABLE table_11449311_2 (kickoff_ VARCHAR, a_ VARCHAR, tv VARCHAR, opponent VARCHAR)
SELECT kickoff_[a_] FROM table_11449311_2 WHERE tv = "CBS" AND opponent = "St. Louis Cardinals"
Give me the kickoff time of the game that was aired on CBS against the St. Louis Cardinals.
<s>[INST]Give me the kickoff time of the game that was aired on CBS against the St. Louis Cardinals. Context: CREATE TABLE table_11449311_2 (kickoff_ VARCHAR, a_ VARCHAR, tv VARCHAR, opponent VARCHAR)[/INST]SELECT kickoff_[a_] FROM table_11449311_2 WHERE tv = "CBS" AND opponent = "St. Louis Cardinals"</s>
CREATE TABLE table_name_3 (semi_finalists VARCHAR, runner_up VARCHAR)
SELECT semi_finalists FROM table_name_3 WHERE runner_up = "lisa raymond"
Who were semi-finalists in the event with a runner-up of Lisa Raymond?
<s>[INST]Who were semi-finalists in the event with a runner-up of Lisa Raymond? Context: CREATE TABLE table_name_3 (semi_finalists VARCHAR, runner_up VARCHAR)[/INST]SELECT semi_finalists FROM table_name_3 WHERE runner_up = "lisa raymond"</s>
CREATE TABLE table_name_43 (speed VARCHAR, machine VARCHAR, points VARCHAR)
SELECT speed FROM table_name_43 WHERE machine = "bmw" AND points = 6
How fast does the BMW with 6 points go?
<s>[INST]How fast does the BMW with 6 points go? Context: CREATE TABLE table_name_43 (speed VARCHAR, machine VARCHAR, points VARCHAR)[/INST]SELECT speed FROM table_name_43 WHERE machine = "bmw" AND points = 6</s>
CREATE TABLE Draft_Copies (document_id VARCHAR, copy_number VARCHAR)
SELECT document_id, COUNT(copy_number) FROM Draft_Copies GROUP BY document_id ORDER BY COUNT(copy_number) DESC LIMIT 1
Which document has the most draft copies? List its document id and number of draft copies.
<s>[INST]Which document has the most draft copies? List its document id and number of draft copies. Context: CREATE TABLE Draft_Copies (document_id VARCHAR, copy_number VARCHAR)[/INST]SELECT document_id, COUNT(copy_number) FROM Draft_Copies GROUP BY document_id ORDER BY COUNT(copy_number) DESC LIMIT 1</s>
CREATE TABLE table_name_48 (opponent VARCHAR, round VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_48 WHERE round < 3 AND time = "1:09"
Which Opponent has a Round smaller than 3, and a Time of 1:09?
<s>[INST]Which Opponent has a Round smaller than 3, and a Time of 1:09? Context: CREATE TABLE table_name_48 (opponent VARCHAR, round VARCHAR, time VARCHAR)[/INST]SELECT opponent FROM table_name_48 WHERE round < 3 AND time = "1:09"</s>
CREATE TABLE table_name_81 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR)
SELECT MIN(touchdowns) FROM table_name_81 WHERE points = 5 AND field_goals > 0
Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0?
<s>[INST]Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0? Context: CREATE TABLE table_name_81 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR)[/INST]SELECT MIN(touchdowns) FROM table_name_81 WHERE points = 5 AND field_goals > 0</s>
CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR)
SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Peter Feigl"
Who were the semifinalists when the runner-up was Peter Feigl?
<s>[INST]Who were the semifinalists when the runner-up was Peter Feigl? Context: CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR)[/INST]SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Peter Feigl"</s>
CREATE TABLE GRAPES (Grape VARCHAR, Color VARCHAR); CREATE TABLE WINE (Grape VARCHAR, score VARCHAR)
SELECT DISTINCT T1.Grape FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Color = "White" AND T2.score > 90
Find the the grape whose white color grapes are used to produce wines with scores higher than 90.
<s>[INST]Find the the grape whose white color grapes are used to produce wines with scores higher than 90. Context: CREATE TABLE GRAPES (Grape VARCHAR, Color VARCHAR); CREATE TABLE WINE (Grape VARCHAR, score VARCHAR)[/INST]SELECT DISTINCT T1.Grape FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Color ...
CREATE TABLE table_name_39 (player VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_39 WHERE country = "united states" AND to_par = "–3"
WHo has a Country of united states and a To par of –3?
<s>[INST]WHo has a Country of united states and a To par of –3? Context: CREATE TABLE table_name_39 (player VARCHAR, country VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_39 WHERE country = "united states" AND to_par = "–3"</s>
CREATE TABLE table_14489821_1 (team VARCHAR)
SELECT 1986 AS _87 FROM table_14489821_1 WHERE team = "Argentinos Juniors"
how many points did the argentinos juniors team score during the 1986-87 season?
<s>[INST]how many points did the argentinos juniors team score during the 1986-87 season? Context: CREATE TABLE table_14489821_1 (team VARCHAR)[/INST]SELECT 1986 AS _87 FROM table_14489821_1 WHERE team = "Argentinos Juniors"</s>
CREATE TABLE table_12001616_4 (laps VARCHAR, entrant VARCHAR)
SELECT laps FROM table_12001616_4 WHERE entrant = "Marcis Auto Racing"
What is the laops of marcis auto racing?
<s>[INST]What is the laops of marcis auto racing? Context: CREATE TABLE table_12001616_4 (laps VARCHAR, entrant VARCHAR)[/INST]SELECT laps FROM table_12001616_4 WHERE entrant = "Marcis Auto Racing"</s>
CREATE TABLE table_name_11 (team VARCHAR, player VARCHAR)
SELECT team FROM table_name_11 WHERE player = "bubba vanegdom"
Which team was Bubba Vanegdom from?
<s>[INST]Which team was Bubba Vanegdom from? Context: CREATE TABLE table_name_11 (team VARCHAR, player VARCHAR)[/INST]SELECT team FROM table_name_11 WHERE player = "bubba vanegdom"</s>
CREATE TABLE table_name_2 (date VARCHAR, type VARCHAR)
SELECT date FROM table_name_2 WHERE type = "plain stage"
Name the date which has type of plain stage
<s>[INST]Name the date which has type of plain stage Context: CREATE TABLE table_name_2 (date VARCHAR, type VARCHAR)[/INST]SELECT date FROM table_name_2 WHERE type = "plain stage"</s>
CREATE TABLE table_2076533_1 (type VARCHAR, main_location VARCHAR)
SELECT type FROM table_2076533_1 WHERE main_location = "McMinnville"
Name the type for mcminnville
<s>[INST]Name the type for mcminnville Context: CREATE TABLE table_2076533_1 (type VARCHAR, main_location VARCHAR)[/INST]SELECT type FROM table_2076533_1 WHERE main_location = "McMinnville"</s>
CREATE TABLE projects (name VARCHAR, hours INTEGER)
SELECT name FROM projects WHERE hours BETWEEN 100 AND 300
Find the name of projects that require between 100 and 300 hours of work.
<s>[INST]Find the name of projects that require between 100 and 300 hours of work. Context: CREATE TABLE projects (name VARCHAR, hours INTEGER)[/INST]SELECT name FROM projects WHERE hours BETWEEN 100 AND 300</s>
CREATE TABLE table_name_25 (record VARCHAR, home VARCHAR, decision VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_25 WHERE decision = "lehtonen" AND visitor = "atlanta" AND home = "ny rangers"
What is the team's record when the NY rangers are at home with atlanta visting and lehtonen getting the decision?
<s>[INST]What is the team's record when the NY rangers are at home with atlanta visting and lehtonen getting the decision? Context: CREATE TABLE table_name_25 (record VARCHAR, home VARCHAR, decision VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_25 WHERE decision = "lehtonen" AND visitor = "atlanta" AND ...
CREATE TABLE Courses (author_id VARCHAR, course_name VARCHAR); CREATE TABLE Course_Authors_and_Tutors (login_name VARCHAR, author_id VARCHAR)
SELECT T1.login_name FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id WHERE T2.course_name = "advanced database"
Find the login name of the course author that teaches the course with name "advanced database".
<s>[INST]Find the login name of the course author that teaches the course with name "advanced database". Context: CREATE TABLE Courses (author_id VARCHAR, course_name VARCHAR); CREATE TABLE Course_Authors_and_Tutors (login_name VARCHAR, author_id VARCHAR)[/INST]SELECT T1.login_name FROM Course_Authors_and_Tutors AS T1 ...
CREATE TABLE table_name_44 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, tournament VARCHAR)
SELECT MIN(top_10) FROM table_name_44 WHERE top_25 = 6 AND tournament = "u.s. open" AND cuts_made > 9
What is the lowest Top-10 when the Top-25 is 6, and a Tournament of u.s. open, and a Cut made larger than 9?
<s>[INST]What is the lowest Top-10 when the Top-25 is 6, and a Tournament of u.s. open, and a Cut made larger than 9? Context: CREATE TABLE table_name_44 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, tournament VARCHAR)[/INST]SELECT MIN(top_10) FROM table_name_44 WHERE top_25 = 6 AND tournament = "u.s. open" AND ...
CREATE TABLE table_2780146_6 (hc__g_kwh_ VARCHAR, standard VARCHAR)
SELECT hc__g_kwh_ FROM table_2780146_6 WHERE standard = "Euro I"
What's the HC for the Euro I standard?
<s>[INST]What's the HC for the Euro I standard? Context: CREATE TABLE table_2780146_6 (hc__g_kwh_ VARCHAR, standard VARCHAR)[/INST]SELECT hc__g_kwh_ FROM table_2780146_6 WHERE standard = "Euro I"</s>
CREATE TABLE table_name_5 (week VARCHAR, original_artist VARCHAR)
SELECT week FROM table_name_5 WHERE original_artist = "the police"
What week was the Original artist, the police ?
<s>[INST]What week was the Original artist, the police ? Context: CREATE TABLE table_name_5 (week VARCHAR, original_artist VARCHAR)[/INST]SELECT week FROM table_name_5 WHERE original_artist = "the police"</s>
CREATE TABLE table_name_53 (start VARCHAR, team VARCHAR, year VARCHAR)
SELECT COUNT(start) FROM table_name_53 WHERE team = "rahal letterman" AND year = 2006
Where did the team of Rahal Letterman in 2006 start?
<s>[INST]Where did the team of Rahal Letterman in 2006 start? Context: CREATE TABLE table_name_53 (start VARCHAR, team VARCHAR, year VARCHAR)[/INST]SELECT COUNT(start) FROM table_name_53 WHERE team = "rahal letterman" AND year = 2006</s>
CREATE TABLE airport (Transit_Passengers INTEGER)
SELECT MAX(Transit_Passengers), MIN(Transit_Passengers) FROM airport
What are the maximum and minimum number of transit passengers of all aiports.
<s>[INST]What are the maximum and minimum number of transit passengers of all aiports. Context: CREATE TABLE airport (Transit_Passengers INTEGER)[/INST]SELECT MAX(Transit_Passengers), MIN(Transit_Passengers) FROM airport</s>
CREATE TABLE table_name_84 (start VARCHAR, laps VARCHAR)
SELECT start FROM table_name_84 WHERE laps = 182
Where was the starting position when there were 182 laps?
<s>[INST]Where was the starting position when there were 182 laps? Context: CREATE TABLE table_name_84 (start VARCHAR, laps VARCHAR)[/INST]SELECT start FROM table_name_84 WHERE laps = 182</s>
CREATE TABLE table_name_71 (lost INTEGER, played INTEGER)
SELECT SUM(lost) FROM table_name_71 WHERE played < 42
what is the lost when played is less than 42?
<s>[INST]what is the lost when played is less than 42? Context: CREATE TABLE table_name_71 (lost INTEGER, played INTEGER)[/INST]SELECT SUM(lost) FROM table_name_71 WHERE played < 42</s>
CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_54 WHERE away_team = "south melbourne"
What home team played against south Melbourne?
<s>[INST]What home team played against south Melbourne? Context: CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_54 WHERE away_team = "south melbourne"</s>
CREATE TABLE table_name_42 (heat VARCHAR, mark VARCHAR)
SELECT heat FROM table_name_42 WHERE mark = "6.69"
What is Heat, when Mark is 6.69?
<s>[INST]What is Heat, when Mark is 6.69? Context: CREATE TABLE table_name_42 (heat VARCHAR, mark VARCHAR)[/INST]SELECT heat FROM table_name_42 WHERE mark = "6.69"</s>
CREATE TABLE table_14342210_14 (touchdowns__5_points_ INTEGER, player VARCHAR)
SELECT MAX(touchdowns__5_points_) FROM table_14342210_14 WHERE player = "Bruce Shorts"
How many touchdowns did Bruce Shorts make?
<s>[INST]How many touchdowns did Bruce Shorts make? Context: CREATE TABLE table_14342210_14 (touchdowns__5_points_ INTEGER, player VARCHAR)[/INST]SELECT MAX(touchdowns__5_points_) FROM table_14342210_14 WHERE player = "Bruce Shorts"</s>
CREATE TABLE employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, salary INTEGER, department_id VARCHAR)
SELECT employee_id, first_name, last_name, salary FROM employees WHERE salary > (SELECT AVG(salary) FROM employees) AND department_id IN (SELECT department_id FROM employees WHERE first_name LIKE '%J%')
display the employee number, name( first name and last name ), and salary for all employees who earn more than the average salary and who work in a department with any employee with a 'J' in their first name.
<s>[INST]display the employee number, name( first name and last name ), and salary for all employees who earn more than the average salary and who work in a department with any employee with a 'J' in their first name. Context: CREATE TABLE employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, salary IN...
CREATE TABLE Flight (price INTEGER, origin VARCHAR, destination VARCHAR)
SELECT AVG(price) FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu"
What is the average price for flights from Los Angeles to Honolulu.
<s>[INST]What is the average price for flights from Los Angeles to Honolulu. Context: CREATE TABLE Flight (price INTEGER, origin VARCHAR, destination VARCHAR)[/INST]SELECT AVG(price) FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu"</s>
CREATE TABLE table_29033869_3 (round INTEGER, result__includes_margin_ VARCHAR)
SELECT MIN(round) FROM table_29033869_3 WHERE result__includes_margin_ = "Lost by 36 points"
What is the earliest round where collingswood lost by 36 points?
<s>[INST]What is the earliest round where collingswood lost by 36 points? Context: CREATE TABLE table_29033869_3 (round INTEGER, result__includes_margin_ VARCHAR)[/INST]SELECT MIN(round) FROM table_29033869_3 WHERE result__includes_margin_ = "Lost by 36 points"</s>
CREATE TABLE table_1123802_1 (_takeoff VARCHAR, power VARCHAR, engine VARCHAR)
SELECT COUNT(power), _takeoff FROM table_1123802_1 WHERE engine = "Wasp Jr. T1B2"
When the engine is Wasp Jr. T1B2, what is the number needed for takeoff power?
<s>[INST]When the engine is Wasp Jr. T1B2, what is the number needed for takeoff power? Context: CREATE TABLE table_1123802_1 (_takeoff VARCHAR, power VARCHAR, engine VARCHAR)[/INST]SELECT COUNT(power), _takeoff FROM table_1123802_1 WHERE engine = "Wasp Jr. T1B2"</s>
CREATE TABLE table_name_96 (episode INTEGER, performer_4 VARCHAR, performer_1 VARCHAR)
SELECT SUM(episode) FROM table_name_96 WHERE performer_4 = "chip esten" AND performer_1 = "jim meskimen"
What is the sum of the episodes where chip esten was the 4th performer and jim meskimen was the 1st performer?
<s>[INST]What is the sum of the episodes where chip esten was the 4th performer and jim meskimen was the 1st performer? Context: CREATE TABLE table_name_96 (episode INTEGER, performer_4 VARCHAR, performer_1 VARCHAR)[/INST]SELECT SUM(episode) FROM table_name_96 WHERE performer_4 = "chip esten" AND performer_1 = "jim mes...
CREATE TABLE table_name_84 (time VARCHAR, res VARCHAR, round VARCHAR)
SELECT time FROM table_name_84 WHERE res = "loss" AND round < 3
What was the time for the match that resulted in a loss in less than 3 rounds?
<s>[INST]What was the time for the match that resulted in a loss in less than 3 rounds? Context: CREATE TABLE table_name_84 (time VARCHAR, res VARCHAR, round VARCHAR)[/INST]SELECT time FROM table_name_84 WHERE res = "loss" AND round < 3</s>
CREATE TABLE table_name_87 (title VARCHAR, prod_code VARCHAR)
SELECT title FROM table_name_87 WHERE prod_code = "40811-002"
What is the title of the episode with production code 40811-002?
<s>[INST]What is the title of the episode with production code 40811-002? Context: CREATE TABLE table_name_87 (title VARCHAR, prod_code VARCHAR)[/INST]SELECT title FROM table_name_87 WHERE prod_code = "40811-002"</s>
CREATE TABLE table_name_74 (greek_designation VARCHAR, us_state_district VARCHAR, charter_date VARCHAR)
SELECT greek_designation FROM table_name_74 WHERE us_state_district = "new york" AND charter_date = "april 23, 2005"
What's the greek designation of the new york chapter with a charter date of april 23, 2005?
<s>[INST]What's the greek designation of the new york chapter with a charter date of april 23, 2005? Context: CREATE TABLE table_name_74 (greek_designation VARCHAR, us_state_district VARCHAR, charter_date VARCHAR)[/INST]SELECT greek_designation FROM table_name_74 WHERE us_state_district = "new york" AND charter_date = ...
CREATE TABLE table_name_40 (oxford_united_career_ VARCHAR, b_ VARCHAR, appearances VARCHAR, position_ VARCHAR, a_ VARCHAR)
SELECT oxford_united_career_[b_] FROM table_name_40 WHERE position_[a_] = "forward" AND appearances = 56
Which OU career [b] had Position [A] as a forward when there were 56 appearances?
<s>[INST]Which OU career [b] had Position [A] as a forward when there were 56 appearances? Context: CREATE TABLE table_name_40 (oxford_united_career_ VARCHAR, b_ VARCHAR, appearances VARCHAR, position_ VARCHAR, a_ VARCHAR)[/INST]SELECT oxford_united_career_[b_] FROM table_name_40 WHERE position_[a_] = "forward" AND app...
CREATE TABLE table_28846752_13 (economy VARCHAR, bbi VARCHAR)
SELECT COUNT(economy) FROM table_28846752_13 WHERE bbi = "2/19"
How many economy stats for the player with 2/19 BBI?
<s>[INST]How many economy stats for the player with 2/19 BBI? Context: CREATE TABLE table_28846752_13 (economy VARCHAR, bbi VARCHAR)[/INST]SELECT COUNT(economy) FROM table_28846752_13 WHERE bbi = "2/19"</s>
CREATE TABLE table_name_14 (year_built__converted VARCHAR, _ VARCHAR, no_built__converted VARCHAR)
SELECT year_built__converted * _ FROM table_name_14 WHERE no_built__converted * _ = "10"
Tell me the year built for number built of 10
<s>[INST]Tell me the year built for number built of 10 Context: CREATE TABLE table_name_14 (year_built__converted VARCHAR, _ VARCHAR, no_built__converted VARCHAR)[/INST]SELECT year_built__converted * _ FROM table_name_14 WHERE no_built__converted * _ = "10"</s>
CREATE TABLE table_name_13 (name VARCHAR, number VARCHAR, season VARCHAR, acquisition_via VARCHAR)
SELECT name FROM table_name_13 WHERE season = "2010-2011" AND acquisition_via = "free agency" AND number = "14"
What is the name of the player for the 2010-2011 season, from a Free Agency and is Number 14?
<s>[INST]What is the name of the player for the 2010-2011 season, from a Free Agency and is Number 14? Context: CREATE TABLE table_name_13 (name VARCHAR, number VARCHAR, season VARCHAR, acquisition_via VARCHAR)[/INST]SELECT name FROM table_name_13 WHERE season = "2010-2011" AND acquisition_via = "free agency" AND numbe...
CREATE TABLE table_21634403_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
SELECT us_viewers__millions_ FROM table_21634403_2 WHERE directed_by = "Frank Waldeck"
How many U.S. viewers watched the episode directed by Frank Waldeck?
<s>[INST]How many U.S. viewers watched the episode directed by Frank Waldeck? Context: CREATE TABLE table_21634403_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_21634403_2 WHERE directed_by = "Frank Waldeck"</s>
CREATE TABLE table_22875514_3 (player VARCHAR, field_goals VARCHAR)
SELECT player FROM table_22875514_3 WHERE field_goals = "18-50 .360"
Which player has 18-50 .360 field goals?
<s>[INST]Which player has 18-50 .360 field goals? Context: CREATE TABLE table_22875514_3 (player VARCHAR, field_goals VARCHAR)[/INST]SELECT player FROM table_22875514_3 WHERE field_goals = "18-50 .360"</s>
CREATE TABLE table_12485020_1 (ds_division VARCHAR, divisional_secretary VARCHAR)
SELECT ds_division FROM table_12485020_1 WHERE divisional_secretary = "S. H. Muzammil"
What is the name of the DS division where the divisional secretary is S. H. Muzammil?
<s>[INST]What is the name of the DS division where the divisional secretary is S. H. Muzammil? Context: CREATE TABLE table_12485020_1 (ds_division VARCHAR, divisional_secretary VARCHAR)[/INST]SELECT ds_division FROM table_12485020_1 WHERE divisional_secretary = "S. H. Muzammil"</s>
CREATE TABLE table_name_26 (leading_scorer VARCHAR, score VARCHAR)
SELECT leading_scorer FROM table_name_26 WHERE score = "107–97"
Who was the leading scorer of the game that had a score of 107–97?
<s>[INST]Who was the leading scorer of the game that had a score of 107–97? Context: CREATE TABLE table_name_26 (leading_scorer VARCHAR, score VARCHAR)[/INST]SELECT leading_scorer FROM table_name_26 WHERE score = "107–97"</s>
CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_12 WHERE result = "l 49–21"
I want the attendance which has a result of l 49–21
<s>[INST]I want the attendance which has a result of l 49–21 Context: CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_name_12 WHERE result = "l 49–21"</s>
CREATE TABLE table_name_99 (heat INTEGER, time VARCHAR)
SELECT AVG(heat) FROM table_name_99 WHERE time = "2:23.95"
What is the heat number of the athlete who finished in 2:23.95?
<s>[INST]What is the heat number of the athlete who finished in 2:23.95? Context: CREATE TABLE table_name_99 (heat INTEGER, time VARCHAR)[/INST]SELECT AVG(heat) FROM table_name_99 WHERE time = "2:23.95"</s>
CREATE TABLE table_name_91 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_91 WHERE home_team = "richmond"
What is the combined of Crowd when richmond played at home?
<s>[INST]What is the combined of Crowd when richmond played at home? Context: CREATE TABLE table_name_91 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_91 WHERE home_team = "richmond"</s>
CREATE TABLE table_name_63 (cuts_made INTEGER, top_25 INTEGER)
SELECT AVG(cuts_made) FROM table_name_63 WHERE top_25 < 5
What is the average number of cuts made in the Top 25 smaller than 5?
<s>[INST]What is the average number of cuts made in the Top 25 smaller than 5? Context: CREATE TABLE table_name_63 (cuts_made INTEGER, top_25 INTEGER)[/INST]SELECT AVG(cuts_made) FROM table_name_63 WHERE top_25 < 5</s>
CREATE TABLE table_name_25 (mascot VARCHAR, location VARCHAR)
SELECT mascot FROM table_name_25 WHERE location = "brook"
What is the Mascot of Brook?
<s>[INST]What is the Mascot of Brook? Context: CREATE TABLE table_name_25 (mascot VARCHAR, location VARCHAR)[/INST]SELECT mascot FROM table_name_25 WHERE location = "brook"</s>
CREATE TABLE table_name_96 (developer VARCHAR, year_of_release VARCHAR)
SELECT developer FROM table_name_96 WHERE year_of_release = "cancelled"
Which developer has a year of cancelled releases?
<s>[INST]Which developer has a year of cancelled releases? Context: CREATE TABLE table_name_96 (developer VARCHAR, year_of_release VARCHAR)[/INST]SELECT developer FROM table_name_96 WHERE year_of_release = "cancelled"</s>
CREATE TABLE table_name_18 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_18 WHERE away_team = "geelong"
What is the score of the Geelong away team?
<s>[INST]What is the score of the Geelong away team? Context: CREATE TABLE table_name_18 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_18 WHERE away_team = "geelong"</s>
CREATE TABLE table_name_99 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR)
SELECT AVG(total_medals) FROM table_name_99 WHERE gold_medals = 0 AND ensemble = "roland hayes school"
What was the average total medals received by Roland Hayes School when there were 0 gold medals?
<s>[INST]What was the average total medals received by Roland Hayes School when there were 0 gold medals? Context: CREATE TABLE table_name_99 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR)[/INST]SELECT AVG(total_medals) FROM table_name_99 WHERE gold_medals = 0 AND ensemble = "roland hayes school"</s>
CREATE TABLE table_name_80 (week INTEGER, venue VARCHAR, attendance VARCHAR)
SELECT MAX(week) FROM table_name_80 WHERE venue = "metropolitan stadium" AND attendance > 47 OFFSET 644
Tell me the highest week for metropolitan stadium for attendance more than 47,644
<s>[INST]Tell me the highest week for metropolitan stadium for attendance more than 47,644 Context: CREATE TABLE table_name_80 (week INTEGER, venue VARCHAR, attendance VARCHAR)[/INST]SELECT MAX(week) FROM table_name_80 WHERE venue = "metropolitan stadium" AND attendance > 47 OFFSET 644</s>
CREATE TABLE table_name_29 (year INTEGER, partner VARCHAR, score VARCHAR)
SELECT MAX(year) FROM table_name_29 WHERE partner = "gardnar mulloy" AND score = "12–10, 8–10, 12–10, 6–2"
what is the most recent year gardnar mulloy played as a partner and score was 12–10, 8–10, 12–10, 6–2?
<s>[INST]what is the most recent year gardnar mulloy played as a partner and score was 12–10, 8–10, 12–10, 6–2? Context: CREATE TABLE table_name_29 (year INTEGER, partner VARCHAR, score VARCHAR)[/INST]SELECT MAX(year) FROM table_name_29 WHERE partner = "gardnar mulloy" AND score = "12–10, 8–10, 12–10, 6–2"</s>
CREATE TABLE table_name_35 (score VARCHAR, winning_team VARCHAR)
SELECT score FROM table_name_35 WHERE winning_team = "wei chuan dragons"
Which Score that has a Winning team of wei chuan dragons?
<s>[INST]Which Score that has a Winning team of wei chuan dragons? Context: CREATE TABLE table_name_35 (score VARCHAR, winning_team VARCHAR)[/INST]SELECT score FROM table_name_35 WHERE winning_team = "wei chuan dragons"</s>
CREATE TABLE table_name_3 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_3 WHERE date = "april 20"
What was the score on April 20?
<s>[INST]What was the score on April 20? Context: CREATE TABLE table_name_3 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_3 WHERE date = "april 20"</s>
CREATE TABLE table_name_93 (time VARCHAR, bike VARCHAR, grid VARCHAR)
SELECT time FROM table_name_93 WHERE bike = "ducati 999 f06" AND grid = 15
What time was there when the bike was Ducati 999 F06 and the grid number was 15?
<s>[INST]What time was there when the bike was Ducati 999 F06 and the grid number was 15? Context: CREATE TABLE table_name_93 (time VARCHAR, bike VARCHAR, grid VARCHAR)[/INST]SELECT time FROM table_name_93 WHERE bike = "ducati 999 f06" AND grid = 15</s>
CREATE TABLE driver (home_city VARCHAR, age INTEGER)
SELECT home_city FROM driver WHERE age > 40 GROUP BY home_city HAVING COUNT(*) >= 2
Show home city where at least two drivers older than 40 are from.
<s>[INST]Show home city where at least two drivers older than 40 are from. Context: CREATE TABLE driver (home_city VARCHAR, age INTEGER)[/INST]SELECT home_city FROM driver WHERE age > 40 GROUP BY home_city HAVING COUNT(*) >= 2</s>
CREATE TABLE table_1341423_36 (results VARCHAR, district VARCHAR)
SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 5"
What were the results for the district oklahoma 5?
<s>[INST]What were the results for the district oklahoma 5? Context: CREATE TABLE table_1341423_36 (results VARCHAR, district VARCHAR)[/INST]SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 5"</s>
CREATE TABLE table_name_81 (year INTEGER, time VARCHAR)
SELECT AVG(year) FROM table_name_81 WHERE time = "1:42.85"
What is the average year with a 1:42.85 time?
<s>[INST]What is the average year with a 1:42.85 time? Context: CREATE TABLE table_name_81 (year INTEGER, time VARCHAR)[/INST]SELECT AVG(year) FROM table_name_81 WHERE time = "1:42.85"</s>
CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, location VARCHAR, denomination VARCHAR)
SELECT coinage_metal FROM table_26336060_19 WHERE location = "Fribourg" AND denomination = "00005 5 francs"
What is the coinage metal for a location of Fribourg and denomination of 00005 5 Francs?
<s>[INST]What is the coinage metal for a location of Fribourg and denomination of 00005 5 Francs? Context: CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, location VARCHAR, denomination VARCHAR)[/INST]SELECT coinage_metal FROM table_26336060_19 WHERE location = "Fribourg" AND denomination = "00005 5 francs"</s>
CREATE TABLE table_22460085_1 (original_south_korean_performer VARCHAR, original_manchester_performer VARCHAR)
SELECT original_south_korean_performer FROM table_22460085_1 WHERE original_manchester_performer = "Adebayo Bolaji"
Who was the origianal south korean performer when Adebayo Bolaji performed in Manchester?
<s>[INST]Who was the origianal south korean performer when Adebayo Bolaji performed in Manchester? Context: CREATE TABLE table_22460085_1 (original_south_korean_performer VARCHAR, original_manchester_performer VARCHAR)[/INST]SELECT original_south_korean_performer FROM table_22460085_1 WHERE original_manchester_performe...
CREATE TABLE table_1358608_4 (result VARCHAR, date VARCHAR)
SELECT result FROM table_1358608_4 WHERE date = "19 Oct 2002"
What was Northerly's result at the race on 19 Oct 2002?
<s>[INST]What was Northerly's result at the race on 19 Oct 2002? Context: CREATE TABLE table_1358608_4 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_1358608_4 WHERE date = "19 Oct 2002"</s>
CREATE TABLE table_name_84 (winner_2nd VARCHAR, jockey VARCHAR)
SELECT winner_2nd FROM table_name_84 WHERE jockey = "c. symons"
WHo is Winner/2nd that has c. symons?
<s>[INST]WHo is Winner/2nd that has c. symons? Context: CREATE TABLE table_name_84 (winner_2nd VARCHAR, jockey VARCHAR)[/INST]SELECT winner_2nd FROM table_name_84 WHERE jockey = "c. symons"</s>
CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2004 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)
SELECT _percentage_of_all_immigrants_2004 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2006 = "2.1%"
What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants in 2006?
<s>[INST]What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants in 2006? Context: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2004 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)[/INST]SELECT _percentage_of_all_immigrants_2004 FROM table_23619212_1 WHERE _percentage...
CREATE TABLE table_name_97 (team VARCHAR, date VARCHAR)
SELECT team FROM table_name_97 WHERE date = "january 20"
What is the Team on January 20?
<s>[INST]What is the Team on January 20? Context: CREATE TABLE table_name_97 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_name_97 WHERE date = "january 20"</s>
CREATE TABLE table_29261823_10 (team VARCHAR, aggregate_score VARCHAR)
SELECT team FROM table_29261823_10 WHERE aggregate_score = "L 1–2"
what is the name of the team which aggregate score is l 1–2
<s>[INST]what is the name of the team which aggregate score is l 1–2 Context: CREATE TABLE table_29261823_10 (team VARCHAR, aggregate_score VARCHAR)[/INST]SELECT team FROM table_29261823_10 WHERE aggregate_score = "L 1–2"</s>
CREATE TABLE table_name_86 (points VARCHAR, points_for VARCHAR)
SELECT points FROM table_name_86 WHERE points_for = "points for"
when points for was points for what was the points?
<s>[INST]when points for was points for what was the points? Context: CREATE TABLE table_name_86 (points VARCHAR, points_for VARCHAR)[/INST]SELECT points FROM table_name_86 WHERE points_for = "points for"</s>
CREATE TABLE table_name_28 (company VARCHAR, country VARCHAR, author VARCHAR)
SELECT company FROM table_name_28 WHERE country = "greece" AND author = "aeschylus"
what is the company when the country is greece and the author is aeschylus?
<s>[INST]what is the company when the country is greece and the author is aeschylus? Context: CREATE TABLE table_name_28 (company VARCHAR, country VARCHAR, author VARCHAR)[/INST]SELECT company FROM table_name_28 WHERE country = "greece" AND author = "aeschylus"</s>
CREATE TABLE table_name_92 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_92 WHERE date = "may 3"
Name the record for may 3
<s>[INST]Name the record for may 3 Context: CREATE TABLE table_name_92 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_92 WHERE date = "may 3"</s>
CREATE TABLE table_name_70 (position VARCHAR, points VARCHAR)
SELECT position FROM table_name_70 WHERE points = "test driver"
What is the position of the race with a point of test driver?
<s>[INST]What is the position of the race with a point of test driver? Context: CREATE TABLE table_name_70 (position VARCHAR, points VARCHAR)[/INST]SELECT position FROM table_name_70 WHERE points = "test driver"</s>
CREATE TABLE table_name_62 (rank INTEGER, player VARCHAR)
SELECT SUM(rank) FROM table_name_62 WHERE player = "matt ruth"
Which Rank has a Player of matt ruth?
<s>[INST]Which Rank has a Player of matt ruth? Context: CREATE TABLE table_name_62 (rank INTEGER, player VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_62 WHERE player = "matt ruth"</s>
CREATE TABLE table_name_49 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_49 WHERE record = "4-3"
What visiting team has a record of 4-3?
<s>[INST]What visiting team has a record of 4-3? Context: CREATE TABLE table_name_49 (visitor VARCHAR, record VARCHAR)[/INST]SELECT visitor FROM table_name_49 WHERE record = "4-3"</s>
CREATE TABLE table_name_8 (grid INTEGER, laps INTEGER)
SELECT MAX(grid) FROM table_name_8 WHERE laps > 72
What is the highest Grid with over 72 laps?
<s>[INST]What is the highest Grid with over 72 laps? Context: CREATE TABLE table_name_8 (grid INTEGER, laps INTEGER)[/INST]SELECT MAX(grid) FROM table_name_8 WHERE laps > 72</s>
CREATE TABLE table_name_54 (position VARCHAR, height VARCHAR, player VARCHAR)
SELECT position FROM table_name_54 WHERE height > 179 AND player = "ezgi arslan"
What position that has a Height larger than 179, and Player is Ezgi Arslan?
<s>[INST]What position that has a Height larger than 179, and Player is Ezgi Arslan? Context: CREATE TABLE table_name_54 (position VARCHAR, height VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_54 WHERE height > 179 AND player = "ezgi arslan"</s>
CREATE TABLE table_12936521_2 (classification VARCHAR, nickname VARCHAR)
SELECT classification FROM table_12936521_2 WHERE nickname = "Dolphins"
What's the classification of the institution nicknamed Dolphins?
<s>[INST]What's the classification of the institution nicknamed Dolphins? Context: CREATE TABLE table_12936521_2 (classification VARCHAR, nickname VARCHAR)[/INST]SELECT classification FROM table_12936521_2 WHERE nickname = "Dolphins"</s>
CREATE TABLE table_name_90 (player VARCHAR, year VARCHAR, school VARCHAR, position VARCHAR)
SELECT player FROM table_name_90 WHERE school = "western washington university" AND position = "midfield" AND year > 2009
Which player was from Western Washington University, played midfield, and was from years after 2009?
<s>[INST]Which player was from Western Washington University, played midfield, and was from years after 2009? Context: CREATE TABLE table_name_90 (player VARCHAR, year VARCHAR, school VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_90 WHERE school = "western washington university" AND position = "midfiel...
CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_35 WHERE home_team = "north melbourne"
When was the game when North Melbourne was the home team?
<s>[INST]When was the game when North Melbourne was the home team? Context: CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_35 WHERE home_team = "north melbourne"</s>
CREATE TABLE table_1359212_2 (location VARCHAR, winner VARCHAR)
SELECT COUNT(location) FROM table_1359212_2 WHERE winner = "Spain"
how many locations has spain as the winner?
<s>[INST]how many locations has spain as the winner? Context: CREATE TABLE table_1359212_2 (location VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(location) FROM table_1359212_2 WHERE winner = "Spain"</s>
CREATE TABLE table_name_26 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_26 WHERE place = "t10" AND score = 72 - 74 - 71 - 69 = 286
what is the to par when the place is t10 and the score is 72-74-71-69=286?
<s>[INST]what is the to par when the place is t10 and the score is 72-74-71-69=286? Context: CREATE TABLE table_name_26 (to_par VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_26 WHERE place = "t10" AND score = 72 - 74 - 71 - 69 = 286</s>
CREATE TABLE table_name_67 (örebro VARCHAR, umeå VARCHAR)
SELECT örebro FROM table_name_67 WHERE umeå = "2"
What did Orebro score when Umea scored 2?
<s>[INST]What did Orebro score when Umea scored 2? Context: CREATE TABLE table_name_67 (örebro VARCHAR, umeå VARCHAR)[/INST]SELECT örebro FROM table_name_67 WHERE umeå = "2"</s>
CREATE TABLE table_name_96 (service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
SELECT service FROM table_name_96 WHERE origin_of_programming = "india" AND genre = "general" AND network = "zee variasi"
Which general service in India is a part of the zee variasi network?
<s>[INST]Which general service in India is a part of the zee variasi network? Context: CREATE TABLE table_name_96 (service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)[/INST]SELECT service FROM table_name_96 WHERE origin_of_programming = "india" AND genre = "general" AND network = "zee varias...
CREATE TABLE table_name_67 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_67 WHERE away_team = "thame united"
What is Score, when Away Team is "Thame United"?
<s>[INST]What is Score, when Away Team is "Thame United"? Context: CREATE TABLE table_name_67 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_67 WHERE away_team = "thame united"</s>
CREATE TABLE table_2468961_4 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_2468961_4 WHERE no_in_series = 56
What was the title of series number 56?
<s>[INST]What was the title of series number 56? Context: CREATE TABLE table_2468961_4 (title VARCHAR, no_in_series VARCHAR)[/INST]SELECT title FROM table_2468961_4 WHERE no_in_series = 56</s>
CREATE TABLE table_1597866_3 (host VARCHAR, first_premiere VARCHAR)
SELECT host FROM table_1597866_3 WHERE first_premiere = "August 3, 2007"
Name the host when first premiere is august 3, 2007
<s>[INST]Name the host when first premiere is august 3, 2007 Context: CREATE TABLE table_1597866_3 (host VARCHAR, first_premiere VARCHAR)[/INST]SELECT host FROM table_1597866_3 WHERE first_premiere = "August 3, 2007"</s>
CREATE TABLE table_name_94 (decile INTEGER, roll VARCHAR)
SELECT MAX(decile) FROM table_name_94 WHERE roll = 428
Name the most decile for roll of 428
<s>[INST]Name the most decile for roll of 428 Context: CREATE TABLE table_name_94 (decile INTEGER, roll VARCHAR)[/INST]SELECT MAX(decile) FROM table_name_94 WHERE roll = 428</s>
CREATE TABLE table_11642945_1 (director VARCHAR, celebrity VARCHAR)
SELECT director FROM table_11642945_1 WHERE celebrity = "Margot Kidder"
Margot Kidder had what director?
<s>[INST]Margot Kidder had what director? Context: CREATE TABLE table_11642945_1 (director VARCHAR, celebrity VARCHAR)[/INST]SELECT director FROM table_11642945_1 WHERE celebrity = "Margot Kidder"</s>
CREATE TABLE table_name_12 (venue VARCHAR, runs VARCHAR)
SELECT venue FROM table_name_12 WHERE runs = "325/6"
What was the venue for runs 325/6?
<s>[INST]What was the venue for runs 325/6? Context: CREATE TABLE table_name_12 (venue VARCHAR, runs VARCHAR)[/INST]SELECT venue FROM table_name_12 WHERE runs = "325/6"</s>
CREATE TABLE table_name_70 (away VARCHAR, score VARCHAR)
SELECT away FROM table_name_70 WHERE score = "46-82"
What is the Away with a Score that is 46-82?
<s>[INST]What is the Away with a Score that is 46-82? Context: CREATE TABLE table_name_70 (away VARCHAR, score VARCHAR)[/INST]SELECT away FROM table_name_70 WHERE score = "46-82"</s>
CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, city_code VARCHAR)
SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.city_code = "BAL"
Find the names of all the clubs that have at least a member from the city with city code "BAL".
<s>[INST]Find the names of all the clubs that have at least a member from the city with city code "BAL". Context: CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, city_code VARCHAR)[/INST]SELECT DISTINCT t1.clubname F...