context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_99 (name VARCHAR, authors VARCHAR)
SELECT name FROM table_name_99 WHERE authors = "gao chiappe meng o'connor wang cheng liu"
What is the name of gao chiappe meng o'connor wang cheng liu?
<s>[INST]What is the name of gao chiappe meng o'connor wang cheng liu? Context: CREATE TABLE table_name_99 (name VARCHAR, authors VARCHAR)[/INST]SELECT name FROM table_name_99 WHERE authors = "gao chiappe meng o'connor wang cheng liu"</s>
CREATE TABLE table_20174050_7 (notes VARCHAR, reader VARCHAR, title VARCHAR)
SELECT notes FROM table_20174050_7 WHERE reader = "Briggs, Nicholas Nicholas Briggs" AND title = "Paradox Lost"
If the title is Paradox Lost and the reader is Briggs, Nicholas Nicholas Briggs, what are all of the notes?
<s>[INST]If the title is Paradox Lost and the reader is Briggs, Nicholas Nicholas Briggs, what are all of the notes? Context: CREATE TABLE table_20174050_7 (notes VARCHAR, reader VARCHAR, title VARCHAR)[/INST]SELECT notes FROM table_20174050_7 WHERE reader = "Briggs, Nicholas Nicholas Briggs" AND title = "Paradox Lost"...
CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR)
SELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id
Show all template type codes that are not used by any document.
<s>[INST]Show all template type codes that are not used by any document. Context: CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR)[/INST]SELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates...
CREATE TABLE table_name_18 (score INTEGER, player VARCHAR)
SELECT SUM(score) FROM table_name_18 WHERE player = "vijay singh"
What is Sum of Score, when Player is Vijay Singh?
<s>[INST]What is Sum of Score, when Player is Vijay Singh? Context: CREATE TABLE table_name_18 (score INTEGER, player VARCHAR)[/INST]SELECT SUM(score) FROM table_name_18 WHERE player = "vijay singh"</s>
CREATE TABLE table_name_1 (females___percentage_ VARCHAR, males_rank VARCHAR, females_rank VARCHAR, state VARCHAR)
SELECT COUNT(females___percentage_) FROM table_name_1 WHERE females_rank < 21 AND state = "kerala" AND males_rank > 1
How many Females (%) have Females Rank smaller than 21, and a State of kerala, and Males Rank larger than 1?
<s>[INST]How many Females (%) have Females Rank smaller than 21, and a State of kerala, and Males Rank larger than 1? Context: CREATE TABLE table_name_1 (females___percentage_ VARCHAR, males_rank VARCHAR, females_rank VARCHAR, state VARCHAR)[/INST]SELECT COUNT(females___percentage_) FROM table_name_1 WHERE females_rank...
CREATE TABLE table_16388398_1 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_16388398_1 WHERE away_team = "Sydney"
What was the score for the home team when the away team was Sydney?
<s>[INST]What was the score for the home team when the away team was Sydney? Context: CREATE TABLE table_16388398_1 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_16388398_1 WHERE away_team = "Sydney"</s>
CREATE TABLE table_name_34 (constructor VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_34 WHERE grid = 14
Who constructed grid 14?
<s>[INST]Who constructed grid 14? Context: CREATE TABLE table_name_34 (constructor VARCHAR, grid VARCHAR)[/INST]SELECT constructor FROM table_name_34 WHERE grid = 14</s>
CREATE TABLE table_name_52 (railway VARCHAR, location VARCHAR, objectnumber VARCHAR)
SELECT railway FROM table_name_52 WHERE location = "shildon" AND objectnumber = "1978-7006"
Which Railway has a Location of shildon, and an ObjectNumber of 1978-7006?
<s>[INST]Which Railway has a Location of shildon, and an ObjectNumber of 1978-7006? Context: CREATE TABLE table_name_52 (railway VARCHAR, location VARCHAR, objectnumber VARCHAR)[/INST]SELECT railway FROM table_name_52 WHERE location = "shildon" AND objectnumber = "1978-7006"</s>
CREATE TABLE table_20325360_2 (Id VARCHAR)
SELECT MAX(3 AS rd_runner_up) FROM table_20325360_2
What is the highest number of third place runners up held by any of the countries competing in the Mr. International competition?.
<s>[INST]What is the highest number of third place runners up held by any of the countries competing in the Mr. International competition?. Context: CREATE TABLE table_20325360_2 (Id VARCHAR)[/INST]SELECT MAX(3 AS rd_runner_up) FROM table_20325360_2</s>
CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT AVG(price) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"
What is average lesson price taught by staff with first name as Janessa and last name as Sawayn?
<s>[INST]What is average lesson price taught by staff with first name as Janessa and last name as Sawayn? Context: CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]SELECT AVG(price) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_i...
CREATE TABLE table_12134383_1 (president VARCHAR, date_of_inauguration VARCHAR)
SELECT president FROM table_12134383_1 WHERE date_of_inauguration = "4June1979"
who is the the president with date of inauguration being 4june1979
<s>[INST]who is the the president with date of inauguration being 4june1979 Context: CREATE TABLE table_12134383_1 (president VARCHAR, date_of_inauguration VARCHAR)[/INST]SELECT president FROM table_12134383_1 WHERE date_of_inauguration = "4June1979"</s>
CREATE TABLE table_name_84 (round VARCHAR, school_club_team VARCHAR)
SELECT round FROM table_name_84 WHERE school_club_team = "delta st."
What round did the player from delta st. get picked?
<s>[INST]What round did the player from delta st. get picked? Context: CREATE TABLE table_name_84 (round VARCHAR, school_club_team VARCHAR)[/INST]SELECT round FROM table_name_84 WHERE school_club_team = "delta st."</s>
CREATE TABLE table_name_7 (freq_currently VARCHAR, callsign VARCHAR)
SELECT freq_currently FROM table_name_7 WHERE callsign = "4gg"
What is the Freq currently of the 4GG Callsign?
<s>[INST]What is the Freq currently of the 4GG Callsign? Context: CREATE TABLE table_name_7 (freq_currently VARCHAR, callsign VARCHAR)[/INST]SELECT freq_currently FROM table_name_7 WHERE callsign = "4gg"</s>
CREATE TABLE table_name_14 (location VARCHAR, year VARCHAR, second VARCHAR)
SELECT location FROM table_name_14 WHERE year > 1999 AND second = "anja huber"
In years after 1999, what was the location where Anja Huber finished 2nd?
<s>[INST]In years after 1999, what was the location where Anja Huber finished 2nd? Context: CREATE TABLE table_name_14 (location VARCHAR, year VARCHAR, second VARCHAR)[/INST]SELECT location FROM table_name_14 WHERE year > 1999 AND second = "anja huber"</s>
CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT score FROM table_name_75 WHERE opponent = "tigers" AND record = "78-64"
what score has the opponent of tigers and a record of 78-64?
<s>[INST]what score has the opponent of tigers and a record of 78-64? Context: CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_75 WHERE opponent = "tigers" AND record = "78-64"</s>
CREATE TABLE table_name_5 (race VARCHAR, margin VARCHAR)
SELECT race FROM table_name_5 WHERE margin = "8"
Which race has a Margin of 8?
<s>[INST]Which race has a Margin of 8? Context: CREATE TABLE table_name_5 (race VARCHAR, margin VARCHAR)[/INST]SELECT race FROM table_name_5 WHERE margin = "8"</s>
CREATE TABLE player (Player_name VARCHAR, residence VARCHAR, Occupation VARCHAR)
SELECT Player_name, residence FROM player WHERE Occupation <> "Researcher"
List the name and residence for players whose occupation is not "Researcher".
<s>[INST]List the name and residence for players whose occupation is not "Researcher". Context: CREATE TABLE player (Player_name VARCHAR, residence VARCHAR, Occupation VARCHAR)[/INST]SELECT Player_name, residence FROM player WHERE Occupation <> "Researcher"</s>
CREATE TABLE table_name_39 (name VARCHAR, college VARCHAR, pick VARCHAR, round VARCHAR, overall VARCHAR)
SELECT name FROM table_name_39 WHERE round > 4 AND overall < 338 AND pick < 11 AND college = "virginia tech"
Which Name has a Round larger than 4, an Overall smaller than 338, a Pick smaller than 11, and a College of virginia tech?
<s>[INST]Which Name has a Round larger than 4, an Overall smaller than 338, a Pick smaller than 11, and a College of virginia tech? Context: CREATE TABLE table_name_39 (name VARCHAR, college VARCHAR, pick VARCHAR, round VARCHAR, overall VARCHAR)[/INST]SELECT name FROM table_name_39 WHERE round > 4 AND overall < 338 AND...
CREATE TABLE table_name_57 (played VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
SELECT COUNT(played) FROM table_name_57 WHERE points_1 = "80" AND goals_for > 77
What is the played number with points 1 is 80, and goals for is more than 77?
<s>[INST]What is the played number with points 1 is 80, and goals for is more than 77? Context: CREATE TABLE table_name_57 (played VARCHAR, points_1 VARCHAR, goals_for VARCHAR)[/INST]SELECT COUNT(played) FROM table_name_57 WHERE points_1 = "80" AND goals_for > 77</s>
CREATE TABLE table_name_69 (winning_score VARCHAR, date VARCHAR)
SELECT winning_score FROM table_name_69 WHERE date = "oct 17, 1982"
For the tournament played on Oct 17, 1982, what was the winning score?
<s>[INST]For the tournament played on Oct 17, 1982, what was the winning score? Context: CREATE TABLE table_name_69 (winning_score VARCHAR, date VARCHAR)[/INST]SELECT winning_score FROM table_name_69 WHERE date = "oct 17, 1982"</s>
CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR)
SELECT result FROM table_name_33 WHERE venue = "bridgeview, illinois"
What was the result of Bridgeview, Illinois?
<s>[INST]What was the result of Bridgeview, Illinois? Context: CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_33 WHERE venue = "bridgeview, illinois"</s>
CREATE TABLE table_name_82 (money___ INTEGER, score VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_82 WHERE score = 74 - 72 - 75 - 71 = 292
What was the average money when the score was 74-72-75-71=292?
<s>[INST]What was the average money when the score was 74-72-75-71=292? Context: CREATE TABLE table_name_82 (money___ INTEGER, score VARCHAR)[/INST]SELECT AVG(money___) AS $__ FROM table_name_82 WHERE score = 74 - 72 - 75 - 71 = 292</s>
CREATE TABLE table_name_70 (party VARCHAR, member VARCHAR)
SELECT party FROM table_name_70 WHERE member = "hon paul keating"
What is Hon Paul Keating's Party?
<s>[INST]What is Hon Paul Keating's Party? Context: CREATE TABLE table_name_70 (party VARCHAR, member VARCHAR)[/INST]SELECT party FROM table_name_70 WHERE member = "hon paul keating"</s>
CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, format VARCHAR)
SELECT premiere_air_dates FROM table_1949994_7 WHERE format = "1 Team"
When did the season with 1 team format premiere?
<s>[INST]When did the season with 1 team format premiere? Context: CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, format VARCHAR)[/INST]SELECT premiere_air_dates FROM table_1949994_7 WHERE format = "1 Team"</s>
CREATE TABLE table_name_13 (no_of_events VARCHAR, country VARCHAR, date VARCHAR)
SELECT no_of_events FROM table_name_13 WHERE country = "trinidad and tobago" AND date = "march 30-april 1"
How many Events have a Country of trinidad and tobago, and a Date of march 30-april 1?
<s>[INST]How many Events have a Country of trinidad and tobago, and a Date of march 30-april 1? Context: CREATE TABLE table_name_13 (no_of_events VARCHAR, country VARCHAR, date VARCHAR)[/INST]SELECT no_of_events FROM table_name_13 WHERE country = "trinidad and tobago" AND date = "march 30-april 1"</s>
CREATE TABLE table_name_95 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_95 WHERE home_team = "hawthorn"
What size was the biggest crowd that watched the home team Hawthorn play?
<s>[INST]What size was the biggest crowd that watched the home team Hawthorn play? Context: CREATE TABLE table_name_95 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_95 WHERE home_team = "hawthorn"</s>
CREATE TABLE table_name_65 (frequency VARCHAR, website VARCHAR)
SELECT frequency FROM table_name_65 WHERE website = "elmanana.com.mx"
what is the frequency of visits to elmanana.com.mx
<s>[INST]what is the frequency of visits to elmanana.com.mx Context: CREATE TABLE table_name_65 (frequency VARCHAR, website VARCHAR)[/INST]SELECT frequency FROM table_name_65 WHERE website = "elmanana.com.mx"</s>
CREATE TABLE table_21164557_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT COUNT(original_air_date) FROM table_21164557_1 WHERE production_code = 4398016
How many original air dates were there for episodes with a production code of 4398016?
<s>[INST]How many original air dates were there for episodes with a production code of 4398016? Context: CREATE TABLE table_21164557_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_21164557_1 WHERE production_code = 4398016</s>
CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_66 WHERE date = "december 15, 2002"
What was the result of the December 15, 2002 game?
<s>[INST]What was the result of the December 15, 2002 game? Context: CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_66 WHERE date = "december 15, 2002"</s>
CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_14 WHERE home_team = "gold coast blaze"
What date did home team Gold Coast Blaze play?
<s>[INST]What date did home team Gold Coast Blaze play? Context: CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_14 WHERE home_team = "gold coast blaze"</s>
CREATE TABLE table_name_15 (result VARCHAR, home_away VARCHAR, date VARCHAR)
SELECT result FROM table_name_15 WHERE home_away = "away" AND date = "august 4"
What is the result of the away game played on August 4?
<s>[INST]What is the result of the away game played on August 4? Context: CREATE TABLE table_name_15 (result VARCHAR, home_away VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_15 WHERE home_away = "away" AND date = "august 4"</s>
CREATE TABLE table_name_22 (venue VARCHAR, competition VARCHAR, position VARCHAR)
SELECT venue FROM table_name_22 WHERE competition = "european championships" AND position = "7th"
Which Venue has a Competition of european championships, and a Position of 7th?
<s>[INST]Which Venue has a Competition of european championships, and a Position of 7th? Context: CREATE TABLE table_name_22 (venue VARCHAR, competition VARCHAR, position VARCHAR)[/INST]SELECT venue FROM table_name_22 WHERE competition = "european championships" AND position = "7th"</s>
CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_38 WHERE away_team = "south melbourne"
What did the team score when playing south melbourne at home?
<s>[INST]What did the team score when playing south melbourne at home? Context: CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_38 WHERE away_team = "south melbourne"</s>
CREATE TABLE table_name_58 (grand_prix VARCHAR, round VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
SELECT grand_prix FROM table_name_58 WHERE winning_driver = "david coulthard" AND pole_position = "michael schumacher" AND round < 9
Which Grand Prix did David Coulthard win with Michael Schumacher in the pole position before round 9?
<s>[INST]Which Grand Prix did David Coulthard win with Michael Schumacher in the pole position before round 9? Context: CREATE TABLE table_name_58 (grand_prix VARCHAR, round VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)[/INST]SELECT grand_prix FROM table_name_58 WHERE winning_driver = "david coulthard" AND po...
CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_68 WHERE place = "8"
Which To par has a Place in 8?
<s>[INST]Which To par has a Place in 8? Context: CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_68 WHERE place = "8"</s>
CREATE TABLE table_name_98 (s_registered_user VARCHAR, userpics_free VARCHAR)
SELECT s_registered_user FROM table_name_98 WHERE userpics_free = "6 [free] or 15 [plus]"
What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]?
<s>[INST]What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]? Context: CREATE TABLE table_name_98 (s_registered_user VARCHAR, userpics_free VARCHAR)[/INST]SELECT s_registered_user FROM table_name_98 WHERE userpics_free = "6 [free] or 15 [plus]"</s>
CREATE TABLE table_name_54 (date VARCHAR, results¹ VARCHAR)
SELECT date FROM table_name_54 WHERE results¹ = "3:2"
What day were the results 3:2?
<s>[INST]What day were the results 3:2? Context: CREATE TABLE table_name_54 (date VARCHAR, results¹ VARCHAR)[/INST]SELECT date FROM table_name_54 WHERE results¹ = "3:2"</s>
CREATE TABLE table_name_99 (date VARCHAR, company_name VARCHAR, hardware_model VARCHAR)
SELECT date FROM table_name_99 WHERE company_name = "samsung electronics co ltd" AND hardware_model = "gt-i9100"
When did Samsung Electronics Co LTD make the GT-i9100?
<s>[INST]When did Samsung Electronics Co LTD make the GT-i9100? Context: CREATE TABLE table_name_99 (date VARCHAR, company_name VARCHAR, hardware_model VARCHAR)[/INST]SELECT date FROM table_name_99 WHERE company_name = "samsung electronics co ltd" AND hardware_model = "gt-i9100"</s>
CREATE TABLE table_name_50 (tournament VARCHAR, moves VARCHAR, result VARCHAR)
SELECT tournament FROM table_name_50 WHERE moves = 37 AND result = "½–½"
What is Tournament, when Moves is "37", and when Result is "½–½"?
<s>[INST]What is Tournament, when Moves is "37", and when Result is "½–½"? Context: CREATE TABLE table_name_50 (tournament VARCHAR, moves VARCHAR, result VARCHAR)[/INST]SELECT tournament FROM table_name_50 WHERE moves = 37 AND result = "½–½"</s>
CREATE TABLE table_name_36 (outgoing_manager VARCHAR, team VARCHAR)
SELECT outgoing_manager FROM table_name_36 WHERE team = "fc carl zeiss jena"
WHo was the outgoing manager for the team of fc carl zeiss jena?
<s>[INST]WHo was the outgoing manager for the team of fc carl zeiss jena? Context: CREATE TABLE table_name_36 (outgoing_manager VARCHAR, team VARCHAR)[/INST]SELECT outgoing_manager FROM table_name_36 WHERE team = "fc carl zeiss jena"</s>
CREATE TABLE table_21690339_1 (_percentage_cut VARCHAR, gas_storage VARCHAR)
SELECT _percentage_cut FROM table_21690339_1 WHERE gas_storage = "80% full"
What wast the percent cut for the nation with an 80% full gas storage?
<s>[INST]What wast the percent cut for the nation with an 80% full gas storage? Context: CREATE TABLE table_21690339_1 (_percentage_cut VARCHAR, gas_storage VARCHAR)[/INST]SELECT _percentage_cut FROM table_21690339_1 WHERE gas_storage = "80% full"</s>
CREATE TABLE images (image_name VARCHAR, image_url VARCHAR)
SELECT image_name, image_url FROM images ORDER BY image_name
List all the image name and URLs in the order of their names.
<s>[INST]List all the image name and URLs in the order of their names. Context: CREATE TABLE images (image_name VARCHAR, image_url VARCHAR)[/INST]SELECT image_name, image_url FROM images ORDER BY image_name</s>
CREATE TABLE table_name_23 (points INTEGER, league VARCHAR, draws VARCHAR)
SELECT MIN(points) FROM table_name_23 WHERE league = "w-2 (w-league)" AND draws > 2
What is the lowest points that has w-2 (w-league) as the league, and draws greater than 2?
<s>[INST]What is the lowest points that has w-2 (w-league) as the league, and draws greater than 2? Context: CREATE TABLE table_name_23 (points INTEGER, league VARCHAR, draws VARCHAR)[/INST]SELECT MIN(points) FROM table_name_23 WHERE league = "w-2 (w-league)" AND draws > 2</s>
CREATE TABLE table_20522228_2 (rank__overall_ VARCHAR, viewers__millions_ VARCHAR)
SELECT rank__overall_ FROM table_20522228_2 WHERE viewers__millions_ = "6.59"
What is overall rank when viewers are at 6.59 million?
<s>[INST]What is overall rank when viewers are at 6.59 million? Context: CREATE TABLE table_20522228_2 (rank__overall_ VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT rank__overall_ FROM table_20522228_2 WHERE viewers__millions_ = "6.59"</s>
CREATE TABLE table_name_11 (tennessee VARCHAR, kentucky VARCHAR)
SELECT tennessee FROM table_name_11 WHERE kentucky = "larry seiple"
What is the Tennessee with a Kentucky of Larry Seiple
<s>[INST]What is the Tennessee with a Kentucky of Larry Seiple Context: CREATE TABLE table_name_11 (tennessee VARCHAR, kentucky VARCHAR)[/INST]SELECT tennessee FROM table_name_11 WHERE kentucky = "larry seiple"</s>
CREATE TABLE table_19114172_11 (date_of_return VARCHAR, new_channel_s_ VARCHAR)
SELECT date_of_return FROM table_19114172_11 WHERE new_channel_s_ = "BBC Two"
When bbc two is the new channel what is the date of return?
<s>[INST]When bbc two is the new channel what is the date of return? Context: CREATE TABLE table_19114172_11 (date_of_return VARCHAR, new_channel_s_ VARCHAR)[/INST]SELECT date_of_return FROM table_19114172_11 WHERE new_channel_s_ = "BBC Two"</s>
CREATE TABLE table_name_66 (starts VARCHAR, earnings__$_ VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)
SELECT COUNT(starts) FROM table_name_66 WHERE cuts_made = 2 AND top_25 > 0 AND earnings__$_ < 338 OFFSET 067
How many Starts that have Cuts made of 2, Top 25 larger than 0, and Earnings ($) smaller than 338,067?
<s>[INST]How many Starts that have Cuts made of 2, Top 25 larger than 0, and Earnings ($) smaller than 338,067? Context: CREATE TABLE table_name_66 (starts VARCHAR, earnings__$_ VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)[/INST]SELECT COUNT(starts) FROM table_name_66 WHERE cuts_made = 2 AND top_25 > 0 AND earnings__$_ ...
CREATE TABLE table_name_74 (attendance INTEGER, arena VARCHAR, loss VARCHAR)
SELECT MAX(attendance) FROM table_name_74 WHERE arena = "arrowhead pond of anaheim" AND loss = "giguere (3–3)"
Which Attendance has an Arena of arrowhead pond of anaheim, and a Loss of giguere (3–3)?
<s>[INST]Which Attendance has an Arena of arrowhead pond of anaheim, and a Loss of giguere (3–3)? Context: CREATE TABLE table_name_74 (attendance INTEGER, arena VARCHAR, loss VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_74 WHERE arena = "arrowhead pond of anaheim" AND loss = "giguere (3–3)"</s>
CREATE TABLE table_name_88 (part_1 VARCHAR, part_4 VARCHAR)
SELECT part_1 FROM table_name_88 WHERE part_4 = "february 10, 2008"
When is Part 1, when Part 4 is on February 10, 2008?
<s>[INST]When is Part 1, when Part 4 is on February 10, 2008? Context: CREATE TABLE table_name_88 (part_1 VARCHAR, part_4 VARCHAR)[/INST]SELECT part_1 FROM table_name_88 WHERE part_4 = "february 10, 2008"</s>
CREATE TABLE table_name_13 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT MAX(gold) FROM table_name_13 WHERE bronze = 2 AND nation = "hungary" AND total > 7
What's the largest number of Gold medals won when bronze won are 2 and total won are over 7 by Hungary?
<s>[INST]What's the largest number of Gold medals won when bronze won are 2 and total won are over 7 by Hungary? Context: CREATE TABLE table_name_13 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_13 WHERE bronze = 2 AND nation = "hungary" AND total > 7</s>
CREATE TABLE table_name_36 (Id VARCHAR)
SELECT 2004 FROM table_name_36 WHERE 2007 = "a" AND 1997 = "a"
What is 2004, when 2007 is "A", and when 1997 is "A"?
<s>[INST]What is 2004, when 2007 is "A", and when 1997 is "A"? Context: CREATE TABLE table_name_36 (Id VARCHAR)[/INST]SELECT 2004 FROM table_name_36 WHERE 2007 = "a" AND 1997 = "a"</s>
CREATE TABLE table_name_98 (years VARCHAR, name VARCHAR)
SELECT years FROM table_name_98 WHERE name = "kawerau putauaki school"
What are the years for Kawerau Putauaki School?
<s>[INST]What are the years for Kawerau Putauaki School? Context: CREATE TABLE table_name_98 (years VARCHAR, name VARCHAR)[/INST]SELECT years FROM table_name_98 WHERE name = "kawerau putauaki school"</s>
CREATE TABLE table_name_64 (attendance INTEGER, venue VARCHAR, date VARCHAR)
SELECT MIN(attendance) FROM table_name_64 WHERE venue = "away" AND date = 19
Which Attendance is the lowest one that has a Venue of away, and a Date of 19?
<s>[INST]Which Attendance is the lowest one that has a Venue of away, and a Date of 19? Context: CREATE TABLE table_name_64 (attendance INTEGER, venue VARCHAR, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_64 WHERE venue = "away" AND date = 19</s>
CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_21 WHERE opponent = "pittsburgh steelers"
How many people attended the game against the pittsburgh steelers?
<s>[INST]How many people attended the game against the pittsburgh steelers? Context: CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_21 WHERE opponent = "pittsburgh steelers"</s>
CREATE TABLE table_1341423_40 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1341423_40 WHERE district = "South Carolina 4"
what is the party for the district south carolina 4?
<s>[INST]what is the party for the district south carolina 4? Context: CREATE TABLE table_1341423_40 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1341423_40 WHERE district = "South Carolina 4"</s>
CREATE TABLE table_174491_2 (holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT holmenkollen FROM table_174491_2 WHERE fis_nordic_world_ski_championships = "1982"
What is the holmenkollen for the 1982 FIS Nordic World Ski Championships?
<s>[INST]What is the holmenkollen for the 1982 FIS Nordic World Ski Championships? Context: CREATE TABLE table_174491_2 (holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR)[/INST]SELECT holmenkollen FROM table_174491_2 WHERE fis_nordic_world_ski_championships = "1982"</s>
CREATE TABLE table_name_39 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_39 WHERE venue = "punt road oval"
What was the away team for the match at Punt Road Oval?
<s>[INST]What was the away team for the match at Punt Road Oval? Context: CREATE TABLE table_name_39 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_39 WHERE venue = "punt road oval"</s>
CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT score FROM table_name_13 WHERE country = "united states" AND player = "jack nicklaus"
Name the Score of jack nicklaus, united states, ?
<s>[INST]Name the Score of jack nicklaus, united states, ? Context: CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_13 WHERE country = "united states" AND player = "jack nicklaus"</s>
CREATE TABLE table_13642023_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR)
SELECT to_winning_team FROM table_13642023_2 WHERE tu_winning_team = "Joe Richardson"
Who was the TO winning team when the TU winning team was Joe Richardson?
<s>[INST]Who was the TO winning team when the TU winning team was Joe Richardson? Context: CREATE TABLE table_13642023_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR)[/INST]SELECT to_winning_team FROM table_13642023_2 WHERE tu_winning_team = "Joe Richardson"</s>
CREATE TABLE table_18047346_5 (airport_name VARCHAR, iata_code VARCHAR)
SELECT airport_name FROM table_18047346_5 WHERE iata_code = "ORD"
Which airport has an IATA Code of ORD?
<s>[INST]Which airport has an IATA Code of ORD? Context: CREATE TABLE table_18047346_5 (airport_name VARCHAR, iata_code VARCHAR)[/INST]SELECT airport_name FROM table_18047346_5 WHERE iata_code = "ORD"</s>
CREATE TABLE Aircraft (aid VARCHAR, distance INTEGER)
SELECT aid FROM Aircraft WHERE distance > 1000
Show ids for all aircrafts with more than 1000 distance.
<s>[INST]Show ids for all aircrafts with more than 1000 distance. Context: CREATE TABLE Aircraft (aid VARCHAR, distance INTEGER)[/INST]SELECT aid FROM Aircraft WHERE distance > 1000</s>
CREATE TABLE table_name_67 (venue VARCHAR, time VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_67 WHERE time = "14:30" AND away_team = "sun source"
What is the venue of the match with a 14:30 time and sun source as the away team?
<s>[INST]What is the venue of the match with a 14:30 time and sun source as the away team? Context: CREATE TABLE table_name_67 (venue VARCHAR, time VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_67 WHERE time = "14:30" AND away_team = "sun source"</s>
CREATE TABLE table_2140071_10 (season VARCHAR, premier_date VARCHAR)
SELECT season FROM table_2140071_10 WHERE premier_date = "August 16, 2010"
Name the season for august 16, 2010
<s>[INST]Name the season for august 16, 2010 Context: CREATE TABLE table_2140071_10 (season VARCHAR, premier_date VARCHAR)[/INST]SELECT season FROM table_2140071_10 WHERE premier_date = "August 16, 2010"</s>
CREATE TABLE table_name_95 (top_10 INTEGER, cuts_made VARCHAR, top_5 VARCHAR)
SELECT MIN(top_10) FROM table_name_95 WHERE cuts_made = 10 AND top_5 > 1
Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1?
<s>[INST]Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1? Context: CREATE TABLE table_name_95 (top_10 INTEGER, cuts_made VARCHAR, top_5 VARCHAR)[/INST]SELECT MIN(top_10) FROM table_name_95 WHERE cuts_made = 10 AND top_5 > 1</s>
CREATE TABLE table_name_30 (region VARCHAR, format VARCHAR, date VARCHAR)
SELECT region FROM table_name_30 WHERE format = "cd" AND date = "february 22, 1984"
Name the region for cd format on february 22, 1984
<s>[INST]Name the region for cd format on february 22, 1984 Context: CREATE TABLE table_name_30 (region VARCHAR, format VARCHAR, date VARCHAR)[/INST]SELECT region FROM table_name_30 WHERE format = "cd" AND date = "february 22, 1984"</s>
CREATE TABLE table_name_29 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT MAX(rank) FROM table_name_29 WHERE total < 15 AND bronze > 2 AND gold = 0 AND silver = 1
What is the highest rank of the medal total less than 15, more than 2 bronzes, 0 gold and 1 silver?
<s>[INST]What is the highest rank of the medal total less than 15, more than 2 bronzes, 0 gold and 1 silver? Context: CREATE TABLE table_name_29 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_29 WHERE total < 15 AND bronze > 2 AND gold = 0 AND silver =...
CREATE TABLE table_11647327_2 (marginal_ordinary_income_tax_rate VARCHAR, single VARCHAR)
SELECT COUNT(marginal_ordinary_income_tax_rate) FROM table_11647327_2 WHERE single = "$8,351– $33,950"
What is the amount of marginal ordinary income tax rate for single in which the range is $8,351– $33,950?
<s>[INST]What is the amount of marginal ordinary income tax rate for single in which the range is $8,351– $33,950? Context: CREATE TABLE table_11647327_2 (marginal_ordinary_income_tax_rate VARCHAR, single VARCHAR)[/INST]SELECT COUNT(marginal_ordinary_income_tax_rate) FROM table_11647327_2 WHERE single = "$8,351– $33,95...
CREATE TABLE table_name_37 (lifespan VARCHAR, majors VARCHAR, name VARCHAR)
SELECT lifespan FROM table_name_37 WHERE majors > 1 AND name = "fuzzy zoeller"
What lifespan has a majors greater than 1, and fuzzy zoeller as the name?
<s>[INST]What lifespan has a majors greater than 1, and fuzzy zoeller as the name? Context: CREATE TABLE table_name_37 (lifespan VARCHAR, majors VARCHAR, name VARCHAR)[/INST]SELECT lifespan FROM table_name_37 WHERE majors > 1 AND name = "fuzzy zoeller"</s>
CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR)
SELECT SUM(final) FROM table_name_26 WHERE place > 2 AND nation = "finland" AND all_around > 18.9
What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?
<s>[INST]What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9? Context: CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR)[/INST]SELECT SUM(final) FROM table_name_26 WHERE place > 2 AND nation = "finland" AND all_around > 1...
CREATE TABLE table_name_56 (round VARCHAR, name VARCHAR, overall VARCHAR)
SELECT COUNT(round) FROM table_name_56 WHERE name = "brannon condren" AND overall > 131
How many times is brannon condren with and overall more than 131 drafted?
<s>[INST]How many times is brannon condren with and overall more than 131 drafted? Context: CREATE TABLE table_name_56 (round VARCHAR, name VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_56 WHERE name = "brannon condren" AND overall > 131</s>
CREATE TABLE table_name_49 (score VARCHAR, save VARCHAR)
SELECT score FROM table_name_49 WHERE save = "||25,354||63–43"
What was the score when a save of ||25,354||63–43 occurred?
<s>[INST]What was the score when a save of ||25,354||63–43 occurred? Context: CREATE TABLE table_name_49 (score VARCHAR, save VARCHAR)[/INST]SELECT score FROM table_name_49 WHERE save = "||25,354||63–43"</s>
CREATE TABLE Rooms (RoomId VARCHAR, roomName VARCHAR, basePrice VARCHAR)
SELECT RoomId, roomName FROM Rooms ORDER BY basePrice DESC LIMIT 1
Find the id and name of the most expensive base price room.
<s>[INST]Find the id and name of the most expensive base price room. Context: CREATE TABLE Rooms (RoomId VARCHAR, roomName VARCHAR, basePrice VARCHAR)[/INST]SELECT RoomId, roomName FROM Rooms ORDER BY basePrice DESC LIMIT 1</s>
CREATE TABLE table_22297140_3 (manner_of_departure VARCHAR, team VARCHAR)
SELECT manner_of_departure FROM table_22297140_3 WHERE team = "Gostaresh Foolad"
What was the manner of leaving the team for the manager of Gostaresh Foolad?
<s>[INST]What was the manner of leaving the team for the manager of Gostaresh Foolad? Context: CREATE TABLE table_22297140_3 (manner_of_departure VARCHAR, team VARCHAR)[/INST]SELECT manner_of_departure FROM table_22297140_3 WHERE team = "Gostaresh Foolad"</s>
CREATE TABLE table_name_24 (lowest INTEGER, average INTEGER)
SELECT AVG(lowest) FROM table_name_24 WHERE average < 307
What is the lowest attendance for a stadium that has an average smaller than 307?
<s>[INST]What is the lowest attendance for a stadium that has an average smaller than 307? Context: CREATE TABLE table_name_24 (lowest INTEGER, average INTEGER)[/INST]SELECT AVG(lowest) FROM table_name_24 WHERE average < 307</s>
CREATE TABLE table_name_29 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_29 WHERE record = "1-2-1"
What is the score of the game that has a record of 1-2-1?
<s>[INST]What is the score of the game that has a record of 1-2-1? Context: CREATE TABLE table_name_29 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_29 WHERE record = "1-2-1"</s>
CREATE TABLE table_name_2 (launch_date VARCHAR, odds_of_winning VARCHAR)
SELECT launch_date FROM table_name_2 WHERE odds_of_winning = "1 in 4.54"
What is the launch date odds of winning 1 in 4.54?
<s>[INST]What is the launch date odds of winning 1 in 4.54? Context: CREATE TABLE table_name_2 (launch_date VARCHAR, odds_of_winning VARCHAR)[/INST]SELECT launch_date FROM table_name_2 WHERE odds_of_winning = "1 in 4.54"</s>
CREATE TABLE table_name_52 (date VARCHAR, score VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_52 WHERE score = "3-1" AND attendance = "32 590"
Name the Date which has a Score of 3-1 and Attendances of 32 590?
<s>[INST]Name the Date which has a Score of 3-1 and Attendances of 32 590? Context: CREATE TABLE table_name_52 (date VARCHAR, score VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_52 WHERE score = "3-1" AND attendance = "32 590"</s>
CREATE TABLE table_name_74 (director_s_ VARCHAR, leading_lady VARCHAR)
SELECT director_s_ FROM table_name_74 WHERE leading_lady = "phyllis welch"
Who directed the film that had phyllis welch as the leading lady?
<s>[INST]Who directed the film that had phyllis welch as the leading lady? Context: CREATE TABLE table_name_74 (director_s_ VARCHAR, leading_lady VARCHAR)[/INST]SELECT director_s_ FROM table_name_74 WHERE leading_lady = "phyllis welch"</s>
CREATE TABLE table_name_16 (driver VARCHAR, races INTEGER)
SELECT driver FROM table_name_16 WHERE races > 16
Name the Driver that has Races greater than 16?
<s>[INST]Name the Driver that has Races greater than 16? Context: CREATE TABLE table_name_16 (driver VARCHAR, races INTEGER)[/INST]SELECT driver FROM table_name_16 WHERE races > 16</s>
CREATE TABLE table_name_70 (_percentage_2006 INTEGER, seats_2001 VARCHAR, _percentage_2001 VARCHAR)
SELECT AVG(_percentage_2006) FROM table_name_70 WHERE seats_2001 > 15 AND _percentage_2001 > 100
When seats for 2001 is greater than 15 and % 2001 is greater than 100, what is the % 2006?
<s>[INST]When seats for 2001 is greater than 15 and % 2001 is greater than 100, what is the % 2006? Context: CREATE TABLE table_name_70 (_percentage_2006 INTEGER, seats_2001 VARCHAR, _percentage_2001 VARCHAR)[/INST]SELECT AVG(_percentage_2006) FROM table_name_70 WHERE seats_2001 > 15 AND _percentage_2001 > 100</s>
CREATE TABLE table_23248910_5 (high_rebounds VARCHAR, record VARCHAR)
SELECT high_rebounds FROM table_23248910_5 WHERE record = "5-2"
Who had the most rebounds in the game against the team with a 5-2 record against the Hawks?
<s>[INST]Who had the most rebounds in the game against the team with a 5-2 record against the Hawks? Context: CREATE TABLE table_23248910_5 (high_rebounds VARCHAR, record VARCHAR)[/INST]SELECT high_rebounds FROM table_23248910_5 WHERE record = "5-2"</s>
CREATE TABLE table_name_27 (bronze_medals INTEGER, total_medals VARCHAR, gold_medals VARCHAR, ensemble VARCHAR)
SELECT MIN(bronze_medals) FROM table_name_27 WHERE gold_medals > 3 AND ensemble = "music city mystique" AND total_medals < 15
What is the lowest amount of bronze medals won by Music City Mystique where they won more than 3 gold medals and less than 15 total medals?
<s>[INST]What is the lowest amount of bronze medals won by Music City Mystique where they won more than 3 gold medals and less than 15 total medals? Context: CREATE TABLE table_name_27 (bronze_medals INTEGER, total_medals VARCHAR, gold_medals VARCHAR, ensemble VARCHAR)[/INST]SELECT MIN(bronze_medals) FROM table_name_27...
CREATE TABLE table_name_99 (wins VARCHAR, races VARCHAR, team VARCHAR, poles VARCHAR)
SELECT wins FROM table_name_99 WHERE team = "scuderia toro rosso" AND poles = "0" AND races = "16"
Which Wins has a Team of scuderia toro rosso, Poles of 0, and Races of 16?
<s>[INST]Which Wins has a Team of scuderia toro rosso, Poles of 0, and Races of 16? Context: CREATE TABLE table_name_99 (wins VARCHAR, races VARCHAR, team VARCHAR, poles VARCHAR)[/INST]SELECT wins FROM table_name_99 WHERE team = "scuderia toro rosso" AND poles = "0" AND races = "16"</s>
CREATE TABLE table_name_13 (college VARCHAR, name VARCHAR, pick__number VARCHAR, round VARCHAR)
SELECT college FROM table_name_13 WHERE pick__number > 25 AND round = 7 AND name = "chris white"
Which College has a Pick # larger than 25, and a Round of 7, and a Name of chris white?
<s>[INST]Which College has a Pick # larger than 25, and a Round of 7, and a Name of chris white? Context: CREATE TABLE table_name_13 (college VARCHAR, name VARCHAR, pick__number VARCHAR, round VARCHAR)[/INST]SELECT college FROM table_name_13 WHERE pick__number > 25 AND round = 7 AND name = "chris white"</s>
CREATE TABLE table_16581695_3 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(title) FROM table_16581695_3 WHERE production_code = 211
How many titles have a production code of 211?
<s>[INST]How many titles have a production code of 211? Context: CREATE TABLE table_16581695_3 (title VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(title) FROM table_16581695_3 WHERE production_code = 211</s>
CREATE TABLE table_name_94 (city VARCHAR, event VARCHAR)
SELECT city FROM table_name_94 WHERE event = "ept baden classic"
In what City was the Ept Baden Classic?
<s>[INST]In what City was the Ept Baden Classic? Context: CREATE TABLE table_name_94 (city VARCHAR, event VARCHAR)[/INST]SELECT city FROM table_name_94 WHERE event = "ept baden classic"</s>
CREATE TABLE table_name_4 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_4 WHERE driver = "aguri suzuki"
Who constructed Aguri Suzuki's car?
<s>[INST]Who constructed Aguri Suzuki's car? Context: CREATE TABLE table_name_4 (constructor VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_4 WHERE driver = "aguri suzuki"</s>
CREATE TABLE table_name_31 (player VARCHAR, pick__number VARCHAR, position VARCHAR)
SELECT player FROM table_name_31 WHERE pick__number < 223 AND position = "defensive end"
Which Player has a Pick # lower than 223 and a Defensive End Position?
<s>[INST]Which Player has a Pick # lower than 223 and a Defensive End Position? Context: CREATE TABLE table_name_31 (player VARCHAR, pick__number VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_31 WHERE pick__number < 223 AND position = "defensive end"</s>
CREATE TABLE table_name_32 (record_company VARCHAR, conductor VARCHAR)
SELECT record_company FROM table_name_32 WHERE conductor = "robert craft"
What record company has robert craft conducting?
<s>[INST]What record company has robert craft conducting? Context: CREATE TABLE table_name_32 (record_company VARCHAR, conductor VARCHAR)[/INST]SELECT record_company FROM table_name_32 WHERE conductor = "robert craft"</s>
CREATE TABLE table_name_56 (driver VARCHAR, chassis VARCHAR)
SELECT driver FROM table_name_56 WHERE chassis = "166 c 500"
What driver has a 166 c 500 chassis?
<s>[INST]What driver has a 166 c 500 chassis? Context: CREATE TABLE table_name_56 (driver VARCHAR, chassis VARCHAR)[/INST]SELECT driver FROM table_name_56 WHERE chassis = "166 c 500"</s>
CREATE TABLE table_name_45 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR)
SELECT partner FROM table_name_45 WHERE surface = "clay" AND outcome = "runner-up" AND score = "1–6, 6–4, [10–12]"
Which Partner with the surface of Clay ended up as a runner-up with a score of 1–6, 6–4, [10–12]?
<s>[INST]Which Partner with the surface of Clay ended up as a runner-up with a score of 1–6, 6–4, [10–12]? Context: CREATE TABLE table_name_45 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR)[/INST]SELECT partner FROM table_name_45 WHERE surface = "clay" AND outcome = "runner-up" AND score = "1–6, 6–4...
CREATE TABLE table_27905664_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_27905664_1 WHERE us_viewers__million_ = "3.74"
Who wrote the episode having a US viewership of 3.74 million?
<s>[INST]Who wrote the episode having a US viewership of 3.74 million? Context: CREATE TABLE table_27905664_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_27905664_1 WHERE us_viewers__million_ = "3.74"</s>
CREATE TABLE table_name_31 (draw INTEGER, artist VARCHAR)
SELECT AVG(draw) FROM table_name_31 WHERE artist = "emilya valenti"
Emilya Valenti has what draw average?
<s>[INST]Emilya Valenti has what draw average? Context: CREATE TABLE table_name_31 (draw INTEGER, artist VARCHAR)[/INST]SELECT AVG(draw) FROM table_name_31 WHERE artist = "emilya valenti"</s>
CREATE TABLE table_name_46 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_46 WHERE player = "paul mcginley"
What place did Paul McGinley finish in?
<s>[INST]What place did Paul McGinley finish in? Context: CREATE TABLE table_name_46 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_46 WHERE player = "paul mcginley"</s>
CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_75 WHERE score = "6–4, 6–4"
Which Tournament has a Score of 6–4, 6–4?
<s>[INST]Which Tournament has a Score of 6–4, 6–4? Context: CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_75 WHERE score = "6–4, 6–4"</s>
CREATE TABLE table_name_49 (tournament VARCHAR, finalist VARCHAR)
SELECT tournament FROM table_name_49 WHERE finalist = "monica seles"
What tournament had finalist Monica Seles?
<s>[INST]What tournament had finalist Monica Seles? Context: CREATE TABLE table_name_49 (tournament VARCHAR, finalist VARCHAR)[/INST]SELECT tournament FROM table_name_49 WHERE finalist = "monica seles"</s>
CREATE TABLE table_name_21 (week VARCHAR, opponent VARCHAR)
SELECT COUNT(week) FROM table_name_21 WHERE opponent = "new york giants"
What week number had the New York Giants as opponent?
<s>[INST]What week number had the New York Giants as opponent? Context: CREATE TABLE table_name_21 (week VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_21 WHERE opponent = "new york giants"</s>
CREATE TABLE table_name_23 (rank INTEGER, time VARCHAR)
SELECT SUM(rank) FROM table_name_23 WHERE time = "1:40.626"
What is the rank if the person with a time of 1:40.626?
<s>[INST]What is the rank if the person with a time of 1:40.626? Context: CREATE TABLE table_name_23 (rank INTEGER, time VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_23 WHERE time = "1:40.626"</s>
CREATE TABLE table_name_48 (venue VARCHAR, extra VARCHAR, result VARCHAR)
SELECT venue FROM table_name_48 WHERE extra = "team competition" AND result = "1st"
Which venue had an extra of Team Competition and a result of 1st?
<s>[INST]Which venue had an extra of Team Competition and a result of 1st? Context: CREATE TABLE table_name_48 (venue VARCHAR, extra VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_48 WHERE extra = "team competition" AND result = "1st"</s>
CREATE TABLE table_name_78 (position VARCHAR, current_club VARCHAR)
SELECT position FROM table_name_78 WHERE current_club = "toronto raptors"
What is the Position of the Player from the Toronto Raptors?
<s>[INST]What is the Position of the Player from the Toronto Raptors? Context: CREATE TABLE table_name_78 (position VARCHAR, current_club VARCHAR)[/INST]SELECT position FROM table_name_78 WHERE current_club = "toronto raptors"</s>