context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_7 (partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT partner FROM table_name_7 WHERE opponents_in_the_final = "flavio cipolla simone vagnozzi"
Who was the Partner for Flavio Cipolla Simone Vagnozzi Opponents in the final?
<s>[INST]Who was the Partner for Flavio Cipolla Simone Vagnozzi Opponents in the final? Context: CREATE TABLE table_name_7 (partner VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT partner FROM table_name_7 WHERE opponents_in_the_final = "flavio cipolla simone vagnozzi"</s>
CREATE TABLE table_name_80 (club VARCHAR, name VARCHAR)
SELECT club FROM table_name_80 WHERE name = "hafiz abu sujad"
Which club is associated with Hafiz Abu Sujad?
<s>[INST]Which club is associated with Hafiz Abu Sujad? Context: CREATE TABLE table_name_80 (club VARCHAR, name VARCHAR)[/INST]SELECT club FROM table_name_80 WHERE name = "hafiz abu sujad"</s>
CREATE TABLE table_14342210_6 (points INTEGER, position VARCHAR)
SELECT MAX(points) FROM table_14342210_6 WHERE position = "Left end"
Which left end player made the most points?
<s>[INST]Which left end player made the most points? Context: CREATE TABLE table_14342210_6 (points INTEGER, position VARCHAR)[/INST]SELECT MAX(points) FROM table_14342210_6 WHERE position = "Left end"</s>
CREATE TABLE table_25572118_1 (date VARCHAR, winning_driver VARCHAR)
SELECT date FROM table_25572118_1 WHERE winning_driver = "Fairuz Fauzy"
When fairuz fauzy is the winning driver what is the date?
<s>[INST]When fairuz fauzy is the winning driver what is the date? Context: CREATE TABLE table_25572118_1 (date VARCHAR, winning_driver VARCHAR)[/INST]SELECT date FROM table_25572118_1 WHERE winning_driver = "Fairuz Fauzy"</s>
CREATE TABLE table_1266602_1 (crew_chief VARCHAR, team VARCHAR)
SELECT COUNT(crew_chief) FROM table_1266602_1 WHERE team = "FAS Lane Racing"
What's the total number of crew chiefs of the Fas Lane Racing team?
<s>[INST]What's the total number of crew chiefs of the Fas Lane Racing team? Context: CREATE TABLE table_1266602_1 (crew_chief VARCHAR, team VARCHAR)[/INST]SELECT COUNT(crew_chief) FROM table_1266602_1 WHERE team = "FAS Lane Racing"</s>
CREATE TABLE table_name_67 (date VARCHAR, penciller VARCHAR, title VARCHAR)
SELECT date FROM table_name_67 WHERE penciller = "tomás giorello" AND title = "cimmeria"
What was the Date of the Cimmeria Issue for which the Penciller was Tomás Giorello?
<s>[INST]What was the Date of the Cimmeria Issue for which the Penciller was Tomás Giorello? Context: CREATE TABLE table_name_67 (date VARCHAR, penciller VARCHAR, title VARCHAR)[/INST]SELECT date FROM table_name_67 WHERE penciller = "tomás giorello" AND title = "cimmeria"</s>
CREATE TABLE table_name_51 (team VARCHAR, series VARCHAR)
SELECT team FROM table_name_51 WHERE series = "1-1"
What team did they play when the series was 1-1?
<s>[INST]What team did they play when the series was 1-1? Context: CREATE TABLE table_name_51 (team VARCHAR, series VARCHAR)[/INST]SELECT team FROM table_name_51 WHERE series = "1-1"</s>
CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, language VARCHAR)
SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE language = "Native and Spanish"
If the language is Native and Spanish, what is the Vinto Municipality minimum?
<s>[INST]If the language is Native and Spanish, what is the Vinto Municipality minimum? Context: CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, language VARCHAR)[/INST]SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE language = "Native and Spanish"</s>
CREATE TABLE table_name_40 (Id VARCHAR)
SELECT 2006 FROM table_name_40 WHERE 2003 = "not held" AND 2012 = "a"
What was the value in 2006 when 2003 was not held and 2012 was A?
<s>[INST]What was the value in 2006 when 2003 was not held and 2012 was A? Context: CREATE TABLE table_name_40 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_40 WHERE 2003 = "not held" AND 2012 = "a"</s>
CREATE TABLE song (artist_name VARCHAR, languages VARCHAR, rating INTEGER)
SELECT DISTINCT artist_name FROM song WHERE languages = "english" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating > 8
Find the names of the artists who have produced English songs but have never received rating higher than 8.
<s>[INST]Find the names of the artists who have produced English songs but have never received rating higher than 8. Context: CREATE TABLE song (artist_name VARCHAR, languages VARCHAR, rating INTEGER)[/INST]SELECT DISTINCT artist_name FROM song WHERE languages = "english" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating > 8</s>
CREATE TABLE table_name_78 (e_coli VARCHAR, human VARCHAR)
SELECT e_coli FROM table_name_78 WHERE human = "hneil1"
Which E. coli has a human value of HNEIL1?
<s>[INST]Which E. coli has a human value of HNEIL1? Context: CREATE TABLE table_name_78 (e_coli VARCHAR, human VARCHAR)[/INST]SELECT e_coli FROM table_name_78 WHERE human = "hneil1"</s>
CREATE TABLE table_name_37 (liberal VARCHAR, new_democratic VARCHAR, dates VARCHAR)
SELECT liberal FROM table_name_37 WHERE new_democratic = "36%" AND dates = "august 2008"
According to the August 2008 poll that reported 36% New Demcratic, what percentage aligned with the Liberal party?
<s>[INST]According to the August 2008 poll that reported 36% New Demcratic, what percentage aligned with the Liberal party? Context: CREATE TABLE table_name_37 (liberal VARCHAR, new_democratic VARCHAR, dates VARCHAR)[/INST]SELECT liberal FROM table_name_37 WHERE new_democratic = "36%" AND dates = "august 2008"</s>
CREATE TABLE table_name_30 (venue VARCHAR, result VARCHAR, extra VARCHAR)
SELECT venue FROM table_name_30 WHERE result = "2nd" AND extra = "4 x 100 m relay"
what is the venue when the result is 2nd and extra is 4 x 100 m relay?
<s>[INST]what is the venue when the result is 2nd and extra is 4 x 100 m relay? Context: CREATE TABLE table_name_30 (venue VARCHAR, result VARCHAR, extra VARCHAR)[/INST]SELECT venue FROM table_name_30 WHERE result = "2nd" AND extra = "4 x 100 m relay"</s>
CREATE TABLE table_name_89 (score VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT score FROM table_name_89 WHERE visitor = "toronto" AND record = "29-17-8"
Name the score for toronto visitor and record of 29-17-8
<s>[INST]Name the score for toronto visitor and record of 29-17-8 Context: CREATE TABLE table_name_89 (score VARCHAR, visitor VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_89 WHERE visitor = "toronto" AND record = "29-17-8"</s>
CREATE TABLE table_name_77 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_77 WHERE place = "t6" AND score = 68 - 69 - 70 = 207
What is the To par of the T6 Place Player with a Score of 68-69-70=207?
<s>[INST]What is the To par of the T6 Place Player with a Score of 68-69-70=207? Context: CREATE TABLE table_name_77 (to_par VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_77 WHERE place = "t6" AND score = 68 - 69 - 70 = 207</s>
CREATE TABLE table_name_73 (ch_1 VARCHAR, region_served VARCHAR)
SELECT ch_1 FROM table_name_73 WHERE region_served = "central tablelands"
What is the Ch1 in the region served by Central Tablelands?
<s>[INST]What is the Ch1 in the region served by Central Tablelands? Context: CREATE TABLE table_name_73 (ch_1 VARCHAR, region_served VARCHAR)[/INST]SELECT ch_1 FROM table_name_73 WHERE region_served = "central tablelands"</s>
CREATE TABLE table_2668367_7 (result VARCHAR, district VARCHAR)
SELECT result FROM table_2668367_7 WHERE district = "Kentucky 8"
What was the result in the election in the Kentucky 8 district?
<s>[INST]What was the result in the election in the Kentucky 8 district? Context: CREATE TABLE table_2668367_7 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_2668367_7 WHERE district = "Kentucky 8"</s>
CREATE TABLE table_name_82 (processors_supported VARCHAR, pci_express VARCHAR, model VARCHAR)
SELECT processors_supported FROM table_name_82 WHERE pci_express = "x16: 1 slot x1: 4 slots" AND model = "nforce 550"
Which processors are supported with a PCI-express of x16: 1 slot x1: 4 slots and the nforce 550 model?
<s>[INST]Which processors are supported with a PCI-express of x16: 1 slot x1: 4 slots and the nforce 550 model? Context: CREATE TABLE table_name_82 (processors_supported VARCHAR, pci_express VARCHAR, model VARCHAR)[/INST]SELECT processors_supported FROM table_name_82 WHERE pci_express = "x16: 1 slot x1: 4 slots" AND model = "nforce 550"</s>
CREATE TABLE table_name_37 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_37 WHERE date = "1 november 1997"
How many people in total attended the game on 1 november 1997?
<s>[INST]How many people in total attended the game on 1 november 1997? Context: CREATE TABLE table_name_37 (attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_37 WHERE date = "1 november 1997"</s>
CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_61 WHERE home_team = "geelong"
Who went to Geelong to play?
<s>[INST]Who went to Geelong to play? Context: CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_61 WHERE home_team = "geelong"</s>
CREATE TABLE table_name_24 (team VARCHAR, points_for VARCHAR)
SELECT team FROM table_name_24 WHERE points_for = "118"
What team has a 118 Point for?
<s>[INST]What team has a 118 Point for? Context: CREATE TABLE table_name_24 (team VARCHAR, points_for VARCHAR)[/INST]SELECT team FROM table_name_24 WHERE points_for = "118"</s>
CREATE TABLE table_name_91 (elector VARCHAR, cardinalatial_title VARCHAR)
SELECT elector FROM table_name_91 WHERE cardinalatial_title = "priest of s. sabina and archbishop of reims"
Who is the Elector with a Cardinalatial title of Priest of S. Sabina and Archbishop of Reims?
<s>[INST]Who is the Elector with a Cardinalatial title of Priest of S. Sabina and Archbishop of Reims? Context: CREATE TABLE table_name_91 (elector VARCHAR, cardinalatial_title VARCHAR)[/INST]SELECT elector FROM table_name_91 WHERE cardinalatial_title = "priest of s. sabina and archbishop of reims"</s>
CREATE TABLE table_27409644_1 (location VARCHAR, manager VARCHAR)
SELECT location FROM table_27409644_1 WHERE manager = "Richard Barnwell"
Where is the team that is managed by richard barnwell from?
<s>[INST]Where is the team that is managed by richard barnwell from? Context: CREATE TABLE table_27409644_1 (location VARCHAR, manager VARCHAR)[/INST]SELECT location FROM table_27409644_1 WHERE manager = "Richard Barnwell"</s>
CREATE TABLE table_name_76 (wins INTEGER, byes INTEGER)
SELECT MAX(wins) FROM table_name_76 WHERE byes > 2
What is the highest number of wins when there are more than 2 byes?
<s>[INST]What is the highest number of wins when there are more than 2 byes? Context: CREATE TABLE table_name_76 (wins INTEGER, byes INTEGER)[/INST]SELECT MAX(wins) FROM table_name_76 WHERE byes > 2</s>
CREATE TABLE table_1974443_1 (enrollment INTEGER, institution VARCHAR)
SELECT MAX(enrollment) FROM table_1974443_1 WHERE institution = "Concordia University"
What is the maximum enrollment for Concordia University?
<s>[INST]What is the maximum enrollment for Concordia University? Context: CREATE TABLE table_1974443_1 (enrollment INTEGER, institution VARCHAR)[/INST]SELECT MAX(enrollment) FROM table_1974443_1 WHERE institution = "Concordia University"</s>
CREATE TABLE table_name_88 (time_retired VARCHAR, manufacturer VARCHAR, rider VARCHAR)
SELECT time_retired FROM table_name_88 WHERE manufacturer = "yamaha" AND rider = "garry mccoy"
Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mccoy?
<s>[INST]Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mccoy? Context: CREATE TABLE table_name_88 (time_retired VARCHAR, manufacturer VARCHAR, rider VARCHAR)[/INST]SELECT time_retired FROM table_name_88 WHERE manufacturer = "yamaha" AND rider = "garry mccoy"</s>
CREATE TABLE table_name_51 (city_country VARCHAR, venue VARCHAR)
SELECT city_country FROM table_name_51 WHERE venue = "adelaide oval"
Name the place where adelaide oval is
<s>[INST]Name the place where adelaide oval is Context: CREATE TABLE table_name_51 (city_country VARCHAR, venue VARCHAR)[/INST]SELECT city_country FROM table_name_51 WHERE venue = "adelaide oval"</s>
CREATE TABLE table_name_46 (decile INTEGER, roll VARCHAR, years VARCHAR, authority VARCHAR)
SELECT MAX(decile) FROM table_name_46 WHERE years = "1–8" AND authority = "state" AND roll = 141
What is the largest Decile with Years of 1–8, anAuthority of state, and a Roll of 141?
<s>[INST]What is the largest Decile with Years of 1–8, anAuthority of state, and a Roll of 141? Context: CREATE TABLE table_name_46 (decile INTEGER, roll VARCHAR, years VARCHAR, authority VARCHAR)[/INST]SELECT MAX(decile) FROM table_name_46 WHERE years = "1–8" AND authority = "state" AND roll = 141</s>
CREATE TABLE table_name_92 (year INTEGER, position VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_92 WHERE position = "5th" AND venue = "osaka, japan"
What's the year in 5th position that happened in Osaka, Japan?
<s>[INST]What's the year in 5th position that happened in Osaka, Japan? Context: CREATE TABLE table_name_92 (year INTEGER, position VARCHAR, venue VARCHAR)[/INST]SELECT MIN(year) FROM table_name_92 WHERE position = "5th" AND venue = "osaka, japan"</s>
CREATE TABLE happy_hour (MONTH VARCHAR)
SELECT MONTH FROM happy_hour GROUP BY MONTH ORDER BY COUNT(*) DESC LIMIT 1
Which month has the most happy hours?
<s>[INST]Which month has the most happy hours? Context: CREATE TABLE happy_hour (MONTH VARCHAR)[/INST]SELECT MONTH FROM happy_hour GROUP BY MONTH ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_1231892_4 (title VARCHAR, broadcast_order VARCHAR)
SELECT title FROM table_1231892_4 WHERE broadcast_order = "S04 E01"
What's the title of the episode with a broadcast order s04 e01?
<s>[INST]What's the title of the episode with a broadcast order s04 e01? Context: CREATE TABLE table_1231892_4 (title VARCHAR, broadcast_order VARCHAR)[/INST]SELECT title FROM table_1231892_4 WHERE broadcast_order = "S04 E01"</s>
CREATE TABLE table_name_43 (position INTEGER, lost VARCHAR, against VARCHAR)
SELECT SUM(position) FROM table_name_43 WHERE lost > 16 AND against > 74
What is the position of the team with more than 16 losses and an against greater than 74?
<s>[INST]What is the position of the team with more than 16 losses and an against greater than 74? Context: CREATE TABLE table_name_43 (position INTEGER, lost VARCHAR, against VARCHAR)[/INST]SELECT SUM(position) FROM table_name_43 WHERE lost > 16 AND against > 74</s>
CREATE TABLE table_name_29 (power_output__kw_ VARCHAR, number_in_class VARCHAR)
SELECT power_output__kw_ FROM table_name_29 WHERE number_in_class = 5
What is the power output for class 5?
<s>[INST]What is the power output for class 5? Context: CREATE TABLE table_name_29 (power_output__kw_ VARCHAR, number_in_class VARCHAR)[/INST]SELECT power_output__kw_ FROM table_name_29 WHERE number_in_class = 5</s>
CREATE TABLE table_23274514_6 (date VARCHAR, record VARCHAR)
SELECT date FROM table_23274514_6 WHERE record = "14-27"
What day was the record 14-27?
<s>[INST]What day was the record 14-27? Context: CREATE TABLE table_23274514_6 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_23274514_6 WHERE record = "14-27"</s>
CREATE TABLE table_134987_3 (target_city__market VARCHAR, call_sign VARCHAR)
SELECT target_city__market FROM table_134987_3 WHERE call_sign = "KFXS"
What is the target market of the station with call sign KFXS?
<s>[INST]What is the target market of the station with call sign KFXS? Context: CREATE TABLE table_134987_3 (target_city__market VARCHAR, call_sign VARCHAR)[/INST]SELECT target_city__market FROM table_134987_3 WHERE call_sign = "KFXS"</s>
CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_37 WHERE week > 4 AND date = "october 15, 2000"
Who was the opponent in the game played after Week 4 on October 15, 2000?
<s>[INST]Who was the opponent in the game played after Week 4 on October 15, 2000? Context: CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_37 WHERE week > 4 AND date = "october 15, 2000"</s>
CREATE TABLE table_name_31 (round VARCHAR, against VARCHAR)
SELECT round FROM table_name_31 WHERE against = "greece"
What was the round when nueza silva played against greece?
<s>[INST]What was the round when nueza silva played against greece? Context: CREATE TABLE table_name_31 (round VARCHAR, against VARCHAR)[/INST]SELECT round FROM table_name_31 WHERE against = "greece"</s>
CREATE TABLE table_name_16 (caps VARCHAR, player VARCHAR, club_province VARCHAR, position VARCHAR)
SELECT COUNT(caps) FROM table_name_16 WHERE club_province = "munster" AND position = "lock" AND player = "mick o'driscoll"
How many Caps does the Club/province Munster, position of lock and Mick O'Driscoll have?
<s>[INST]How many Caps does the Club/province Munster, position of lock and Mick O'Driscoll have? Context: CREATE TABLE table_name_16 (caps VARCHAR, player VARCHAR, club_province VARCHAR, position VARCHAR)[/INST]SELECT COUNT(caps) FROM table_name_16 WHERE club_province = "munster" AND position = "lock" AND player = "mick o'driscoll"</s>
CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_41 WHERE to_par = "–4"
What is the name of the player with a To par of –4?
<s>[INST]What is the name of the player with a To par of –4? Context: CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_41 WHERE to_par = "–4"</s>
CREATE TABLE table_name_21 (site_stadium VARCHAR, date VARCHAR)
SELECT site_stadium FROM table_name_21 WHERE date = "may 9"
Where was the game on May 9 played?
<s>[INST]Where was the game on May 9 played? Context: CREATE TABLE table_name_21 (site_stadium VARCHAR, date VARCHAR)[/INST]SELECT site_stadium FROM table_name_21 WHERE date = "may 9"</s>
CREATE TABLE table_11793221_2 (wounded VARCHAR, complement VARCHAR)
SELECT wounded FROM table_11793221_2 WHERE complement = "173 off 2059 men"
How many were wounded when the complement was 173 off 2059 men?
<s>[INST]How many were wounded when the complement was 173 off 2059 men? Context: CREATE TABLE table_11793221_2 (wounded VARCHAR, complement VARCHAR)[/INST]SELECT wounded FROM table_11793221_2 WHERE complement = "173 off 2059 men"</s>
CREATE TABLE table_25561560_3 (sail_number VARCHAR, yacht VARCHAR)
SELECT sail_number FROM table_25561560_3 WHERE yacht = "Two True"
What was the sail number of Two True?
<s>[INST]What was the sail number of Two True? Context: CREATE TABLE table_25561560_3 (sail_number VARCHAR, yacht VARCHAR)[/INST]SELECT sail_number FROM table_25561560_3 WHERE yacht = "Two True"</s>
CREATE TABLE table_name_74 (games_lost INTEGER, points_against VARCHAR, points_difference VARCHAR)
SELECT SUM(games_lost) FROM table_name_74 WHERE points_against = 61 AND points_difference < 42
Which Games lost has Points against of 61, and Points difference smaller than 42?
<s>[INST]Which Games lost has Points against of 61, and Points difference smaller than 42? Context: CREATE TABLE table_name_74 (games_lost INTEGER, points_against VARCHAR, points_difference VARCHAR)[/INST]SELECT SUM(games_lost) FROM table_name_74 WHERE points_against = 61 AND points_difference < 42</s>
CREATE TABLE table_name_43 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_43 WHERE away_team = "carlton"
How many people were in the crowd when Carlton was the away team?
<s>[INST]How many people were in the crowd when Carlton was the away team? Context: CREATE TABLE table_name_43 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_43 WHERE away_team = "carlton"</s>
CREATE TABLE table_name_12 (opponent VARCHAR, method VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_12 WHERE method = "ko" AND record = "6-0"
What opponent used the Ko method, and a 6-0 record?
<s>[INST]What opponent used the Ko method, and a 6-0 record? Context: CREATE TABLE table_name_12 (opponent VARCHAR, method VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_12 WHERE method = "ko" AND record = "6-0"</s>
CREATE TABLE table_name_98 (constructor VARCHAR, chassis VARCHAR)
SELECT constructor FROM table_name_98 WHERE chassis = "ej15 ej15b"
Which constructor makes the ej15 ej15b chassis?
<s>[INST]Which constructor makes the ej15 ej15b chassis? Context: CREATE TABLE table_name_98 (constructor VARCHAR, chassis VARCHAR)[/INST]SELECT constructor FROM table_name_98 WHERE chassis = "ej15 ej15b"</s>
CREATE TABLE table_name_79 (rank INTEGER, name VARCHAR, status VARCHAR, floors VARCHAR)
SELECT AVG(rank) FROM table_name_79 WHERE status = "proposed" AND floors = 80 AND name = "celestia spaces 4"
What rank has a status of proposed, with 80 floors for Celestia Spaces 4?
<s>[INST]What rank has a status of proposed, with 80 floors for Celestia Spaces 4? Context: CREATE TABLE table_name_79 (rank INTEGER, name VARCHAR, status VARCHAR, floors VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_79 WHERE status = "proposed" AND floors = 80 AND name = "celestia spaces 4"</s>
CREATE TABLE table_29302711_12 (country VARCHAR, points VARCHAR)
SELECT COUNT(country) FROM table_29302711_12 WHERE points = 21
how many countries had 21 points
<s>[INST]how many countries had 21 points Context: CREATE TABLE table_29302711_12 (country VARCHAR, points VARCHAR)[/INST]SELECT COUNT(country) FROM table_29302711_12 WHERE points = 21</s>
CREATE TABLE table_name_11 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
SELECT height_in_ft FROM table_name_11 WHERE school_club_team_country = "illinois"
What is the height in feet of the Illinois player?
<s>[INST]What is the height in feet of the Illinois player? Context: CREATE TABLE table_name_11 (height_in_ft VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT height_in_ft FROM table_name_11 WHERE school_club_team_country = "illinois"</s>
CREATE TABLE table_name_71 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT MIN(grid) FROM table_name_71 WHERE laps = 25 AND manufacturer = "honda" AND time_retired = "+1:47.797"
Which Grid has Laps of 25, and a Manufacturer of honda, and a Time/Retired of +1:47.797?
<s>[INST]Which Grid has Laps of 25, and a Manufacturer of honda, and a Time/Retired of +1:47.797? Context: CREATE TABLE table_name_71 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_71 WHERE laps = 25 AND manufacturer = "honda" AND time_retired = "+1:47.797"</s>
CREATE TABLE table_name_49 (location_attendance VARCHAR, high_rebounds VARCHAR, high_points VARCHAR)
SELECT location_attendance FROM table_name_49 WHERE high_rebounds = "a. horford (10)" AND high_points = "j. johnson (21)"
What is the location attendance of the game with A. Horford (10) as the highest rebounds and J. Johnson (21) as the highest points?
<s>[INST]What is the location attendance of the game with A. Horford (10) as the highest rebounds and J. Johnson (21) as the highest points? Context: CREATE TABLE table_name_49 (location_attendance VARCHAR, high_rebounds VARCHAR, high_points VARCHAR)[/INST]SELECT location_attendance FROM table_name_49 WHERE high_rebounds = "a. horford (10)" AND high_points = "j. johnson (21)"</s>
CREATE TABLE table_name_62 (lowest_elevation VARCHAR, highest_point VARCHAR)
SELECT lowest_elevation FROM table_name_62 WHERE highest_point = "mont raimeux"
What is the lowest elevation value whose highest point is Mont Raimeux?
<s>[INST]What is the lowest elevation value whose highest point is Mont Raimeux? Context: CREATE TABLE table_name_62 (lowest_elevation VARCHAR, highest_point VARCHAR)[/INST]SELECT lowest_elevation FROM table_name_62 WHERE highest_point = "mont raimeux"</s>
CREATE TABLE table_16799784_12 (year_named INTEGER, name VARCHAR)
SELECT MAX(year_named) FROM table_16799784_12 WHERE name = "Tie Fluctus"
What is the highest year named for the name Tie Fluctus?
<s>[INST]What is the highest year named for the name Tie Fluctus? Context: CREATE TABLE table_16799784_12 (year_named INTEGER, name VARCHAR)[/INST]SELECT MAX(year_named) FROM table_16799784_12 WHERE name = "Tie Fluctus"</s>
CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_64 WHERE score = "2–6"
Which Opponent has a Score of 2–6?
<s>[INST]Which Opponent has a Score of 2–6? Context: CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_64 WHERE score = "2–6"</s>
CREATE TABLE table_14834801_1 (mandate VARCHAR, list_pct VARCHAR)
SELECT mandate FROM table_14834801_1 WHERE list_pct = "12.39%"
Name the mandate for list pct 12.39%
<s>[INST]Name the mandate for list pct 12.39% Context: CREATE TABLE table_14834801_1 (mandate VARCHAR, list_pct VARCHAR)[/INST]SELECT mandate FROM table_14834801_1 WHERE list_pct = "12.39%"</s>
CREATE TABLE table_17340355_10 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT high_assists FROM table_17340355_10 WHERE high_rebounds = "Matt Barnes (11)"
Who did the most assists when Matt Barnes (11) got the most rebounds?
<s>[INST]Who did the most assists when Matt Barnes (11) got the most rebounds? Context: CREATE TABLE table_17340355_10 (high_assists VARCHAR, high_rebounds VARCHAR)[/INST]SELECT high_assists FROM table_17340355_10 WHERE high_rebounds = "Matt Barnes (11)"</s>
CREATE TABLE visitor (name VARCHAR, Level_of_membership INTEGER)
SELECT name FROM visitor WHERE Level_of_membership > 4 ORDER BY Level_of_membership DESC
Find the names of the visitors whose membership level is higher than 4, and order the results by the level from high to low.
<s>[INST]Find the names of the visitors whose membership level is higher than 4, and order the results by the level from high to low. Context: CREATE TABLE visitor (name VARCHAR, Level_of_membership INTEGER)[/INST]SELECT name FROM visitor WHERE Level_of_membership > 4 ORDER BY Level_of_membership DESC</s>
CREATE TABLE table_name_98 (animal_name VARCHAR, tv_series VARCHAR, species VARCHAR)
SELECT animal_name FROM table_name_98 WHERE tv_series = "yes" AND species = "terrapins"
What animal was yes for tv series and was a terrapins?
<s>[INST]What animal was yes for tv series and was a terrapins? Context: CREATE TABLE table_name_98 (animal_name VARCHAR, tv_series VARCHAR, species VARCHAR)[/INST]SELECT animal_name FROM table_name_98 WHERE tv_series = "yes" AND species = "terrapins"</s>
CREATE TABLE table_name_6 (season VARCHAR, big_ten VARCHAR)
SELECT season FROM table_name_6 WHERE big_ten = "2nd (386)"
What is the Season with a Big Ten that is 2nd (386)?
<s>[INST]What is the Season with a Big Ten that is 2nd (386)? Context: CREATE TABLE table_name_6 (season VARCHAR, big_ten VARCHAR)[/INST]SELECT season FROM table_name_6 WHERE big_ten = "2nd (386)"</s>
CREATE TABLE table_name_45 (losses VARCHAR, ntfa_div_2 VARCHAR, wins VARCHAR)
SELECT COUNT(losses) FROM table_name_45 WHERE ntfa_div_2 = "perth" AND wins < 10
How many Losses have an NTFA Div 2 of perth, and Wins smaller than 10?
<s>[INST]How many Losses have an NTFA Div 2 of perth, and Wins smaller than 10? Context: CREATE TABLE table_name_45 (losses VARCHAR, ntfa_div_2 VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_45 WHERE ntfa_div_2 = "perth" AND wins < 10</s>
CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR)
SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6"
What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?
<s>[INST]What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine? Context: CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR)[/INST]SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6"</s>
CREATE TABLE table_name_50 (season VARCHAR, date VARCHAR)
SELECT season FROM table_name_50 WHERE date = "30 october 1977"
Which season was on 30 October 1977?
<s>[INST]Which season was on 30 October 1977? Context: CREATE TABLE table_name_50 (season VARCHAR, date VARCHAR)[/INST]SELECT season FROM table_name_50 WHERE date = "30 october 1977"</s>
CREATE TABLE table_name_26 (country VARCHAR, holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)
SELECT country FROM table_name_26 WHERE fis_nordic_world_ski_championships < 1989 AND winter_olympics < 1980 AND holmenkollen = "1956"
Which country has a FIS Nordic World Ski Championship before 1989, was in the winter Olympics before 1980, and has a Holmenkollen of 1956?
<s>[INST]Which country has a FIS Nordic World Ski Championship before 1989, was in the winter Olympics before 1980, and has a Holmenkollen of 1956? Context: CREATE TABLE table_name_26 (country VARCHAR, holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)[/INST]SELECT country FROM table_name_26 WHERE fis_nordic_world_ski_championships < 1989 AND winter_olympics < 1980 AND holmenkollen = "1956"</s>
CREATE TABLE table_name_57 (launched VARCHAR, builder VARCHAR)
SELECT launched FROM table_name_57 WHERE builder = "john brown, clydebank"
what is the launched date when the builder is john brown, clydebank?
<s>[INST]what is the launched date when the builder is john brown, clydebank? Context: CREATE TABLE table_name_57 (launched VARCHAR, builder VARCHAR)[/INST]SELECT launched FROM table_name_57 WHERE builder = "john brown, clydebank"</s>
CREATE TABLE table_name_56 (name VARCHAR, city VARCHAR, floors VARCHAR)
SELECT name FROM table_name_56 WHERE city = "louisville" AND floors > 35
What building in Louisville had more than 35 floors?
<s>[INST]What building in Louisville had more than 35 floors? Context: CREATE TABLE table_name_56 (name VARCHAR, city VARCHAR, floors VARCHAR)[/INST]SELECT name FROM table_name_56 WHERE city = "louisville" AND floors > 35</s>
CREATE TABLE table_25216791_3 (january_15_16 VARCHAR, august_21_22 VARCHAR)
SELECT COUNT(january_15_16) FROM table_25216791_3 WHERE august_21_22 = "155"
How many datas were recorded on January 15-16 if August 21-22 is 155?
<s>[INST]How many datas were recorded on January 15-16 if August 21-22 is 155? Context: CREATE TABLE table_25216791_3 (january_15_16 VARCHAR, august_21_22 VARCHAR)[/INST]SELECT COUNT(january_15_16) FROM table_25216791_3 WHERE august_21_22 = "155"</s>
CREATE TABLE table_27683516_3 (outgoing_manager VARCHAR, incoming_manager VARCHAR)
SELECT outgoing_manager FROM table_27683516_3 WHERE incoming_manager = "Štefan Tarkovič"
What is the outgoing manager when the incoming manager is štefan tarkovič?
<s>[INST]What is the outgoing manager when the incoming manager is štefan tarkovič? Context: CREATE TABLE table_27683516_3 (outgoing_manager VARCHAR, incoming_manager VARCHAR)[/INST]SELECT outgoing_manager FROM table_27683516_3 WHERE incoming_manager = "Štefan Tarkovič"</s>
CREATE TABLE table_name_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8
What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8?
<s>[INST]What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8? Context: CREATE TABLE table_name_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8</s>
CREATE TABLE table_name_93 (format VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_93 WHERE label = "candlelight records" AND catalog = "candle053tin"
What was the Candlelight Records Catalog of Candle053tin format?
<s>[INST]What was the Candlelight Records Catalog of Candle053tin format? Context: CREATE TABLE table_name_93 (format VARCHAR, label VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_93 WHERE label = "candlelight records" AND catalog = "candle053tin"</s>
CREATE TABLE table_24915874_1 (jockey VARCHAR, weight__kg_ VARCHAR)
SELECT jockey FROM table_24915874_1 WHERE weight__kg_ = "53.5"
For which jockey was the weight in kg 53.5?
<s>[INST]For which jockey was the weight in kg 53.5? Context: CREATE TABLE table_24915874_1 (jockey VARCHAR, weight__kg_ VARCHAR)[/INST]SELECT jockey FROM table_24915874_1 WHERE weight__kg_ = "53.5"</s>
CREATE TABLE table_name_94 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_94 WHERE to_par = "−3" AND player = "branden grace"
What was the score that has a To par of −3, for Branden Grace?
<s>[INST]What was the score that has a To par of −3, for Branden Grace? Context: CREATE TABLE table_name_94 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_94 WHERE to_par = "−3" AND player = "branden grace"</s>
CREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR)
SELECT Festival_Name FROM festival_detail ORDER BY YEAR DESC LIMIT 3
Show the names of the three most recent festivals.
<s>[INST]Show the names of the three most recent festivals. Context: CREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR)[/INST]SELECT Festival_Name FROM festival_detail ORDER BY YEAR DESC LIMIT 3</s>
CREATE TABLE table_name_52 (dance VARCHAR, worst_dancer_s_ VARCHAR)
SELECT dance FROM table_name_52 WHERE worst_dancer_s_ = "marissa jaret winokur"
Which dance has the worst dancer(s) as marissa jaret winokur?
<s>[INST]Which dance has the worst dancer(s) as marissa jaret winokur? Context: CREATE TABLE table_name_52 (dance VARCHAR, worst_dancer_s_ VARCHAR)[/INST]SELECT dance FROM table_name_52 WHERE worst_dancer_s_ = "marissa jaret winokur"</s>
CREATE TABLE table_name_38 (qual_2 VARCHAR, best VARCHAR)
SELECT qual_2 FROM table_name_38 WHERE best = "1:20.772"
What is the time for the second qualification where the best time was 1:20.772?
<s>[INST]What is the time for the second qualification where the best time was 1:20.772? Context: CREATE TABLE table_name_38 (qual_2 VARCHAR, best VARCHAR)[/INST]SELECT qual_2 FROM table_name_38 WHERE best = "1:20.772"</s>
CREATE TABLE table_name_50 (type VARCHAR, works_number VARCHAR)
SELECT type FROM table_name_50 WHERE works_number = "unknown"
What is Type, when Works Number is "unknown"?
<s>[INST]What is Type, when Works Number is "unknown"? Context: CREATE TABLE table_name_50 (type VARCHAR, works_number VARCHAR)[/INST]SELECT type FROM table_name_50 WHERE works_number = "unknown"</s>
CREATE TABLE table_name_24 (label VARCHAR, region VARCHAR)
SELECT label FROM table_name_24 WHERE region = "germany"
What label does Germany have?
<s>[INST]What label does Germany have? Context: CREATE TABLE table_name_24 (label VARCHAR, region VARCHAR)[/INST]SELECT label FROM table_name_24 WHERE region = "germany"</s>
CREATE TABLE table_name_83 (capacity__thousands_of_metric_tons_ VARCHAR, operator VARCHAR)
SELECT capacity__thousands_of_metric_tons_ FROM table_name_83 WHERE operator = "cyprus amax minerals"
What is the capacity of the mine that is operated by Cyprus Amax minerals?
<s>[INST]What is the capacity of the mine that is operated by Cyprus Amax minerals? Context: CREATE TABLE table_name_83 (capacity__thousands_of_metric_tons_ VARCHAR, operator VARCHAR)[/INST]SELECT capacity__thousands_of_metric_tons_ FROM table_name_83 WHERE operator = "cyprus amax minerals"</s>
CREATE TABLE table_name_81 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_81 WHERE venue = "junction oval"
Who was the away team at junction oval?
<s>[INST]Who was the away team at junction oval? Context: CREATE TABLE table_name_81 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_81 WHERE venue = "junction oval"</s>
CREATE TABLE table_name_11 (round INTEGER, weight_class VARCHAR, card VARCHAR)
SELECT MIN(round) FROM table_name_11 WHERE weight_class = "welterweight" AND card = "preliminary"
What is the smallest round for the welterweight class with a preliminary card?
<s>[INST]What is the smallest round for the welterweight class with a preliminary card? Context: CREATE TABLE table_name_11 (round INTEGER, weight_class VARCHAR, card VARCHAR)[/INST]SELECT MIN(round) FROM table_name_11 WHERE weight_class = "welterweight" AND card = "preliminary"</s>
CREATE TABLE table_name_86 (points_classification VARCHAR, stage VARCHAR)
SELECT points_classification FROM table_name_86 WHERE stage = "18b"
Name the points classification for stage of 18b
<s>[INST]Name the points classification for stage of 18b Context: CREATE TABLE table_name_86 (points_classification VARCHAR, stage VARCHAR)[/INST]SELECT points_classification FROM table_name_86 WHERE stage = "18b"</s>
CREATE TABLE table_name_48 (school_colors VARCHAR, founded VARCHAR, institution VARCHAR)
SELECT school_colors FROM table_name_48 WHERE founded = 1969 AND institution = "barton community college"
Which School Colors were Founded of 1969, with an Institution of barton community college?
<s>[INST]Which School Colors were Founded of 1969, with an Institution of barton community college? Context: CREATE TABLE table_name_48 (school_colors VARCHAR, founded VARCHAR, institution VARCHAR)[/INST]SELECT school_colors FROM table_name_48 WHERE founded = 1969 AND institution = "barton community college"</s>
CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_3 WHERE to_par = "+2" AND player = "bernhard langer"
Which country has a to par of +2 for Bernhard Langer?
<s>[INST]Which country has a to par of +2 for Bernhard Langer? Context: CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_3 WHERE to_par = "+2" AND player = "bernhard langer"</s>
CREATE TABLE table_name_9 (position VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT position FROM table_name_9 WHERE nationality = "united states" AND player = "roger powell"
Which position has a Nationality of united states, and a Player of roger powell?
<s>[INST]Which position has a Nationality of united states, and a Player of roger powell? Context: CREATE TABLE table_name_9 (position VARCHAR, nationality VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_9 WHERE nationality = "united states" AND player = "roger powell"</s>
CREATE TABLE table_27537870_6 (game INTEGER, january VARCHAR)
SELECT MAX(game) FROM table_27537870_6 WHERE january = 21
If the game was on January 21, which game was it?
<s>[INST]If the game was on January 21, which game was it? Context: CREATE TABLE table_27537870_6 (game INTEGER, january VARCHAR)[/INST]SELECT MAX(game) FROM table_27537870_6 WHERE january = 21</s>
CREATE TABLE table_2409041_4 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_2409041_4 WHERE production_code = 446913
Name the title for 446913
<s>[INST]Name the title for 446913 Context: CREATE TABLE table_2409041_4 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_2409041_4 WHERE production_code = 446913</s>
CREATE TABLE table_name_20 (pos VARCHAR, born VARCHAR, height VARCHAR)
SELECT pos FROM table_name_20 WHERE born = "1984" AND height = "1.80"
What is the position of the player born in 1984 with a height of 1.80m?
<s>[INST]What is the position of the player born in 1984 with a height of 1.80m? Context: CREATE TABLE table_name_20 (pos VARCHAR, born VARCHAR, height VARCHAR)[/INST]SELECT pos FROM table_name_20 WHERE born = "1984" AND height = "1.80"</s>
CREATE TABLE table_name_75 (country VARCHAR, type VARCHAR, moving_from VARCHAR)
SELECT country FROM table_name_75 WHERE type = "signed" AND moving_from = "porto"
What country has signed type moving from porto?
<s>[INST]What country has signed type moving from porto? Context: CREATE TABLE table_name_75 (country VARCHAR, type VARCHAR, moving_from VARCHAR)[/INST]SELECT country FROM table_name_75 WHERE type = "signed" AND moving_from = "porto"</s>
CREATE TABLE table_name_90 (opponent VARCHAR, year VARCHAR, town VARCHAR)
SELECT opponent FROM table_name_90 WHERE year < 2007 AND town = "trieste"
who is the opponent when played in trieste before 2007?
<s>[INST]who is the opponent when played in trieste before 2007? Context: CREATE TABLE table_name_90 (opponent VARCHAR, year VARCHAR, town VARCHAR)[/INST]SELECT opponent FROM table_name_90 WHERE year < 2007 AND town = "trieste"</s>
CREATE TABLE table_name_80 (frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT frequency_mhz FROM table_name_80 WHERE erp_w = 55
Name the frequence MHz for ERP W of 55
<s>[INST]Name the frequence MHz for ERP W of 55 Context: CREATE TABLE table_name_80 (frequency_mhz VARCHAR, erp_w VARCHAR)[/INST]SELECT frequency_mhz FROM table_name_80 WHERE erp_w = 55</s>
CREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT SUM(total) FROM table_name_37 WHERE bronze > 1 AND nation = "hong kong (hkg)" AND gold < 3
what is the total when bronze is more than 1, nation is hong kong (hkg) and gold is less than 3?
<s>[INST]what is the total when bronze is more than 1, nation is hong kong (hkg) and gold is less than 3? Context: CREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR)[/INST]SELECT SUM(total) FROM table_name_37 WHERE bronze > 1 AND nation = "hong kong (hkg)" AND gold < 3</s>
CREATE TABLE Documents (project_id VARCHAR, document_type_code VARCHAR)
SELECT COUNT(*), project_id FROM Documents WHERE document_type_code = "BK" GROUP BY project_id
How many documents are with document type code BK for each product id?
<s>[INST]How many documents are with document type code BK for each product id? Context: CREATE TABLE Documents (project_id VARCHAR, document_type_code VARCHAR)[/INST]SELECT COUNT(*), project_id FROM Documents WHERE document_type_code = "BK" GROUP BY project_id</s>
CREATE TABLE record (event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (stadium_id VARCHAR, id VARCHAR)
SELECT t3.name FROM record AS t1 JOIN event AS t2 ON t1.event_id = t2.id JOIN stadium AS t3 ON t3.id = t2.stadium_id GROUP BY t2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1
Find the names of stadiums that the most swimmers have been to.
<s>[INST]Find the names of stadiums that the most swimmers have been to. Context: CREATE TABLE record (event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (stadium_id VARCHAR, id VARCHAR)[/INST]SELECT t3.name FROM record AS t1 JOIN event AS t2 ON t1.event_id = t2.id JOIN stadium AS t3 ON t3.id = t2.stadium_id GROUP BY t2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_13 (against INTEGER, venue VARCHAR)
SELECT AVG(against) FROM table_name_13 WHERE venue = "murrayfield, edinburgh"
What is the average against of Murrayfield, Edinburgh?
<s>[INST]What is the average against of Murrayfield, Edinburgh? Context: CREATE TABLE table_name_13 (against INTEGER, venue VARCHAR)[/INST]SELECT AVG(against) FROM table_name_13 WHERE venue = "murrayfield, edinburgh"</s>
CREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_64 WHERE result = "l 0-14"
Who was the opponent when the result was L 0-14?
<s>[INST]Who was the opponent when the result was L 0-14? Context: CREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_64 WHERE result = "l 0-14"</s>
CREATE TABLE table_name_92 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_92 WHERE grid = 5
Who drove grid 5?
<s>[INST]Who drove grid 5? Context: CREATE TABLE table_name_92 (driver VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_92 WHERE grid = 5</s>
CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, end_of_term VARCHAR)
SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = "2April1969"
what's the date of birth with end of term being 2april1969
<s>[INST]what's the date of birth with end of term being 2april1969 Context: CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, end_of_term VARCHAR)[/INST]SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = "2April1969"</s>
CREATE TABLE table_23399481_4 (us_viewers__in_millions_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__in_millions_ FROM table_23399481_4 WHERE written_by = "Andrea Conway Kagey"
How many millions of viewers did the episode written by Andrea Conway Kagey?
<s>[INST]How many millions of viewers did the episode written by Andrea Conway Kagey? Context: CREATE TABLE table_23399481_4 (us_viewers__in_millions_ VARCHAR, written_by VARCHAR)[/INST]SELECT us_viewers__in_millions_ FROM table_23399481_4 WHERE written_by = "Andrea Conway Kagey"</s>
CREATE TABLE table_name_26 (date INTEGER, sport VARCHAR, medal VARCHAR)
SELECT AVG(date) FROM table_name_26 WHERE sport = "athletics" AND medal = "bronze"
what is the date when the medal is bronze for athletics?
<s>[INST]what is the date when the medal is bronze for athletics? Context: CREATE TABLE table_name_26 (date INTEGER, sport VARCHAR, medal VARCHAR)[/INST]SELECT AVG(date) FROM table_name_26 WHERE sport = "athletics" AND medal = "bronze"</s>
CREATE TABLE table_name_91 (bronze INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT MIN(bronze) FROM table_name_91 WHERE gold < 5 AND rank = "6" AND total > 1
What's the lowest bronze with a 6 rank, smaller than 5 gold, and a total of more than 1?
<s>[INST]What's the lowest bronze with a 6 rank, smaller than 5 gold, and a total of more than 1? Context: CREATE TABLE table_name_91 (bronze INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_91 WHERE gold < 5 AND rank = "6" AND total > 1</s>
CREATE TABLE table_name_46 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_46 WHERE place = "t4" AND score = 75 - 69 - 74 - 72 = 290
What is the to par of the player with a t4 place and a score of 75-69-74-72=290?
<s>[INST]What is the to par of the player with a t4 place and a score of 75-69-74-72=290? Context: CREATE TABLE table_name_46 (to_par VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_46 WHERE place = "t4" AND score = 75 - 69 - 74 - 72 = 290</s>