context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_84 (rank INTEGER, floors VARCHAR)
SELECT AVG(rank) FROM table_name_84 WHERE floors = 24
What is the average rank for a building with 24 floors?
<s>[INST]What is the average rank for a building with 24 floors? Context: CREATE TABLE table_name_84 (rank INTEGER, floors VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_84 WHERE floors = 24</s>
CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_5 WHERE date = "april 24"
Name the opponent for april 24
<s>[INST]Name the opponent for april 24 Context: CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_5 WHERE date = "april 24"</s>
CREATE TABLE table_29583441_1 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_29583441_1 WHERE directed_by = "Christian I. Nyby II"
What date did the episode that was directed by Christian i. nyby ii originally air on?
<s>[INST]What date did the episode that was directed by Christian i. nyby ii originally air on? Context: CREATE TABLE table_29583441_1 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT original_air_date FROM table_29583441_1 WHERE directed_by = "Christian I. Nyby II"</s>
CREATE TABLE school (enrollment INTEGER)
SELECT SUM(enrollment), AVG(enrollment) FROM school
What are the total and average enrollment of all schools?
<s>[INST]What are the total and average enrollment of all schools? Context: CREATE TABLE school (enrollment INTEGER)[/INST]SELECT SUM(enrollment), AVG(enrollment) FROM school</s>
CREATE TABLE table_1140105_6 (constructor VARCHAR, date VARCHAR)
SELECT constructor FROM table_1140105_6 WHERE date = "26 March"
What is te name of the constructors dated 26 march?
<s>[INST]What is te name of the constructors dated 26 march? Context: CREATE TABLE table_1140105_6 (constructor VARCHAR, date VARCHAR)[/INST]SELECT constructor FROM table_1140105_6 WHERE date = "26 March"</s>
CREATE TABLE table_16028479_2 (game_site VARCHAR, attendance VARCHAR)
SELECT game_site FROM table_16028479_2 WHERE attendance = 79176
At which stadiums was attendance total 79176?
<s>[INST]At which stadiums was attendance total 79176? Context: CREATE TABLE table_16028479_2 (game_site VARCHAR, attendance VARCHAR)[/INST]SELECT game_site FROM table_16028479_2 WHERE attendance = 79176</s>
CREATE TABLE table_name_72 (year INTEGER, theatre VARCHAR)
SELECT MIN(year) FROM table_name_72 WHERE theatre = "shubert theatre"
Tell me the lowest year for shubert theatre
<s>[INST]Tell me the lowest year for shubert theatre Context: CREATE TABLE table_name_72 (year INTEGER, theatre VARCHAR)[/INST]SELECT MIN(year) FROM table_name_72 WHERE theatre = "shubert theatre"</s>
CREATE TABLE table_name_14 (place VARCHAR, player VARCHAR, score VARCHAR, to_par VARCHAR)
SELECT place FROM table_name_14 WHERE score > 68 AND to_par = "e" AND player = "bunky henry"
When Bunky Henry of the United States scored higher than 68 and his To par was e, what was his place?
<s>[INST]When Bunky Henry of the United States scored higher than 68 and his To par was e, what was his place? Context: CREATE TABLE table_name_14 (place VARCHAR, player VARCHAR, score VARCHAR, to_par VARCHAR)[/INST]SELECT place FROM table_name_14 WHERE score > 68 AND to_par = "e" AND player = "bunky henry"</s>
CREATE TABLE table_name_98 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_98 WHERE venue = "junction oval"
Who was the home team for the game played at Junction Oval?
<s>[INST]Who was the home team for the game played at Junction Oval? Context: CREATE TABLE table_name_98 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_98 WHERE venue = "junction oval"</s>
CREATE TABLE table_name_70 (coding VARCHAR, variant_id VARCHAR)
SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = "1a 2" AND variant_id = "abd'1a 2"
Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?
<s>[INST]Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2? Context: CREATE TABLE table_name_70 (coding VARCHAR, variant_id VARCHAR)[/INST]SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = "1a 2" AND variant_id = "abd'1a 2"</s>
CREATE TABLE table_name_57 (high_rebounds VARCHAR, high_assists VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_name_57 WHERE high_assists = "jason kidd (8)" AND score = "w 105–95 (ot)"
Who had the high rebounds when the score was w 105–95 (ot) and Jason Kidd (8) had the high assists?
<s>[INST]Who had the high rebounds when the score was w 105–95 (ot) and Jason Kidd (8) had the high assists? Context: CREATE TABLE table_name_57 (high_rebounds VARCHAR, high_assists VARCHAR, score VARCHAR)[/INST]SELECT high_rebounds FROM table_name_57 WHERE high_assists = "jason kidd (8)" AND score = "w 105–95 (ot)"</s...
CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, Accreditation_type VARCHAR)
SELECT Hardware_Model_name, Company_name FROM phone WHERE Accreditation_type LIKE 'Full'
Find all phones that have word 'Full' in their accreditation types. List the Hardware Model name and Company name.
<s>[INST]Find all phones that have word 'Full' in their accreditation types. List the Hardware Model name and Company name. Context: CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, Accreditation_type VARCHAR)[/INST]SELECT Hardware_Model_name, Company_name FROM phone WHERE Accreditation_type LIKE ...
CREATE TABLE table_name_61 (try_bonus VARCHAR, points_against VARCHAR)
SELECT try_bonus FROM table_name_61 WHERE points_against = "488"
What Try bonus has a Points against of 488?
<s>[INST]What Try bonus has a Points against of 488? Context: CREATE TABLE table_name_61 (try_bonus VARCHAR, points_against VARCHAR)[/INST]SELECT try_bonus FROM table_name_61 WHERE points_against = "488"</s>
CREATE TABLE table_1979203_1 (_virtual_ VARCHAR, callsign VARCHAR)
SELECT _virtual_ FROM table_1979203_1 WHERE callsign = "WNET"
what is the virtual callsign if is wnet
<s>[INST]what is the virtual callsign if is wnet Context: CREATE TABLE table_1979203_1 (_virtual_ VARCHAR, callsign VARCHAR)[/INST]SELECT _virtual_ FROM table_1979203_1 WHERE callsign = "WNET"</s>
CREATE TABLE table_name_12 (date_performed VARCHAR, position VARCHAR, scores_by_each_individual_judge VARCHAR)
SELECT date_performed FROM table_name_12 WHERE position = "bottom 3" AND scores_by_each_individual_judge = 5 + 5 + 4 = 14
Which Date performed has a Position of bottom 3, and Scores by each individual judge of 5 + 5 + 4 = 14?
<s>[INST]Which Date performed has a Position of bottom 3, and Scores by each individual judge of 5 + 5 + 4 = 14? Context: CREATE TABLE table_name_12 (date_performed VARCHAR, position VARCHAR, scores_by_each_individual_judge VARCHAR)[/INST]SELECT date_performed FROM table_name_12 WHERE position = "bottom 3" AND scores_b...
CREATE TABLE table_27756164_2 (date VARCHAR, high_points VARCHAR)
SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (27)"
When did the Roy Hibbert (27) did the high points?
<s>[INST]When did the Roy Hibbert (27) did the high points? Context: CREATE TABLE table_27756164_2 (date VARCHAR, high_points VARCHAR)[/INST]SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (27)"</s>
CREATE TABLE table_name_21 (sensor VARCHAR, camera VARCHAR, output VARCHAR, sensor_resolution VARCHAR, cpu_usage VARCHAR)
SELECT sensor FROM table_name_21 WHERE sensor_resolution = "640x480" AND cpu_usage = "small" AND output = "jpeg compressed" AND camera = "sony playstation eyetoy"
What sensor has a resolution of 640x480 with small CPU usage, jpeg compressed output and a camera of sony playstation eyetoy?
<s>[INST]What sensor has a resolution of 640x480 with small CPU usage, jpeg compressed output and a camera of sony playstation eyetoy? Context: CREATE TABLE table_name_21 (sensor VARCHAR, camera VARCHAR, output VARCHAR, sensor_resolution VARCHAR, cpu_usage VARCHAR)[/INST]SELECT sensor FROM table_name_21 WHERE sensor_re...
CREATE TABLE table_name_36 (part_3 VARCHAR, part_1 VARCHAR)
SELECT part_3 FROM table_name_36 WHERE part_1 = "frjósa"
What is Part 3, when Part 1 is "frjósa"?
<s>[INST]What is Part 3, when Part 1 is "frjósa"? Context: CREATE TABLE table_name_36 (part_3 VARCHAR, part_1 VARCHAR)[/INST]SELECT part_3 FROM table_name_36 WHERE part_1 = "frjósa"</s>
CREATE TABLE table_name_62 (game INTEGER, record VARCHAR)
SELECT MAX(game) FROM table_name_62 WHERE record = "24-23"
What is the highest game with a 24-23 record?
<s>[INST]What is the highest game with a 24-23 record? Context: CREATE TABLE table_name_62 (game INTEGER, record VARCHAR)[/INST]SELECT MAX(game) FROM table_name_62 WHERE record = "24-23"</s>
CREATE TABLE table_name_93 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_93 WHERE score = "3 - 2"
Score of 3 - 2 had what record?
<s>[INST]Score of 3 - 2 had what record? Context: CREATE TABLE table_name_93 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_93 WHERE score = "3 - 2"</s>
CREATE TABLE table_14889048_2 (draws VARCHAR, team VARCHAR)
SELECT COUNT(draws) FROM table_14889048_2 WHERE team = "Libertad"
How may draws did libertad have?
<s>[INST]How may draws did libertad have? Context: CREATE TABLE table_14889048_2 (draws VARCHAR, team VARCHAR)[/INST]SELECT COUNT(draws) FROM table_14889048_2 WHERE team = "Libertad"</s>
CREATE TABLE table_name_24 (year VARCHAR, chassis VARCHAR, points VARCHAR)
SELECT COUNT(year) FROM table_name_24 WHERE chassis = "ferrari 625" AND points = "2"
What is the total number of years that has a chassis of Ferrari 625 and 2 points?
<s>[INST]What is the total number of years that has a chassis of Ferrari 625 and 2 points? Context: CREATE TABLE table_name_24 (year VARCHAR, chassis VARCHAR, points VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_24 WHERE chassis = "ferrari 625" AND points = "2"</s>
CREATE TABLE table_name_3 (opponent VARCHAR, february VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_3 WHERE february > 7 AND record = "37-16-4"
Which Opponent has a February larger than 7 and Record of 37-16-4?
<s>[INST]Which Opponent has a February larger than 7 and Record of 37-16-4? Context: CREATE TABLE table_name_3 (opponent VARCHAR, february VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_3 WHERE february > 7 AND record = "37-16-4"</s>
CREATE TABLE table_name_52 (region VARCHAR, home_venue VARCHAR)
SELECT region FROM table_name_52 WHERE home_venue = "giuseppe sivori"
What region has giuseppe sivori as a home venue?
<s>[INST]What region has giuseppe sivori as a home venue? Context: CREATE TABLE table_name_52 (region VARCHAR, home_venue VARCHAR)[/INST]SELECT region FROM table_name_52 WHERE home_venue = "giuseppe sivori"</s>
CREATE TABLE table_name_3 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_3 WHERE player = "mark eaton"
Who did mark eaton play for?
<s>[INST]Who did mark eaton play for? Context: CREATE TABLE table_name_3 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_3 WHERE player = "mark eaton"</s>
CREATE TABLE table_19805130_3 (rating VARCHAR, viewers__millions_ VARCHAR)
SELECT rating FROM table_19805130_3 WHERE rating / SHARE(18 - 49) = 2.0 / 6 AND viewers__millions_ = "5.14"
If the amount of viewers is 5.14 million and the rating/share is 2.0/6, what is the ranking?
<s>[INST]If the amount of viewers is 5.14 million and the rating/share is 2.0/6, what is the ranking? Context: CREATE TABLE table_19805130_3 (rating VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT rating FROM table_19805130_3 WHERE rating / SHARE(18 - 49) = 2.0 / 6 AND viewers__millions_ = "5.14"</s>
CREATE TABLE table_name_52 (player VARCHAR, figures VARCHAR)
SELECT player FROM table_name_52 WHERE figures = "source: . last updated: 28 june 2007."
What is Player, when Figures is source: . last updated: 28 june 2007.?
<s>[INST]What is Player, when Figures is source: . last updated: 28 june 2007.? Context: CREATE TABLE table_name_52 (player VARCHAR, figures VARCHAR)[/INST]SELECT player FROM table_name_52 WHERE figures = "source: . last updated: 28 june 2007."</s>
CREATE TABLE table_17155250_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT language_s_ FROM table_17155250_1 WHERE film_title_used_in_nomination = "FireDancer"
What languages were spoken in the film "FireDancer"?
<s>[INST]What languages were spoken in the film "FireDancer"? Context: CREATE TABLE table_17155250_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT language_s_ FROM table_17155250_1 WHERE film_title_used_in_nomination = "FireDancer"</s>
CREATE TABLE table_name_54 (status VARCHAR, builder VARCHAR)
SELECT status FROM table_name_54 WHERE builder = "orenstein and koppel"
Name the status with builder of orenstein and koppel
<s>[INST]Name the status with builder of orenstein and koppel Context: CREATE TABLE table_name_54 (status VARCHAR, builder VARCHAR)[/INST]SELECT status FROM table_name_54 WHERE builder = "orenstein and koppel"</s>
CREATE TABLE table_name_33 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
SELECT winning_driver FROM table_name_33 WHERE winning_constructor = "mercedes" AND name = "elgin trophy"
Which Winning driver has a Winning constructor of mercedes, and a Name of elgin trophy?
<s>[INST]Which Winning driver has a Winning constructor of mercedes, and a Name of elgin trophy? Context: CREATE TABLE table_name_33 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)[/INST]SELECT winning_driver FROM table_name_33 WHERE winning_constructor = "mercedes" AND name = "elgin trophy"</s>
CREATE TABLE table_256862_1 (legs INTEGER, winning_yacht VARCHAR)
SELECT MAX(legs) FROM table_256862_1 WHERE winning_yacht = "Steinlager 2"
Name the most legs for steinlager 2
<s>[INST]Name the most legs for steinlager 2 Context: CREATE TABLE table_256862_1 (legs INTEGER, winning_yacht VARCHAR)[/INST]SELECT MAX(legs) FROM table_256862_1 WHERE winning_yacht = "Steinlager 2"</s>
CREATE TABLE table_name_58 (drawn INTEGER, difference VARCHAR)
SELECT AVG(drawn) FROM table_name_58 WHERE difference = "14"
Which Drawn has a Difference of 14?
<s>[INST]Which Drawn has a Difference of 14? Context: CREATE TABLE table_name_58 (drawn INTEGER, difference VARCHAR)[/INST]SELECT AVG(drawn) FROM table_name_58 WHERE difference = "14"</s>
CREATE TABLE table_name_88 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_88 WHERE date = "november 20, 1966"
Who is the opponent on November 20, 1966?
<s>[INST]Who is the opponent on November 20, 1966? Context: CREATE TABLE table_name_88 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_88 WHERE date = "november 20, 1966"</s>
CREATE TABLE table_14889048_1 (draws VARCHAR, conceded VARCHAR)
SELECT COUNT(draws) FROM table_14889048_1 WHERE conceded = 25
Name the number of draws for when conceded is 25
<s>[INST]Name the number of draws for when conceded is 25 Context: CREATE TABLE table_14889048_1 (draws VARCHAR, conceded VARCHAR)[/INST]SELECT COUNT(draws) FROM table_14889048_1 WHERE conceded = 25</s>
CREATE TABLE table_name_36 (sportsperson VARCHAR, sport VARCHAR)
SELECT sportsperson FROM table_name_36 WHERE sport = "athletics"
Who playes the sport of athletics?
<s>[INST]Who playes the sport of athletics? Context: CREATE TABLE table_name_36 (sportsperson VARCHAR, sport VARCHAR)[/INST]SELECT sportsperson FROM table_name_36 WHERE sport = "athletics"</s>
CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR)
SELECT T1.name, T1.city, T2.src_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid GROUP BY T2.src_apid ORDER BY COUNT(*) DESC LIMIT 1
Find the name and city of the airport which is the source for the most number of flight routes.
<s>[INST]Find the name and city of the airport which is the source for the most number of flight routes. Context: CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR)[/INST]SELECT T1.name, T1.city, T2.src_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_...
CREATE TABLE mountain (id VARCHAR, country VARCHAR); CREATE TABLE photos (camera_lens_id VARCHAR, mountain_id VARCHAR)
SELECT COUNT(DISTINCT T2.camera_lens_id) FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id WHERE T1.country = 'Ethiopia'
How many distinct kinds of camera lenses are used to take photos of mountains in the country 'Ethiopia'?
<s>[INST]How many distinct kinds of camera lenses are used to take photos of mountains in the country 'Ethiopia'? Context: CREATE TABLE mountain (id VARCHAR, country VARCHAR); CREATE TABLE photos (camera_lens_id VARCHAR, mountain_id VARCHAR)[/INST]SELECT COUNT(DISTINCT T2.camera_lens_id) FROM mountain AS T1 JOIN photos...
CREATE TABLE table_name_11 (member INTEGER, magnitude VARCHAR, saros VARCHAR, gamma VARCHAR)
SELECT SUM(member) FROM table_name_11 WHERE saros > 127 AND gamma < 1.1508 AND magnitude = 0.742
what is the sum of the member when the saros is more than 127, gamma is less than 1.1508 and the magnitude is 0.742?
<s>[INST]what is the sum of the member when the saros is more than 127, gamma is less than 1.1508 and the magnitude is 0.742? Context: CREATE TABLE table_name_11 (member INTEGER, magnitude VARCHAR, saros VARCHAR, gamma VARCHAR)[/INST]SELECT SUM(member) FROM table_name_11 WHERE saros > 127 AND gamma < 1.1508 AND magnitu...
CREATE TABLE table_16168849_1 (joined VARCHAR, nickname VARCHAR)
SELECT joined FROM table_16168849_1 WHERE nickname = "Blue Hose"
Name the joined for blue hose
<s>[INST]Name the joined for blue hose Context: CREATE TABLE table_16168849_1 (joined VARCHAR, nickname VARCHAR)[/INST]SELECT joined FROM table_16168849_1 WHERE nickname = "Blue Hose"</s>
CREATE TABLE table_name_99 (visiting_team VARCHAR, stadium VARCHAR)
SELECT visiting_team FROM table_name_99 WHERE stadium = "candlestick park"
During the game at Candlestick Park, who was the visiting team?
<s>[INST]During the game at Candlestick Park, who was the visiting team? Context: CREATE TABLE table_name_99 (visiting_team VARCHAR, stadium VARCHAR)[/INST]SELECT visiting_team FROM table_name_99 WHERE stadium = "candlestick park"</s>
CREATE TABLE table_191105_3 (first_aired INTEGER, performed_by VARCHAR)
SELECT MIN(first_aired) FROM table_191105_3 WHERE performed_by = "Zachary Sanders"
When zachary sanders is the performer what is the lowerst first aired?
<s>[INST]When zachary sanders is the performer what is the lowerst first aired? Context: CREATE TABLE table_191105_3 (first_aired INTEGER, performed_by VARCHAR)[/INST]SELECT MIN(first_aired) FROM table_191105_3 WHERE performed_by = "Zachary Sanders"</s>
CREATE TABLE table_name_50 (date_from VARCHAR, position VARCHAR, name VARCHAR)
SELECT date_from FROM table_name_50 WHERE position = "mf" AND name = "jennison myrie-williams"
What is the date for the MF position and player Jennison Myrie-Williams?
<s>[INST]What is the date for the MF position and player Jennison Myrie-Williams? Context: CREATE TABLE table_name_50 (date_from VARCHAR, position VARCHAR, name VARCHAR)[/INST]SELECT date_from FROM table_name_50 WHERE position = "mf" AND name = "jennison myrie-williams"</s>
CREATE TABLE table_name_99 (year VARCHAR, cable VARCHAR)
SELECT year FROM table_name_99 WHERE cable = "4.6%"
What is the year when cable was 4.6%?
<s>[INST]What is the year when cable was 4.6%? Context: CREATE TABLE table_name_99 (year VARCHAR, cable VARCHAR)[/INST]SELECT year FROM table_name_99 WHERE cable = "4.6%"</s>
CREATE TABLE table_name_43 (power VARCHAR, capacity VARCHAR)
SELECT power FROM table_name_43 WHERE capacity = "898cc"
what is the power when the capacity is 898cc?
<s>[INST]what is the power when the capacity is 898cc? Context: CREATE TABLE table_name_43 (power VARCHAR, capacity VARCHAR)[/INST]SELECT power FROM table_name_43 WHERE capacity = "898cc"</s>
CREATE TABLE table_name_68 (silver INTEGER, rank VARCHAR, total VARCHAR)
SELECT MIN(silver) FROM table_name_68 WHERE rank = 4 AND total > 1
What is the lowest number of silver medals with a rank of 4 and total medals greater than 1?
<s>[INST]What is the lowest number of silver medals with a rank of 4 and total medals greater than 1? Context: CREATE TABLE table_name_68 (silver INTEGER, rank VARCHAR, total VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_68 WHERE rank = 4 AND total > 1</s>
CREATE TABLE table_name_49 (co_drivers VARCHAR, year INTEGER)
SELECT co_drivers FROM table_name_49 WHERE year > 2010
Who were the co-drivers in years after 2010?
<s>[INST]Who were the co-drivers in years after 2010? Context: CREATE TABLE table_name_49 (co_drivers VARCHAR, year INTEGER)[/INST]SELECT co_drivers FROM table_name_49 WHERE year > 2010</s>
CREATE TABLE table_name_26 (code_name VARCHAR, southbridge VARCHAR)
SELECT code_name FROM table_name_26 WHERE southbridge = "amd-766, via-vt82c686b"
What is the code name when the Southbridge shows as amd-766, via-vt82c686b?
<s>[INST]What is the code name when the Southbridge shows as amd-766, via-vt82c686b? Context: CREATE TABLE table_name_26 (code_name VARCHAR, southbridge VARCHAR)[/INST]SELECT code_name FROM table_name_26 WHERE southbridge = "amd-766, via-vt82c686b"</s>
CREATE TABLE table_25244412_2 (total_electricity__gw VARCHAR, _percentage_renewable VARCHAR)
SELECT COUNT(total_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE _percentage_renewable = "92.3%"
How many data was given the total electricity in GW-h if % renewable is 92.3%?
<s>[INST]How many data was given the total electricity in GW-h if % renewable is 92.3%? Context: CREATE TABLE table_25244412_2 (total_electricity__gw VARCHAR, _percentage_renewable VARCHAR)[/INST]SELECT COUNT(total_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE _percentage_renewable = "92.3%"</s>
CREATE TABLE table_14520977_1 (week VARCHAR, location VARCHAR)
SELECT week FROM table_14520977_1 WHERE location = "Kingdome"
Name the week for kingdome
<s>[INST]Name the week for kingdome Context: CREATE TABLE table_14520977_1 (week VARCHAR, location VARCHAR)[/INST]SELECT week FROM table_14520977_1 WHERE location = "Kingdome"</s>
CREATE TABLE table_name_35 (year VARCHAR, team VARCHAR, pos VARCHAR)
SELECT COUNT(year) FROM table_name_35 WHERE team = "aston martin racing" AND pos = "6th"
In what year did the team of aston martin racing have a position of 6th?
<s>[INST]In what year did the team of aston martin racing have a position of 6th? Context: CREATE TABLE table_name_35 (year VARCHAR, team VARCHAR, pos VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_35 WHERE team = "aston martin racing" AND pos = "6th"</s>
CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR)
SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38
What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"?
<s>[INST]What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"? Context: CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR)[/INST]SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38</s>
CREATE TABLE Customer_Orders (Actual_Delivery_Date VARCHAR, Order_ID VARCHAR); CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Order_Quantity VARCHAR)
SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID WHERE T2.Order_Quantity = 1
What are the actual delivery dates of orders with quantity 1?
<s>[INST]What are the actual delivery dates of orders with quantity 1? Context: CREATE TABLE Customer_Orders (Actual_Delivery_Date VARCHAR, Order_ID VARCHAR); CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Order_Quantity VARCHAR)[/INST]SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1....
CREATE TABLE table_27469019_2 (television_network VARCHAR, television_channel VARCHAR)
SELECT television_network FROM table_27469019_2 WHERE television_channel = "Astro Pelangi & Astro Bintang"
What is the television network with the television channel of Astro Pelangi & Astro Bintang?
<s>[INST]What is the television network with the television channel of Astro Pelangi & Astro Bintang? Context: CREATE TABLE table_27469019_2 (television_network VARCHAR, television_channel VARCHAR)[/INST]SELECT television_network FROM table_27469019_2 WHERE television_channel = "Astro Pelangi & Astro Bintang"</s>
CREATE TABLE table_20906175_3 (qb_rating VARCHAR, name VARCHAR)
SELECT qb_rating FROM table_20906175_3 WHERE name = "Neil Lomax"
What was the QB rating for Neil lomax?
<s>[INST]What was the QB rating for Neil lomax? Context: CREATE TABLE table_20906175_3 (qb_rating VARCHAR, name VARCHAR)[/INST]SELECT qb_rating FROM table_20906175_3 WHERE name = "Neil Lomax"</s>
CREATE TABLE table_name_97 (points_against VARCHAR, team VARCHAR, tries_against VARCHAR)
SELECT COUNT(points_against) FROM table_name_97 WHERE team = "cardiff" AND tries_against < 7
How many points against has team Cardiff had when there were less than 7 tries?
<s>[INST]How many points against has team Cardiff had when there were less than 7 tries? Context: CREATE TABLE table_name_97 (points_against VARCHAR, team VARCHAR, tries_against VARCHAR)[/INST]SELECT COUNT(points_against) FROM table_name_97 WHERE team = "cardiff" AND tries_against < 7</s>
CREATE TABLE table_name_2 (finish VARCHAR, laps VARCHAR, qual VARCHAR)
SELECT finish FROM table_name_2 WHERE laps > 192 AND qual = "135.736"
What is the finish when there was more than 192 laps and a qual of 135.736?
<s>[INST]What is the finish when there was more than 192 laps and a qual of 135.736? Context: CREATE TABLE table_name_2 (finish VARCHAR, laps VARCHAR, qual VARCHAR)[/INST]SELECT finish FROM table_name_2 WHERE laps > 192 AND qual = "135.736"</s>
CREATE TABLE station (city VARCHAR, lat INTEGER)
SELECT city FROM station GROUP BY city ORDER BY MAX(lat) DESC
List all the cities in a decreasing order of each city's stations' highest latitude.
<s>[INST]List all the cities in a decreasing order of each city's stations' highest latitude. Context: CREATE TABLE station (city VARCHAR, lat INTEGER)[/INST]SELECT city FROM station GROUP BY city ORDER BY MAX(lat) DESC</s>
CREATE TABLE table_name_74 (hometown_school VARCHAR, team VARCHAR)
SELECT hometown_school FROM table_name_74 WHERE team = "atlanta braves"
Which Hometown/School has a Team of atlanta braves?
<s>[INST]Which Hometown/School has a Team of atlanta braves? Context: CREATE TABLE table_name_74 (hometown_school VARCHAR, team VARCHAR)[/INST]SELECT hometown_school FROM table_name_74 WHERE team = "atlanta braves"</s>
CREATE TABLE table_name_93 (money___ INTEGER, country VARCHAR, player VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND player = "bob gilder"
What is the most money United States player Bob Gilder won?
<s>[INST]What is the most money United States player Bob Gilder won? Context: CREATE TABLE table_name_93 (money___ INTEGER, country VARCHAR, player VARCHAR)[/INST]SELECT MAX(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND player = "bob gilder"</s>
CREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_82 WHERE home_team = "hawthorn"
What team played Hawthorn?
<s>[INST]What team played Hawthorn? Context: CREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_82 WHERE home_team = "hawthorn"</s>
CREATE TABLE table_name_78 (date VARCHAR, performer_2 VARCHAR, performer_4 VARCHAR, episode VARCHAR)
SELECT date FROM table_name_78 WHERE performer_4 = "ryan stiles" AND episode > 5 AND performer_2 = "wayne brady"
What day was wayne brady performer 2, ryan stiles performer 4, and an episode number greater than 5?
<s>[INST]What day was wayne brady performer 2, ryan stiles performer 4, and an episode number greater than 5? Context: CREATE TABLE table_name_78 (date VARCHAR, performer_2 VARCHAR, performer_4 VARCHAR, episode VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE performer_4 = "ryan stiles" AND episode > 5 AND performer...
CREATE TABLE table_name_50 (bronze VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR)
SELECT bronze FROM table_name_50 WHERE total > 2 AND gold = "1" AND silver = "4"
What is the bronze when silver is 4 and gold is 1 and the total is more than 2
<s>[INST]What is the bronze when silver is 4 and gold is 1 and the total is more than 2 Context: CREATE TABLE table_name_50 (bronze VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR)[/INST]SELECT bronze FROM table_name_50 WHERE total > 2 AND gold = "1" AND silver = "4"</s>
CREATE TABLE table_name_93 (location VARCHAR, winner VARCHAR)
SELECT location FROM table_name_93 WHERE winner = "hale irwin (19)"
Where was the tournament won by Hale Irwin (19)?
<s>[INST]Where was the tournament won by Hale Irwin (19)? Context: CREATE TABLE table_name_93 (location VARCHAR, winner VARCHAR)[/INST]SELECT location FROM table_name_93 WHERE winner = "hale irwin (19)"</s>
CREATE TABLE table_name_26 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_26 WHERE record = "11–8–2"
What team was the home team when the record was 11–8–2?
<s>[INST]What team was the home team when the record was 11–8–2? Context: CREATE TABLE table_name_26 (home VARCHAR, record VARCHAR)[/INST]SELECT home FROM table_name_26 WHERE record = "11–8–2"</s>
CREATE TABLE table_1929755_1 (top_5 VARCHAR, avg_start VARCHAR)
SELECT COUNT(top_5) FROM table_1929755_1 WHERE avg_start = "17.7"
HOw many top 5 starts did the team with an average start of 17.7 have?
<s>[INST]HOw many top 5 starts did the team with an average start of 17.7 have? Context: CREATE TABLE table_1929755_1 (top_5 VARCHAR, avg_start VARCHAR)[/INST]SELECT COUNT(top_5) FROM table_1929755_1 WHERE avg_start = "17.7"</s>
CREATE TABLE table_25730209_2 (points VARCHAR, player VARCHAR)
SELECT COUNT(points) FROM table_25730209_2 WHERE player = "Donald Green"
How many points did Donald Green score?
<s>[INST]How many points did Donald Green score? Context: CREATE TABLE table_25730209_2 (points VARCHAR, player VARCHAR)[/INST]SELECT COUNT(points) FROM table_25730209_2 WHERE player = "Donald Green"</s>
CREATE TABLE table_name_15 (city VARCHAR, sep VARCHAR)
SELECT city FROM table_name_15 WHERE sep = "83 °f / 28.3 °c"
Name the city with september of 83 °f / 28.3 °c
<s>[INST]Name the city with september of 83 °f / 28.3 °c Context: CREATE TABLE table_name_15 (city VARCHAR, sep VARCHAR)[/INST]SELECT city FROM table_name_15 WHERE sep = "83 °f / 28.3 °c"</s>
CREATE TABLE table_name_17 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MAX(rank) FROM table_name_17 WHERE nation = "china (chn)" AND bronze < 4
Which Rank has a Nation of china (chn), and a Bronze smaller than 4?
<s>[INST]Which Rank has a Nation of china (chn), and a Bronze smaller than 4? Context: CREATE TABLE table_name_17 (rank INTEGER, nation VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_17 WHERE nation = "china (chn)" AND bronze < 4</s>
CREATE TABLE table_28005160_2 (country VARCHAR, city VARCHAR)
SELECT COUNT(country) FROM table_28005160_2 WHERE city = "Ljungskile"
How many countries played in the city of ljungskile?
<s>[INST]How many countries played in the city of ljungskile? Context: CREATE TABLE table_28005160_2 (country VARCHAR, city VARCHAR)[/INST]SELECT COUNT(country) FROM table_28005160_2 WHERE city = "Ljungskile"</s>
CREATE TABLE table_25840200_1 (location VARCHAR, notes VARCHAR)
SELECT location FROM table_25840200_1 WHERE notes = "Undercard of Stevenson/Bellew"
Where was the Undercard of Stevenson/Bellew?
<s>[INST]Where was the Undercard of Stevenson/Bellew? Context: CREATE TABLE table_25840200_1 (location VARCHAR, notes VARCHAR)[/INST]SELECT location FROM table_25840200_1 WHERE notes = "Undercard of Stevenson/Bellew"</s>
CREATE TABLE Restaurant (TIME VARCHAR); CREATE TABLE Visits_Restaurant (TIME VARCHAR); CREATE TABLE Student (TIME VARCHAR)
SELECT TIME FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith" AND Restaurant.ResName = "Subway"
When did Linda Smith visit Subway?
<s>[INST]When did Linda Smith visit Subway? Context: CREATE TABLE Restaurant (TIME VARCHAR); CREATE TABLE Visits_Restaurant (TIME VARCHAR); CREATE TABLE Student (TIME VARCHAR)[/INST]SELECT TIME FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Re...
CREATE TABLE table_name_60 (country VARCHAR, play VARCHAR)
SELECT country FROM table_name_60 WHERE play = "electra"
What is the Country of the Play Electra?
<s>[INST]What is the Country of the Play Electra? Context: CREATE TABLE table_name_60 (country VARCHAR, play VARCHAR)[/INST]SELECT country FROM table_name_60 WHERE play = "electra"</s>
CREATE TABLE table_name_31 (no_vote VARCHAR, date VARCHAR, state VARCHAR)
SELECT no_vote FROM table_name_31 WHERE date = "1998" AND state = "alaska"
How many no votes from Alaska in 1998?
<s>[INST]How many no votes from Alaska in 1998? Context: CREATE TABLE table_name_31 (no_vote VARCHAR, date VARCHAR, state VARCHAR)[/INST]SELECT no_vote FROM table_name_31 WHERE date = "1998" AND state = "alaska"</s>
CREATE TABLE table_name_85 (host VARCHAR, region VARCHAR, venue VARCHAR)
SELECT host FROM table_name_85 WHERE region = "midwest" AND venue = "thomas assembly center"
Tell me the host for midwest thomas assembly center
<s>[INST]Tell me the host for midwest thomas assembly center Context: CREATE TABLE table_name_85 (host VARCHAR, region VARCHAR, venue VARCHAR)[/INST]SELECT host FROM table_name_85 WHERE region = "midwest" AND venue = "thomas assembly center"</s>
CREATE TABLE table_name_38 (qual VARCHAR, year VARCHAR)
SELECT qual FROM table_name_38 WHERE year = "1954"
What is the Qual listed on the Year of 1954?
<s>[INST]What is the Qual listed on the Year of 1954? Context: CREATE TABLE table_name_38 (qual VARCHAR, year VARCHAR)[/INST]SELECT qual FROM table_name_38 WHERE year = "1954"</s>
CREATE TABLE table_name_46 (replica VARCHAR, race VARCHAR)
SELECT replica FROM table_name_46 WHERE race = "supersport race 1"
What Replica has a race of supersport race 1?
<s>[INST]What Replica has a race of supersport race 1? Context: CREATE TABLE table_name_46 (replica VARCHAR, race VARCHAR)[/INST]SELECT replica FROM table_name_46 WHERE race = "supersport race 1"</s>
CREATE TABLE table_name_3 (width VARCHAR, entered_service VARCHAR)
SELECT width FROM table_name_3 WHERE entered_service = 2010
Which width had an entered service year of 2010?
<s>[INST]Which width had an entered service year of 2010? Context: CREATE TABLE table_name_3 (width VARCHAR, entered_service VARCHAR)[/INST]SELECT width FROM table_name_3 WHERE entered_service = 2010</s>
CREATE TABLE table_2361788_1 (year INTEGER, playoffs VARCHAR)
SELECT MAX(year) FROM table_2361788_1 WHERE playoffs = "Conference Finals"
Name the most year for conference finals
<s>[INST]Name the most year for conference finals Context: CREATE TABLE table_2361788_1 (year INTEGER, playoffs VARCHAR)[/INST]SELECT MAX(year) FROM table_2361788_1 WHERE playoffs = "Conference Finals"</s>
CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_1 WHERE date = "october 20"
What was the oilers record on October 20?
<s>[INST]What was the oilers record on October 20? Context: CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_1 WHERE date = "october 20"</s>
CREATE TABLE table_name_86 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_86 WHERE rider = "colin edwards" AND laps < 28
Which Grid is the highest one that has a Rider of colin edwards, and Laps smaller than 28?
<s>[INST]Which Grid is the highest one that has a Rider of colin edwards, and Laps smaller than 28? Context: CREATE TABLE table_name_86 (grid INTEGER, rider VARCHAR, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_86 WHERE rider = "colin edwards" AND laps < 28</s>
CREATE TABLE table_16494599_1 (player VARCHAR, years_for_grizzlies VARCHAR)
SELECT player FROM table_16494599_1 WHERE years_for_grizzlies = "2009-2013"
What player was on the Grizzlies from 2009-2013?
<s>[INST]What player was on the Grizzlies from 2009-2013? Context: CREATE TABLE table_16494599_1 (player VARCHAR, years_for_grizzlies VARCHAR)[/INST]SELECT player FROM table_16494599_1 WHERE years_for_grizzlies = "2009-2013"</s>
CREATE TABLE table_name_56 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_56 WHERE record = "39-20"
What was the score when the Blue Jays had a record of 39-20?
<s>[INST]What was the score when the Blue Jays had a record of 39-20? Context: CREATE TABLE table_name_56 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_56 WHERE record = "39-20"</s>
CREATE TABLE table_name_69 (tonnage VARCHAR, date VARCHAR)
SELECT tonnage FROM table_name_69 WHERE date = 1914
What is the listed Tonnage for the Date of 1914?
<s>[INST]What is the listed Tonnage for the Date of 1914? Context: CREATE TABLE table_name_69 (tonnage VARCHAR, date VARCHAR)[/INST]SELECT tonnage FROM table_name_69 WHERE date = 1914</s>
CREATE TABLE phone (chip_model VARCHAR, Company_name VARCHAR); CREATE TABLE chip_model (ROM_MiB INTEGER, Model_name VARCHAR)
SELECT AVG(T1.ROM_MiB) FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T2.Company_name = "Nokia Corporation"
What is the average ROM size of phones produced by the company named "Nokia Corporation"?
<s>[INST]What is the average ROM size of phones produced by the company named "Nokia Corporation"? Context: CREATE TABLE phone (chip_model VARCHAR, Company_name VARCHAR); CREATE TABLE chip_model (ROM_MiB INTEGER, Model_name VARCHAR)[/INST]SELECT AVG(T1.ROM_MiB) FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = ...
CREATE TABLE table_name_4 (overall_record VARCHAR, last_10_meetings VARCHAR, at_norman VARCHAR)
SELECT overall_record FROM table_name_4 WHERE last_10_meetings = "ou, 7-3" AND at_norman = "ou, 18-3"
What is the Overall Record when the Last 10 Meetings is ou, 7-3, and Norman is ou, 18-3?
<s>[INST]What is the Overall Record when the Last 10 Meetings is ou, 7-3, and Norman is ou, 18-3? Context: CREATE TABLE table_name_4 (overall_record VARCHAR, last_10_meetings VARCHAR, at_norman VARCHAR)[/INST]SELECT overall_record FROM table_name_4 WHERE last_10_meetings = "ou, 7-3" AND at_norman = "ou, 18-3"</s>
CREATE TABLE table_233830_1 (channels VARCHAR, soundfield_type VARCHAR, height_order VARCHAR)
SELECT channels FROM table_233830_1 WHERE soundfield_type = "mixed-order" AND height_order = 1
If the height order is 1 and the soundfield type is mixed-order, what are all the channels?
<s>[INST]If the height order is 1 and the soundfield type is mixed-order, what are all the channels? Context: CREATE TABLE table_233830_1 (channels VARCHAR, soundfield_type VARCHAR, height_order VARCHAR)[/INST]SELECT channels FROM table_233830_1 WHERE soundfield_type = "mixed-order" AND height_order = 1</s>
CREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR)
SELECT year FROM table_name_6 WHERE win__percentage = "50.00%" AND matches > 14 AND wins > 8
What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8?
<s>[INST]What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8? Context: CREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR)[/INST]SELECT year FROM table_name_6 WHERE win__percentage = "50.00%" AND matches > 14 AND wins > 8</s>
CREATE TABLE table_name_47 (overall VARCHAR, name VARCHAR)
SELECT COUNT(overall) FROM table_name_47 WHERE name = "john cole"
What is John Cole's overall pick number?
<s>[INST]What is John Cole's overall pick number? Context: CREATE TABLE table_name_47 (overall VARCHAR, name VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_47 WHERE name = "john cole"</s>
CREATE TABLE table_name_47 (icb_sector VARCHAR, ticker_symbol VARCHAR)
SELECT icb_sector FROM table_name_47 WHERE ticker_symbol = "pp"
Which ICB Sector had a ticker symbol of pp?
<s>[INST]Which ICB Sector had a ticker symbol of pp? Context: CREATE TABLE table_name_47 (icb_sector VARCHAR, ticker_symbol VARCHAR)[/INST]SELECT icb_sector FROM table_name_47 WHERE ticker_symbol = "pp"</s>
CREATE TABLE table_1342331_43 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342331_43 WHERE incumbent = "James P. Buchanan"
What is the name of the candidate where the incumbent is named James P. Buchanan?
<s>[INST]What is the name of the candidate where the incumbent is named James P. Buchanan? Context: CREATE TABLE table_1342331_43 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342331_43 WHERE incumbent = "James P. Buchanan"</s>
CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_70 WHERE away_team = "melbourne"
What is the name of the home team when the away team was Melbourne?
<s>[INST]What is the name of the home team when the away team was Melbourne? Context: CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_70 WHERE away_team = "melbourne"</s>
CREATE TABLE member (Country VARCHAR)
SELECT Country, COUNT(*) FROM member GROUP BY Country
Show the different countries and the number of members from each.
<s>[INST]Show the different countries and the number of members from each. Context: CREATE TABLE member (Country VARCHAR)[/INST]SELECT Country, COUNT(*) FROM member GROUP BY Country</s>
CREATE TABLE table_name_2 (years_in_competition VARCHAR, premiership_years VARCHAR)
SELECT years_in_competition FROM table_name_2 WHERE premiership_years = "1982, 1984, 1999, 2002-03, 2008-09-10"
What was the Years in competition that had a Premiership of 1982, 1984, 1999, 2002-03, 2008-09-10?
<s>[INST]What was the Years in competition that had a Premiership of 1982, 1984, 1999, 2002-03, 2008-09-10? Context: CREATE TABLE table_name_2 (years_in_competition VARCHAR, premiership_years VARCHAR)[/INST]SELECT years_in_competition FROM table_name_2 WHERE premiership_years = "1982, 1984, 1999, 2002-03, 2008-09-10"</...
CREATE TABLE table_name_56 (country VARCHAR, peak VARCHAR, project_name VARCHAR)
SELECT country FROM table_name_56 WHERE peak = "20" AND project_name = "jarn yabhour; ramhan"
What country has peak 20 and a project named jarn yabhour; ramhan?
<s>[INST]What country has peak 20 and a project named jarn yabhour; ramhan? Context: CREATE TABLE table_name_56 (country VARCHAR, peak VARCHAR, project_name VARCHAR)[/INST]SELECT country FROM table_name_56 WHERE peak = "20" AND project_name = "jarn yabhour; ramhan"</s>
CREATE TABLE table_name_38 (date VARCHAR, episode VARCHAR)
SELECT date FROM table_name_38 WHERE episode = "one"
What date did episode one air on?
<s>[INST]What date did episode one air on? Context: CREATE TABLE table_name_38 (date VARCHAR, episode VARCHAR)[/INST]SELECT date FROM table_name_38 WHERE episode = "one"</s>
CREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_73 WHERE bronze = 0 AND total < 1
When the Total is less than 1, and Bronze is 0, how many Gold medals are there?
<s>[INST]When the Total is less than 1, and Bronze is 0, how many Gold medals are there? Context: CREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_73 WHERE bronze = 0 AND total < 1</s>
CREATE TABLE table_name_19 (penalty VARCHAR, player VARCHAR)
SELECT penalty FROM table_name_19 WHERE player = "jonathan toews"
What is the penalty for Jonathan Toews?
<s>[INST]What is the penalty for Jonathan Toews? Context: CREATE TABLE table_name_19 (penalty VARCHAR, player VARCHAR)[/INST]SELECT penalty FROM table_name_19 WHERE player = "jonathan toews"</s>
CREATE TABLE Addresses (address_id VARCHAR, line_1 VARCHAR, line_2 VARCHAR); CREATE TABLE Students (current_address_id VARCHAR)
SELECT T1.address_id, T1.line_1, T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.current_address_id GROUP BY T1.address_id ORDER BY COUNT(*) DESC LIMIT 1
Which address holds the most number of students currently? List the address id and all lines.
<s>[INST]Which address holds the most number of students currently? List the address id and all lines. Context: CREATE TABLE Addresses (address_id VARCHAR, line_1 VARCHAR, line_2 VARCHAR); CREATE TABLE Students (current_address_id VARCHAR)[/INST]SELECT T1.address_id, T1.line_1, T1.line_2 FROM Addresses AS T1 JOIN Stude...
CREATE TABLE files (f_id VARCHAR, duration VARCHAR); CREATE TABLE song (resolution INTEGER, f_id VARCHAR)
SELECT MAX(T2.resolution), MIN(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.duration LIKE "3:%"
What are the maximum and minimum resolution of songs whose duration is 3 minutes?
<s>[INST]What are the maximum and minimum resolution of songs whose duration is 3 minutes? Context: CREATE TABLE files (f_id VARCHAR, duration VARCHAR); CREATE TABLE song (resolution INTEGER, f_id VARCHAR)[/INST]SELECT MAX(T2.resolution), MIN(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1...
CREATE TABLE table_25887826_17 (avg VARCHAR)
SELECT COUNT(08 AS _a_pts) FROM table_25887826_17 WHERE avg = "1.1863"
How many figures for 08 A points for the team with 1.1863 average?
<s>[INST]How many figures for 08 A points for the team with 1.1863 average? Context: CREATE TABLE table_25887826_17 (avg VARCHAR)[/INST]SELECT COUNT(08 AS _a_pts) FROM table_25887826_17 WHERE avg = "1.1863"</s>