context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_24620684_2 (vehicle VARCHAR, clean_electric_grid_california__san_francisco_ VARCHAR) | SELECT COUNT(vehicle) FROM table_24620684_2 WHERE clean_electric_grid_california__san_francisco_ = "100 g/mi (62 g/km)" | When 100 g/mi (62 g/km) is the clean electric grid california (san francisco) how many vehicles are there? | <s>[INST]When 100 g/mi (62 g/km) is the clean electric grid california (san francisco) how many vehicles are there? Context: CREATE TABLE table_24620684_2 (vehicle VARCHAR, clean_electric_grid_california__san_francisco_ VARCHAR)[/INST]SELECT COUNT(vehicle) FROM table_24620684_2 WHERE clean_electric_grid_california__san... |
CREATE TABLE table_name_10 (président VARCHAR, départment__or_collectivity_ VARCHAR) | SELECT président FROM table_name_10 WHERE départment__or_collectivity_ = "creuse" | Who is the president representing the Creuse department? | <s>[INST]Who is the president representing the Creuse department? Context: CREATE TABLE table_name_10 (président VARCHAR, départment__or_collectivity_ VARCHAR)[/INST]SELECT président FROM table_name_10 WHERE départment__or_collectivity_ = "creuse"</s> |
CREATE TABLE table_name_41 (tied INTEGER, independent VARCHAR, years VARCHAR) | SELECT SUM(tied) FROM table_name_41 WHERE independent = "old dominion" AND years > 4 | What is the total number of tied games when Old Dominion is the independent and the years is more than 4? | <s>[INST]What is the total number of tied games when Old Dominion is the independent and the years is more than 4? Context: CREATE TABLE table_name_41 (tied INTEGER, independent VARCHAR, years VARCHAR)[/INST]SELECT SUM(tied) FROM table_name_41 WHERE independent = "old dominion" AND years > 4</s> |
CREATE TABLE table_name_51 (rank INTEGER, province VARCHAR, date_of_official_foundation_of_municipality VARCHAR) | SELECT SUM(rank) FROM table_name_51 WHERE province = "gīlān" AND date_of_official_foundation_of_municipality > 1922 AND 2006 > 557366 | What is the sum of Rank, when Province is Gīlān, when Date of Official Foundation of Municipality is after 1922, and when 2006 is greater than 557366? | <s>[INST]What is the sum of Rank, when Province is Gīlān, when Date of Official Foundation of Municipality is after 1922, and when 2006 is greater than 557366? Context: CREATE TABLE table_name_51 (rank INTEGER, province VARCHAR, date_of_official_foundation_of_municipality VARCHAR)[/INST]SELECT SUM(rank) FROM table_name... |
CREATE TABLE table_30121075_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, townland VARCHAR) | SELECT area__acres__ FROM table_30121075_1 WHERE poor_law_union = "Skibbereen" AND townland = "Knockmore" | What is the area when the poor law union is skibbereen and the townland is knockmore? | <s>[INST]What is the area when the poor law union is skibbereen and the townland is knockmore? Context: CREATE TABLE table_30121075_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, townland VARCHAR)[/INST]SELECT area__acres__ FROM table_30121075_1 WHERE poor_law_union = "Skibbereen" AND townland = "Knockmore"</s> |
CREATE TABLE problems (product_id VARCHAR); CREATE TABLE product (product_name VARCHAR, product_id VARCHAR) | SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name ORDER BY COUNT(*) DESC LIMIT 3 | Find the top 3 products which have the largest number of problems? | <s>[INST]Find the top 3 products which have the largest number of problems? Context: CREATE TABLE problems (product_id VARCHAR); CREATE TABLE product (product_name VARCHAR, product_id VARCHAR)[/INST]SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name O... |
CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR) | SELECT set_2 FROM table_name_81 WHERE total = "52:44" | What is Set 2, when Total is "52:44"? | <s>[INST]What is Set 2, when Total is "52:44"? Context: CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR)[/INST]SELECT set_2 FROM table_name_81 WHERE total = "52:44"</s> |
CREATE TABLE table_name_26 (countries_visited VARCHAR, episode_no VARCHAR, writer VARCHAR) | SELECT countries_visited FROM table_name_26 WHERE episode_no < 7 AND writer = "ray gosling" | Which countries visited had an episode number of less than 7 when Ray Gosling was the writer? | <s>[INST]Which countries visited had an episode number of less than 7 when Ray Gosling was the writer? Context: CREATE TABLE table_name_26 (countries_visited VARCHAR, episode_no VARCHAR, writer VARCHAR)[/INST]SELECT countries_visited FROM table_name_26 WHERE episode_no < 7 AND writer = "ray gosling"</s> |
CREATE TABLE table_name_42 (pick INTEGER, position VARCHAR, round VARCHAR) | SELECT MAX(pick) FROM table_name_42 WHERE position = "back" AND round = 28 | What is the highest pick of the back player from round 28? | <s>[INST]What is the highest pick of the back player from round 28? Context: CREATE TABLE table_name_42 (pick INTEGER, position VARCHAR, round VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_42 WHERE position = "back" AND round = 28</s> |
CREATE TABLE table_27998152_1 (previous_club VARCHAR, name VARCHAR) | SELECT previous_club FROM table_27998152_1 WHERE name = "Ben Williams" | for the ben williams name what was the previous club | <s>[INST]for the ben williams name what was the previous club Context: CREATE TABLE table_27998152_1 (previous_club VARCHAR, name VARCHAR)[/INST]SELECT previous_club FROM table_27998152_1 WHERE name = "Ben Williams"</s> |
CREATE TABLE table_name_13 (name VARCHAR, authority VARCHAR) | SELECT name FROM table_name_13 WHERE authority = "state" | Which name has an authority of state? | <s>[INST]Which name has an authority of state? Context: CREATE TABLE table_name_13 (name VARCHAR, authority VARCHAR)[/INST]SELECT name FROM table_name_13 WHERE authority = "state"</s> |
CREATE TABLE table_name_15 (player VARCHAR, overall VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_15 WHERE overall < 374 AND school_club_team = "stephen f. austin" | Which player was drafted higher than 374 and went to the school Stephen F. Austin? | <s>[INST]Which player was drafted higher than 374 and went to the school Stephen F. Austin? Context: CREATE TABLE table_name_15 (player VARCHAR, overall VARCHAR, school_club_team VARCHAR)[/INST]SELECT player FROM table_name_15 WHERE overall < 374 AND school_club_team = "stephen f. austin"</s> |
CREATE TABLE table_name_95 (county VARCHAR, median_family_income VARCHAR) | SELECT county FROM table_name_95 WHERE median_family_income = "$37,667" | What county has a Median family income of $37,667? | <s>[INST]What county has a Median family income of $37,667? Context: CREATE TABLE table_name_95 (county VARCHAR, median_family_income VARCHAR)[/INST]SELECT county FROM table_name_95 WHERE median_family_income = "$37,667"</s> |
CREATE TABLE table_16388478_2 (home_team VARCHAR) | SELECT home_team AS score FROM table_16388478_2 WHERE home_team = "Carlton" | What were the home team scores when carlton was the home team? | <s>[INST]What were the home team scores when carlton was the home team? Context: CREATE TABLE table_16388478_2 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_16388478_2 WHERE home_team = "Carlton"</s> |
CREATE TABLE table_1013129_3 (nationality VARCHAR, nhl_team VARCHAR) | SELECT nationality FROM table_1013129_3 WHERE nhl_team = "Vancouver Canucks" | What is the nationality of the player from Vancouver Canucks? | <s>[INST]What is the nationality of the player from Vancouver Canucks? Context: CREATE TABLE table_1013129_3 (nationality VARCHAR, nhl_team VARCHAR)[/INST]SELECT nationality FROM table_1013129_3 WHERE nhl_team = "Vancouver Canucks"</s> |
CREATE TABLE table_name_86 (became_consort VARCHAR, spouse VARCHAR) | SELECT became_consort FROM table_name_86 WHERE spouse = "louis ii" | On what date did the woman married to Louis II become consort? | <s>[INST]On what date did the woman married to Louis II become consort? Context: CREATE TABLE table_name_86 (became_consort VARCHAR, spouse VARCHAR)[/INST]SELECT became_consort FROM table_name_86 WHERE spouse = "louis ii"</s> |
CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yanuari VARCHAR, Transliteration VARCHAR) | SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yanuari | Name the old bulgarian names for yanuari | <s>[INST]Name the old bulgarian names for yanuari Context: CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yanuari VARCHAR, Transliteration VARCHAR)[/INST]SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yanuari</s> |
CREATE TABLE table_name_70 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_70 WHERE opponent = "magnus larsson" | What was the tournament that had byron black playing against magnus larsson? | <s>[INST]What was the tournament that had byron black playing against magnus larsson? Context: CREATE TABLE table_name_70 (tournament VARCHAR, opponent VARCHAR)[/INST]SELECT tournament FROM table_name_70 WHERE opponent = "magnus larsson"</s> |
CREATE TABLE table_2186447_1 (opponents VARCHAR, score VARCHAR) | SELECT opponents FROM table_2186447_1 WHERE score = "5–7, 5–7" | Who was playing when the score was 5–7, 5–7? | <s>[INST]Who was playing when the score was 5–7, 5–7? Context: CREATE TABLE table_2186447_1 (opponents VARCHAR, score VARCHAR)[/INST]SELECT opponents FROM table_2186447_1 WHERE score = "5–7, 5–7"</s> |
CREATE TABLE table_11677100_5 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_11677100_5 WHERE player = "Josh Hamilton" | What is Josh Hamilton's hometown? | <s>[INST]What is Josh Hamilton's hometown? Context: CREATE TABLE table_11677100_5 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_11677100_5 WHERE player = "Josh Hamilton"</s> |
CREATE TABLE table_name_99 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_99 WHERE to_par = "–6" | Name the Player which has a To par of –6? | <s>[INST]Name the Player which has a To par of –6? Context: CREATE TABLE table_name_99 (player VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_99 WHERE to_par = "–6"</s> |
CREATE TABLE table_1637981_7 (lansing__lan_ VARCHAR, saginaw__mbs_ VARCHAR) | SELECT lansing__lan_ FROM table_1637981_7 WHERE saginaw__mbs_ = "$470.47" | At a Saginaw fare of $470.47, what is the fare to Lansing? | <s>[INST]At a Saginaw fare of $470.47, what is the fare to Lansing? Context: CREATE TABLE table_1637981_7 (lansing__lan_ VARCHAR, saginaw__mbs_ VARCHAR)[/INST]SELECT lansing__lan_ FROM table_1637981_7 WHERE saginaw__mbs_ = "$470.47"</s> |
CREATE TABLE table_24233848_2 (reward VARCHAR, eliminated VARCHAR) | SELECT reward FROM table_24233848_2 WHERE eliminated = "Hilca" | Name the reward eliminated hilca | <s>[INST]Name the reward eliminated hilca Context: CREATE TABLE table_24233848_2 (reward VARCHAR, eliminated VARCHAR)[/INST]SELECT reward FROM table_24233848_2 WHERE eliminated = "Hilca"</s> |
CREATE TABLE table_name_59 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR) | SELECT player FROM table_name_59 WHERE original_season = "fresh meat" AND eliminated = "episode 8" | Who's the player eliminated on episode 8 of Fresh Meat? | <s>[INST]Who's the player eliminated on episode 8 of Fresh Meat? Context: CREATE TABLE table_name_59 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR)[/INST]SELECT player FROM table_name_59 WHERE original_season = "fresh meat" AND eliminated = "episode 8"</s> |
CREATE TABLE table_name_48 (date VARCHAR, winning_driver VARCHAR) | SELECT date FROM table_name_48 WHERE winning_driver = "rodger ward" | What date was Rodger Ward the winning driver? | <s>[INST]What date was Rodger Ward the winning driver? Context: CREATE TABLE table_name_48 (date VARCHAR, winning_driver VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE winning_driver = "rodger ward"</s> |
CREATE TABLE table_name_43 (segment_c VARCHAR, netflix VARCHAR) | SELECT segment_c FROM table_name_43 WHERE netflix = "s08e16" | Which Segment C has a Netflix of s08e16? | <s>[INST]Which Segment C has a Netflix of s08e16? Context: CREATE TABLE table_name_43 (segment_c VARCHAR, netflix VARCHAR)[/INST]SELECT segment_c FROM table_name_43 WHERE netflix = "s08e16"</s> |
CREATE TABLE table_name_37 (year INTEGER, weight_class__kg_ VARCHAR, event VARCHAR, venue VARCHAR) | SELECT MAX(year) FROM table_name_37 WHERE event = "fila world championships" AND venue = "toledo, united states" AND weight_class__kg_ < 97 | What is the highest year that has fila world championships as the event, with toledo, united states as the venue, and a weight class (kg) less than 97? | <s>[INST]What is the highest year that has fila world championships as the event, with toledo, united states as the venue, and a weight class (kg) less than 97? Context: CREATE TABLE table_name_37 (year INTEGER, weight_class__kg_ VARCHAR, event VARCHAR, venue VARCHAR)[/INST]SELECT MAX(year) FROM table_name_37 WHERE eve... |
CREATE TABLE table_name_89 (capacity INTEGER, navigator VARCHAR) | SELECT AVG(capacity) FROM table_name_89 WHERE navigator = "macneall" | What is the average capacity for the vehicle having a navigator of Macneall? | <s>[INST]What is the average capacity for the vehicle having a navigator of Macneall? Context: CREATE TABLE table_name_89 (capacity INTEGER, navigator VARCHAR)[/INST]SELECT AVG(capacity) FROM table_name_89 WHERE navigator = "macneall"</s> |
CREATE TABLE table_name_24 (car_s_ VARCHAR, rounds VARCHAR, owner_s_ VARCHAR) | SELECT car_s_ FROM table_name_24 WHERE rounds < 12 AND owner_s_ = "scott deware" | What car does Scott Deware own that has rounds under 12? | <s>[INST]What car does Scott Deware own that has rounds under 12? Context: CREATE TABLE table_name_24 (car_s_ VARCHAR, rounds VARCHAR, owner_s_ VARCHAR)[/INST]SELECT car_s_ FROM table_name_24 WHERE rounds < 12 AND owner_s_ = "scott deware"</s> |
CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_71 WHERE player = "tom kite" | What was Tom Kite's to par? | <s>[INST]What was Tom Kite's to par? Context: CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_71 WHERE player = "tom kite"</s> |
CREATE TABLE table_11677691_6 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_11677691_6 WHERE player = "Scott Starr" | Where is scott starr from? | <s>[INST]Where is scott starr from? Context: CREATE TABLE table_11677691_6 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_11677691_6 WHERE player = "Scott Starr"</s> |
CREATE TABLE table_17900317_5 (matches INTEGER, runs VARCHAR) | SELECT MIN(matches) FROM table_17900317_5 WHERE runs = 276 | Name the least matches for runs being 276 | <s>[INST]Name the least matches for runs being 276 Context: CREATE TABLE table_17900317_5 (matches INTEGER, runs VARCHAR)[/INST]SELECT MIN(matches) FROM table_17900317_5 WHERE runs = 276</s> |
CREATE TABLE poker_player (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID | What are the names of poker players? | <s>[INST]What are the names of poker players? Context: CREATE TABLE poker_player (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)[/INST]SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID</s> |
CREATE TABLE table_name_43 (head_coach VARCHAR, town VARCHAR) | SELECT head_coach FROM table_name_43 WHERE town = "novy urengoy" | What is the Head Coach of Novy Urengoy? | <s>[INST]What is the Head Coach of Novy Urengoy? Context: CREATE TABLE table_name_43 (head_coach VARCHAR, town VARCHAR)[/INST]SELECT head_coach FROM table_name_43 WHERE town = "novy urengoy"</s> |
CREATE TABLE table_name_40 (ashmolean VARCHAR, harrison VARCHAR, image VARCHAR) | SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = "14s" AND image < 542 | What is the number of Ashmolean with 14s Harrison, and image less than 542? | <s>[INST]What is the number of Ashmolean with 14s Harrison, and image less than 542? Context: CREATE TABLE table_name_40 (ashmolean VARCHAR, harrison VARCHAR, image VARCHAR)[/INST]SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = "14s" AND image < 542</s> |
CREATE TABLE table_name_47 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_47 WHERE country = "spain" | What is To par, when Country is "Spain"? | <s>[INST]What is To par, when Country is "Spain"? Context: CREATE TABLE table_name_47 (to_par VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_47 WHERE country = "spain"</s> |
CREATE TABLE member (Time_of_purchase VARCHAR, age VARCHAR, address VARCHAR) | SELECT Time_of_purchase, age, address FROM member ORDER BY Time_of_purchase | Find the purchase time, age and address of each member, and show the results in the order of purchase time. | <s>[INST]Find the purchase time, age and address of each member, and show the results in the order of purchase time. Context: CREATE TABLE member (Time_of_purchase VARCHAR, age VARCHAR, address VARCHAR)[/INST]SELECT Time_of_purchase, age, address FROM member ORDER BY Time_of_purchase</s> |
CREATE TABLE table_name_17 (score VARCHAR, high_rebounds VARCHAR) | SELECT score FROM table_name_17 WHERE high_rebounds = "tim duncan (14)" | What score has tim duncan (14) as the high rebounds? | <s>[INST]What score has tim duncan (14) as the high rebounds? Context: CREATE TABLE table_name_17 (score VARCHAR, high_rebounds VARCHAR)[/INST]SELECT score FROM table_name_17 WHERE high_rebounds = "tim duncan (14)"</s> |
CREATE TABLE table_22815568_6 (county VARCHAR, poverty_rate VARCHAR) | SELECT county FROM table_22815568_6 WHERE poverty_rate = "12.9%" | If the poverty rate is 12.9%, what is the county? | <s>[INST]If the poverty rate is 12.9%, what is the county? Context: CREATE TABLE table_22815568_6 (county VARCHAR, poverty_rate VARCHAR)[/INST]SELECT county FROM table_22815568_6 WHERE poverty_rate = "12.9%"</s> |
CREATE TABLE table_name_30 (opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) | SELECT opponent_in_the_final FROM table_name_30 WHERE date < 1991 AND outcome = "runner-up" | What is Opponent In The Final, when Date is before 1991, and when Outcome is "Runner-Up"? | <s>[INST]What is Opponent In The Final, when Date is before 1991, and when Outcome is "Runner-Up"? Context: CREATE TABLE table_name_30 (opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_30 WHERE date < 1991 AND outcome = "runner-up"</s> |
CREATE TABLE table_name_5 (week INTEGER, opponent VARCHAR) | SELECT MAX(week) FROM table_name_5 WHERE opponent = "minnesota vikings" | What is the highest week that was played against the Minnesota Vikings? | <s>[INST]What is the highest week that was played against the Minnesota Vikings? Context: CREATE TABLE table_name_5 (week INTEGER, opponent VARCHAR)[/INST]SELECT MAX(week) FROM table_name_5 WHERE opponent = "minnesota vikings"</s> |
CREATE TABLE table_name_75 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_75 WHERE school_club_team = "nebraska" | What position is listed for the nebraska team? | <s>[INST]What position is listed for the nebraska team? Context: CREATE TABLE table_name_75 (position VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_name_75 WHERE school_club_team = "nebraska"</s> |
CREATE TABLE table_name_12 (points INTEGER, loses VARCHAR, draws VARCHAR, goals_conceded VARCHAR, position VARCHAR) | SELECT SUM(points) FROM table_name_12 WHERE goals_conceded < 51 AND position > 1 AND draws = 7 AND loses > 5 | What is the sum of the points with less goals conceded than 51, larger than position 1, has a draw of 7, and more losses than 5? | <s>[INST]What is the sum of the points with less goals conceded than 51, larger than position 1, has a draw of 7, and more losses than 5? Context: CREATE TABLE table_name_12 (points INTEGER, loses VARCHAR, draws VARCHAR, goals_conceded VARCHAR, position VARCHAR)[/INST]SELECT SUM(points) FROM table_name_12 WHERE goals_c... |
CREATE TABLE table_name_30 (overall INTEGER, name VARCHAR, pick__number VARCHAR, round VARCHAR) | SELECT AVG(overall) FROM table_name_30 WHERE pick__number > 7 AND round > 4 AND name = "glen howe" | Which Overall is the average one that has a Pick # larger than 7, and a Round larger than 4, and a Name of glen howe? | <s>[INST]Which Overall is the average one that has a Pick # larger than 7, and a Round larger than 4, and a Name of glen howe? Context: CREATE TABLE table_name_30 (overall INTEGER, name VARCHAR, pick__number VARCHAR, round VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_30 WHERE pick__number > 7 AND round > 4 AND na... |
CREATE TABLE table_name_35 (series VARCHAR, opponent VARCHAR, round VARCHAR, competition VARCHAR, season VARCHAR) | SELECT series FROM table_name_35 WHERE competition = "uefa cup" AND season = "2006–07" AND round = "group" AND opponent = "az" | What is the Series for the uefa cup, in the 2006–07 season, and a Round of group, and an opponent of az? | <s>[INST]What is the Series for the uefa cup, in the 2006–07 season, and a Round of group, and an opponent of az? Context: CREATE TABLE table_name_35 (series VARCHAR, opponent VARCHAR, round VARCHAR, competition VARCHAR, season VARCHAR)[/INST]SELECT series FROM table_name_35 WHERE competition = "uefa cup" AND season = ... |
CREATE TABLE table_name_97 (callsign VARCHAR, brand VARCHAR, webcast VARCHAR, frequency VARCHAR) | SELECT callsign FROM table_name_97 WHERE webcast = "listen live" AND frequency < 1210 AND brand = "newsradio 740 ktrh" | Which Callsign includes a frequency under 1210, Newsradio 740 KTRH, and webcasts with listen live? | <s>[INST]Which Callsign includes a frequency under 1210, Newsradio 740 KTRH, and webcasts with listen live? Context: CREATE TABLE table_name_97 (callsign VARCHAR, brand VARCHAR, webcast VARCHAR, frequency VARCHAR)[/INST]SELECT callsign FROM table_name_97 WHERE webcast = "listen live" AND frequency < 1210 AND brand = "n... |
CREATE TABLE table_191323_2 (alt_name VARCHAR, notes VARCHAR) | SELECT alt_name FROM table_191323_2 WHERE notes = "Mission failed. Guidance system failed. No orbit." | What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit. | <s>[INST]What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit. Context: CREATE TABLE table_191323_2 (alt_name VARCHAR, notes VARCHAR)[/INST]SELECT alt_name FROM table_191323_2 WHERE notes = "Mission failed. Guidance system failed. No orbit."</s> |
CREATE TABLE table_1226250_1 (partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR) | SELECT partial_thromboplastin_time FROM table_1226250_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Unaffected" | How long does thromboplastin last when prothrombin is unaffected? | <s>[INST]How long does thromboplastin last when prothrombin is unaffected? Context: CREATE TABLE table_1226250_1 (partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)[/INST]SELECT partial_thromboplastin_time FROM table_1226250_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = ... |
CREATE TABLE table_name_79 (res VARCHAR, time VARCHAR, opponent VARCHAR) | SELECT res FROM table_name_79 WHERE time = "15:00" AND opponent = "kiuma kunioku" | What was the resolution of the fight against kiuma kunioku with a time of 15:00? | <s>[INST]What was the resolution of the fight against kiuma kunioku with a time of 15:00? Context: CREATE TABLE table_name_79 (res VARCHAR, time VARCHAR, opponent VARCHAR)[/INST]SELECT res FROM table_name_79 WHERE time = "15:00" AND opponent = "kiuma kunioku"</s> |
CREATE TABLE table_name_24 (round VARCHAR, surface VARCHAR) | SELECT COUNT(round) FROM table_name_24 WHERE surface = "wintry asphalt" | How many rounds have a Surface of wintry asphalt? | <s>[INST]How many rounds have a Surface of wintry asphalt? Context: CREATE TABLE table_name_24 (round VARCHAR, surface VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_24 WHERE surface = "wintry asphalt"</s> |
CREATE TABLE table_name_27 (silver INTEGER, nation VARCHAR, gold VARCHAR) | SELECT SUM(silver) FROM table_name_27 WHERE nation = "norway" AND gold < 3 | What kind of Silver has a Nation of norway and a Gold smaller than 3? | <s>[INST]What kind of Silver has a Nation of norway and a Gold smaller than 3? Context: CREATE TABLE table_name_27 (silver INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_27 WHERE nation = "norway" AND gold < 3</s> |
CREATE TABLE table_name_47 (wins INTEGER, club VARCHAR, goals_for VARCHAR) | SELECT SUM(wins) FROM table_name_47 WHERE club = "abuls smiltene" AND goals_for < 18 | Can you tell me the sum of Wins that has the Club of abuls smiltene, and the Goals smaller than 18? | <s>[INST]Can you tell me the sum of Wins that has the Club of abuls smiltene, and the Goals smaller than 18? Context: CREATE TABLE table_name_47 (wins INTEGER, club VARCHAR, goals_for VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_47 WHERE club = "abuls smiltene" AND goals_for < 18</s> |
CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR) | SELECT team FROM table_name_73 WHERE rank = 3 | What team has rank 3? | <s>[INST]What team has rank 3? Context: CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR)[/INST]SELECT team FROM table_name_73 WHERE rank = 3</s> |
CREATE TABLE table_name_5 (Id VARCHAR) | SELECT 2000 FROM table_name_5 WHERE 1998 = "1.5" | What is the 2000 value if the 1998 value is 1.5? | <s>[INST]What is the 2000 value if the 1998 value is 1.5? Context: CREATE TABLE table_name_5 (Id VARCHAR)[/INST]SELECT 2000 FROM table_name_5 WHERE 1998 = "1.5"</s> |
CREATE TABLE table_13643154_2 (results VARCHAR, gto_winning_team VARCHAR) | SELECT results FROM table_13643154_2 WHERE gto_winning_team = "Steve Millen" | Name the results for steve millen | <s>[INST]Name the results for steve millen Context: CREATE TABLE table_13643154_2 (results VARCHAR, gto_winning_team VARCHAR)[/INST]SELECT results FROM table_13643154_2 WHERE gto_winning_team = "Steve Millen"</s> |
CREATE TABLE table_20774360_2 (nec_record VARCHAR, standing VARCHAR) | SELECT nec_record FROM table_20774360_2 WHERE standing = "11th" | Name the nec record for 11th standing | <s>[INST]Name the nec record for 11th standing Context: CREATE TABLE table_20774360_2 (nec_record VARCHAR, standing VARCHAR)[/INST]SELECT nec_record FROM table_20774360_2 WHERE standing = "11th"</s> |
CREATE TABLE table_name_6 (yards VARCHAR, player VARCHAR, long VARCHAR) | SELECT COUNT(yards) FROM table_name_6 WHERE player = "james macpherson" AND long < 1 | How many yards have a Player of james macpherson, and a Long smaller than 1? | <s>[INST]How many yards have a Player of james macpherson, and a Long smaller than 1? Context: CREATE TABLE table_name_6 (yards VARCHAR, player VARCHAR, long VARCHAR)[/INST]SELECT COUNT(yards) FROM table_name_6 WHERE player = "james macpherson" AND long < 1</s> |
CREATE TABLE table_name_78 (international INTEGER, domestic VARCHAR, year VARCHAR) | SELECT AVG(international) FROM table_name_78 WHERE domestic = 669 AND year < 2005 | What is the number for the international with 669 domestic earlier than 2005? | <s>[INST]What is the number for the international with 669 domestic earlier than 2005? Context: CREATE TABLE table_name_78 (international INTEGER, domestic VARCHAR, year VARCHAR)[/INST]SELECT AVG(international) FROM table_name_78 WHERE domestic = 669 AND year < 2005</s> |
CREATE TABLE table_name_66 (round INTEGER, pick VARCHAR) | SELECT MIN(round) FROM table_name_66 WHERE pick = "9 (via hamilton)" | What is the lowest Round, when Pick is 9 (via Hamilton)? | <s>[INST]What is the lowest Round, when Pick is 9 (via Hamilton)? Context: CREATE TABLE table_name_66 (round INTEGER, pick VARCHAR)[/INST]SELECT MIN(round) FROM table_name_66 WHERE pick = "9 (via hamilton)"</s> |
CREATE TABLE table_225880_1 (year VARCHAR, runner_s__up VARCHAR) | SELECT year FROM table_225880_1 WHERE runner_s__up = "Willie Goggin" | Name the year for willie goggin | <s>[INST]Name the year for willie goggin Context: CREATE TABLE table_225880_1 (year VARCHAR, runner_s__up VARCHAR)[/INST]SELECT year FROM table_225880_1 WHERE runner_s__up = "Willie Goggin"</s> |
CREATE TABLE table_25548630_1 (poles INTEGER) | SELECT MAX(poles) FROM table_25548630_1 | What are the most poles listed? | <s>[INST]What are the most poles listed? Context: CREATE TABLE table_25548630_1 (poles INTEGER)[/INST]SELECT MAX(poles) FROM table_25548630_1</s> |
CREATE TABLE table_name_48 (wins VARCHAR, draws VARCHAR, points VARCHAR) | SELECT COUNT(wins) FROM table_name_48 WHERE draws > 0 AND points = 11 | Can you tell me the total number of Wins that has the Draws larger than 0, and the Points of 11? | <s>[INST]Can you tell me the total number of Wins that has the Draws larger than 0, and the Points of 11? Context: CREATE TABLE table_name_48 (wins VARCHAR, draws VARCHAR, points VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_48 WHERE draws > 0 AND points = 11</s> |
CREATE TABLE table_13564637_4 (tries_for VARCHAR, points_against VARCHAR) | SELECT tries_for FROM table_13564637_4 WHERE points_against = "547" | How many tries for when the points against was 547? | <s>[INST]How many tries for when the points against was 547? Context: CREATE TABLE table_13564637_4 (tries_for VARCHAR, points_against VARCHAR)[/INST]SELECT tries_for FROM table_13564637_4 WHERE points_against = "547"</s> |
CREATE TABLE table_name_88 (grid VARCHAR, driver VARCHAR) | SELECT grid FROM table_name_88 WHERE driver = "menato boffa" | What was Menato Boffa's grid? | <s>[INST]What was Menato Boffa's grid? Context: CREATE TABLE table_name_88 (grid VARCHAR, driver VARCHAR)[/INST]SELECT grid FROM table_name_88 WHERE driver = "menato boffa"</s> |
CREATE TABLE table_name_79 (notes VARCHAR, title VARCHAR) | SELECT notes FROM table_name_79 WHERE title = "happy camp" | What are the notes for Happy Camp? | <s>[INST]What are the notes for Happy Camp? Context: CREATE TABLE table_name_79 (notes VARCHAR, title VARCHAR)[/INST]SELECT notes FROM table_name_79 WHERE title = "happy camp"</s> |
CREATE TABLE table_2679061_11 (nationality VARCHAR, nhl_team VARCHAR) | SELECT COUNT(nationality) FROM table_2679061_11 WHERE nhl_team = "Philadelphia Flyers" | How many players were drafted by the Philadelphia Flyers? | <s>[INST]How many players were drafted by the Philadelphia Flyers? Context: CREATE TABLE table_2679061_11 (nationality VARCHAR, nhl_team VARCHAR)[/INST]SELECT COUNT(nationality) FROM table_2679061_11 WHERE nhl_team = "Philadelphia Flyers"</s> |
CREATE TABLE table_name_50 (rowers VARCHAR, country VARCHAR) | SELECT rowers FROM table_name_50 WHERE country = "great britain" | Who were the rowers for Great britain? | <s>[INST]Who were the rowers for Great britain? Context: CREATE TABLE table_name_50 (rowers VARCHAR, country VARCHAR)[/INST]SELECT rowers FROM table_name_50 WHERE country = "great britain"</s> |
CREATE TABLE table_name_13 (year VARCHAR, serial_title VARCHAR) | SELECT year FROM table_name_13 WHERE serial_title = "the three musketeers" | I want the year for the three musketeers | <s>[INST]I want the year for the three musketeers Context: CREATE TABLE table_name_13 (year VARCHAR, serial_title VARCHAR)[/INST]SELECT year FROM table_name_13 WHERE serial_title = "the three musketeers"</s> |
CREATE TABLE table_22580855_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_22580855_1 WHERE production_code = 8011 | who are the writers when the production code is 8011? | <s>[INST]who are the writers when the production code is 8011? Context: CREATE TABLE table_22580855_1 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_22580855_1 WHERE production_code = 8011</s> |
CREATE TABLE table_name_66 (chassis VARCHAR, points VARCHAR, engine VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_66 WHERE engine = "ford v8" AND year < 1976 AND points = "12" | Before 1976 and with 12 points, what chassis did the Ford V8 have? | <s>[INST]Before 1976 and with 12 points, what chassis did the Ford V8 have? Context: CREATE TABLE table_name_66 (chassis VARCHAR, points VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT chassis FROM table_name_66 WHERE engine = "ford v8" AND year < 1976 AND points = "12"</s> |
CREATE TABLE table_name_31 (league VARCHAR, sport VARCHAR, club VARCHAR) | SELECT league FROM table_name_31 WHERE sport = "baseball" AND club = "laredo apaches" | Which league is for baseball with Laredo Apaches? | <s>[INST]Which league is for baseball with Laredo Apaches? Context: CREATE TABLE table_name_31 (league VARCHAR, sport VARCHAR, club VARCHAR)[/INST]SELECT league FROM table_name_31 WHERE sport = "baseball" AND club = "laredo apaches"</s> |
CREATE TABLE table_10848177_1 (song VARCHAR, length VARCHAR) | SELECT song FROM table_10848177_1 WHERE length = "3:05" | What song has a length of 3:05? | <s>[INST]What song has a length of 3:05? Context: CREATE TABLE table_10848177_1 (song VARCHAR, length VARCHAR)[/INST]SELECT song FROM table_10848177_1 WHERE length = "3:05"</s> |
CREATE TABLE table_name_42 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_42 WHERE date = "june 8" | who had the high points on june 8? | <s>[INST]who had the high points on june 8? Context: CREATE TABLE table_name_42 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_name_42 WHERE date = "june 8"</s> |
CREATE TABLE table_name_8 (commissioned VARCHAR, laid_down VARCHAR) | SELECT commissioned FROM table_name_8 WHERE laid_down = "17 dec 1951" | what is the commissioned date with laid down of 17 dec 1951? | <s>[INST]what is the commissioned date with laid down of 17 dec 1951? Context: CREATE TABLE table_name_8 (commissioned VARCHAR, laid_down VARCHAR)[/INST]SELECT commissioned FROM table_name_8 WHERE laid_down = "17 dec 1951"</s> |
CREATE TABLE table_name_10 (partner VARCHAR, outcome VARCHAR, score VARCHAR) | SELECT partner FROM table_name_10 WHERE outcome = "winner" AND score = "7-6 (7) 5-7 10-7" | Tell me the partner for outcome of winner and score of 7-6 (7) 5-7 10-7 | <s>[INST]Tell me the partner for outcome of winner and score of 7-6 (7) 5-7 10-7 Context: CREATE TABLE table_name_10 (partner VARCHAR, outcome VARCHAR, score VARCHAR)[/INST]SELECT partner FROM table_name_10 WHERE outcome = "winner" AND score = "7-6 (7) 5-7 10-7"</s> |
CREATE TABLE table_name_89 (district VARCHAR, result VARCHAR, incumbent VARCHAR) | SELECT district FROM table_name_89 WHERE result = "retired republican hold" AND incumbent = "rufus p. spalding" | wWhich district has a retired republican hold with an incumbent of rufus p. spalding? | <s>[INST]wWhich district has a retired republican hold with an incumbent of rufus p. spalding? Context: CREATE TABLE table_name_89 (district VARCHAR, result VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_name_89 WHERE result = "retired republican hold" AND incumbent = "rufus p. spalding"</s> |
CREATE TABLE table_name_71 (Id VARCHAR) | SELECT 2002 FROM table_name_71 WHERE 2011 = "atp masters series" | What was 2002, when 2011 was, "atp masters series"? | <s>[INST]What was 2002, when 2011 was, "atp masters series"? Context: CREATE TABLE table_name_71 (Id VARCHAR)[/INST]SELECT 2002 FROM table_name_71 WHERE 2011 = "atp masters series"</s> |
CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR) | SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID WHERE Votes > 10000 | What are the names of representatives with more than 10000 votes in election? | <s>[INST]What are the names of representatives with more than 10000 votes in election? Context: CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR)[/INST]SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Represe... |
CREATE TABLE table_name_12 (points INTEGER, player VARCHAR, touchdowns VARCHAR) | SELECT MIN(points) FROM table_name_12 WHERE player = "willie heston" AND touchdowns < 3 | What is the fewest Points that has Willie Heston as Player and less than 3 as Touchdowns? | <s>[INST]What is the fewest Points that has Willie Heston as Player and less than 3 as Touchdowns? Context: CREATE TABLE table_name_12 (points INTEGER, player VARCHAR, touchdowns VARCHAR)[/INST]SELECT MIN(points) FROM table_name_12 WHERE player = "willie heston" AND touchdowns < 3</s> |
CREATE TABLE table_name_32 (score VARCHAR, total VARCHAR) | SELECT score FROM table_name_32 WHERE total = "28:42" | What is Score, when Total is "28:42"? | <s>[INST]What is Score, when Total is "28:42"? Context: CREATE TABLE table_name_32 (score VARCHAR, total VARCHAR)[/INST]SELECT score FROM table_name_32 WHERE total = "28:42"</s> |
CREATE TABLE table_name_27 (name VARCHAR, authority VARCHAR, roll VARCHAR) | SELECT name FROM table_name_27 WHERE authority = "state" AND roll = 318 | Which school has a state authority and a roll of 318? | <s>[INST]Which school has a state authority and a roll of 318? Context: CREATE TABLE table_name_27 (name VARCHAR, authority VARCHAR, roll VARCHAR)[/INST]SELECT name FROM table_name_27 WHERE authority = "state" AND roll = 318</s> |
CREATE TABLE table_name_4 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR) | SELECT MIN(attendance) FROM table_name_4 WHERE h___a = "h" AND opponents = "nottingham forest" | What is the smallest Attendance with H / A of h, and Opponents of nottingham forest? | <s>[INST]What is the smallest Attendance with H / A of h, and Opponents of nottingham forest? Context: CREATE TABLE table_name_4 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_4 WHERE h___a = "h" AND opponents = "nottingham forest"</s> |
CREATE TABLE table_name_8 (week INTEGER, date VARCHAR) | SELECT AVG(week) FROM table_name_8 WHERE date = "october 8, 1950" | What average week has october 8, 1950 as the date? | <s>[INST]What average week has october 8, 1950 as the date? Context: CREATE TABLE table_name_8 (week INTEGER, date VARCHAR)[/INST]SELECT AVG(week) FROM table_name_8 WHERE date = "october 8, 1950"</s> |
CREATE TABLE table_name_15 (team VARCHAR, goals_against VARCHAR, drawn VARCHAR, position VARCHAR) | SELECT team FROM table_name_15 WHERE drawn < 12 AND position > 3 AND goals_against > 85 | Which team has a position higher than 3, a Drawn lower than 12, and a Goals Against higher than 85? | <s>[INST]Which team has a position higher than 3, a Drawn lower than 12, and a Goals Against higher than 85? Context: CREATE TABLE table_name_15 (team VARCHAR, goals_against VARCHAR, drawn VARCHAR, position VARCHAR)[/INST]SELECT team FROM table_name_15 WHERE drawn < 12 AND position > 3 AND goals_against > 85</s> |
CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_50 WHERE away_team = "hawthorn" | Where did Hawthorn have their away match against North Melbourne? | <s>[INST]Where did Hawthorn have their away match against North Melbourne? Context: CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_50 WHERE away_team = "hawthorn"</s> |
CREATE TABLE table_16729457_18 (points VARCHAR, equipment VARCHAR) | SELECT points FROM table_16729457_18 WHERE equipment = "KTM-VMC" | What are the points for ktm-vmc equipment? | <s>[INST]What are the points for ktm-vmc equipment? Context: CREATE TABLE table_16729457_18 (points VARCHAR, equipment VARCHAR)[/INST]SELECT points FROM table_16729457_18 WHERE equipment = "KTM-VMC"</s> |
CREATE TABLE table_2114308_1 (episode VARCHAR, run_time VARCHAR) | SELECT episode FROM table_2114308_1 WHERE run_time = "22:50" | Name the episode for run time of 22:50 | <s>[INST]Name the episode for run time of 22:50 Context: CREATE TABLE table_2114308_1 (episode VARCHAR, run_time VARCHAR)[/INST]SELECT episode FROM table_2114308_1 WHERE run_time = "22:50"</s> |
CREATE TABLE table_name_31 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_31 WHERE week = 12 | Who were the opponents for week 12? | <s>[INST]Who were the opponents for week 12? Context: CREATE TABLE table_name_31 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_31 WHERE week = 12</s> |
CREATE TABLE table_name_79 (playoffs INTEGER, teams VARCHAR) | SELECT MAX(playoffs) FROM table_name_79 WHERE teams = "tampa bay" | What is the highest playoffs that has tampa bay as the team? | <s>[INST]What is the highest playoffs that has tampa bay as the team? Context: CREATE TABLE table_name_79 (playoffs INTEGER, teams VARCHAR)[/INST]SELECT MAX(playoffs) FROM table_name_79 WHERE teams = "tampa bay"</s> |
CREATE TABLE table_name_26 (loss VARCHAR, score VARCHAR) | SELECT loss FROM table_name_26 WHERE score = "7-1" | What was the loss when the score was 7-1? | <s>[INST]What was the loss when the score was 7-1? Context: CREATE TABLE table_name_26 (loss VARCHAR, score VARCHAR)[/INST]SELECT loss FROM table_name_26 WHERE score = "7-1"</s> |
CREATE TABLE table_2581397_4 (race VARCHAR, weight__kg_ VARCHAR, winner_2nd VARCHAR) | SELECT race FROM table_2581397_4 WHERE weight__kg_ = "55" AND winner_2nd = "1st - Jim And Tonic" | In what race was the weight in kg 55 and the winner/2nd 1st - Jim and Tonic? | <s>[INST]In what race was the weight in kg 55 and the winner/2nd 1st - Jim and Tonic? Context: CREATE TABLE table_2581397_4 (race VARCHAR, weight__kg_ VARCHAR, winner_2nd VARCHAR)[/INST]SELECT race FROM table_2581397_4 WHERE weight__kg_ = "55" AND winner_2nd = "1st - Jim And Tonic"</s> |
CREATE TABLE table_name_24 (muzzle_energy VARCHAR, cartridge VARCHAR) | SELECT muzzle_energy FROM table_name_24 WHERE cartridge = ".375 remington ultra magnum" | What is Muzzle energy, when Cartridge is .375 remington ultra magnum? | <s>[INST]What is Muzzle energy, when Cartridge is .375 remington ultra magnum? Context: CREATE TABLE table_name_24 (muzzle_energy VARCHAR, cartridge VARCHAR)[/INST]SELECT muzzle_energy FROM table_name_24 WHERE cartridge = ".375 remington ultra magnum"</s> |
CREATE TABLE table_name_26 (gold INTEGER, bronze VARCHAR, rank VARCHAR) | SELECT AVG(gold) FROM table_name_26 WHERE bronze = 25 AND rank < 9 | How many average gold medals for provinces higher than rank 9 with 25 bronzes? | <s>[INST]How many average gold medals for provinces higher than rank 9 with 25 bronzes? Context: CREATE TABLE table_name_26 (gold INTEGER, bronze VARCHAR, rank VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_26 WHERE bronze = 25 AND rank < 9</s> |
CREATE TABLE table_name_53 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) | SELECT AVG(laps) FROM table_name_53 WHERE time_retired = "water leak" AND grid > 12 | What is the mean number of laps where Time/retired was a water leak and the grid number was bigger than 12? | <s>[INST]What is the mean number of laps where Time/retired was a water leak and the grid number was bigger than 12? Context: CREATE TABLE table_name_53 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_53 WHERE time_retired = "water leak" AND grid > 12</s> |
CREATE TABLE table_name_14 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_14 WHERE attendance = 303 | What is Score, when Attendance is "303"? | <s>[INST]What is Score, when Attendance is "303"? Context: CREATE TABLE table_name_14 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_14 WHERE attendance = 303</s> |
CREATE TABLE table_name_13 (water__sqmi_ INTEGER, county VARCHAR, ansi_code VARCHAR) | SELECT MIN(water__sqmi_) FROM table_name_13 WHERE county = "benson" AND ansi_code < 1759243 | Which Water (sqmi) has a County of benson, and an ANSI code smaller than 1759243? | <s>[INST]Which Water (sqmi) has a County of benson, and an ANSI code smaller than 1759243? Context: CREATE TABLE table_name_13 (water__sqmi_ INTEGER, county VARCHAR, ansi_code VARCHAR)[/INST]SELECT MIN(water__sqmi_) FROM table_name_13 WHERE county = "benson" AND ansi_code < 1759243</s> |
CREATE TABLE table_name_24 (round VARCHAR, venue VARCHAR, away VARCHAR) | SELECT round FROM table_name_24 WHERE venue = "westpac stadium" AND away = "newcastle jets" | What round was the match at Westpac Stadium that had the Newcastle Jets as the away team? | <s>[INST]What round was the match at Westpac Stadium that had the Newcastle Jets as the away team? Context: CREATE TABLE table_name_24 (round VARCHAR, venue VARCHAR, away VARCHAR)[/INST]SELECT round FROM table_name_24 WHERE venue = "westpac stadium" AND away = "newcastle jets"</s> |
CREATE TABLE table_15346009_1 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_15346009_1 WHERE tournament = "JELD-WEN Tradition" | What day was Jeld-Wen Tradition held? | <s>[INST]What day was Jeld-Wen Tradition held? Context: CREATE TABLE table_15346009_1 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_15346009_1 WHERE tournament = "JELD-WEN Tradition"</s> |
CREATE TABLE table_name_14 (laps INTEGER, bike VARCHAR, time VARCHAR) | SELECT MIN(laps) FROM table_name_14 WHERE bike = "kawasaki zx-6r" AND time = "+26.891" | Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891? | <s>[INST]Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891? Context: CREATE TABLE table_name_14 (laps INTEGER, bike VARCHAR, time VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_14 WHERE bike = "kawasaki zx-6r" AND time = "+26.891"</s> |
CREATE TABLE table_name_11 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_11 WHERE place = "t8" AND player = "byron nelson" | Which Country has a Place of t8 and byron nelson? | <s>[INST]Which Country has a Place of t8 and byron nelson? Context: CREATE TABLE table_name_11 (country VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_11 WHERE place = "t8" AND player = "byron nelson"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.