context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_48 (runners_up VARCHAR, winners VARCHAR, date VARCHAR)
SELECT runners_up FROM table_name_48 WHERE winners = "cork city f.c." AND date = "10/05/1998"
Who were the runners-up in the game that was won by Cork City F.C. on 10/05/1998?
<s>[INST]Who were the runners-up in the game that was won by Cork City F.C. on 10/05/1998? Context: CREATE TABLE table_name_48 (runners_up VARCHAR, winners VARCHAR, date VARCHAR)[/INST]SELECT runners_up FROM table_name_48 WHERE winners = "cork city f.c." AND date = "10/05/1998"</s>
CREATE TABLE table_26794530_1 (points VARCHAR, final_placing VARCHAR, races VARCHAR)
SELECT points FROM table_26794530_1 WHERE final_placing = "13th" AND races = 30
When there were 30 races and the final placing was 13th, how many points were scored?
<s>[INST]When there were 30 races and the final placing was 13th, how many points were scored? Context: CREATE TABLE table_26794530_1 (points VARCHAR, final_placing VARCHAR, races VARCHAR)[/INST]SELECT points FROM table_26794530_1 WHERE final_placing = "13th" AND races = 30</s>
CREATE TABLE table_name_31 (performer_1 VARCHAR, date VARCHAR)
SELECT performer_1 FROM table_name_31 WHERE date = "8 july 1994"
Date of 8 july 1994 involves which performer 1?
<s>[INST]Date of 8 july 1994 involves which performer 1? Context: CREATE TABLE table_name_31 (performer_1 VARCHAR, date VARCHAR)[/INST]SELECT performer_1 FROM table_name_31 WHERE date = "8 july 1994"</s>
CREATE TABLE table_name_62 (power_rpm VARCHAR, torque__nm__rpm VARCHAR)
SELECT power_rpm FROM table_name_62 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750"
Name the power for when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750
<s>[INST]Name the power for when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750 Context: CREATE TABLE table_name_62 (power_rpm VARCHAR, torque__nm__rpm VARCHAR)[/INST]SELECT power_rpm FROM table_name_62 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750"</s>
CREATE TABLE table_name_77 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT SUM(points) FROM table_name_77 WHERE chassis = "ferrari 125" AND year > 1952
How many total points were earned with ferrari 125 Chassis after 1952?
<s>[INST]How many total points were earned with ferrari 125 Chassis after 1952? Context: CREATE TABLE table_name_77 (points INTEGER, chassis VARCHAR, year VARCHAR)[/INST]SELECT SUM(points) FROM table_name_77 WHERE chassis = "ferrari 125" AND year > 1952</s>
CREATE TABLE table_name_5 (ceased_to_be_duchess VARCHAR, became_duchess VARCHAR)
SELECT ceased_to_be_duchess FROM table_name_5 WHERE became_duchess = "7/8 april 1766"
When did the duchess who became duchess on 7/8 April 1766 cease to be duchess?
<s>[INST]When did the duchess who became duchess on 7/8 April 1766 cease to be duchess? Context: CREATE TABLE table_name_5 (ceased_to_be_duchess VARCHAR, became_duchess VARCHAR)[/INST]SELECT ceased_to_be_duchess FROM table_name_5 WHERE became_duchess = "7/8 april 1766"</s>
CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, personal_name VARCHAR)
SELECT T1.date_of_enrolment, T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.personal_name = "Karson"
List the dates of enrollment and completion of the student with personal name "Karson".
<s>[INST]List the dates of enrollment and completion of the student with personal name "Karson". Context: CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, personal_name VARCHAR)[/INST]SELECT T1.date_of_enrolment...
CREATE TABLE table_name_75 (age_group VARCHAR, event VARCHAR, time VARCHAR)
SELECT age_group FROM table_name_75 WHERE event = "200m breaststroke" AND time = "6:37.73"
What age group has a time of 6:37.73 at the 200m breaststroke?
<s>[INST]What age group has a time of 6:37.73 at the 200m breaststroke? Context: CREATE TABLE table_name_75 (age_group VARCHAR, event VARCHAR, time VARCHAR)[/INST]SELECT age_group FROM table_name_75 WHERE event = "200m breaststroke" AND time = "6:37.73"</s>
CREATE TABLE table_name_7 (round INTEGER, position VARCHAR)
SELECT MAX(round) FROM table_name_7 WHERE position = "cornerback"
During which round was the final cornerback drafted for the New England Patriots in 2005?
<s>[INST]During which round was the final cornerback drafted for the New England Patriots in 2005? Context: CREATE TABLE table_name_7 (round INTEGER, position VARCHAR)[/INST]SELECT MAX(round) FROM table_name_7 WHERE position = "cornerback"</s>
CREATE TABLE table_name_20 (area INTEGER, english_name VARCHAR)
SELECT AVG(area) FROM table_name_20 WHERE english_name = "xinluo district"
What's the average area for the xinluo district?
<s>[INST]What's the average area for the xinluo district? Context: CREATE TABLE table_name_20 (area INTEGER, english_name VARCHAR)[/INST]SELECT AVG(area) FROM table_name_20 WHERE english_name = "xinluo district"</s>
CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_45 WHERE week = 8
What was the attendance like for week 8?
<s>[INST]What was the attendance like for week 8? Context: CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_45 WHERE week = 8</s>
CREATE TABLE table_name_90 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR, rd__number VARCHAR)
SELECT COUNT(pl_gp) FROM table_name_90 WHERE reg_gp = 0 AND rd__number > 8 AND pick__number > 146
What is the sum number of Pl GP when the Reg GP was 0, the Rd number was bigger than 8, and the pick number was bigger than 146?
<s>[INST]What is the sum number of Pl GP when the Reg GP was 0, the Rd number was bigger than 8, and the pick number was bigger than 146? Context: CREATE TABLE table_name_90 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR, rd__number VARCHAR)[/INST]SELECT COUNT(pl_gp) FROM table_name_90 WHERE reg_gp = 0 AND rd__nu...
CREATE TABLE table_29295463_9 (champion VARCHAR, runner_up VARCHAR)
SELECT champion FROM table_29295463_9 WHERE runner_up = "Scott Davis Chris Dunk"
Who was the champion in the tournament where Scott Davis Chris Dunk was the runner up?
<s>[INST]Who was the champion in the tournament where Scott Davis Chris Dunk was the runner up? Context: CREATE TABLE table_29295463_9 (champion VARCHAR, runner_up VARCHAR)[/INST]SELECT champion FROM table_29295463_9 WHERE runner_up = "Scott Davis Chris Dunk"</s>
CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR)
SELECT location FROM table_19210115_1 WHERE nickname = "Hawks"
Where is the University that is also called Hawks?
<s>[INST]Where is the University that is also called Hawks? Context: CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR)[/INST]SELECT location FROM table_19210115_1 WHERE nickname = "Hawks"</s>
CREATE TABLE budget (budgeted INTEGER, invested VARCHAR)
SELECT COUNT(*) FROM budget WHERE budgeted < invested
How many budget record has a budget amount smaller than the invested amount?
<s>[INST]How many budget record has a budget amount smaller than the invested amount? Context: CREATE TABLE budget (budgeted INTEGER, invested VARCHAR)[/INST]SELECT COUNT(*) FROM budget WHERE budgeted < invested</s>
CREATE TABLE table_name_31 (tournament VARCHAR)
SELECT tournament FROM table_name_31 WHERE 2012 = "1r" AND 2013 = "3r"
In which tournament was the 2012 result 1r and the 2013 result 3r?
<s>[INST]In which tournament was the 2012 result 1r and the 2013 result 3r? Context: CREATE TABLE table_name_31 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_31 WHERE 2012 = "1r" AND 2013 = "3r"</s>
CREATE TABLE table_name_88 (team_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR)
SELECT team_classification FROM table_name_88 WHERE general_classification = "vladimir karpets" AND mountains_classification = "no award"
Which Team classification has a General classification of Vladimir Karpets and a Mountains classification of No Award?
<s>[INST]Which Team classification has a General classification of Vladimir Karpets and a Mountains classification of No Award? Context: CREATE TABLE table_name_88 (team_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR)[/INST]SELECT team_classification FROM table_name_88 WHERE ge...
CREATE TABLE table_16295365_1 (conf_record VARCHAR, conference VARCHAR)
SELECT conf_record FROM table_16295365_1 WHERE conference = "Sun Belt"
For teams in the Sun Belt conference, what is the conference record?
<s>[INST]For teams in the Sun Belt conference, what is the conference record? Context: CREATE TABLE table_16295365_1 (conf_record VARCHAR, conference VARCHAR)[/INST]SELECT conf_record FROM table_16295365_1 WHERE conference = "Sun Belt"</s>
CREATE TABLE table_15211468_1 (uk_broadcast_date VARCHAR, countries_visited VARCHAR)
SELECT uk_broadcast_date FROM table_15211468_1 WHERE countries_visited = "USA"
What was the UK broadcast date for the episode which visited USA?
<s>[INST]What was the UK broadcast date for the episode which visited USA? Context: CREATE TABLE table_15211468_1 (uk_broadcast_date VARCHAR, countries_visited VARCHAR)[/INST]SELECT uk_broadcast_date FROM table_15211468_1 WHERE countries_visited = "USA"</s>
CREATE TABLE table_name_44 (matches INTEGER, rank VARCHAR)
SELECT MAX(matches) FROM table_name_44 WHERE rank = 8
What is the number of matches for the player in rank 8?
<s>[INST]What is the number of matches for the player in rank 8? Context: CREATE TABLE table_name_44 (matches INTEGER, rank VARCHAR)[/INST]SELECT MAX(matches) FROM table_name_44 WHERE rank = 8</s>
CREATE TABLE table_name_7 (result VARCHAR, year VARCHAR, location VARCHAR)
SELECT result FROM table_name_7 WHERE year = 1970 AND location = "yankee stadium"
what is the result for 1970 at yankee stadium?
<s>[INST]what is the result for 1970 at yankee stadium? Context: CREATE TABLE table_name_7 (result VARCHAR, year VARCHAR, location VARCHAR)[/INST]SELECT result FROM table_name_7 WHERE year = 1970 AND location = "yankee stadium"</s>
CREATE TABLE table_name_16 (country VARCHAR, olympics VARCHAR, name VARCHAR)
SELECT country FROM table_name_16 WHERE olympics = "2008 summer olympics" AND name = "vadim devyatovskiy"
Which country in the 2008 summer olympics is vadim devyatovskiy from?
<s>[INST]Which country in the 2008 summer olympics is vadim devyatovskiy from? Context: CREATE TABLE table_name_16 (country VARCHAR, olympics VARCHAR, name VARCHAR)[/INST]SELECT country FROM table_name_16 WHERE olympics = "2008 summer olympics" AND name = "vadim devyatovskiy"</s>
CREATE TABLE table_name_14 (result VARCHAR, round VARCHAR)
SELECT result FROM table_name_14 WHERE round = "r3"
What is the result the R3 round?
<s>[INST]What is the result the R3 round? Context: CREATE TABLE table_name_14 (result VARCHAR, round VARCHAR)[/INST]SELECT result FROM table_name_14 WHERE round = "r3"</s>
CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_75 WHERE driver = "alexander wurz" AND laps < 25
What was Alexander Wurz's highest grid with laps of less than 25?
<s>[INST]What was Alexander Wurz's highest grid with laps of less than 25? Context: CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_75 WHERE driver = "alexander wurz" AND laps < 25</s>
CREATE TABLE table_11677691_1 (hometown VARCHAR, college VARCHAR, position VARCHAR)
SELECT COUNT(hometown) FROM table_11677691_1 WHERE college = "Alabama" AND position = "Offensive line"
How many offensive line players played for a college in Alabama?
<s>[INST]How many offensive line players played for a college in Alabama? Context: CREATE TABLE table_11677691_1 (hometown VARCHAR, college VARCHAR, position VARCHAR)[/INST]SELECT COUNT(hometown) FROM table_11677691_1 WHERE college = "Alabama" AND position = "Offensive line"</s>
CREATE TABLE table_name_89 (run_1 VARCHAR, athletes VARCHAR)
SELECT run_1 FROM table_name_89 WHERE athletes = "theo kitt & friedrich kuhn"
What is Run 1, when Athletes is "Theo Kitt & Friedrich Kuhn"?
<s>[INST]What is Run 1, when Athletes is "Theo Kitt & Friedrich Kuhn"? Context: CREATE TABLE table_name_89 (run_1 VARCHAR, athletes VARCHAR)[/INST]SELECT run_1 FROM table_name_89 WHERE athletes = "theo kitt & friedrich kuhn"</s>
CREATE TABLE table_name_2 (period VARCHAR, model VARCHAR)
SELECT period FROM table_name_2 WHERE model = "cessna 208"
In what time period was the Cessna 208 built?
<s>[INST]In what time period was the Cessna 208 built? Context: CREATE TABLE table_name_2 (period VARCHAR, model VARCHAR)[/INST]SELECT period FROM table_name_2 WHERE model = "cessna 208"</s>
CREATE TABLE table_name_25 (points VARCHAR, standing_broad_jump__cm_ VARCHAR)
SELECT COUNT(points) FROM table_name_25 WHERE standing_broad_jump__cm_ = "207-215"
How many points are obtained when a standing broad jump is 207-215 cm?
<s>[INST]How many points are obtained when a standing broad jump is 207-215 cm? Context: CREATE TABLE table_name_25 (points VARCHAR, standing_broad_jump__cm_ VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_25 WHERE standing_broad_jump__cm_ = "207-215"</s>
CREATE TABLE table_1181375_1 (notes VARCHAR, withdrawn VARCHAR)
SELECT notes FROM table_1181375_1 WHERE withdrawn = "1956–57"
what's the notes where withdrawn is 1956–57
<s>[INST] what's the notes where withdrawn is 1956–57 Context: CREATE TABLE table_1181375_1 (notes VARCHAR, withdrawn VARCHAR)[/INST]SELECT notes FROM table_1181375_1 WHERE withdrawn = "1956–57"</s>
CREATE TABLE table_name_33 (tv_time VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT tv_time FROM table_name_33 WHERE week > 15 AND opponent = "oakland raiders"
WHAT IS THE TV TIME WOTH A WEEK BIGGER THAN 15, WITH THE OAKLAND RAIDERS AS OPPONENT?
<s>[INST]WHAT IS THE TV TIME WOTH A WEEK BIGGER THAN 15, WITH THE OAKLAND RAIDERS AS OPPONENT? Context: CREATE TABLE table_name_33 (tv_time VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT tv_time FROM table_name_33 WHERE week > 15 AND opponent = "oakland raiders"</s>
CREATE TABLE employees (employee_id VARCHAR, salary INTEGER)
SELECT employee_id FROM employees WHERE salary > (SELECT AVG(salary) FROM employees)
Find the employee id for all employees who earn more than the average salary.
<s>[INST]Find the employee id for all employees who earn more than the average salary. Context: CREATE TABLE employees (employee_id VARCHAR, salary INTEGER)[/INST]SELECT employee_id FROM employees WHERE salary > (SELECT AVG(salary) FROM employees)</s>
CREATE TABLE table_name_34 (haat VARCHAR, facility_id VARCHAR)
SELECT haat FROM table_name_34 WHERE facility_id = 65944
Which HAAT has 65944?
<s>[INST]Which HAAT has 65944? Context: CREATE TABLE table_name_34 (haat VARCHAR, facility_id VARCHAR)[/INST]SELECT haat FROM table_name_34 WHERE facility_id = 65944</s>
CREATE TABLE table_name_92 (attendance INTEGER, date VARCHAR)
SELECT MAX(attendance) FROM table_name_92 WHERE date = "september 28"
What was the attendance on September 28?
<s>[INST]What was the attendance on September 28? Context: CREATE TABLE table_name_92 (attendance INTEGER, date VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_92 WHERE date = "september 28"</s>
CREATE TABLE table_name_84 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_84 WHERE player = "david toms"
What Country is David Toms from?
<s>[INST]What Country is David Toms from? Context: CREATE TABLE table_name_84 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_84 WHERE player = "david toms"</s>
CREATE TABLE table_name_45 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_45 WHERE player = "ben hogan"
What was Ben Hogan's par?
<s>[INST]What was Ben Hogan's par? Context: CREATE TABLE table_name_45 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_45 WHERE player = "ben hogan"</s>
CREATE TABLE table_name_83 (weight__kg_ INTEGER, height__cm_ INTEGER)
SELECT AVG(weight__kg_) FROM table_name_83 WHERE height__cm_ < 175
What is the average weight of a player who is less than 175 centimeters tall?
<s>[INST]What is the average weight of a player who is less than 175 centimeters tall? Context: CREATE TABLE table_name_83 (weight__kg_ INTEGER, height__cm_ INTEGER)[/INST]SELECT AVG(weight__kg_) FROM table_name_83 WHERE height__cm_ < 175</s>
CREATE TABLE table_name_44 (home VARCHAR, opponent VARCHAR)
SELECT home FROM table_name_44 WHERE opponent = "slovan liberec"
Who was the home when the opponent was slovan liberec?
<s>[INST]Who was the home when the opponent was slovan liberec? Context: CREATE TABLE table_name_44 (home VARCHAR, opponent VARCHAR)[/INST]SELECT home FROM table_name_44 WHERE opponent = "slovan liberec"</s>
CREATE TABLE table_name_17 (driver VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_17 WHERE laps = 62
Which driver has 62 laps?
<s>[INST]Which driver has 62 laps? Context: CREATE TABLE table_name_17 (driver VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_17 WHERE laps = 62</s>
CREATE TABLE table_name_90 (gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR)
SELECT AVG(gold) FROM table_name_90 WHERE total = 1 AND rank = "6" AND bronze > 1
What is the average gold total for nations ranked 6 with 1 total medal and 1 bronze medal?
<s>[INST]What is the average gold total for nations ranked 6 with 1 total medal and 1 bronze medal? Context: CREATE TABLE table_name_90 (gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_90 WHERE total = 1 AND rank = "6" AND bronze > 1</s>
CREATE TABLE table_name_54 (played INTEGER, team VARCHAR, against VARCHAR)
SELECT MIN(played) FROM table_name_54 WHERE team = "vasco da gama" AND against < 11
Which Played is the lowest one that has a Team of vasco da gama, and an Against smaller than 11?
<s>[INST]Which Played is the lowest one that has a Team of vasco da gama, and an Against smaller than 11? Context: CREATE TABLE table_name_54 (played INTEGER, team VARCHAR, against VARCHAR)[/INST]SELECT MIN(played) FROM table_name_54 WHERE team = "vasco da gama" AND against < 11</s>
CREATE TABLE table_name_25 (time VARCHAR, game VARCHAR)
SELECT time FROM table_name_25 WHERE game = 7
What time was game 7?
<s>[INST]What time was game 7? Context: CREATE TABLE table_name_25 (time VARCHAR, game VARCHAR)[/INST]SELECT time FROM table_name_25 WHERE game = 7</s>
CREATE TABLE table_29414946_3 (outgoing_manager VARCHAR, date_of_appointment VARCHAR)
SELECT outgoing_manager FROM table_29414946_3 WHERE date_of_appointment = "June 20"
Who was replaced as manager on June 20?
<s>[INST]Who was replaced as manager on June 20? Context: CREATE TABLE table_29414946_3 (outgoing_manager VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT outgoing_manager FROM table_29414946_3 WHERE date_of_appointment = "June 20"</s>
CREATE TABLE table_name_86 (player VARCHAR, round VARCHAR, overall VARCHAR)
SELECT player FROM table_name_86 WHERE round = "7" AND overall = "#195"
Who is the player on round 7 with an overall ranking of #195?
<s>[INST]Who is the player on round 7 with an overall ranking of #195? Context: CREATE TABLE table_name_86 (player VARCHAR, round VARCHAR, overall VARCHAR)[/INST]SELECT player FROM table_name_86 WHERE round = "7" AND overall = "#195"</s>
CREATE TABLE table_27715173_8 (game VARCHAR, high_points VARCHAR)
SELECT game FROM table_27715173_8 WHERE high_points = "Manu Ginóbili (26)"
what is the game where the high points is by manu ginóbili (26)?
<s>[INST]what is the game where the high points is by manu ginóbili (26)? Context: CREATE TABLE table_27715173_8 (game VARCHAR, high_points VARCHAR)[/INST]SELECT game FROM table_27715173_8 WHERE high_points = "Manu Ginóbili (26)"</s>
CREATE TABLE table_name_3 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_3 WHERE country = "new zealand"
What's the score of New Zealand?
<s>[INST]What's the score of New Zealand? Context: CREATE TABLE table_name_3 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_3 WHERE country = "new zealand"</s>
CREATE TABLE table_name_65 (original_airdate VARCHAR, episode__number VARCHAR)
SELECT original_airdate FROM table_name_65 WHERE episode__number = "29 (7)"
When did Episode 29 (7) originally air?
<s>[INST]When did Episode 29 (7) originally air? Context: CREATE TABLE table_name_65 (original_airdate VARCHAR, episode__number VARCHAR)[/INST]SELECT original_airdate FROM table_name_65 WHERE episode__number = "29 (7)"</s>
CREATE TABLE table_1281200_1 (winners_from_previous_round VARCHAR, phase VARCHAR, clubs_involved VARCHAR)
SELECT winners_from_previous_round FROM table_1281200_1 WHERE phase = "First phase" AND clubs_involved = 16
During the first phase portion of phase and having 16 clubs involved; what would you find for the winners from previous round?
<s>[INST]During the first phase portion of phase and having 16 clubs involved; what would you find for the winners from previous round? Context: CREATE TABLE table_1281200_1 (winners_from_previous_round VARCHAR, phase VARCHAR, clubs_involved VARCHAR)[/INST]SELECT winners_from_previous_round FROM table_1281200_1 WHERE p...
CREATE TABLE table_name_59 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_59 WHERE grid < 9 AND time_retired = "2:06:26.358"
Which Driver that has a Grid less than 9 and a Time/Retired of 2:06:26.358?
<s>[INST]Which Driver that has a Grid less than 9 and a Time/Retired of 2:06:26.358? Context: CREATE TABLE table_name_59 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT driver FROM table_name_59 WHERE grid < 9 AND time_retired = "2:06:26.358"</s>
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "F M MEDIA LIMITED"
How many subsidiaries of company F M Media Limited?
<s>[INST]How many subsidiaries of company F M Media Limited? Context: CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)[/INST]SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "F M MEDIA LIMITED"</s>
CREATE TABLE table_name_73 (games VARCHAR, points VARCHAR, losses VARCHAR)
SELECT COUNT(games) FROM table_name_73 WHERE points = 34 AND losses = 3
What's the total number of games that had more than 34 points and exactly 3 losses?
<s>[INST]What's the total number of games that had more than 34 points and exactly 3 losses? Context: CREATE TABLE table_name_73 (games VARCHAR, points VARCHAR, losses VARCHAR)[/INST]SELECT COUNT(games) FROM table_name_73 WHERE points = 34 AND losses = 3</s>
CREATE TABLE table_1305623_18 (silver_medals INTEGER)
SELECT MAX(silver_medals) FROM table_1305623_18
What is the most silver medals?
<s>[INST]What is the most silver medals? Context: CREATE TABLE table_1305623_18 (silver_medals INTEGER)[/INST]SELECT MAX(silver_medals) FROM table_1305623_18</s>
CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Date VARCHAR, Event_ID VARCHAR)
SELECT T3.Name, T2.Date FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID
Show the names of journalists and the dates of the events they reported.
<s>[INST]Show the names of journalists and the dates of the events they reported. Context: CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Date VARCHAR, Event_ID VARCHAR)[/INST]SELECT T3.Name, T2.Date FROM news_report...
CREATE TABLE table_18522916_5 (team VARCHAR, date_of_appointment VARCHAR, date_of_vacancy VARCHAR)
SELECT team FROM table_18522916_5 WHERE date_of_appointment = "5 September 2008" AND date_of_vacancy = "30 August 2008"
Name the team for 5 september 2008 for date of vacancy for 30 august 2008
<s>[INST]Name the team for 5 september 2008 for date of vacancy for 30 august 2008 Context: CREATE TABLE table_18522916_5 (team VARCHAR, date_of_appointment VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT team FROM table_18522916_5 WHERE date_of_appointment = "5 September 2008" AND date_of_vacancy = "30 August 2008"</s>
CREATE TABLE table_name_56 (original_airdate VARCHAR, episode VARCHAR)
SELECT original_airdate FROM table_name_56 WHERE episode = "2-01 (42)"
What date did Episode 2-01 (42) air?
<s>[INST]What date did Episode 2-01 (42) air? Context: CREATE TABLE table_name_56 (original_airdate VARCHAR, episode VARCHAR)[/INST]SELECT original_airdate FROM table_name_56 WHERE episode = "2-01 (42)"</s>
CREATE TABLE table_name_5 (score VARCHAR, march VARCHAR)
SELECT score FROM table_name_5 WHERE march = 18
What is the Score of the game on March 18?
<s>[INST]What is the Score of the game on March 18? Context: CREATE TABLE table_name_5 (score VARCHAR, march VARCHAR)[/INST]SELECT score FROM table_name_5 WHERE march = 18</s>
CREATE TABLE table_name_75 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT MAX(pick) FROM table_name_75 WHERE player = "mario elie" AND round < 7
When was Mario Elie picked in a round before 7?
<s>[INST]When was Mario Elie picked in a round before 7? Context: CREATE TABLE table_name_75 (pick INTEGER, player VARCHAR, round VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_75 WHERE player = "mario elie" AND round < 7</s>
CREATE TABLE table_name_91 (rider VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_91 WHERE grid = 21
What Rider has a Grid of 21?
<s>[INST]What Rider has a Grid of 21? Context: CREATE TABLE table_name_91 (rider VARCHAR, grid VARCHAR)[/INST]SELECT rider FROM table_name_91 WHERE grid = 21</s>
CREATE TABLE table_15872814_5 (date VARCHAR, high_points VARCHAR)
SELECT date FROM table_15872814_5 WHERE high_points = "Jalen Rose (32)"
What were the dates of the games where Jalen Rose (32) had the highest points?
<s>[INST]What were the dates of the games where Jalen Rose (32) had the highest points? Context: CREATE TABLE table_15872814_5 (date VARCHAR, high_points VARCHAR)[/INST]SELECT date FROM table_15872814_5 WHERE high_points = "Jalen Rose (32)"</s>
CREATE TABLE table_name_64 (kickoff_time VARCHAR, week VARCHAR)
SELECT kickoff_time FROM table_name_64 WHERE week = 11
What was the kickoff time for week 11's game?
<s>[INST]What was the kickoff time for week 11's game? Context: CREATE TABLE table_name_64 (kickoff_time VARCHAR, week VARCHAR)[/INST]SELECT kickoff_time FROM table_name_64 WHERE week = 11</s>
CREATE TABLE table_name_3 (date VARCHAR, competition VARCHAR, score VARCHAR)
SELECT date FROM table_name_3 WHERE competition = "friendly" AND score = "2-1"
Which date has a competition type of friendly and a score of 2-1?
<s>[INST]Which date has a competition type of friendly and a score of 2-1? Context: CREATE TABLE table_name_3 (date VARCHAR, competition VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_3 WHERE competition = "friendly" AND score = "2-1"</s>
CREATE TABLE table_name_5 (pitcher VARCHAR, opponent VARCHAR, season VARCHAR)
SELECT pitcher FROM table_name_5 WHERE opponent = "cleveland indians" AND season = "1994"
Who is the pitcher from the 1994 season that had the Cleveland Indians as an opponent?
<s>[INST]Who is the pitcher from the 1994 season that had the Cleveland Indians as an opponent? Context: CREATE TABLE table_name_5 (pitcher VARCHAR, opponent VARCHAR, season VARCHAR)[/INST]SELECT pitcher FROM table_name_5 WHERE opponent = "cleveland indians" AND season = "1994"</s>
CREATE TABLE table_name_14 (win__percentage VARCHAR)
SELECT win__percentage FROM table_name_14 WHERE 2003 = "atp world tour finals"
What is the win % of the 2003 atp world tour finals?
<s>[INST]What is the win % of the 2003 atp world tour finals? Context: CREATE TABLE table_name_14 (win__percentage VARCHAR)[/INST]SELECT win__percentage FROM table_name_14 WHERE 2003 = "atp world tour finals"</s>
CREATE TABLE table_name_54 (a_score VARCHAR, b_score VARCHAR, total VARCHAR)
SELECT COUNT(a_score) FROM table_name_54 WHERE b_score > 9.05 AND total < 16.525
What is the A Score when the B Score is more than 9.05, and the total is less than 16.525?
<s>[INST]What is the A Score when the B Score is more than 9.05, and the total is less than 16.525? Context: CREATE TABLE table_name_54 (a_score VARCHAR, b_score VARCHAR, total VARCHAR)[/INST]SELECT COUNT(a_score) FROM table_name_54 WHERE b_score > 9.05 AND total < 16.525</s>
CREATE TABLE table_17058116_7 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT high_rebounds FROM table_17058116_7 WHERE high_points = "Charlie Villanueva (32)"
Who scored highest rebounds high points is charlie villanueva (32)
<s>[INST]Who scored highest rebounds high points is charlie villanueva (32) Context: CREATE TABLE table_17058116_7 (high_rebounds VARCHAR, high_points VARCHAR)[/INST]SELECT high_rebounds FROM table_17058116_7 WHERE high_points = "Charlie Villanueva (32)"</s>
CREATE TABLE table_name_66 (date VARCHAR, sport VARCHAR, record VARCHAR, time__seconds_ VARCHAR)
SELECT date FROM table_name_66 WHERE record = "track" AND time__seconds_ > 43.564 AND sport = "luge - women's singles"
What is the Date, when the Record is, "track", when the Time (seconds) is longer than 43.564, and when the Sport is luge - women's singles?
<s>[INST]What is the Date, when the Record is, "track", when the Time (seconds) is longer than 43.564, and when the Sport is luge - women's singles? Context: CREATE TABLE table_name_66 (date VARCHAR, sport VARCHAR, record VARCHAR, time__seconds_ VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE record = "track" AND t...
CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_78 WHERE date = "november 24, 1946"
What is the Result of the game on November 24, 1946?
<s>[INST]What is the Result of the game on November 24, 1946? Context: CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_78 WHERE date = "november 24, 1946"</s>
CREATE TABLE table_name_6 (total INTEGER, gold VARCHAR, silver VARCHAR)
SELECT MIN(total) FROM table_name_6 WHERE gold > 2 AND silver < 0
What is the least total when there are more than 2 golds and fewer than 0 silver?
<s>[INST]What is the least total when there are more than 2 golds and fewer than 0 silver? Context: CREATE TABLE table_name_6 (total INTEGER, gold VARCHAR, silver VARCHAR)[/INST]SELECT MIN(total) FROM table_name_6 WHERE gold > 2 AND silver < 0</s>
CREATE TABLE table_27455867_1 (callback_venue VARCHAR, episode_air_date VARCHAR)
SELECT callback_venue FROM table_27455867_1 WHERE episode_air_date = "January 20, 2011"
What was the callback venue for the audition city in the episode aired on January 20, 2011?
<s>[INST]What was the callback venue for the audition city in the episode aired on January 20, 2011? Context: CREATE TABLE table_27455867_1 (callback_venue VARCHAR, episode_air_date VARCHAR)[/INST]SELECT callback_venue FROM table_27455867_1 WHERE episode_air_date = "January 20, 2011"</s>
CREATE TABLE table_20849830_1 (date VARCHAR, record VARCHAR)
SELECT date FROM table_20849830_1 WHERE record = "2-1"
What was the date of the game with the record of 2-1?
<s>[INST]What was the date of the game with the record of 2-1? Context: CREATE TABLE table_20849830_1 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_20849830_1 WHERE record = "2-1"</s>
CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
SELECT score FROM table_name_58 WHERE result = "win" AND competition = "1998 fifa world cup qualification" AND date = "october 30, 1996"
What's the score at the October 30, 1996 1998 fifa world cup qualification with a result of win?
<s>[INST]What's the score at the October 30, 1996 1998 fifa world cup qualification with a result of win? Context: CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)[/INST]SELECT score FROM table_name_58 WHERE result = "win" AND competition = "1998 fifa world cup qualification...
CREATE TABLE table_name_90 (venue VARCHAR, against VARCHAR, status VARCHAR)
SELECT venue FROM table_name_90 WHERE against > 9 AND status = "second test"
Which venue has more than 9 against and a status of second test?
<s>[INST]Which venue has more than 9 against and a status of second test? Context: CREATE TABLE table_name_90 (venue VARCHAR, against VARCHAR, status VARCHAR)[/INST]SELECT venue FROM table_name_90 WHERE against > 9 AND status = "second test"</s>
CREATE TABLE table_13857501_1 (year INTEGER, womens_singles VARCHAR)
SELECT MIN(year) FROM table_13857501_1 WHERE womens_singles = "Beata Syta"
Beata syta is the minimum year for womens singles.
<s>[INST]Beata syta is the minimum year for womens singles. Context: CREATE TABLE table_13857501_1 (year INTEGER, womens_singles VARCHAR)[/INST]SELECT MIN(year) FROM table_13857501_1 WHERE womens_singles = "Beata Syta"</s>
CREATE TABLE Dogs (date_arrived VARCHAR, date_departed VARCHAR)
SELECT date_arrived, date_departed FROM Dogs
What are the arriving date and the departing date of all the dogs?
<s>[INST]What are the arriving date and the departing date of all the dogs? Context: CREATE TABLE Dogs (date_arrived VARCHAR, date_departed VARCHAR)[/INST]SELECT date_arrived, date_departed FROM Dogs</s>
CREATE TABLE table_name_38 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT score_in_the_final FROM table_name_38 WHERE outcome = "runner-up" AND surface = "hard (i)"
What is the score in the final with runner-up as the outcome and hard (i) as the surface?
<s>[INST]What is the score in the final with runner-up as the outcome and hard (i) as the surface? Context: CREATE TABLE table_name_38 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_38 WHERE outcome = "runner-up" AND surface = "hard (i)"</s>
CREATE TABLE table_name_37 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT winning_score FROM table_name_37 WHERE runner_s__up = "ted purdy"
What is Winning Score, when Runner(s)-up is Ted Purdy?
<s>[INST]What is Winning Score, when Runner(s)-up is Ted Purdy? Context: CREATE TABLE table_name_37 (winning_score VARCHAR, runner_s__up VARCHAR)[/INST]SELECT winning_score FROM table_name_37 WHERE runner_s__up = "ted purdy"</s>
CREATE TABLE table_24540893_6 (position VARCHAR, school VARCHAR)
SELECT COUNT(position) FROM table_24540893_6 WHERE school = "SE Missouri State"
How many players attended SE missouri state?
<s>[INST]How many players attended SE missouri state? Context: CREATE TABLE table_24540893_6 (position VARCHAR, school VARCHAR)[/INST]SELECT COUNT(position) FROM table_24540893_6 WHERE school = "SE Missouri State"</s>
CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, Major VARCHAR)
SELECT Fname, Lname FROM Student WHERE Major = 600
List all students' first names and last names who majored in 600.
<s>[INST]List all students' first names and last names who majored in 600. Context: CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, Major VARCHAR)[/INST]SELECT Fname, Lname FROM Student WHERE Major = 600</s>
CREATE TABLE table_name_73 (date_of_appointment VARCHAR, replaced_by VARCHAR)
SELECT date_of_appointment FROM table_name_73 WHERE replaced_by = "reiner geyer"
What was the date of appointment for the replaced manager, reiner geyer?
<s>[INST]What was the date of appointment for the replaced manager, reiner geyer? Context: CREATE TABLE table_name_73 (date_of_appointment VARCHAR, replaced_by VARCHAR)[/INST]SELECT date_of_appointment FROM table_name_73 WHERE replaced_by = "reiner geyer"</s>
CREATE TABLE table_name_2 (chief_judge VARCHAR, appointed_by VARCHAR)
SELECT chief_judge FROM table_name_2 WHERE appointed_by = "clinton"
Who did Clinton appoint as a Chief Judge?
<s>[INST]Who did Clinton appoint as a Chief Judge? Context: CREATE TABLE table_name_2 (chief_judge VARCHAR, appointed_by VARCHAR)[/INST]SELECT chief_judge FROM table_name_2 WHERE appointed_by = "clinton"</s>
CREATE TABLE table_name_65 (partially_deleted VARCHAR, name VARCHAR)
SELECT partially_deleted FROM table_name_65 WHERE name = "fibers public supply wells"
Where is the partially deleted site of fibers public supply wells located?
<s>[INST]Where is the partially deleted site of fibers public supply wells located? Context: CREATE TABLE table_name_65 (partially_deleted VARCHAR, name VARCHAR)[/INST]SELECT partially_deleted FROM table_name_65 WHERE name = "fibers public supply wells"</s>
CREATE TABLE table_27833469_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(series__number) FROM table_27833469_1 WHERE us_viewers__millions_ = "15.8"
How many series numbers are there when there were 15.8 u.s. viewers (millions)?
<s>[INST]How many series numbers are there when there were 15.8 u.s. viewers (millions)? Context: CREATE TABLE table_27833469_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT COUNT(series__number) FROM table_27833469_1 WHERE us_viewers__millions_ = "15.8"</s>
CREATE TABLE Apartment_Buildings (building_full_name VARCHAR)
SELECT building_full_name FROM Apartment_Buildings WHERE building_full_name LIKE "%court%"
What are the building full names that contain the word "court"?
<s>[INST]What are the building full names that contain the word "court"? Context: CREATE TABLE Apartment_Buildings (building_full_name VARCHAR)[/INST]SELECT building_full_name FROM Apartment_Buildings WHERE building_full_name LIKE "%court%"</s>
CREATE TABLE table_1160660_1 (date_founded VARCHAR, acronym VARCHAR)
SELECT date_founded FROM table_1160660_1 WHERE acronym = "USF"
What year was USF founded?
<s>[INST]What year was USF founded? Context: CREATE TABLE table_1160660_1 (date_founded VARCHAR, acronym VARCHAR)[/INST]SELECT date_founded FROM table_1160660_1 WHERE acronym = "USF"</s>
CREATE TABLE table_17901155_3 (no_in_series INTEGER, directed_by VARCHAR)
SELECT MAX(no_in_series) FROM table_17901155_3 WHERE directed_by = "Kelly Sandefur"
what is the series # for the episode directed by Kelly Sandefur?
<s>[INST]what is the series # for the episode directed by Kelly Sandefur? Context: CREATE TABLE table_17901155_3 (no_in_series INTEGER, directed_by VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_17901155_3 WHERE directed_by = "Kelly Sandefur"</s>
CREATE TABLE table_name_74 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_74 WHERE home_team = "lincoln city"
What was the score of the game when the home team was Lincoln City?
<s>[INST]What was the score of the game when the home team was Lincoln City? Context: CREATE TABLE table_name_74 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_74 WHERE home_team = "lincoln city"</s>
CREATE TABLE table_name_92 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR)
SELECT average_ratings FROM table_name_92 WHERE episodes = 11 AND japanese_title = "サプリ"
For the Japanese title サプリ that had 11 episodes, what is the average ratings?
<s>[INST]For the Japanese title サプリ that had 11 episodes, what is the average ratings? Context: CREATE TABLE table_name_92 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR)[/INST]SELECT average_ratings FROM table_name_92 WHERE episodes = 11 AND japanese_title = "サプリ"</s>
CREATE TABLE table_24732149_2 (circuit VARCHAR, round VARCHAR)
SELECT circuit FROM table_24732149_2 WHERE round = 5
What is the circuit of round 5?
<s>[INST]What is the circuit of round 5? Context: CREATE TABLE table_24732149_2 (circuit VARCHAR, round VARCHAR)[/INST]SELECT circuit FROM table_24732149_2 WHERE round = 5</s>
CREATE TABLE table_26914759_3 (manner_of_departure VARCHAR, team VARCHAR, incoming_manager VARCHAR)
SELECT manner_of_departure FROM table_26914759_3 WHERE team = "Notts County" AND incoming_manager = "Martin Allen"
What was the manner of departure for notts county with an incoming manager of martin allen
<s>[INST]What was the manner of departure for notts county with an incoming manager of martin allen Context: CREATE TABLE table_26914759_3 (manner_of_departure VARCHAR, team VARCHAR, incoming_manager VARCHAR)[/INST]SELECT manner_of_departure FROM table_26914759_3 WHERE team = "Notts County" AND incoming_manager = "Mart...
CREATE TABLE table_17265535_7 (equation VARCHAR)
SELECT MIN(2 AS nd_throw) FROM table_17265535_7 WHERE equation = "8 × 9² + 8 × 9 + 8"
If the equation is 8 × 9² + 8 × 9 + 8, what is the 2nd throw?
<s>[INST]If the equation is 8 × 9² + 8 × 9 + 8, what is the 2nd throw? Context: CREATE TABLE table_17265535_7 (equation VARCHAR)[/INST]SELECT MIN(2 AS nd_throw) FROM table_17265535_7 WHERE equation = "8 × 9² + 8 × 9 + 8"</s>
CREATE TABLE table_name_94 (round VARCHAR, position VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_94 WHERE position = "d" AND player = "andrew campbell"
What is the total number of Round, when Position is "D", and when Player is "Andrew Campbell"?
<s>[INST]What is the total number of Round, when Position is "D", and when Player is "Andrew Campbell"? Context: CREATE TABLE table_name_94 (round VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_94 WHERE position = "d" AND player = "andrew campbell"</s>
CREATE TABLE table_name_99 (Id VARCHAR)
SELECT 2011 FROM table_name_99 WHERE 2010 = "1r" AND 2009 = "1r"
Which 2011 has a 2010 of 1r, and a 2009 of 1r?
<s>[INST]Which 2011 has a 2010 of 1r, and a 2009 of 1r? Context: CREATE TABLE table_name_99 (Id VARCHAR)[/INST]SELECT 2011 FROM table_name_99 WHERE 2010 = "1r" AND 2009 = "1r"</s>
CREATE TABLE table_name_42 (attendance INTEGER, venue VARCHAR, opponent VARCHAR)
SELECT MAX(attendance) FROM table_name_42 WHERE venue = "a" AND opponent = "west ham united"
What is the highest attendance for the match against west ham united at the venue of a?
<s>[INST]What is the highest attendance for the match against west ham united at the venue of a? Context: CREATE TABLE table_name_42 (attendance INTEGER, venue VARCHAR, opponent VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_42 WHERE venue = "a" AND opponent = "west ham united"</s>
CREATE TABLE Rating (mID VARCHAR, stars INTEGER); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)
SELECT T2.title, T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars > (SELECT AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T2.director = "James Cameron")
What are the titles and directors of the movies whose star is greater than the average stars of the movies directed by James Cameron?
<s>[INST]What are the titles and directors of the movies whose star is greater than the average stars of the movies directed by James Cameron? Context: CREATE TABLE Rating (mID VARCHAR, stars INTEGER); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)[/INST]SELECT T2.title, T2.director FROM Rating AS T1...
CREATE TABLE table_11677760_1 (nba_draft VARCHAR, hometown VARCHAR)
SELECT nba_draft FROM table_11677760_1 WHERE hometown = "Virginia Beach, VA"
What is the nba draft for the player from the hometown of virginia beach, va?
<s>[INST]What is the nba draft for the player from the hometown of virginia beach, va? Context: CREATE TABLE table_11677760_1 (nba_draft VARCHAR, hometown VARCHAR)[/INST]SELECT nba_draft FROM table_11677760_1 WHERE hometown = "Virginia Beach, VA"</s>
CREATE TABLE table_name_70 (part_2 VARCHAR, verb_meaning VARCHAR)
SELECT part_2 FROM table_name_70 WHERE verb_meaning = "to leap"
Which part 2 has a verb that means to leap?
<s>[INST]Which part 2 has a verb that means to leap? Context: CREATE TABLE table_name_70 (part_2 VARCHAR, verb_meaning VARCHAR)[/INST]SELECT part_2 FROM table_name_70 WHERE verb_meaning = "to leap"</s>
CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, constructor VARCHAR)
SELECT MAX(grid) FROM table_name_10 WHERE laps < 44 AND constructor = "renault"
what is the highest grid when the laps is less than 44 and the constructor is renault?
<s>[INST]what is the highest grid when the laps is less than 44 and the constructor is renault? Context: CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, constructor VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_10 WHERE laps < 44 AND constructor = "renault"</s>
CREATE TABLE table_name_10 (chosen_by VARCHAR, couple VARCHAR, choreographer_s_ VARCHAR)
SELECT chosen_by FROM table_name_10 WHERE couple = "katee shean joshua allen" AND choreographer_s_ = "nakul dev mahajan"
What is Chosen By, when Couple is Katee Shean Joshua Allen, and when Choreographer(s) is Nakul Dev Mahajan?
<s>[INST]What is Chosen By, when Couple is Katee Shean Joshua Allen, and when Choreographer(s) is Nakul Dev Mahajan? Context: CREATE TABLE table_name_10 (chosen_by VARCHAR, couple VARCHAR, choreographer_s_ VARCHAR)[/INST]SELECT chosen_by FROM table_name_10 WHERE couple = "katee shean joshua allen" AND choreographer_s_ ...
CREATE TABLE table_name_1 (name VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_1 WHERE nationality = "total:"
what is the name for the nationality total:?
<s>[INST]what is the name for the nationality total:? Context: CREATE TABLE table_name_1 (name VARCHAR, nationality VARCHAR)[/INST]SELECT name FROM table_name_1 WHERE nationality = "total:"</s>
CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_34 WHERE date = "july 2"
What was the record on July 2?
<s>[INST]What was the record on July 2? Context: CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_34 WHERE date = "july 2"</s>
CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_95 WHERE away_team = "melbourne"
Where did Melbourne play as the away team?
<s>[INST]Where did Melbourne play as the away team? Context: CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_95 WHERE away_team = "melbourne"</s>