context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_72 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_72 WHERE tie_no = "12"
What was the score when the tie no was 12?
<s>[INST]What was the score when the tie no was 12? Context: CREATE TABLE table_name_72 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_72 WHERE tie_no = "12"</s>
CREATE TABLE table_name_4 (winners VARCHAR, year VARCHAR)
SELECT winners FROM table_name_4 WHERE year = "2010-2011"
Who were the winners in 2010-2011?
<s>[INST]Who were the winners in 2010-2011? Context: CREATE TABLE table_name_4 (winners VARCHAR, year VARCHAR)[/INST]SELECT winners FROM table_name_4 WHERE year = "2010-2011"</s>
CREATE TABLE table_name_73 (replaced_by VARCHAR, date_of_appointment VARCHAR)
SELECT replaced_by FROM table_name_73 WHERE date_of_appointment = "12 october 2007"
I want the replaced for date of appointment being 12 october 2007
<s>[INST]I want the replaced for date of appointment being 12 october 2007 Context: CREATE TABLE table_name_73 (replaced_by VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT replaced_by FROM table_name_73 WHERE date_of_appointment = "12 october 2007"</s>
CREATE TABLE table_name_32 (position INTEGER, played INTEGER)
SELECT SUM(position) FROM table_name_32 WHERE played > 9
Which Position has a Played larger than 9?
<s>[INST]Which Position has a Played larger than 9? Context: CREATE TABLE table_name_32 (position INTEGER, played INTEGER)[/INST]SELECT SUM(position) FROM table_name_32 WHERE played > 9</s>
CREATE TABLE table_name_28 (date VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_28 WHERE week > 4 AND attendance = "60,658"
What is the date of the game played after week 4 with 60,658 people in attendance?
<s>[INST]What is the date of the game played after week 4 with 60,658 people in attendance? Context: CREATE TABLE table_name_28 (date VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE week > 4 AND attendance = "60,658"</s>
CREATE TABLE table_25519358_1 (horizontal_0_a VARCHAR, name VARCHAR)
SELECT horizontal_0_a FROM table_25519358_1 WHERE name = "通 TONG"
Name the horizontal 0 for 通 tong
<s>[INST]Name the horizontal 0 for 通 tong Context: CREATE TABLE table_25519358_1 (horizontal_0_a VARCHAR, name VARCHAR)[/INST]SELECT horizontal_0_a FROM table_25519358_1 WHERE name = "通 TONG"</s>
CREATE TABLE table_name_3 (gender VARCHAR, riding VARCHAR)
SELECT gender FROM table_name_3 WHERE riding = "st. john's south—mount pearl"
The candidate with Riding of st. john's south—mount pearl is what gender?
<s>[INST]The candidate with Riding of st. john's south—mount pearl is what gender? Context: CREATE TABLE table_name_3 (gender VARCHAR, riding VARCHAR)[/INST]SELECT gender FROM table_name_3 WHERE riding = "st. john's south—mount pearl"</s>
CREATE TABLE table_name_74 (result VARCHAR, score VARCHAR, competition VARCHAR)
SELECT result FROM table_name_74 WHERE score = "2 – 0" AND competition = "2006 fifa world cup qualification"
Which Result has a Score of 2 – 0, and a Competition of 2006 fifa world cup qualification?
<s>[INST]Which Result has a Score of 2 – 0, and a Competition of 2006 fifa world cup qualification? Context: CREATE TABLE table_name_74 (result VARCHAR, score VARCHAR, competition VARCHAR)[/INST]SELECT result FROM table_name_74 WHERE score = "2 – 0" AND competition = "2006 fifa world cup qualification"</s>
CREATE TABLE table_name_42 (stage__winner_ VARCHAR, young_classification VARCHAR, sprint_classification VARCHAR, team_classification VARCHAR)
SELECT stage__winner_ FROM table_name_42 WHERE sprint_classification = "mark cavendish" AND team_classification = "garmin-chipotle-h30" AND young_classification = "mark cavendish"
Who was the winner for a Sprint Classification and Young Classification to Mark Cavendish and Garmin-Chipotle-H30 for team?
<s>[INST]Who was the winner for a Sprint Classification and Young Classification to Mark Cavendish and Garmin-Chipotle-H30 for team? Context: CREATE TABLE table_name_42 (stage__winner_ VARCHAR, young_classification VARCHAR, sprint_classification VARCHAR, team_classification VARCHAR)[/INST]SELECT stage__winner_ FROM tab...
CREATE TABLE table_name_2 (locomotive VARCHAR, delivered_as VARCHAR)
SELECT locomotive FROM table_name_2 WHERE delivered_as = "t414"
What Locomotive was Delivered as T414?
<s>[INST]What Locomotive was Delivered as T414? Context: CREATE TABLE table_name_2 (locomotive VARCHAR, delivered_as VARCHAR)[/INST]SELECT locomotive FROM table_name_2 WHERE delivered_as = "t414"</s>
CREATE TABLE table_name_10 (inf_stem VARCHAR, subj_pres VARCHAR)
SELECT inf_stem FROM table_name_10 WHERE subj_pres = "ou"
What is the infinitive stem that has a subjunctive present of ou?
<s>[INST]What is the infinitive stem that has a subjunctive present of ou? Context: CREATE TABLE table_name_10 (inf_stem VARCHAR, subj_pres VARCHAR)[/INST]SELECT inf_stem FROM table_name_10 WHERE subj_pres = "ou"</s>
CREATE TABLE table_name_62 (win_percentage VARCHAR, lost VARCHAR, drew VARCHAR)
SELECT win_percentage FROM table_name_62 WHERE lost = 5 AND drew = 0
What is the Win percentage where there were 5 lost and 0 is drew?
<s>[INST]What is the Win percentage where there were 5 lost and 0 is drew? Context: CREATE TABLE table_name_62 (win_percentage VARCHAR, lost VARCHAR, drew VARCHAR)[/INST]SELECT win_percentage FROM table_name_62 WHERE lost = 5 AND drew = 0</s>
CREATE TABLE table_name_67 (length__ft_ VARCHAR, order_year VARCHAR, manufacturer VARCHAR, model VARCHAR)
SELECT length__ft_ FROM table_name_67 WHERE manufacturer = "nfi" AND model = "d40lf" AND order_year = "2008"
What is the Length (ft.) for a 2008 nfi d40lf?
<s>[INST]What is the Length (ft.) for a 2008 nfi d40lf? Context: CREATE TABLE table_name_67 (length__ft_ VARCHAR, order_year VARCHAR, manufacturer VARCHAR, model VARCHAR)[/INST]SELECT length__ft_ FROM table_name_67 WHERE manufacturer = "nfi" AND model = "d40lf" AND order_year = "2008"</s>
CREATE TABLE table_23662356_3 (total_points_earned INTEGER, average VARCHAR)
SELECT MAX(total_points_earned) FROM table_23662356_3 WHERE average = "29.0"
How many total points were earned from the couple that averaged 29.0 points?
<s>[INST]How many total points were earned from the couple that averaged 29.0 points? Context: CREATE TABLE table_23662356_3 (total_points_earned INTEGER, average VARCHAR)[/INST]SELECT MAX(total_points_earned) FROM table_23662356_3 WHERE average = "29.0"</s>
CREATE TABLE table_name_78 (notes VARCHAR, displacement VARCHAR)
SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)"
What is the notes when the displacement is 220cid (3,604cc)?
<s>[INST]What is the notes when the displacement is 220cid (3,604cc)? Context: CREATE TABLE table_name_78 (notes VARCHAR, displacement VARCHAR)[/INST]SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)"</s>
CREATE TABLE table_11951237_3 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_11951237_3 WHERE original_air_date = "February 6, 1997"
What is the title of the episode with the original air date of february 6, 1997?
<s>[INST]What is the title of the episode with the original air date of february 6, 1997? Context: CREATE TABLE table_11951237_3 (title VARCHAR, original_air_date VARCHAR)[/INST]SELECT title FROM table_11951237_3 WHERE original_air_date = "February 6, 1997"</s>
CREATE TABLE table_2781227_4 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_2781227_4 WHERE player = "Adam Wiesel"
For player is adam wiesel mention all the college/junior/club team
<s>[INST]For player is adam wiesel mention all the college/junior/club team Context: CREATE TABLE table_2781227_4 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2781227_4 WHERE player = "Adam Wiesel"</s>
CREATE TABLE table_name_67 (election INTEGER, outcome_of_election VARCHAR, seats VARCHAR)
SELECT MIN(election) FROM table_name_67 WHERE outcome_of_election = "minority in parliament" AND seats = "2"
What is the earliest election with 2 seats and the outcome of the election of minority in parliament?
<s>[INST]What is the earliest election with 2 seats and the outcome of the election of minority in parliament? Context: CREATE TABLE table_name_67 (election INTEGER, outcome_of_election VARCHAR, seats VARCHAR)[/INST]SELECT MIN(election) FROM table_name_67 WHERE outcome_of_election = "minority in parliament" AND seats =...
CREATE TABLE table_name_1 (wins INTEGER, driver VARCHAR)
SELECT MIN(wins) FROM table_name_1 WHERE driver = "ayrton senna"
What is the fewest number of wins in the chart for Ayrton Senna?
<s>[INST]What is the fewest number of wins in the chart for Ayrton Senna? Context: CREATE TABLE table_name_1 (wins INTEGER, driver VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_1 WHERE driver = "ayrton senna"</s>
CREATE TABLE WINE (Grape VARCHAR, Appelation VARCHAR, Name VARCHAR, Score INTEGER)
SELECT Grape, Appelation, Name FROM WINE WHERE Score > 93 ORDER BY Name
List the grape, appelation and name of wines whose score is higher than 93 ordered by Name.
<s>[INST]List the grape, appelation and name of wines whose score is higher than 93 ordered by Name. Context: CREATE TABLE WINE (Grape VARCHAR, Appelation VARCHAR, Name VARCHAR, Score INTEGER)[/INST]SELECT Grape, Appelation, Name FROM WINE WHERE Score > 93 ORDER BY Name</s>
CREATE TABLE table_name_84 (tournament VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_name_84 WHERE winning_score = –9(69 - 69 - 70 - 71 = 279)
what is the tournament when the winning score is –9 (69-69-70-71=279)?
<s>[INST]what is the tournament when the winning score is –9 (69-69-70-71=279)? Context: CREATE TABLE table_name_84 (tournament VARCHAR, winning_score VARCHAR)[/INST]SELECT tournament FROM table_name_84 WHERE winning_score = –9(69 - 69 - 70 - 71 = 279)</s>
CREATE TABLE ARTIST (artistid VARCHAR); CREATE TABLE ALBUM (artistid VARCHAR)
SELECT COUNT(*) FROM ARTIST WHERE NOT artistid IN (SELECT artistid FROM ALBUM)
How many artists do not have any album?
<s>[INST]How many artists do not have any album? Context: CREATE TABLE ARTIST (artistid VARCHAR); CREATE TABLE ALBUM (artistid VARCHAR)[/INST]SELECT COUNT(*) FROM ARTIST WHERE NOT artistid IN (SELECT artistid FROM ALBUM)</s>
CREATE TABLE table_1914090_2 (year INTEGER, europe VARCHAR)
SELECT MAX(year) FROM table_1914090_2 WHERE europe = 471895
What is the latest year that Europe had 471895?
<s>[INST]What is the latest year that Europe had 471895? Context: CREATE TABLE table_1914090_2 (year INTEGER, europe VARCHAR)[/INST]SELECT MAX(year) FROM table_1914090_2 WHERE europe = 471895</s>
CREATE TABLE table_18821196_1 (tv_network_s_ VARCHAR, weekly_schedule VARCHAR)
SELECT tv_network_s_ FROM table_18821196_1 WHERE weekly_schedule = "Monday to Thursday @ 11:00 pm"
What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm?
<s>[INST]What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm? Context: CREATE TABLE table_18821196_1 (tv_network_s_ VARCHAR, weekly_schedule VARCHAR)[/INST]SELECT tv_network_s_ FROM table_18821196_1 WHERE weekly_schedule = "Monday to Thursday @ 11:00 pm"</s>
CREATE TABLE table_name_17 (episodes INTEGER, tv_station VARCHAR, japanese_title VARCHAR)
SELECT AVG(episodes) FROM table_name_17 WHERE tv_station = "ntv" AND japanese_title = "あいのうた"
Which Episodes have a TV Station of ntv, and a Japanese Title of あいのうた?
<s>[INST]Which Episodes have a TV Station of ntv, and a Japanese Title of あいのうた? Context: CREATE TABLE table_name_17 (episodes INTEGER, tv_station VARCHAR, japanese_title VARCHAR)[/INST]SELECT AVG(episodes) FROM table_name_17 WHERE tv_station = "ntv" AND japanese_title = "あいのうた"</s>
CREATE TABLE table_name_69 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_69 WHERE venue = "victoria park"
What is the away team at victoria park?
<s>[INST]What is the away team at victoria park? Context: CREATE TABLE table_name_69 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_69 WHERE venue = "victoria park"</s>
CREATE TABLE table_name_90 (player VARCHAR, birth_date VARCHAR, shirt_no VARCHAR, nationality VARCHAR, height VARCHAR)
SELECT player FROM table_name_90 WHERE nationality = "turkey" AND height < 183 AND shirt_no < 19 AND birth_date = "june 27, 1993 (age20)"
What player that has a Nationality of Turkey, a Height smaller than 183, a shirt no smaller than 19, and a birth date of June 27, 1993 (age20)?
<s>[INST]What player that has a Nationality of Turkey, a Height smaller than 183, a shirt no smaller than 19, and a birth date of June 27, 1993 (age20)? Context: CREATE TABLE table_name_90 (player VARCHAR, birth_date VARCHAR, shirt_no VARCHAR, nationality VARCHAR, height VARCHAR)[/INST]SELECT player FROM table_name_90 ...
CREATE TABLE table_name_62 (ofsted_number INTEGER, dcsf_number VARCHAR, intake VARCHAR, type VARCHAR)
SELECT MIN(ofsted_number) FROM table_name_62 WHERE intake = 60 AND type = "junior" AND dcsf_number < 3386
What is the junior type with an intake of 60 and a DCSF number less than 3386 with the smallest Ofsted number?
<s>[INST]What is the junior type with an intake of 60 and a DCSF number less than 3386 with the smallest Ofsted number? Context: CREATE TABLE table_name_62 (ofsted_number INTEGER, dcsf_number VARCHAR, intake VARCHAR, type VARCHAR)[/INST]SELECT MIN(ofsted_number) FROM table_name_62 WHERE intake = 60 AND type = "junior" ...
CREATE TABLE table_18600760_3 (county VARCHAR, longitude VARCHAR)
SELECT county FROM table_18600760_3 WHERE longitude = "-102.302775"
What was the county with a longitude of -102.302775?
<s>[INST]What was the county with a longitude of -102.302775? Context: CREATE TABLE table_18600760_3 (county VARCHAR, longitude VARCHAR)[/INST]SELECT county FROM table_18600760_3 WHERE longitude = "-102.302775"</s>
CREATE TABLE table_11680175_1 (vehlefanz VARCHAR, Neu VARCHAR, schwante VARCHAR)
SELECT COUNT(Neu) - vehlefanz FROM table_11680175_1 WHERE schwante = "2.043"
How many times did Neu-Vehlefanz occur when Schwante had 2.043?
<s>[INST]How many times did Neu-Vehlefanz occur when Schwante had 2.043? Context: CREATE TABLE table_11680175_1 (vehlefanz VARCHAR, Neu VARCHAR, schwante VARCHAR)[/INST]SELECT COUNT(Neu) - vehlefanz FROM table_11680175_1 WHERE schwante = "2.043"</s>
CREATE TABLE table_name_58 (team VARCHAR, high_points VARCHAR)
SELECT team FROM table_name_58 WHERE high_points = "rashard lewis (18)"
What is Team, when High Points is "Rashard Lewis (18)"?
<s>[INST]What is Team, when High Points is "Rashard Lewis (18)"? Context: CREATE TABLE table_name_58 (team VARCHAR, high_points VARCHAR)[/INST]SELECT team FROM table_name_58 WHERE high_points = "rashard lewis (18)"</s>
CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
SELECT T2.customer_name, COUNT(*) FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING COUNT(*) >= 2
For each customer who has at least two orders, find the customer name and number of orders made.
<s>[INST]For each customer who has at least two orders, find the customer name and number of orders made. Context: CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)[/INST]SELECT T2.customer_name, COUNT(*) FROM orders AS T1 JOIN customers AS T2 ON T1.customer_...
CREATE TABLE table_20010140_10 (date VARCHAR, high_assists VARCHAR)
SELECT COUNT(date) FROM table_20010140_10 WHERE high_assists = "Stu Douglass (5) – 4"
how many dates where high assists is stu douglass (5) – 4
<s>[INST]how many dates where high assists is stu douglass (5) – 4 Context: CREATE TABLE table_20010140_10 (date VARCHAR, high_assists VARCHAR)[/INST]SELECT COUNT(date) FROM table_20010140_10 WHERE high_assists = "Stu Douglass (5) – 4"</s>
CREATE TABLE table_name_68 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_68 WHERE home = "pittsburgh"
What was their record when they were at Pittsburgh?
<s>[INST]What was their record when they were at Pittsburgh? Context: CREATE TABLE table_name_68 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_68 WHERE home = "pittsburgh"</s>
CREATE TABLE table_name_61 (total INTEGER, fa_cup VARCHAR, fa_trophy VARCHAR)
SELECT AVG(total) FROM table_name_61 WHERE fa_cup = 1 AND fa_trophy > 0
What is the average total with 1 FA cup and more than 0 FA trophies?
<s>[INST]What is the average total with 1 FA cup and more than 0 FA trophies? Context: CREATE TABLE table_name_61 (total INTEGER, fa_cup VARCHAR, fa_trophy VARCHAR)[/INST]SELECT AVG(total) FROM table_name_61 WHERE fa_cup = 1 AND fa_trophy > 0</s>
CREATE TABLE table_name_42 (location VARCHAR, race VARCHAR)
SELECT location FROM table_name_42 WHERE race = "argentine grand prix"
Where was the argentine grand prix?
<s>[INST]Where was the argentine grand prix? Context: CREATE TABLE table_name_42 (location VARCHAR, race VARCHAR)[/INST]SELECT location FROM table_name_42 WHERE race = "argentine grand prix"</s>
CREATE TABLE table_name_60 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_60 WHERE result = "w 31-28"
Name the date for w 31-28
<s>[INST]Name the date for w 31-28 Context: CREATE TABLE table_name_60 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE result = "w 31-28"</s>
CREATE TABLE table_name_53 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_53 WHERE team_1 = "aalborg bk"
When Team 1 is Aalborg BK, what is the 1st Leg?
<s>[INST]When Team 1 is Aalborg BK, what is the 1st Leg? Context: CREATE TABLE table_name_53 (team_1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_53 WHERE team_1 = "aalborg bk"</s>
CREATE TABLE table_name_12 (english_translation VARCHAR, language VARCHAR, artist VARCHAR)
SELECT english_translation FROM table_name_12 WHERE language = "french" AND artist = "rachel"
What is the English Translation for the French song by the Artist Rachel?
<s>[INST]What is the English Translation for the French song by the Artist Rachel? Context: CREATE TABLE table_name_12 (english_translation VARCHAR, language VARCHAR, artist VARCHAR)[/INST]SELECT english_translation FROM table_name_12 WHERE language = "french" AND artist = "rachel"</s>
CREATE TABLE table_name_61 (road_team VARCHAR, result VARCHAR)
SELECT road_team FROM table_name_61 WHERE result = "117-114"
Which road team has a result of 117-114?
<s>[INST]Which road team has a result of 117-114? Context: CREATE TABLE table_name_61 (road_team VARCHAR, result VARCHAR)[/INST]SELECT road_team FROM table_name_61 WHERE result = "117-114"</s>
CREATE TABLE table_name_71 (korean_dialect VARCHAR, capital VARCHAR)
SELECT korean_dialect FROM table_name_71 WHERE capital = "daegu"
What is the Korean dialect in the daegu capital?
<s>[INST]What is the Korean dialect in the daegu capital? Context: CREATE TABLE table_name_71 (korean_dialect VARCHAR, capital VARCHAR)[/INST]SELECT korean_dialect FROM table_name_71 WHERE capital = "daegu"</s>
CREATE TABLE table_28215780_4 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_28215780_4 WHERE written_by = "Aron Eli Coleite"
What are the original air date(s) for episodes written by aron eli coleite?
<s>[INST]What are the original air date(s) for episodes written by aron eli coleite? Context: CREATE TABLE table_28215780_4 (original_air_date VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_28215780_4 WHERE written_by = "Aron Eli Coleite"</s>
CREATE TABLE table_name_34 (zan_1 VARCHAR, nor_1 VARCHAR)
SELECT zan_1 FROM table_name_34 WHERE nor_1 = "11"
What is the zan 1 that has 11 as the nor 1?
<s>[INST]What is the zan 1 that has 11 as the nor 1? Context: CREATE TABLE table_name_34 (zan_1 VARCHAR, nor_1 VARCHAR)[/INST]SELECT zan_1 FROM table_name_34 WHERE nor_1 = "11"</s>
CREATE TABLE table_name_66 (position INTEGER, pilot VARCHAR)
SELECT MAX(position) FROM table_name_66 WHERE pilot = "mario kiessling"
What is the highest Position, when Pilot is "Mario Kiessling"?
<s>[INST]What is the highest Position, when Pilot is "Mario Kiessling"? Context: CREATE TABLE table_name_66 (position INTEGER, pilot VARCHAR)[/INST]SELECT MAX(position) FROM table_name_66 WHERE pilot = "mario kiessling"</s>
CREATE TABLE table_name_24 (total_pts VARCHAR, total_pld INTEGER)
SELECT COUNT(total_pts) FROM table_name_24 WHERE total_pld < 38
What is the total number of points for a total pld less than 38?
<s>[INST]What is the total number of points for a total pld less than 38? Context: CREATE TABLE table_name_24 (total_pts VARCHAR, total_pld INTEGER)[/INST]SELECT COUNT(total_pts) FROM table_name_24 WHERE total_pld < 38</s>
CREATE TABLE Student (Advisor VARCHAR, StuID VARCHAR)
SELECT Advisor FROM Student WHERE StuID = 1004
Who is the advisor of student with ID 1004?
<s>[INST]Who is the advisor of student with ID 1004? Context: CREATE TABLE Student (Advisor VARCHAR, StuID VARCHAR)[/INST]SELECT Advisor FROM Student WHERE StuID = 1004</s>
CREATE TABLE table_name_87 (byes INTEGER, wins VARCHAR, against VARCHAR, losses VARCHAR)
SELECT MAX(byes) FROM table_name_87 WHERE against > 1235 AND losses < 10 AND wins > 7
Which Byes have an Against larger than 1235, and Losses smaller than 10, and Wins larger than 7?
<s>[INST]Which Byes have an Against larger than 1235, and Losses smaller than 10, and Wins larger than 7? Context: CREATE TABLE table_name_87 (byes INTEGER, wins VARCHAR, against VARCHAR, losses VARCHAR)[/INST]SELECT MAX(byes) FROM table_name_87 WHERE against > 1235 AND losses < 10 AND wins > 7</s>
CREATE TABLE table_name_2 (league_a VARCHAR, years VARCHAR)
SELECT league_a FROM table_name_2 WHERE years = "1952–1960"
What is the League for 1952–1960?
<s>[INST]What is the League for 1952–1960? Context: CREATE TABLE table_name_2 (league_a VARCHAR, years VARCHAR)[/INST]SELECT league_a FROM table_name_2 WHERE years = "1952–1960"</s>
CREATE TABLE table_1992924_3 (spokesperson VARCHAR, year_s_ VARCHAR)
SELECT COUNT(spokesperson) FROM table_1992924_3 WHERE year_s_ = 2004
how many spokesperson where in 2004
<s>[INST]how many spokesperson where in 2004 Context: CREATE TABLE table_1992924_3 (spokesperson VARCHAR, year_s_ VARCHAR)[/INST]SELECT COUNT(spokesperson) FROM table_1992924_3 WHERE year_s_ = 2004</s>
CREATE TABLE table_name_79 (score VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT score FROM table_name_79 WHERE visitor = "philadelphia" AND record = "7–4–0"
What is the score when Philadelphia was the visitor with a Record of 7–4–0?
<s>[INST]What is the score when Philadelphia was the visitor with a Record of 7–4–0? Context: CREATE TABLE table_name_79 (score VARCHAR, visitor VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_79 WHERE visitor = "philadelphia" AND record = "7–4–0"</s>
CREATE TABLE table_name_75 (date VARCHAR, country VARCHAR, label VARCHAR)
SELECT date FROM table_name_75 WHERE country = "japan" AND label = "sony"
What Date was the Country of japan, and a Label of sony?
<s>[INST]What Date was the Country of japan, and a Label of sony? Context: CREATE TABLE table_name_75 (date VARCHAR, country VARCHAR, label VARCHAR)[/INST]SELECT date FROM table_name_75 WHERE country = "japan" AND label = "sony"</s>
CREATE TABLE table_name_72 (method VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT method FROM table_name_72 WHERE opponent = "sergei bondarovich" AND record = "2–0"
Opponent of sergei bondarovich, and a Record of 2–0 had what method?
<s>[INST]Opponent of sergei bondarovich, and a Record of 2–0 had what method? Context: CREATE TABLE table_name_72 (method VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT method FROM table_name_72 WHERE opponent = "sergei bondarovich" AND record = "2–0"</s>
CREATE TABLE table_name_63 (record VARCHAR, round INTEGER)
SELECT record FROM table_name_63 WHERE round > 1
Tell me the record for round more than 1
<s>[INST]Tell me the record for round more than 1 Context: CREATE TABLE table_name_63 (record VARCHAR, round INTEGER)[/INST]SELECT record FROM table_name_63 WHERE round > 1</s>
CREATE TABLE table_23014476_1 (gore__number VARCHAR, others__percentage VARCHAR)
SELECT gore__number FROM table_23014476_1 WHERE others__percentage = "5.3%"
Name the gore number for others % being 5.3%
<s>[INST]Name the gore number for others % being 5.3% Context: CREATE TABLE table_23014476_1 (gore__number VARCHAR, others__percentage VARCHAR)[/INST]SELECT gore__number FROM table_23014476_1 WHERE others__percentage = "5.3%"</s>
CREATE TABLE table_name_42 (nickname VARCHAR, colors VARCHAR)
SELECT nickname FROM table_name_42 WHERE colors = "blue and gold"
What is the nickname of the team that has the colors blue and gold?
<s>[INST]What is the nickname of the team that has the colors blue and gold? Context: CREATE TABLE table_name_42 (nickname VARCHAR, colors VARCHAR)[/INST]SELECT nickname FROM table_name_42 WHERE colors = "blue and gold"</s>
CREATE TABLE table_name_23 (partner VARCHAR, surface VARCHAR, date VARCHAR)
SELECT partner FROM table_name_23 WHERE surface = "hard" AND date = "18 april 2011"
What is the name of a partner that played on a hard surface on 18 April 2011?
<s>[INST]What is the name of a partner that played on a hard surface on 18 April 2011? Context: CREATE TABLE table_name_23 (partner VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT partner FROM table_name_23 WHERE surface = "hard" AND date = "18 april 2011"</s>
CREATE TABLE table_name_11 (director VARCHAR, english_title VARCHAR)
SELECT director FROM table_name_11 WHERE english_title = "the olsen gang sees red"
Who is the Director of the Olsen Gang Sees Red?
<s>[INST]Who is the Director of the Olsen Gang Sees Red? Context: CREATE TABLE table_name_11 (director VARCHAR, english_title VARCHAR)[/INST]SELECT director FROM table_name_11 WHERE english_title = "the olsen gang sees red"</s>
CREATE TABLE table_21690339_1 (gas_storage VARCHAR, alternative_fuel VARCHAR)
SELECT gas_storage FROM table_21690339_1 WHERE alternative_fuel = "Yes"
What was the gas storage status for the nation that had "yes" for alternative fuel?
<s>[INST]What was the gas storage status for the nation that had "yes" for alternative fuel? Context: CREATE TABLE table_21690339_1 (gas_storage VARCHAR, alternative_fuel VARCHAR)[/INST]SELECT gas_storage FROM table_21690339_1 WHERE alternative_fuel = "Yes"</s>
CREATE TABLE table_name_48 (week VARCHAR, result VARCHAR)
SELECT week FROM table_name_48 WHERE result = "l 14–9"
What week was the result l 14–9?
<s>[INST]What week was the result l 14–9? Context: CREATE TABLE table_name_48 (week VARCHAR, result VARCHAR)[/INST]SELECT week FROM table_name_48 WHERE result = "l 14–9"</s>
CREATE TABLE table_name_75 (attendance VARCHAR, venue VARCHAR)
SELECT attendance FROM table_name_75 WHERE venue = "mandalay bay resort"
Which Attendance has Mandalay Bay Resort
<s>[INST]Which Attendance has Mandalay Bay Resort Context: CREATE TABLE table_name_75 (attendance VARCHAR, venue VARCHAR)[/INST]SELECT attendance FROM table_name_75 WHERE venue = "mandalay bay resort"</s>
CREATE TABLE table_name_1 (party VARCHAR, municipality VARCHAR)
SELECT party FROM table_name_1 WHERE municipality = "tampere"
Municipality of tampere involves which party?
<s>[INST]Municipality of tampere involves which party? Context: CREATE TABLE table_name_1 (party VARCHAR, municipality VARCHAR)[/INST]SELECT party FROM table_name_1 WHERE municipality = "tampere"</s>
CREATE TABLE table_22485543_1 (color_commentator_s_ VARCHAR, ice_level_reporters VARCHAR)
SELECT color_commentator_s_ FROM table_22485543_1 WHERE ice_level_reporters = "Brian Engblom"
Who is the color commentator when brian engblom is ice level reporters?
<s>[INST]Who is the color commentator when brian engblom is ice level reporters? Context: CREATE TABLE table_22485543_1 (color_commentator_s_ VARCHAR, ice_level_reporters VARCHAR)[/INST]SELECT color_commentator_s_ FROM table_22485543_1 WHERE ice_level_reporters = "Brian Engblom"</s>
CREATE TABLE table_name_48 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_48 WHERE date = "april 12"
What was the score on April 12?
<s>[INST]What was the score on April 12? Context: CREATE TABLE table_name_48 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_48 WHERE date = "april 12"</s>
CREATE TABLE table_name_42 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)
SELECT mountains_classification FROM table_name_42 WHERE general_classification = "egoi martínez" AND stage = "9"
Which Mountains classification has a General classification of egoi martínez, and a Stage of 9?
<s>[INST]Which Mountains classification has a General classification of egoi martínez, and a Stage of 9? Context: CREATE TABLE table_name_42 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)[/INST]SELECT mountains_classification FROM table_name_42 WHERE general_classification = "egoi mar...
CREATE TABLE table_name_96 (club_team VARCHAR, overall VARCHAR, player VARCHAR)
SELECT club_team FROM table_name_96 WHERE overall < 283 AND player = "derrick byfuglien"
What club was derrick byfuglien drafted by before 283?
<s>[INST]What club was derrick byfuglien drafted by before 283? Context: CREATE TABLE table_name_96 (club_team VARCHAR, overall VARCHAR, player VARCHAR)[/INST]SELECT club_team FROM table_name_96 WHERE overall < 283 AND player = "derrick byfuglien"</s>
CREATE TABLE table_name_81 (name VARCHAR, event VARCHAR)
SELECT name FROM table_name_81 WHERE event = "36 arrow finals"
Who has the event of 36 arrow finals?
<s>[INST]Who has the event of 36 arrow finals? Context: CREATE TABLE table_name_81 (name VARCHAR, event VARCHAR)[/INST]SELECT name FROM table_name_81 WHERE event = "36 arrow finals"</s>
CREATE TABLE table_name_15 (membership INTEGER, _percentage_lds VARCHAR, branches VARCHAR)
SELECT AVG(membership) FROM table_name_15 WHERE _percentage_lds = "3.33%" AND branches < 47
What is the average membership with 3.33% LDS and less than 47 branches?
<s>[INST]What is the average membership with 3.33% LDS and less than 47 branches? Context: CREATE TABLE table_name_15 (membership INTEGER, _percentage_lds VARCHAR, branches VARCHAR)[/INST]SELECT AVG(membership) FROM table_name_15 WHERE _percentage_lds = "3.33%" AND branches < 47</s>
CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283
Which country had a place of t1, as well as a score of 72-68-70-73=283?
<s>[INST]Which country had a place of t1, as well as a score of 72-68-70-73=283? Context: CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283</s>
CREATE TABLE on_call (nurse VARCHAR, blockfloor VARCHAR, blockcode VARCHAR)
SELECT nurse FROM on_call WHERE blockfloor = 1 AND blockcode = 1
What nurses are on call with block floor 1 and block code 1? Tell me their names.
<s>[INST]What nurses are on call with block floor 1 and block code 1? Tell me their names. Context: CREATE TABLE on_call (nurse VARCHAR, blockfloor VARCHAR, blockcode VARCHAR)[/INST]SELECT nurse FROM on_call WHERE blockfloor = 1 AND blockcode = 1</s>
CREATE TABLE table_name_39 (team VARCHAR, game VARCHAR, high_rebounds VARCHAR)
SELECT team FROM table_name_39 WHERE game < 78 AND high_rebounds = "perkins (9)"
What team had a high rebound of perkins (9) and a game smaller than 78?
<s>[INST]What team had a high rebound of perkins (9) and a game smaller than 78? Context: CREATE TABLE table_name_39 (team VARCHAR, game VARCHAR, high_rebounds VARCHAR)[/INST]SELECT team FROM table_name_39 WHERE game < 78 AND high_rebounds = "perkins (9)"</s>
CREATE TABLE table_name_9 (opponent VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_9 WHERE round = "qf(r)"
Who was the opponent at the qf(r) round?
<s>[INST]Who was the opponent at the qf(r) round? Context: CREATE TABLE table_name_9 (opponent VARCHAR, round VARCHAR)[/INST]SELECT opponent FROM table_name_9 WHERE round = "qf(r)"</s>
CREATE TABLE table_name_18 (sponsor_s_ VARCHAR, _number_of_cosponsors VARCHAR, date_introduced VARCHAR)
SELECT sponsor_s_ FROM table_name_18 WHERE _number_of_cosponsors < 200 AND date_introduced = "february 28, 2005"
Who was the sponsor for the bill introduced February 28, 2005 with cosponsors less than 200?
<s>[INST]Who was the sponsor for the bill introduced February 28, 2005 with cosponsors less than 200? Context: CREATE TABLE table_name_18 (sponsor_s_ VARCHAR, _number_of_cosponsors VARCHAR, date_introduced VARCHAR)[/INST]SELECT sponsor_s_ FROM table_name_18 WHERE _number_of_cosponsors < 200 AND date_introduced = "febru...
CREATE TABLE table_17675675_2 (tries_for VARCHAR, lost VARCHAR)
SELECT COUNT(tries_for) FROM table_17675675_2 WHERE lost = "4"
With the given loss of 4, what was the number of tries?
<s>[INST]With the given loss of 4, what was the number of tries? Context: CREATE TABLE table_17675675_2 (tries_for VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(tries_for) FROM table_17675675_2 WHERE lost = "4"</s>
CREATE TABLE table_name_51 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_51 WHERE week = 10
what was the result in week 10?
<s>[INST]what was the result in week 10? Context: CREATE TABLE table_name_51 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_51 WHERE week = 10</s>
CREATE TABLE table_name_20 (artist VARCHAR, televote_sms VARCHAR)
SELECT artist FROM table_name_20 WHERE televote_sms = "3.20%"
who is the artist when the televote/sms is 3.20%?
<s>[INST]who is the artist when the televote/sms is 3.20%? Context: CREATE TABLE table_name_20 (artist VARCHAR, televote_sms VARCHAR)[/INST]SELECT artist FROM table_name_20 WHERE televote_sms = "3.20%"</s>
CREATE TABLE table_name_33 (event VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_33 WHERE method = "submission (triangle choke)" AND opponent = "thiago tavares"
Which event has a Method of submission (triangle choke), and an Opponent of thiago tavares?
<s>[INST]Which event has a Method of submission (triangle choke), and an Opponent of thiago tavares? Context: CREATE TABLE table_name_33 (event VARCHAR, method VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_33 WHERE method = "submission (triangle choke)" AND opponent = "thiago tavares"</s>
CREATE TABLE table_name_26 (position VARCHAR, school VARCHAR)
SELECT position FROM table_name_26 WHERE school = "green valley high school"
Which position has a School of green valley high school?
<s>[INST]Which position has a School of green valley high school? Context: CREATE TABLE table_name_26 (position VARCHAR, school VARCHAR)[/INST]SELECT position FROM table_name_26 WHERE school = "green valley high school"</s>
CREATE TABLE table_20898602_1 (position VARCHAR, height VARCHAR)
SELECT position FROM table_20898602_1 WHERE height = "ft0in (m)"
what is the position of the player of height ft0in (m)
<s>[INST]what is the position of the player of height ft0in (m) Context: CREATE TABLE table_20898602_1 (position VARCHAR, height VARCHAR)[/INST]SELECT position FROM table_20898602_1 WHERE height = "ft0in (m)"</s>
CREATE TABLE table_26160007_1 (total_trade VARCHAR, exports VARCHAR)
SELECT total_trade FROM table_26160007_1 WHERE exports = "6,099.06"
Where the number of exports are 6,099.06, what is the total trade?
<s>[INST]Where the number of exports are 6,099.06, what is the total trade? Context: CREATE TABLE table_26160007_1 (total_trade VARCHAR, exports VARCHAR)[/INST]SELECT total_trade FROM table_26160007_1 WHERE exports = "6,099.06"</s>
CREATE TABLE table_name_58 (frequency VARCHAR, branding VARCHAR)
SELECT frequency FROM table_name_58 WHERE branding = "the beat"
Which frequency belongs to the beat branding?
<s>[INST]Which frequency belongs to the beat branding? Context: CREATE TABLE table_name_58 (frequency VARCHAR, branding VARCHAR)[/INST]SELECT frequency FROM table_name_58 WHERE branding = "the beat"</s>
CREATE TABLE table_20396710_1 (points_difference VARCHAR, points_for VARCHAR)
SELECT COUNT(points_difference) FROM table_20396710_1 WHERE points_for = "139"
when the points for is 139 is points difference?
<s>[INST]when the points for is 139 is points difference? Context: CREATE TABLE table_20396710_1 (points_difference VARCHAR, points_for VARCHAR)[/INST]SELECT COUNT(points_difference) FROM table_20396710_1 WHERE points_for = "139"</s>
CREATE TABLE table_name_89 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_89 WHERE visitor = "magic"
Which record has a Visitor of magic?
<s>[INST]Which record has a Visitor of magic? Context: CREATE TABLE table_name_89 (record VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_89 WHERE visitor = "magic"</s>
CREATE TABLE table_name_70 (stadium VARCHAR, team VARCHAR)
SELECT stadium FROM table_name_70 WHERE team = "nk zagreb"
What is the stadium of the NK Zagreb?
<s>[INST]What is the stadium of the NK Zagreb? Context: CREATE TABLE table_name_70 (stadium VARCHAR, team VARCHAR)[/INST]SELECT stadium FROM table_name_70 WHERE team = "nk zagreb"</s>
CREATE TABLE table_name_98 (attendance INTEGER, points_for VARCHAR, first_downs VARCHAR, opponent VARCHAR)
SELECT SUM(attendance) FROM table_name_98 WHERE first_downs < 26 AND opponent = "los angeles rams" AND points_for > 28
Which Attendance has a First Downs smaller than 26, an Opponent of los angeles rams, and Points For larger than 28?
<s>[INST]Which Attendance has a First Downs smaller than 26, an Opponent of los angeles rams, and Points For larger than 28? Context: CREATE TABLE table_name_98 (attendance INTEGER, points_for VARCHAR, first_downs VARCHAR, opponent VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_98 WHERE first_downs < 26 AND oppo...
CREATE TABLE table_name_33 (manager VARCHAR, home_city VARCHAR)
SELECT manager FROM table_name_33 WHERE home_city = "osijek"
What is the name of the manager in the city of Osijek?
<s>[INST]What is the name of the manager in the city of Osijek? Context: CREATE TABLE table_name_33 (manager VARCHAR, home_city VARCHAR)[/INST]SELECT manager FROM table_name_33 WHERE home_city = "osijek"</s>
CREATE TABLE table_name_3 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_3 WHERE away_team = "collingwood"
When collingwood played as the away team what did they score?
<s>[INST]When collingwood played as the away team what did they score? Context: CREATE TABLE table_name_3 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_3 WHERE away_team = "collingwood"</s>
CREATE TABLE table_name_17 (points INTEGER, draw VARCHAR, jury VARCHAR, artist VARCHAR)
SELECT SUM(points) FROM table_name_17 WHERE jury > 6 AND artist = "zhenya rasskazova" AND draw > 9
Jury larger than 6, and a Artist of zhenya rasskazova, and a Draw larger than 9 had what sum of points?
<s>[INST]Jury larger than 6, and a Artist of zhenya rasskazova, and a Draw larger than 9 had what sum of points? Context: CREATE TABLE table_name_17 (points INTEGER, draw VARCHAR, jury VARCHAR, artist VARCHAR)[/INST]SELECT SUM(points) FROM table_name_17 WHERE jury > 6 AND artist = "zhenya rasskazova" AND draw > 9</s>
CREATE TABLE table_name_72 (venue VARCHAR, competition VARCHAR, year VARCHAR, event VARCHAR)
SELECT venue FROM table_name_72 WHERE year < 2009 AND event = "3000 m" AND competition = "world youth championships"
Which Venue has a Year smaller than 2009, and an Event of 3000 m, and a Competition of world youth championships?
<s>[INST]Which Venue has a Year smaller than 2009, and an Event of 3000 m, and a Competition of world youth championships? Context: CREATE TABLE table_name_72 (venue VARCHAR, competition VARCHAR, year VARCHAR, event VARCHAR)[/INST]SELECT venue FROM table_name_72 WHERE year < 2009 AND event = "3000 m" AND competition = ...
CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_89 WHERE away_team = "hawthorn"
Where did Hawthorn play as the away team?
<s>[INST]Where did Hawthorn play as the away team? Context: CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_89 WHERE away_team = "hawthorn"</s>
CREATE TABLE table_name_24 (date VARCHAR, rank__number VARCHAR, opponent_number VARCHAR)
SELECT date FROM table_name_24 WHERE rank__number = "5" AND opponent_number = "stanford"
On what date was the game played where the opponent was Stanford, ranked #5?
<s>[INST]On what date was the game played where the opponent was Stanford, ranked #5? Context: CREATE TABLE table_name_24 (date VARCHAR, rank__number VARCHAR, opponent_number VARCHAR)[/INST]SELECT date FROM table_name_24 WHERE rank__number = "5" AND opponent_number = "stanford"</s>
CREATE TABLE table_21486890_1 (matches INTEGER, not_out VARCHAR)
SELECT MIN(matches) FROM table_21486890_1 WHERE not_out = 44
Name the least matches for not out being 44
<s>[INST]Name the least matches for not out being 44 Context: CREATE TABLE table_21486890_1 (matches INTEGER, not_out VARCHAR)[/INST]SELECT MIN(matches) FROM table_21486890_1 WHERE not_out = 44</s>
CREATE TABLE table_name_53 (team_sites VARCHAR, public VARCHAR, developer VARCHAR)
SELECT team_sites FROM table_name_53 WHERE public = "no" AND developer = "yes"
What is the team sites entry that has a public entry of No and a developer entry of Yes?
<s>[INST]What is the team sites entry that has a public entry of No and a developer entry of Yes? Context: CREATE TABLE table_name_53 (team_sites VARCHAR, public VARCHAR, developer VARCHAR)[/INST]SELECT team_sites FROM table_name_53 WHERE public = "no" AND developer = "yes"</s>
CREATE TABLE table_13608101_1 (others_percentage VARCHAR, parish VARCHAR)
SELECT others_percentage FROM table_13608101_1 WHERE parish = "Tangipahoa"
what's the others% with parbeingh being tangipahoa
<s>[INST]what's the others% with parbeingh being tangipahoa Context: CREATE TABLE table_13608101_1 (others_percentage VARCHAR, parish VARCHAR)[/INST]SELECT others_percentage FROM table_13608101_1 WHERE parish = "Tangipahoa"</s>
CREATE TABLE table_22834834_3 (surface VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_22834834_3 WHERE score_in_the_final = "6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)"
Which surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)?
<s>[INST]Which surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)? Context: CREATE TABLE table_22834834_3 (surface VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT surface FROM table_22834834_3 WHERE score_in_the_final = "6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)"</s>
CREATE TABLE table_173103_1 (max_pressure VARCHAR, cartridge VARCHAR)
SELECT COUNT(max_pressure) FROM table_173103_1 WHERE cartridge = ".380 ACP"
How many pressure figures are given for the .380 acp cartridge?
<s>[INST]How many pressure figures are given for the .380 acp cartridge? Context: CREATE TABLE table_173103_1 (max_pressure VARCHAR, cartridge VARCHAR)[/INST]SELECT COUNT(max_pressure) FROM table_173103_1 WHERE cartridge = ".380 ACP"</s>
CREATE TABLE table_name_85 (first_issue VARCHAR, title VARCHAR)
SELECT first_issue FROM table_name_85 WHERE title = "soul eater"
What is the First Issue date of Soul Eater?
<s>[INST]What is the First Issue date of Soul Eater? Context: CREATE TABLE table_name_85 (first_issue VARCHAR, title VARCHAR)[/INST]SELECT first_issue FROM table_name_85 WHERE title = "soul eater"</s>
CREATE TABLE table_name_40 (opponent VARCHAR, march VARCHAR)
SELECT opponent FROM table_name_40 WHERE march = 28
Which opponent was present on March 28?
<s>[INST]Which opponent was present on March 28? Context: CREATE TABLE table_name_40 (opponent VARCHAR, march VARCHAR)[/INST]SELECT opponent FROM table_name_40 WHERE march = 28</s>
CREATE TABLE table_2597876_2 (year VARCHAR, avg_start VARCHAR)
SELECT year FROM table_2597876_2 WHERE avg_start = "27.2"
What is every year with average start of 27.2?
<s>[INST]What is every year with average start of 27.2? Context: CREATE TABLE table_2597876_2 (year VARCHAR, avg_start VARCHAR)[/INST]SELECT year FROM table_2597876_2 WHERE avg_start = "27.2"</s>
CREATE TABLE table_name_97 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_97 WHERE laps > 63 AND grid = 20
Tell me the time/retired for Laps larger than 63 and has a grid of 20
<s>[INST]Tell me the time/retired for Laps larger than 63 and has a grid of 20 Context: CREATE TABLE table_name_97 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_97 WHERE laps > 63 AND grid = 20</s>
CREATE TABLE table_name_89 (entered_service VARCHAR, locomotive VARCHAR)
SELECT COUNT(entered_service) FROM table_name_89 WHERE locomotive = "13"
How many years entered service when there were 13 locomotives?
<s>[INST]How many years entered service when there were 13 locomotives? Context: CREATE TABLE table_name_89 (entered_service VARCHAR, locomotive VARCHAR)[/INST]SELECT COUNT(entered_service) FROM table_name_89 WHERE locomotive = "13"</s>