context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_50 (name VARCHAR, area VARCHAR)
SELECT name FROM table_name_50 WHERE area = "kennedy bay"
Which name has an Area of kennedy bay?
<s>[INST]Which name has an Area of kennedy bay? Context: CREATE TABLE table_name_50 (name VARCHAR, area VARCHAR)[/INST]SELECT name FROM table_name_50 WHERE area = "kennedy bay"</s>
CREATE TABLE table_name_39 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_39 WHERE player = "larry nelson"
What was Larry Nelson's final score?
<s>[INST]What was Larry Nelson's final score? Context: CREATE TABLE table_name_39 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_39 WHERE player = "larry nelson"</s>
CREATE TABLE airports (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR); CREATE TABLE routes (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR)
SELECT COUNT(*) FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country = 'Canada') AND src_apid IN (SELECT apid FROM airports WHERE country = 'United States')
Find the number of routes from the United States to Canada.
<s>[INST]Find the number of routes from the United States to Canada. Context: CREATE TABLE airports (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR); CREATE TABLE routes (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR)[/INST]SELECT COUNT(*) FROM routes WHERE dst_apid IN (SELECT api...
CREATE TABLE table_28652521_1 (singer_part_number VARCHAR, storage_case VARCHAR)
SELECT singer_part_number FROM table_28652521_1 WHERE storage_case = "green plastic box"
What's the singer part number of the buttonholer whose storage case is a green plastic box?
<s>[INST]What's the singer part number of the buttonholer whose storage case is a green plastic box? Context: CREATE TABLE table_28652521_1 (singer_part_number VARCHAR, storage_case VARCHAR)[/INST]SELECT singer_part_number FROM table_28652521_1 WHERE storage_case = "green plastic box"</s>
CREATE TABLE table_name_62 (pick VARCHAR, pba_team VARCHAR)
SELECT COUNT(pick) FROM table_name_62 WHERE pba_team = "purefoods tender juicy hotdogs"
What is the total number of picks from the PBA team of purefoods tender juicy hotdogs?
<s>[INST]What is the total number of picks from the PBA team of purefoods tender juicy hotdogs? Context: CREATE TABLE table_name_62 (pick VARCHAR, pba_team VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_62 WHERE pba_team = "purefoods tender juicy hotdogs"</s>
CREATE TABLE table_name_10 (decision VARCHAR, date VARCHAR)
SELECT decision FROM table_name_10 WHERE date = "november 28"
WHAT IS THE DECISION FOR NOVEMBER 28?
<s>[INST]WHAT IS THE DECISION FOR NOVEMBER 28? Context: CREATE TABLE table_name_10 (decision VARCHAR, date VARCHAR)[/INST]SELECT decision FROM table_name_10 WHERE date = "november 28"</s>
CREATE TABLE table_23292220_8 (episode VARCHAR, seans_team VARCHAR)
SELECT COUNT(episode) FROM table_23292220_8 WHERE seans_team = "Jeremy Clarkson and James McQuillan"
In how many episodes did Sean's team include Jeremy Clarkson and James McQuillan?
<s>[INST]In how many episodes did Sean's team include Jeremy Clarkson and James McQuillan? Context: CREATE TABLE table_23292220_8 (episode VARCHAR, seans_team VARCHAR)[/INST]SELECT COUNT(episode) FROM table_23292220_8 WHERE seans_team = "Jeremy Clarkson and James McQuillan"</s>
CREATE TABLE table_16387653_1 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_16387653_1 WHERE home_team = "Carlton"
Who was the away team playing at Carlton?
<s>[INST]Who was the away team playing at Carlton? Context: CREATE TABLE table_16387653_1 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_16387653_1 WHERE home_team = "Carlton"</s>
CREATE TABLE table_name_59 (score VARCHAR, runners_up VARCHAR)
SELECT score FROM table_name_59 WHERE runners_up = "tsv siegen"
What is the score when TSV Siegen was the runner-up?
<s>[INST]What is the score when TSV Siegen was the runner-up? Context: CREATE TABLE table_name_59 (score VARCHAR, runners_up VARCHAR)[/INST]SELECT score FROM table_name_59 WHERE runners_up = "tsv siegen"</s>
CREATE TABLE table_name_68 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_68 WHERE date = "february 2, 2004"
What is the Opponent in the final of the game on february 2, 2004?
<s>[INST]What is the Opponent in the final of the game on february 2, 2004? Context: CREATE TABLE table_name_68 (opponent_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_68 WHERE date = "february 2, 2004"</s>
CREATE TABLE table_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
SELECT mixed_doubles FROM table_20361783_1 WHERE womens_singles = "Wang Yihan"
who won mixed doubles when wang yihan won womens singles
<s>[INST]who won mixed doubles when wang yihan won womens singles Context: CREATE TABLE table_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)[/INST]SELECT mixed_doubles FROM table_20361783_1 WHERE womens_singles = "Wang Yihan"</s>
CREATE TABLE table_name_28 (location VARCHAR, county VARCHAR)
SELECT location FROM table_name_28 WHERE county = "30 hancock"
What is the Location with a county of 30 Hancock?
<s>[INST]What is the Location with a county of 30 Hancock? Context: CREATE TABLE table_name_28 (location VARCHAR, county VARCHAR)[/INST]SELECT location FROM table_name_28 WHERE county = "30 hancock"</s>
CREATE TABLE table_name_24 (house VARCHAR, abbr VARCHAR)
SELECT house FROM table_name_24 WHERE abbr = "d"
Which house has an abbreviation of D?
<s>[INST]Which house has an abbreviation of D? Context: CREATE TABLE table_name_24 (house VARCHAR, abbr VARCHAR)[/INST]SELECT house FROM table_name_24 WHERE abbr = "d"</s>
CREATE TABLE table_name_91 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, points VARCHAR)
SELECT points_against FROM table_name_91 WHERE played = "22" AND points = "52" AND tries_against = "51"
Name the points against when tries against is 51 and points is 52 with played of 22
<s>[INST]Name the points against when tries against is 51 and points is 52 with played of 22 Context: CREATE TABLE table_name_91 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, points VARCHAR)[/INST]SELECT points_against FROM table_name_91 WHERE played = "22" AND points = "52" AND tries_against = "51"</...
CREATE TABLE table_name_65 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_65 WHERE player = "scott verplank"
What is Scott Verplank's score?
<s>[INST]What is Scott Verplank's score? Context: CREATE TABLE table_name_65 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_65 WHERE player = "scott verplank"</s>
CREATE TABLE table_17862135_3 (total_points VARCHAR, average VARCHAR)
SELECT total_points FROM table_17862135_3 WHERE average = "17.8"
What are the total points for the team that averages 17.8?
<s>[INST]What are the total points for the team that averages 17.8? Context: CREATE TABLE table_17862135_3 (total_points VARCHAR, average VARCHAR)[/INST]SELECT total_points FROM table_17862135_3 WHERE average = "17.8"</s>
CREATE TABLE votes (contestant_number VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR)
SELECT T1.contestant_number, T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number HAVING COUNT(*) >= 2
What are the contestant numbers and names of the contestants who had at least two votes?
<s>[INST]What are the contestant numbers and names of the contestants who had at least two votes? Context: CREATE TABLE votes (contestant_number VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR)[/INST]SELECT T1.contestant_number, T1.contestant_name FROM contestants AS T1 JOIN votes...
CREATE TABLE table_23670057_7 (no VARCHAR, player VARCHAR)
SELECT no FROM table_23670057_7 WHERE player = "Aigars Vitols"
What is every number when the player is Aigars Vitols?
<s>[INST]What is every number when the player is Aigars Vitols? Context: CREATE TABLE table_23670057_7 (no VARCHAR, player VARCHAR)[/INST]SELECT no FROM table_23670057_7 WHERE player = "Aigars Vitols"</s>
CREATE TABLE table_name_54 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_54 WHERE venue = "glenferrie oval"
Which away team is based at glenferrie oval?
<s>[INST]Which away team is based at glenferrie oval? Context: CREATE TABLE table_name_54 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_54 WHERE venue = "glenferrie oval"</s>
CREATE TABLE table_name_4 (player VARCHAR, club_province VARCHAR, caps VARCHAR, position VARCHAR)
SELECT player FROM table_name_4 WHERE caps < 49 AND position = "wing" AND club_province = "ulster"
Which Ulster player has fewer than 49 caps and plays the wing position?
<s>[INST]Which Ulster player has fewer than 49 caps and plays the wing position? Context: CREATE TABLE table_name_4 (player VARCHAR, club_province VARCHAR, caps VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_4 WHERE caps < 49 AND position = "wing" AND club_province = "ulster"</s>
CREATE TABLE railway (Builder VARCHAR)
SELECT Builder, COUNT(*) FROM railway GROUP BY Builder
Show different builders of railways, along with the corresponding number of railways using each builder.
<s>[INST]Show different builders of railways, along with the corresponding number of railways using each builder. Context: CREATE TABLE railway (Builder VARCHAR)[/INST]SELECT Builder, COUNT(*) FROM railway GROUP BY Builder</s>
CREATE TABLE table_16105186_2 (us_national_average_electric_mix VARCHAR, midwest__des_moines_ VARCHAR)
SELECT us_national_average_electric_mix FROM table_16105186_2 WHERE midwest__des_moines_ = "280 g/mi (174 g/km)"
What was the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest?
<s>[INST]What was the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest? Context: CREATE TABLE table_16105186_2 (us_national_average_electric_mix VARCHAR, midwest__des_moines_ VARCHAR)[/INST]SELECT us_national_average_electric_mix FROM table_16105186_2 WHERE midwe...
CREATE TABLE table_name_87 (game INTEGER, opponent VARCHAR)
SELECT SUM(game) FROM table_name_87 WHERE opponent = "@ chicago stags"
what is the game when the opponent is @ chicago stags?
<s>[INST]what is the game when the opponent is @ chicago stags? Context: CREATE TABLE table_name_87 (game INTEGER, opponent VARCHAR)[/INST]SELECT SUM(game) FROM table_name_87 WHERE opponent = "@ chicago stags"</s>
CREATE TABLE table_24108789_6 (player VARCHAR, events VARCHAR)
SELECT player FROM table_24108789_6 WHERE events = 22
Name the player for 22 events
<s>[INST]Name the player for 22 events Context: CREATE TABLE table_24108789_6 (player VARCHAR, events VARCHAR)[/INST]SELECT player FROM table_24108789_6 WHERE events = 22</s>
CREATE TABLE table_1566852_8 (date VARCHAR)
SELECT 20 AS _questions FROM table_1566852_8 WHERE date = "10-07"
Who answered the 20 questions on 10-07?
<s>[INST]Who answered the 20 questions on 10-07? Context: CREATE TABLE table_1566852_8 (date VARCHAR)[/INST]SELECT 20 AS _questions FROM table_1566852_8 WHERE date = "10-07"</s>
CREATE TABLE table_19179465_1 (bp VARCHAR, club VARCHAR)
SELECT bp FROM table_19179465_1 WHERE club = "Halifax"
What was the B.P. of club Halifax?
<s>[INST]What was the B.P. of club Halifax? Context: CREATE TABLE table_19179465_1 (bp VARCHAR, club VARCHAR)[/INST]SELECT bp FROM table_19179465_1 WHERE club = "Halifax"</s>
CREATE TABLE table_name_7 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_7 WHERE to_par = "+1" AND player = "mike souchak"
What is Score, when To Par is "+1", and when Player is "Mike Souchak"?
<s>[INST]What is Score, when To Par is "+1", and when Player is "Mike Souchak"? Context: CREATE TABLE table_name_7 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_7 WHERE to_par = "+1" AND player = "mike souchak"</s>
CREATE TABLE county (County_name VARCHAR)
SELECT County_name FROM county ORDER BY County_name DESC
Return the names of all counties sorted by county name in descending alphabetical order.
<s>[INST]Return the names of all counties sorted by county name in descending alphabetical order. Context: CREATE TABLE county (County_name VARCHAR)[/INST]SELECT County_name FROM county ORDER BY County_name DESC</s>
CREATE TABLE table_name_30 (bronze INTEGER, total VARCHAR)
SELECT AVG(bronze) FROM table_name_30 WHERE total = 54
What is the bronze number when the total is 54/
<s>[INST]What is the bronze number when the total is 54/ Context: CREATE TABLE table_name_30 (bronze INTEGER, total VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_30 WHERE total = 54</s>
CREATE TABLE table_27383390_2 (kit_maker VARCHAR, team VARCHAR)
SELECT kit_maker FROM table_27383390_2 WHERE team = "Foolad"
What is the kit maker for team foolad?
<s>[INST]What is the kit maker for team foolad? Context: CREATE TABLE table_27383390_2 (kit_maker VARCHAR, team VARCHAR)[/INST]SELECT kit_maker FROM table_27383390_2 WHERE team = "Foolad"</s>
CREATE TABLE table_name_17 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_17 WHERE visitor = "st. louis"
What was the date of the game when St. Louis was the visiting team?
<s>[INST]What was the date of the game when St. Louis was the visiting team? Context: CREATE TABLE table_name_17 (date VARCHAR, visitor VARCHAR)[/INST]SELECT date FROM table_name_17 WHERE visitor = "st. louis"</s>
CREATE TABLE table_name_38 (rank VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(rank) FROM table_name_38 WHERE silver > 2 AND bronze < 2
How many teams won more than 2 silver medals and fewer than 2 Bronze medals?
<s>[INST]How many teams won more than 2 silver medals and fewer than 2 Bronze medals? Context: CREATE TABLE table_name_38 (rank VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_38 WHERE silver > 2 AND bronze < 2</s>
CREATE TABLE table_name_81 (director_s_ VARCHAR, recipient VARCHAR)
SELECT director_s_ FROM table_name_81 WHERE recipient = "maya vision international ltd"
Name the director for maya vision international ltd
<s>[INST]Name the director for maya vision international ltd Context: CREATE TABLE table_name_81 (director_s_ VARCHAR, recipient VARCHAR)[/INST]SELECT director_s_ FROM table_name_81 WHERE recipient = "maya vision international ltd"</s>
CREATE TABLE table_name_61 (dvd_name VARCHAR, duration VARCHAR)
SELECT dvd_name FROM table_name_61 WHERE duration = "2 hours 22 minutes"
What DVD has a time of 2 hours 22 minutes?
<s>[INST]What DVD has a time of 2 hours 22 minutes? Context: CREATE TABLE table_name_61 (dvd_name VARCHAR, duration VARCHAR)[/INST]SELECT dvd_name FROM table_name_61 WHERE duration = "2 hours 22 minutes"</s>
CREATE TABLE table_name_14 (language VARCHAR, director VARCHAR)
SELECT language FROM table_name_14 WHERE director = "hans kristensen"
What is the language of the film directed by Hans Kristensen?
<s>[INST]What is the language of the film directed by Hans Kristensen? Context: CREATE TABLE table_name_14 (language VARCHAR, director VARCHAR)[/INST]SELECT language FROM table_name_14 WHERE director = "hans kristensen"</s>
CREATE TABLE customer (cust_name VARCHAR, acc_type VARCHAR, acc_bal VARCHAR, credit_score VARCHAR)
SELECT cust_name, acc_type, acc_bal FROM customer ORDER BY credit_score DESC LIMIT 1
Find the name, account type, and account balance of the customer who has the highest credit score.
<s>[INST]Find the name, account type, and account balance of the customer who has the highest credit score. Context: CREATE TABLE customer (cust_name VARCHAR, acc_type VARCHAR, acc_bal VARCHAR, credit_score VARCHAR)[/INST]SELECT cust_name, acc_type, acc_bal FROM customer ORDER BY credit_score DESC LIMIT 1</s>
CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR)
SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628
Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628?
<s>[INST]Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628? Context: CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" A...
CREATE TABLE table_name_81 (artist VARCHAR, country VARCHAR)
SELECT artist FROM table_name_81 WHERE country = "uruguay"
what artist cam from uruguay
<s>[INST]what artist cam from uruguay Context: CREATE TABLE table_name_81 (artist VARCHAR, country VARCHAR)[/INST]SELECT artist FROM table_name_81 WHERE country = "uruguay"</s>
CREATE TABLE table_name_17 (listed VARCHAR, cerclis_id VARCHAR)
SELECT listed FROM table_name_17 WHERE cerclis_id = "msd004006995"
Tell me the listed when cerclis id is msd004006995
<s>[INST]Tell me the listed when cerclis id is msd004006995 Context: CREATE TABLE table_name_17 (listed VARCHAR, cerclis_id VARCHAR)[/INST]SELECT listed FROM table_name_17 WHERE cerclis_id = "msd004006995"</s>
CREATE TABLE table_name_32 (frequency VARCHAR, power VARCHAR, channel VARCHAR)
SELECT frequency FROM table_name_32 WHERE power = "32 kw horizontal" AND channel = 32
On channel 32, when the power is 32 kW horizontal, what is the frequency?
<s>[INST]On channel 32, when the power is 32 kW horizontal, what is the frequency? Context: CREATE TABLE table_name_32 (frequency VARCHAR, power VARCHAR, channel VARCHAR)[/INST]SELECT frequency FROM table_name_32 WHERE power = "32 kw horizontal" AND channel = 32</s>
CREATE TABLE table_name_5 (score VARCHAR, opponents VARCHAR)
SELECT score FROM table_name_5 WHERE opponents = "colin fleming scott lipsky"
What is the score for the game that Colin Fleming Scott Lipsky played in?
<s>[INST]What is the score for the game that Colin Fleming Scott Lipsky played in? Context: CREATE TABLE table_name_5 (score VARCHAR, opponents VARCHAR)[/INST]SELECT score FROM table_name_5 WHERE opponents = "colin fleming scott lipsky"</s>
CREATE TABLE table_24798489_2 (original_airdate VARCHAR, episode_number VARCHAR)
SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE episode_number = 22
How many original air dates were there for episode 22?
<s>[INST]How many original air dates were there for episode 22? Context: CREATE TABLE table_24798489_2 (original_airdate VARCHAR, episode_number VARCHAR)[/INST]SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE episode_number = 22</s>
CREATE TABLE table_name_90 (Id VARCHAR)
SELECT 2007 FROM table_name_90 WHERE 2008 = "0 / 4"
Which 2007 has a 2008 of 0 / 4?
<s>[INST]Which 2007 has a 2008 of 0 / 4? Context: CREATE TABLE table_name_90 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_90 WHERE 2008 = "0 / 4"</s>
CREATE TABLE table_name_41 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_41 WHERE date = "10 november 2006"
What was the Surface on during 10 November 2006?
<s>[INST]What was the Surface on during 10 November 2006? Context: CREATE TABLE table_name_41 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_41 WHERE date = "10 november 2006"</s>
CREATE TABLE table_name_31 (saka_era VARCHAR, sign_of_zodiac VARCHAR)
SELECT saka_era FROM table_name_31 WHERE sign_of_zodiac = "virgo"
WHAT IS THE SAKA ERA OF VIRGO?
<s>[INST]WHAT IS THE SAKA ERA OF VIRGO? Context: CREATE TABLE table_name_31 (saka_era VARCHAR, sign_of_zodiac VARCHAR)[/INST]SELECT saka_era FROM table_name_31 WHERE sign_of_zodiac = "virgo"</s>
CREATE TABLE table_name_76 (country VARCHAR, park VARCHAR, opened VARCHAR, model VARCHAR)
SELECT country FROM table_name_76 WHERE opened = 2002 AND model = "spinning coaster" AND park = "disney's animal kingdom"
Which country has a rollercoaster that opened in 2002, is a spinning coaster, and is located in Disney's Animal Kingdom?
<s>[INST]Which country has a rollercoaster that opened in 2002, is a spinning coaster, and is located in Disney's Animal Kingdom? Context: CREATE TABLE table_name_76 (country VARCHAR, park VARCHAR, opened VARCHAR, model VARCHAR)[/INST]SELECT country FROM table_name_76 WHERE opened = 2002 AND model = "spinning coaster" ...
CREATE TABLE table_name_88 (overall INTEGER, name VARCHAR, round VARCHAR, pick VARCHAR)
SELECT AVG(overall) FROM table_name_88 WHERE round > 7 AND pick > 13 AND name = "tony hall"
Which Overall has a Round larger than 7, a Pick larger than 13, and a Name of tony hall?
<s>[INST]Which Overall has a Round larger than 7, a Pick larger than 13, and a Name of tony hall? Context: CREATE TABLE table_name_88 (overall INTEGER, name VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_88 WHERE round > 7 AND pick > 13 AND name = "tony hall"</s>
CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)
SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_speed__gt_s_ = "4.8" AND speed__ghz_ = "2.00" AND model = "E5504"
What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504?
<s>[INST]What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504? Context: CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)[/INST]SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_spee...
CREATE TABLE table_24689168_5 (rating__18_49_ VARCHAR, viewers__millions_ VARCHAR)
SELECT rating__18_49_ FROM table_24689168_5 WHERE viewers__millions_ = "9.50"
What was the 18 to 49 rating when 9.50 million watched?
<s>[INST]What was the 18 to 49 rating when 9.50 million watched? Context: CREATE TABLE table_24689168_5 (rating__18_49_ VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT rating__18_49_ FROM table_24689168_5 WHERE viewers__millions_ = "9.50"</s>
CREATE TABLE table_name_10 (pens VARCHAR, conv VARCHAR)
SELECT pens FROM table_name_10 WHERE conv = "6"
I want to know the pens with conv of 6
<s>[INST]I want to know the pens with conv of 6 Context: CREATE TABLE table_name_10 (pens VARCHAR, conv VARCHAR)[/INST]SELECT pens FROM table_name_10 WHERE conv = "6"</s>
CREATE TABLE table_name_94 (silver INTEGER, rank VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_94 WHERE rank > 9 AND total > 1
What is the total silver with a Rank larger than 9, and a Total larger than 1?
<s>[INST]What is the total silver with a Rank larger than 9, and a Total larger than 1? Context: CREATE TABLE table_name_94 (silver INTEGER, rank VARCHAR, total VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_94 WHERE rank > 9 AND total > 1</s>
CREATE TABLE table_1858574_3 (yacht VARCHAR, sail_number VARCHAR)
SELECT yacht FROM table_1858574_3 WHERE sail_number = "AUS70"
On what yacht was the sail number aus70?
<s>[INST]On what yacht was the sail number aus70? Context: CREATE TABLE table_1858574_3 (yacht VARCHAR, sail_number VARCHAR)[/INST]SELECT yacht FROM table_1858574_3 WHERE sail_number = "AUS70"</s>
CREATE TABLE table_name_36 (points_for VARCHAR, points_against VARCHAR)
SELECT points_for FROM table_name_36 WHERE points_against = "51"
The 51 points against, how many are for?
<s>[INST]The 51 points against, how many are for? Context: CREATE TABLE table_name_36 (points_for VARCHAR, points_against VARCHAR)[/INST]SELECT points_for FROM table_name_36 WHERE points_against = "51"</s>
CREATE TABLE table_name_82 (left_office VARCHAR, took_office VARCHAR)
SELECT left_office FROM table_name_82 WHERE took_office = "2006"
What is Left Office, when Took Office is 2006?
<s>[INST]What is Left Office, when Took Office is 2006? Context: CREATE TABLE table_name_82 (left_office VARCHAR, took_office VARCHAR)[/INST]SELECT left_office FROM table_name_82 WHERE took_office = "2006"</s>
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_51 WHERE away_team = "north melbourne"
Who is the home side when north melbourne is the away side?
<s>[INST]Who is the home side when north melbourne is the away side? Context: CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_51 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, played VARCHAR)
SELECT MIN(points) FROM table_name_38 WHERE drawn < 2 AND played > 8
What is the fewest number of points for clubs with less than 2 draws and more than 8 matches played?
<s>[INST]What is the fewest number of points for clubs with less than 2 draws and more than 8 matches played? Context: CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, played VARCHAR)[/INST]SELECT MIN(points) FROM table_name_38 WHERE drawn < 2 AND played > 8</s>
CREATE TABLE table_name_63 (field VARCHAR, date VARCHAR)
SELECT field FROM table_name_63 WHERE date = "july 12"
On which field was the game played on July 12?
<s>[INST]On which field was the game played on July 12? Context: CREATE TABLE table_name_63 (field VARCHAR, date VARCHAR)[/INST]SELECT field FROM table_name_63 WHERE date = "july 12"</s>
CREATE TABLE table_name_71 (total INTEGER, rank VARCHAR, silver VARCHAR)
SELECT MAX(total) FROM table_name_71 WHERE rank = "6" AND silver > 2
What's the total of rank number 6 with more than 2 silver?
<s>[INST]What's the total of rank number 6 with more than 2 silver? Context: CREATE TABLE table_name_71 (total INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MAX(total) FROM table_name_71 WHERE rank = "6" AND silver > 2</s>
CREATE TABLE table_21377473_7 (stadium VARCHAR, score VARCHAR)
SELECT stadium FROM table_21377473_7 WHERE score = "1 - 1 Leckie 90+3'"
When 1 - 1 leckie 90+3' is the score what is the stadium?
<s>[INST]When 1 - 1 leckie 90+3' is the score what is the stadium? Context: CREATE TABLE table_21377473_7 (stadium VARCHAR, score VARCHAR)[/INST]SELECT stadium FROM table_21377473_7 WHERE score = "1 - 1 Leckie 90+3'"</s>
CREATE TABLE singer_in_concert (concert_id VARCHAR); CREATE TABLE concert (concert_name VARCHAR, theme VARCHAR, concert_id VARCHAR)
SELECT t2.concert_name, t2.theme, COUNT(*) FROM singer_in_concert AS t1 JOIN concert AS t2 ON t1.concert_id = t2.concert_id GROUP BY t2.concert_id
What are the names , themes , and number of singers for every concert ?
<s>[INST]What are the names , themes , and number of singers for every concert ? Context: CREATE TABLE singer_in_concert (concert_id VARCHAR); CREATE TABLE concert (concert_name VARCHAR, theme VARCHAR, concert_id VARCHAR)[/INST]SELECT t2.concert_name, t2.theme, COUNT(*) FROM singer_in_concert AS t1 JOIN concert AS t2 O...
CREATE TABLE table_15290638_1 (group_c VARCHAR, group_d VARCHAR)
SELECT group_c FROM table_15290638_1 WHERE group_d = "Wisconsin"
Who is in group c when wisconsin is in group d?
<s>[INST]Who is in group c when wisconsin is in group d? Context: CREATE TABLE table_15290638_1 (group_c VARCHAR, group_d VARCHAR)[/INST]SELECT group_c FROM table_15290638_1 WHERE group_d = "Wisconsin"</s>
CREATE TABLE table_name_86 (attendance VARCHAR, location VARCHAR, result VARCHAR)
SELECT COUNT(attendance) FROM table_name_86 WHERE location = "groves stadium • winston-salem, nc" AND result = "l 0-14"
What was the attendance for the game at groves stadium • winston-salem, nc with a result of L 0-14?
<s>[INST]What was the attendance for the game at groves stadium • winston-salem, nc with a result of L 0-14? Context: CREATE TABLE table_name_86 (attendance VARCHAR, location VARCHAR, result VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_86 WHERE location = "groves stadium • winston-salem, nc" AND result = "l ...
CREATE TABLE table_name_31 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_31 WHERE record = "3-2"
For a record of 3-2, what team was home?
<s>[INST]For a record of 3-2, what team was home? Context: CREATE TABLE table_name_31 (home VARCHAR, record VARCHAR)[/INST]SELECT home FROM table_name_31 WHERE record = "3-2"</s>
CREATE TABLE table_name_91 (points VARCHAR, chassis VARCHAR, year VARCHAR)
SELECT points FROM table_name_91 WHERE chassis = "lancia d50" AND year = 1954
What is the Point of Chassis of Lancia d50 in 1954
<s>[INST]What is the Point of Chassis of Lancia d50 in 1954 Context: CREATE TABLE table_name_91 (points VARCHAR, chassis VARCHAR, year VARCHAR)[/INST]SELECT points FROM table_name_91 WHERE chassis = "lancia d50" AND year = 1954</s>
CREATE TABLE table_26615633_1 (voice_actor VARCHAR, species VARCHAR)
SELECT voice_actor FROM table_26615633_1 WHERE species = "Hedgehog"
who was the voice actor when the species is hedgehog?
<s>[INST]who was the voice actor when the species is hedgehog? Context: CREATE TABLE table_26615633_1 (voice_actor VARCHAR, species VARCHAR)[/INST]SELECT voice_actor FROM table_26615633_1 WHERE species = "Hedgehog"</s>
CREATE TABLE table_name_5 (award VARCHAR, year VARCHAR)
SELECT award FROM table_name_5 WHERE year = 2002
What Award has a date of 2002?
<s>[INST]What Award has a date of 2002? Context: CREATE TABLE table_name_5 (award VARCHAR, year VARCHAR)[/INST]SELECT award FROM table_name_5 WHERE year = 2002</s>
CREATE TABLE table_name_39 (date VARCHAR, shooter VARCHAR)
SELECT date FROM table_name_39 WHERE shooter = "new targets from 1989"
What is the Date of Shooter New Targets from 1989's record?
<s>[INST]What is the Date of Shooter New Targets from 1989's record? Context: CREATE TABLE table_name_39 (date VARCHAR, shooter VARCHAR)[/INST]SELECT date FROM table_name_39 WHERE shooter = "new targets from 1989"</s>
CREATE TABLE table_name_71 (game VARCHAR, developer_s_ VARCHAR)
SELECT game FROM table_name_71 WHERE developer_s_ = "rockstar games"
What is the game of developer Rockstar Games?
<s>[INST]What is the game of developer Rockstar Games? Context: CREATE TABLE table_name_71 (game VARCHAR, developer_s_ VARCHAR)[/INST]SELECT game FROM table_name_71 WHERE developer_s_ = "rockstar games"</s>
CREATE TABLE table_28027307_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
SELECT us_viewers__millions_ FROM table_28027307_1 WHERE production_code = "6AKY07"
How many millions of U.S. viewers watched the episode with the production code of 6AKY07?
<s>[INST]How many millions of U.S. viewers watched the episode with the production code of 6AKY07? Context: CREATE TABLE table_28027307_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_28027307_1 WHERE production_code = "6AKY07"</s>
CREATE TABLE claim_headers (amount_piad INTEGER)
SELECT SUM(amount_piad), AVG(amount_piad) FROM claim_headers
Find the total and average amount paid in claim headers.
<s>[INST]Find the total and average amount paid in claim headers. Context: CREATE TABLE claim_headers (amount_piad INTEGER)[/INST]SELECT SUM(amount_piad), AVG(amount_piad) FROM claim_headers</s>
CREATE TABLE table_name_45 (laps VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_45 WHERE time_retired = "+14.403"
How many laps were there when the Time/Retired was +14.403?
<s>[INST]How many laps were there when the Time/Retired was +14.403? Context: CREATE TABLE table_name_45 (laps VARCHAR, time_retired VARCHAR)[/INST]SELECT laps FROM table_name_45 WHERE time_retired = "+14.403"</s>
CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR)
SELECT COUNT(current_account_balance__percent_of_gdp_) FROM table_30133_1 WHERE gdp_at_constant_prices_growth_rate__percent_change_ = "4.6"
How many current account balances are associated with GDP at constant prices growth rates of 4.6?
<s>[INST]How many current account balances are associated with GDP at constant prices growth rates of 4.6? Context: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR)[/INST]SELECT COUNT(current_account_balance__percent_of_gdp_) FROM...
CREATE TABLE table_name_88 (year VARCHAR, vehicle VARCHAR)
SELECT year FROM table_name_88 WHERE vehicle = "mitsubishi"
Which year had a vehicle of Mitsubishi?
<s>[INST]Which year had a vehicle of Mitsubishi? Context: CREATE TABLE table_name_88 (year VARCHAR, vehicle VARCHAR)[/INST]SELECT year FROM table_name_88 WHERE vehicle = "mitsubishi"</s>
CREATE TABLE table_name_83 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
SELECT result FROM table_name_83 WHERE first_elected = "1892" AND incumbent = "w. jasper talbert"
What was the result of W. Jasper Talbert who was first elected in 1892?
<s>[INST]What was the result of W. Jasper Talbert who was first elected in 1892? Context: CREATE TABLE table_name_83 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_name_83 WHERE first_elected = "1892" AND incumbent = "w. jasper talbert"</s>
CREATE TABLE table_name_2 (national_titles VARCHAR, mascot VARCHAR)
SELECT COUNT(national_titles) FROM table_name_2 WHERE mascot = "doane tigers"
What is the total number of national titles for the team with doane tigers as the mascot?
<s>[INST]What is the total number of national titles for the team with doane tigers as the mascot? Context: CREATE TABLE table_name_2 (national_titles VARCHAR, mascot VARCHAR)[/INST]SELECT COUNT(national_titles) FROM table_name_2 WHERE mascot = "doane tigers"</s>
CREATE TABLE table_name_29 (race_name VARCHAR, date VARCHAR)
SELECT race_name FROM table_name_29 WHERE date = "16 september"
What is the name of the race on 16 september?
<s>[INST]What is the name of the race on 16 september? Context: CREATE TABLE table_name_29 (race_name VARCHAR, date VARCHAR)[/INST]SELECT race_name FROM table_name_29 WHERE date = "16 september"</s>
CREATE TABLE table_name_76 (rowers VARCHAR, notes VARCHAR, time VARCHAR)
SELECT rowers FROM table_name_76 WHERE notes = "sa/b" AND time = "5:51.30"
Who were the rowers when notes were sa/b, with a time of 5:51.30?
<s>[INST]Who were the rowers when notes were sa/b, with a time of 5:51.30? Context: CREATE TABLE table_name_76 (rowers VARCHAR, notes VARCHAR, time VARCHAR)[/INST]SELECT rowers FROM table_name_76 WHERE notes = "sa/b" AND time = "5:51.30"</s>
CREATE TABLE PersonFriend (name VARCHAR)
SELECT name FROM PersonFriend GROUP BY name HAVING COUNT(*) = 1
Find the person who has exactly one friend.
<s>[INST]Find the person who has exactly one friend. Context: CREATE TABLE PersonFriend (name VARCHAR)[/INST]SELECT name FROM PersonFriend GROUP BY name HAVING COUNT(*) = 1</s>
CREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, title VARCHAR)
SELECT sales_breakdown FROM table_21458142_1 WHERE publisher = "Nintendo" AND title = "Mario Kart DS"
What's the sales breakdown for Nintendo's Mario Kart DS?
<s>[INST]What's the sales breakdown for Nintendo's Mario Kart DS? Context: CREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, title VARCHAR)[/INST]SELECT sales_breakdown FROM table_21458142_1 WHERE publisher = "Nintendo" AND title = "Mario Kart DS"</s>
CREATE TABLE table_name_32 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
SELECT MAX(overall) FROM table_name_32 WHERE position = "linebacker" AND pick__number > 9
What is the largest overall where the position was linebacker and the pick number was more than 9?
<s>[INST]What is the largest overall where the position was linebacker and the pick number was more than 9? Context: CREATE TABLE table_name_32 (overall INTEGER, position VARCHAR, pick__number VARCHAR)[/INST]SELECT MAX(overall) FROM table_name_32 WHERE position = "linebacker" AND pick__number > 9</s>
CREATE TABLE table_name_24 (date VARCHAR, race VARCHAR)
SELECT date FROM table_name_24 WHERE race = "mexican grand prix"
When is the Mexican grand prix?
<s>[INST]When is the Mexican grand prix? Context: CREATE TABLE table_name_24 (date VARCHAR, race VARCHAR)[/INST]SELECT date FROM table_name_24 WHERE race = "mexican grand prix"</s>
CREATE TABLE table_name_19 (air_date VARCHAR, rating VARCHAR, weekly_winner VARCHAR)
SELECT air_date FROM table_name_19 WHERE rating = "n/a" AND weekly_winner = "wedding dj chris dixon"
What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?
<s>[INST]What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"? Context: CREATE TABLE table_name_19 (air_date VARCHAR, rating VARCHAR, weekly_winner VARCHAR)[/INST]SELECT air_date FROM table_name_19 WHERE rating = "n/a" AND weekly_winner = "wedding dj chris dixon"</s>
CREATE TABLE table_27369069_4 (university VARCHAR, soccer_stadium VARCHAR)
SELECT university FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robillard"
What is the university where the soccer stadium is terrain #2 of complexe sportif claude-robillard?
<s>[INST]What is the university where the soccer stadium is terrain #2 of complexe sportif claude-robillard? Context: CREATE TABLE table_27369069_4 (university VARCHAR, soccer_stadium VARCHAR)[/INST]SELECT university FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robillard"</s>
CREATE TABLE table_26375386_22 (public VARCHAR, couple VARCHAR)
SELECT public FROM table_26375386_22 WHERE couple = "Mikey and Melanie"
Name the public for mikey and melanie
<s>[INST]Name the public for mikey and melanie Context: CREATE TABLE table_26375386_22 (public VARCHAR, couple VARCHAR)[/INST]SELECT public FROM table_26375386_22 WHERE couple = "Mikey and Melanie"</s>
CREATE TABLE table_name_62 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT SUM(attendance) FROM table_name_62 WHERE date = "october 25, 1981" AND week < 8
What was the attendance at the game before week 8, held on October 25, 1981?
<s>[INST]What was the attendance at the game before week 8, held on October 25, 1981? Context: CREATE TABLE table_name_62 (attendance INTEGER, date VARCHAR, week VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_62 WHERE date = "october 25, 1981" AND week < 8</s>
CREATE TABLE table_14312471_4 (crowd INTEGER, ground VARCHAR)
SELECT MAX(crowd) FROM table_14312471_4 WHERE ground = "SCG"
What's the maximum crowd when scg is the ground?
<s>[INST]What's the maximum crowd when scg is the ground? Context: CREATE TABLE table_14312471_4 (crowd INTEGER, ground VARCHAR)[/INST]SELECT MAX(crowd) FROM table_14312471_4 WHERE ground = "SCG"</s>
CREATE TABLE files (f_id VARCHAR, duration VARCHAR)
SELECT f_id FROM files ORDER BY duration DESC LIMIT 1
What is the id of the longest song?
<s>[INST]What is the id of the longest song? Context: CREATE TABLE files (f_id VARCHAR, duration VARCHAR)[/INST]SELECT f_id FROM files ORDER BY duration DESC LIMIT 1</s>
CREATE TABLE table_name_96 (elimination VARCHAR, wrestler VARCHAR)
SELECT elimination FROM table_name_96 WHERE wrestler = "candice"
What is the Elimination for Candice?
<s>[INST]What is the Elimination for Candice? Context: CREATE TABLE table_name_96 (elimination VARCHAR, wrestler VARCHAR)[/INST]SELECT elimination FROM table_name_96 WHERE wrestler = "candice"</s>
CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_99 WHERE date = "september 9, 1979"
Who is the opponent on September 9, 1979?
<s>[INST]Who is the opponent on September 9, 1979? Context: CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_99 WHERE date = "september 9, 1979"</s>
CREATE TABLE table_18277458_2 (ticket_sold___available VARCHAR, venue VARCHAR)
SELECT ticket_sold___available FROM table_18277458_2 WHERE venue = "Carver-Hawkeye Arena"
How many tickets are sold for the Carver-Hawkeye Arena?
<s>[INST]How many tickets are sold for the Carver-Hawkeye Arena? Context: CREATE TABLE table_18277458_2 (ticket_sold___available VARCHAR, venue VARCHAR)[/INST]SELECT ticket_sold___available FROM table_18277458_2 WHERE venue = "Carver-Hawkeye Arena"</s>
CREATE TABLE table_name_61 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_61 WHERE date = "20 november 2007"
Who is the leading scorer of the game on 20 November 2007?
<s>[INST]Who is the leading scorer of the game on 20 November 2007? Context: CREATE TABLE table_name_61 (leading_scorer VARCHAR, date VARCHAR)[/INST]SELECT leading_scorer FROM table_name_61 WHERE date = "20 november 2007"</s>
CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_11621747_1 WHERE date = "Jul 11"
What is the tournament on Jul 11?
<s>[INST]What is the tournament on Jul 11? Context: CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_11621747_1 WHERE date = "Jul 11"</s>
CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_52 WHERE date = "may 20"
Who took the loss on May 20?
<s>[INST]Who took the loss on May 20? Context: CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_52 WHERE date = "may 20"</s>
CREATE TABLE table_11570261_2 (runner_s__up VARCHAR, margin_of_victory VARCHAR)
SELECT runner_s__up FROM table_11570261_2 WHERE margin_of_victory = "11 strokes"
Who were the runner(s)-up when Tiger won by 11 strokes?
<s>[INST]Who were the runner(s)-up when Tiger won by 11 strokes? Context: CREATE TABLE table_11570261_2 (runner_s__up VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT runner_s__up FROM table_11570261_2 WHERE margin_of_victory = "11 strokes"</s>
CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR)
SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid'
Find the names of schools that have some students playing in goalie and mid positions.
<s>[INST]Find the names of schools that have some students playing in goalie and mid positions. Context: CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR)[/INST]SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid'</s>
CREATE TABLE Statements (Id VARCHAR)
SELECT COUNT(*) FROM Statements
How many statements do we have?
<s>[INST]How many statements do we have? Context: CREATE TABLE Statements (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Statements</s>
CREATE TABLE table_22347090_6 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT COUNT(directed_by) FROM table_22347090_6 WHERE us_viewers__million_ = "1.59"
How many directors are there for the episode that had 1.59 million U.S. viewers?
<s>[INST]How many directors are there for the episode that had 1.59 million U.S. viewers? Context: CREATE TABLE table_22347090_6 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_22347090_6 WHERE us_viewers__million_ = "1.59"</s>
CREATE TABLE table_name_39 (lens_35mmequiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR)
SELECT lens_35mmequiv__zoom, _aperture FROM table_name_39 WHERE model = "s2600"
Tell me the lens zoom for aperture of model s2600
<s>[INST]Tell me the lens zoom for aperture of model s2600 Context: CREATE TABLE table_name_39 (lens_35mmequiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR)[/INST]SELECT lens_35mmequiv__zoom, _aperture FROM table_name_39 WHERE model = "s2600"</s>
CREATE TABLE table_name_23 (status VARCHAR, index VARCHAR)
SELECT status FROM table_name_23 WHERE index = "f7"
For the event with index f7, what is the status?
<s>[INST]For the event with index f7, what is the status? Context: CREATE TABLE table_name_23 (status VARCHAR, index VARCHAR)[/INST]SELECT status FROM table_name_23 WHERE index = "f7"</s>
CREATE TABLE table_1637041_6 (winnings VARCHAR, avg_finish VARCHAR)
SELECT winnings FROM table_1637041_6 WHERE avg_finish = "11.1"
What are the winnings for the season where the average finish is 11.1?
<s>[INST]What are the winnings for the season where the average finish is 11.1? Context: CREATE TABLE table_1637041_6 (winnings VARCHAR, avg_finish VARCHAR)[/INST]SELECT winnings FROM table_1637041_6 WHERE avg_finish = "11.1"</s>