context
stringlengths 27
489
| answer
stringlengths 18
557
| question
stringlengths 12
243
| text
stringlengths 103
1.05k
|
---|---|---|---|
CREATE TABLE table_name_37 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR) | SELECT COUNT(pick__number) FROM table_name_37 WHERE overall > 131 AND position = "wide receiver" AND round < 5 | what is the pick # when overall is more than 131, position is wide receiver and the round is less than 5? | <s>[INST]what is the pick # when overall is more than 131, position is wide receiver and the round is less than 5? Context: CREATE TABLE table_name_37 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_37 WHERE overall > 131 AND position = "wide receiver" AND round < 5</s> |
CREATE TABLE table_1566852_6 (cover_model VARCHAR, date VARCHAR) | SELECT cover_model FROM table_1566852_6 WHERE date = "4-05" | Who were the cover model(s) on the 4-05 issue? | <s>[INST]Who were the cover model(s) on the 4-05 issue? Context: CREATE TABLE table_1566852_6 (cover_model VARCHAR, date VARCHAR)[/INST]SELECT cover_model FROM table_1566852_6 WHERE date = "4-05"</s> |
CREATE TABLE table_name_41 (silver INTEGER, gold INTEGER) | SELECT MIN(silver) FROM table_name_41 WHERE gold < 0 | Name the least silver when gold is less than 0 | <s>[INST]Name the least silver when gold is less than 0 Context: CREATE TABLE table_name_41 (silver INTEGER, gold INTEGER)[/INST]SELECT MIN(silver) FROM table_name_41 WHERE gold < 0</s> |
CREATE TABLE table_name_34 (round INTEGER, college VARCHAR, pick VARCHAR) | SELECT MAX(round) FROM table_name_34 WHERE college = "toledo" AND pick < 92 | What is the largest round of a pick smaller than 92 from Toledo University? | <s>[INST]What is the largest round of a pick smaller than 92 from Toledo University? Context: CREATE TABLE table_name_34 (round INTEGER, college VARCHAR, pick VARCHAR)[/INST]SELECT MAX(round) FROM table_name_34 WHERE college = "toledo" AND pick < 92</s> |
CREATE TABLE table_24613895_1 (number_of_believers INTEGER) | SELECT MIN(number_of_believers) FROM table_24613895_1 | Name the least number of believers | <s>[INST]Name the least number of believers Context: CREATE TABLE table_24613895_1 (number_of_believers INTEGER)[/INST]SELECT MIN(number_of_believers) FROM table_24613895_1</s> |
CREATE TABLE table_name_5 (tournament VARCHAR, location VARCHAR) | SELECT tournament FROM table_name_5 WHERE location = "colorado" | What tournament was located in Colorado? | <s>[INST]What tournament was located in Colorado? Context: CREATE TABLE table_name_5 (tournament VARCHAR, location VARCHAR)[/INST]SELECT tournament FROM table_name_5 WHERE location = "colorado"</s> |
CREATE TABLE table_27756474_6 (high_assists VARCHAR, location_attendance VARCHAR) | SELECT COUNT(high_assists) FROM table_27756474_6 WHERE location_attendance = "FedExForum 11,283" | Name the total number of high assists for fedexforum 11,283 | <s>[INST]Name the total number of high assists for fedexforum 11,283 Context: CREATE TABLE table_27756474_6 (high_assists VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(high_assists) FROM table_27756474_6 WHERE location_attendance = "FedExForum 11,283"</s> |
CREATE TABLE table_name_64 (in_service VARCHAR, versions VARCHAR) | SELECT in_service FROM table_name_64 WHERE versions = "t-260 eu" | How many T-260 EU aircrafts are currently in service? | <s>[INST]How many T-260 EU aircrafts are currently in service? Context: CREATE TABLE table_name_64 (in_service VARCHAR, versions VARCHAR)[/INST]SELECT in_service FROM table_name_64 WHERE versions = "t-260 eu"</s> |
CREATE TABLE table_name_3 (hangul VARCHAR, kana VARCHAR) | SELECT hangul FROM table_name_3 WHERE kana = "ちゅうせいなんどう" | What is the Hangul of the Province with a Kana of ちゅうせいなんどう? | <s>[INST]What is the Hangul of the Province with a Kana of ちゅうせいなんどう? Context: CREATE TABLE table_name_3 (hangul VARCHAR, kana VARCHAR)[/INST]SELECT hangul FROM table_name_3 WHERE kana = "ちゅうせいなんどう"</s> |
CREATE TABLE table_name_98 (origin_of_programming VARCHAR, network VARCHAR) | SELECT origin_of_programming FROM table_name_98 WHERE network = "ndtv india" | What is the Origin of Programming for the Network NDTV India? | <s>[INST]What is the Origin of Programming for the Network NDTV India? Context: CREATE TABLE table_name_98 (origin_of_programming VARCHAR, network VARCHAR)[/INST]SELECT origin_of_programming FROM table_name_98 WHERE network = "ndtv india"</s> |
CREATE TABLE table_name_65 (tournament VARCHAR, score_in_the_final VARCHAR) | SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, 6–2" | Which tournament had a final score of 6–3, 6–2? | <s>[INST]Which tournament had a final score of 6–3, 6–2? Context: CREATE TABLE table_name_65 (tournament VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, 6–2"</s> |
CREATE TABLE table_20540006_6 (attendance INTEGER, challenge_leader VARCHAR) | SELECT MAX(attendance) FROM table_20540006_6 WHERE challenge_leader = "Big East (4-2)" | What was the attendance for the game when the challenge leader was at Big East (4-2)? | <s>[INST]What was the attendance for the game when the challenge leader was at Big East (4-2)? Context: CREATE TABLE table_20540006_6 (attendance INTEGER, challenge_leader VARCHAR)[/INST]SELECT MAX(attendance) FROM table_20540006_6 WHERE challenge_leader = "Big East (4-2)"</s> |
CREATE TABLE table_14330096_4 (total_number VARCHAR, director VARCHAR) | SELECT total_number FROM table_14330096_4 WHERE director = "Roger Goldby" | How many of the episodes have Roger Goldby as the director? | <s>[INST]How many of the episodes have Roger Goldby as the director? Context: CREATE TABLE table_14330096_4 (total_number VARCHAR, director VARCHAR)[/INST]SELECT total_number FROM table_14330096_4 WHERE director = "Roger Goldby"</s> |
CREATE TABLE table_10294071_1 (total_w_l VARCHAR, player VARCHAR) | SELECT total_w_l FROM table_10294071_1 WHERE player = "Boro Jovanović Category:Articles with hCards" | what's the total w–l where player is boro jovanović category:articles with hcards | <s>[INST] what's the total w–l where player is boro jovanović category:articles with hcards Context: CREATE TABLE table_10294071_1 (total_w_l VARCHAR, player VARCHAR)[/INST]SELECT total_w_l FROM table_10294071_1 WHERE player = "Boro Jovanović Category:Articles with hCards"</s> |
CREATE TABLE table_name_62 (date VARCHAR, description VARCHAR) | SELECT date FROM table_name_62 WHERE description = "undergoing overhaul, restoration or repairs" | What is the date listed for the item that has undergoing overhaul, restoration or repairs listed under description? | <s>[INST]What is the date listed for the item that has undergoing overhaul, restoration or repairs listed under description? Context: CREATE TABLE table_name_62 (date VARCHAR, description VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE description = "undergoing overhaul, restoration or repairs"</s> |
CREATE TABLE table_14889988_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_14889988_1 WHERE production_code = 176252 | Who directed the episode with the production code 176252? | <s>[INST]Who directed the episode with the production code 176252? Context: CREATE TABLE table_14889988_1 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_14889988_1 WHERE production_code = 176252</s> |
CREATE TABLE table_27552095_27 (player VARCHAR, date VARCHAR) | SELECT COUNT(player) FROM table_27552095_27 WHERE date = "October 3, 2010" | How many times was the date october 3, 2010? | <s>[INST]How many times was the date october 3, 2010? Context: CREATE TABLE table_27552095_27 (player VARCHAR, date VARCHAR)[/INST]SELECT COUNT(player) FROM table_27552095_27 WHERE date = "October 3, 2010"</s> |
CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_name_97 WHERE player = "steve durbano" | Which NHL team has a Player of steve durbano? | <s>[INST]Which NHL team has a Player of steve durbano? Context: CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT nhl_team FROM table_name_97 WHERE player = "steve durbano"</s> |
CREATE TABLE table_name_43 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_43 WHERE score = 71 - 72 = 143 | Which player has a score of 71-72=143? | <s>[INST]Which player has a score of 71-72=143? Context: CREATE TABLE table_name_43 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_43 WHERE score = 71 - 72 = 143</s> |
CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_66 WHERE score = "2–1" | Score of 2–1 has what record? | <s>[INST]Score of 2–1 has what record? Context: CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_66 WHERE score = "2–1"</s> |
CREATE TABLE table_name_86 (lane VARCHAR, nationality VARCHAR) | SELECT lane FROM table_name_86 WHERE nationality = "new zealand" | what lane was new zealand in? | <s>[INST]what lane was new zealand in? Context: CREATE TABLE table_name_86 (lane VARCHAR, nationality VARCHAR)[/INST]SELECT lane FROM table_name_86 WHERE nationality = "new zealand"</s> |
CREATE TABLE table_name_21 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_21 WHERE player = "chick harbert" | What's Chick Harbert's To par? | <s>[INST]What's Chick Harbert's To par? Context: CREATE TABLE table_name_21 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_21 WHERE player = "chick harbert"</s> |
CREATE TABLE table_name_71 (Id VARCHAR) | SELECT COUNT(1957) FROM table_name_71 WHERE 1955 < 0.63 AND 1952 > 0.22 | What is the 1957 number when the 1955 is smaller than 0.63, and 1952 is larger than 0.22? | <s>[INST]What is the 1957 number when the 1955 is smaller than 0.63, and 1952 is larger than 0.22? Context: CREATE TABLE table_name_71 (Id VARCHAR)[/INST]SELECT COUNT(1957) FROM table_name_71 WHERE 1955 < 0.63 AND 1952 > 0.22</s> |
CREATE TABLE table_name_78 (film_title_used_in_nomination VARCHAR, language VARCHAR, country VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_78 WHERE language = "spanish" AND country = "peru" | Name the film title that is spanish from peru | <s>[INST]Name the film title that is spanish from peru Context: CREATE TABLE table_name_78 (film_title_used_in_nomination VARCHAR, language VARCHAR, country VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_78 WHERE language = "spanish" AND country = "peru"</s> |
CREATE TABLE stadium (home_games INTEGER) | SELECT MAX(home_games), MIN(home_games), AVG(home_games) FROM stadium | What are the maximum, minimum and average home games each stadium held? | <s>[INST]What are the maximum, minimum and average home games each stadium held? Context: CREATE TABLE stadium (home_games INTEGER)[/INST]SELECT MAX(home_games), MIN(home_games), AVG(home_games) FROM stadium</s> |
CREATE TABLE table_name_64 (shooter VARCHAR, rank_points VARCHAR, event VARCHAR) | SELECT shooter FROM table_name_64 WHERE rank_points = "8" AND event = "wc kerrville" | Who was the shooter when the rank points was 8 and the event was WC Kerrville? | <s>[INST]Who was the shooter when the rank points was 8 and the event was WC Kerrville? Context: CREATE TABLE table_name_64 (shooter VARCHAR, rank_points VARCHAR, event VARCHAR)[/INST]SELECT shooter FROM table_name_64 WHERE rank_points = "8" AND event = "wc kerrville"</s> |
CREATE TABLE table_name_8 (pennant VARCHAR, builder VARCHAR) | SELECT pennant FROM table_name_8 WHERE builder = "denny, dumbarton" | What is the pennant with Denny, Dumbarton as the builder? | <s>[INST]What is the pennant with Denny, Dumbarton as the builder? Context: CREATE TABLE table_name_8 (pennant VARCHAR, builder VARCHAR)[/INST]SELECT pennant FROM table_name_8 WHERE builder = "denny, dumbarton"</s> |
CREATE TABLE table_20424014_1 (obama__number VARCHAR, county VARCHAR) | SELECT obama__number FROM table_20424014_1 WHERE county = "Carson City" | what is the obama # in carson city | <s>[INST]what is the obama # in carson city Context: CREATE TABLE table_20424014_1 (obama__number VARCHAR, county VARCHAR)[/INST]SELECT obama__number FROM table_20424014_1 WHERE county = "Carson City"</s> |
CREATE TABLE table_name_28 (station VARCHAR, city_of_license VARCHAR) | SELECT station FROM table_name_28 WHERE city_of_license = "hagerstown" | Which Station has hagerstown? | <s>[INST]Which Station has hagerstown? Context: CREATE TABLE table_name_28 (station VARCHAR, city_of_license VARCHAR)[/INST]SELECT station FROM table_name_28 WHERE city_of_license = "hagerstown"</s> |
CREATE TABLE Ref_Shipping_Agents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR) | SELECT document_id FROM Documents WHERE document_status_code = "done" AND document_type_code = "Paper" INTERSECT SELECT document_id FROM Documents JOIN Ref_Shipping_Agents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Ref_Shipping_Agents.shipping_agent_name = "USPS" | List document id of documents status is done and document type is Paper and the document is shipped by shipping agent named USPS. | <s>[INST]List document id of documents status is done and document type is Paper and the document is shipped by shipping agent named USPS. Context: CREATE TABLE Ref_Shipping_Agents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR)[/INST]SELECT document_id FROM Documents WHERE document_status_code = "done" AND document_type_code = "Paper" INTERSECT SELECT document_id FROM Documents JOIN Ref_Shipping_Agents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Ref_Shipping_Agents.shipping_agent_name = "USPS"</s> |
CREATE TABLE table_name_27 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_27 WHERE away_team = "liverpool" | Which home team played in the matchup with an away team of Liverpool? | <s>[INST]Which home team played in the matchup with an away team of Liverpool? Context: CREATE TABLE table_name_27 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_27 WHERE away_team = "liverpool"</s> |
CREATE TABLE table_name_72 (total INTEGER, country VARCHAR, player VARCHAR) | SELECT MIN(total) FROM table_name_72 WHERE country = "united states" AND player = "phil mickelson" | What was the total for united states player phil mickelson? | <s>[INST]What was the total for united states player phil mickelson? Context: CREATE TABLE table_name_72 (total INTEGER, country VARCHAR, player VARCHAR)[/INST]SELECT MIN(total) FROM table_name_72 WHERE country = "united states" AND player = "phil mickelson"</s> |
CREATE TABLE products (product_details VARCHAR, product_id VARCHAR); CREATE TABLE order_items (product_id VARCHAR) | SELECT t2.product_details FROM order_items AS t1 JOIN products AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_id ORDER BY COUNT(*) DESC LIMIT 1 | Which product has been ordered most number of times? | <s>[INST]Which product has been ordered most number of times? Context: CREATE TABLE products (product_details VARCHAR, product_id VARCHAR); CREATE TABLE order_items (product_id VARCHAR)[/INST]SELECT t2.product_details FROM order_items AS t1 JOIN products AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_12338595_1 (interview VARCHAR, state VARCHAR) | SELECT interview FROM table_12338595_1 WHERE state = "Virginia" | What is the interview score for the state of Virginia? | <s>[INST]What is the interview score for the state of Virginia? Context: CREATE TABLE table_12338595_1 (interview VARCHAR, state VARCHAR)[/INST]SELECT interview FROM table_12338595_1 WHERE state = "Virginia"</s> |
CREATE TABLE table_name_93 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_93 WHERE date = "september 20, 1993" | What type of surface was used for the game played on September 20, 1993? | <s>[INST]What type of surface was used for the game played on September 20, 1993? Context: CREATE TABLE table_name_93 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_93 WHERE date = "september 20, 1993"</s> |
CREATE TABLE table_name_3 (club_province VARCHAR, caps VARCHAR, player VARCHAR) | SELECT club_province FROM table_name_3 WHERE caps = 74 AND player = "girvan dempsey" | What is the club or province of Girvan Dempsey, who has 74 caps? | <s>[INST]What is the club or province of Girvan Dempsey, who has 74 caps? Context: CREATE TABLE table_name_3 (club_province VARCHAR, caps VARCHAR, player VARCHAR)[/INST]SELECT club_province FROM table_name_3 WHERE caps = 74 AND player = "girvan dempsey"</s> |
CREATE TABLE table_name_6 (marriage VARCHAR, ceased_to_be_consort VARCHAR) | SELECT marriage FROM table_name_6 WHERE ceased_to_be_consort = "29 september 1898" | Name the marriagefor ceased to be consort of 29 september 1898 | <s>[INST]Name the marriagefor ceased to be consort of 29 september 1898 Context: CREATE TABLE table_name_6 (marriage VARCHAR, ceased_to_be_consort VARCHAR)[/INST]SELECT marriage FROM table_name_6 WHERE ceased_to_be_consort = "29 september 1898"</s> |
CREATE TABLE table_17355408_9 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_17355408_9 WHERE date = "April 8" | Who had the high points on April 8? | <s>[INST]Who had the high points on April 8? Context: CREATE TABLE table_17355408_9 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_17355408_9 WHERE date = "April 8"</s> |
CREATE TABLE table_1081235_1 (country VARCHAR, last_eruption_or_growth_episode VARCHAR) | SELECT country FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "1986" | What countries have had eruptions of growth episodes in 1986? | <s>[INST]What countries have had eruptions of growth episodes in 1986? Context: CREATE TABLE table_1081235_1 (country VARCHAR, last_eruption_or_growth_episode VARCHAR)[/INST]SELECT country FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "1986"</s> |
CREATE TABLE table_name_63 (result VARCHAR, opponent VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_63 WHERE week > 1 AND attendance = "69,149" AND opponent = "seattle seahawks" | Playing against the Seattle Seahawks in a week after week 1 before 69,149 people what was the result of the game? | <s>[INST]Playing against the Seattle Seahawks in a week after week 1 before 69,149 people what was the result of the game? Context: CREATE TABLE table_name_63 (result VARCHAR, opponent VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_63 WHERE week > 1 AND attendance = "69,149" AND opponent = "seattle seahawks"</s> |
CREATE TABLE table_28802165_1 (s_acre VARCHAR, townland VARCHAR) | SELECT s_acre FROM table_28802165_1 WHERE townland = "Maddenstown Middle" | How many acres is the townland of Maddenstown Middle? | <s>[INST]How many acres is the townland of Maddenstown Middle? Context: CREATE TABLE table_28802165_1 (s_acre VARCHAR, townland VARCHAR)[/INST]SELECT s_acre FROM table_28802165_1 WHERE townland = "Maddenstown Middle"</s> |
CREATE TABLE table_name_65 (date VARCHAR, attendance INTEGER) | SELECT date FROM table_name_65 WHERE attendance > 45 OFFSET 817 | Name the date when the attendance is more than 45,817 | <s>[INST]Name the date when the attendance is more than 45,817 Context: CREATE TABLE table_name_65 (date VARCHAR, attendance INTEGER)[/INST]SELECT date FROM table_name_65 WHERE attendance > 45 OFFSET 817</s> |
CREATE TABLE table_name_3 (ranking_round_rank INTEGER, nation VARCHAR, final_rank VARCHAR) | SELECT MAX(ranking_round_rank) FROM table_name_3 WHERE nation = "russia" AND final_rank > 11 | What is the highest Ranking Round Rank for Russia with a Final Rank over 11? | <s>[INST]What is the highest Ranking Round Rank for Russia with a Final Rank over 11? Context: CREATE TABLE table_name_3 (ranking_round_rank INTEGER, nation VARCHAR, final_rank VARCHAR)[/INST]SELECT MAX(ranking_round_rank) FROM table_name_3 WHERE nation = "russia" AND final_rank > 11</s> |
CREATE TABLE table_name_87 (gold INTEGER, total VARCHAR, silver VARCHAR) | SELECT MAX(gold) FROM table_name_87 WHERE total > 9 AND silver > 10 | What is the highest gold number count where a county had over 9 golds and 10 silvers? | <s>[INST]What is the highest gold number count where a county had over 9 golds and 10 silvers? Context: CREATE TABLE table_name_87 (gold INTEGER, total VARCHAR, silver VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_87 WHERE total > 9 AND silver > 10</s> |
CREATE TABLE table_name_3 (erp_w INTEGER, call_sign VARCHAR) | SELECT MAX(erp_w) FROM table_name_3 WHERE call_sign = "w255bi" | Which ERP W is the highest one that has a Call sign of w255bi? | <s>[INST]Which ERP W is the highest one that has a Call sign of w255bi? Context: CREATE TABLE table_name_3 (erp_w INTEGER, call_sign VARCHAR)[/INST]SELECT MAX(erp_w) FROM table_name_3 WHERE call_sign = "w255bi"</s> |
CREATE TABLE table_14139408_1 (position VARCHAR, team VARCHAR) | SELECT position FROM table_14139408_1 WHERE team = "Skilled Racing team" | what's the position with team being skilled racing team | <s>[INST]what's the position with team being skilled racing team Context: CREATE TABLE table_14139408_1 (position VARCHAR, team VARCHAR)[/INST]SELECT position FROM table_14139408_1 WHERE team = "Skilled Racing team"</s> |
CREATE TABLE table_name_61 (attendance INTEGER, visitor VARCHAR) | SELECT SUM(attendance) FROM table_name_61 WHERE visitor = "chicago" | What was the total Attendance for Games while Chicago was the visiting Team? | <s>[INST]What was the total Attendance for Games while Chicago was the visiting Team? Context: CREATE TABLE table_name_61 (attendance INTEGER, visitor VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_61 WHERE visitor = "chicago"</s> |
CREATE TABLE table_name_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_94 WHERE away_team = "south dragons" AND venue = "gold coast convention centre" | How big was the crowd when the South Dragons were the away team at the Gold Coast Convention Centre? | <s>[INST]How big was the crowd when the South Dragons were the away team at the Gold Coast Convention Centre? Context: CREATE TABLE table_name_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR)[/INST]SELECT crowd FROM table_name_94 WHERE away_team = "south dragons" AND venue = "gold coast convention centre"</s> |
CREATE TABLE table_name_94 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT AVG(bronze) FROM table_name_94 WHERE rank < 11 AND nation = "trinidad and tobago" AND total < 1 | What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal? | <s>[INST]What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal? Context: CREATE TABLE table_name_94 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_94 WHERE rank < 11 AND nation = "trinidad and tobago" AND total < 1</s> |
CREATE TABLE table_name_98 (_number_of_bids VARCHAR, conference VARCHAR) | SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10" | How many bids does Atlantic 10 have? | <s>[INST]How many bids does Atlantic 10 have? Context: CREATE TABLE table_name_98 (_number_of_bids VARCHAR, conference VARCHAR)[/INST]SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10"</s> |
CREATE TABLE table_name_69 (highest_attendance VARCHAR, rank VARCHAR, venue_name VARCHAR) | SELECT highest_attendance FROM table_name_69 WHERE rank = 90 AND venue_name = "infineon raceway" | What is Highest Attendance, when Rank is 90, and when Venue Name is Infineon Raceway? | <s>[INST]What is Highest Attendance, when Rank is 90, and when Venue Name is Infineon Raceway? Context: CREATE TABLE table_name_69 (highest_attendance VARCHAR, rank VARCHAR, venue_name VARCHAR)[/INST]SELECT highest_attendance FROM table_name_69 WHERE rank = 90 AND venue_name = "infineon raceway"</s> |
CREATE TABLE table_name_91 (points INTEGER, opponent VARCHAR) | SELECT AVG(points) FROM table_name_91 WHERE opponent = "vancouver canucks" | Which Points have an Opponent of vancouver canucks? | <s>[INST]Which Points have an Opponent of vancouver canucks? Context: CREATE TABLE table_name_91 (points INTEGER, opponent VARCHAR)[/INST]SELECT AVG(points) FROM table_name_91 WHERE opponent = "vancouver canucks"</s> |
CREATE TABLE table_name_39 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_39 WHERE loss = "schrom" | Loss of schrom happened on what date? | <s>[INST]Loss of schrom happened on what date? Context: CREATE TABLE table_name_39 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_39 WHERE loss = "schrom"</s> |
CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR) | SELECT DISTINCT cName FROM college WHERE enr > (SELECT MIN(enr) FROM college WHERE state = 'FL') | Find names of colleges with enrollment greater than that of some (at least one) college in the FL state. | <s>[INST]Find names of colleges with enrollment greater than that of some (at least one) college in the FL state. Context: CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR)[/INST]SELECT DISTINCT cName FROM college WHERE enr > (SELECT MIN(enr) FROM college WHERE state = 'FL')</s> |
CREATE TABLE table_name_25 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_25 WHERE venue = "kardinia park" | What was the attendance at the Kardinia Park game? | <s>[INST]What was the attendance at the Kardinia Park game? Context: CREATE TABLE table_name_25 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT crowd FROM table_name_25 WHERE venue = "kardinia park"</s> |
CREATE TABLE table_name_3 (club VARCHAR, captain VARCHAR) | SELECT club FROM table_name_3 WHERE captain = "ledley king" | In which club is Ledley King a captain? | <s>[INST]In which club is Ledley King a captain? Context: CREATE TABLE table_name_3 (club VARCHAR, captain VARCHAR)[/INST]SELECT club FROM table_name_3 WHERE captain = "ledley king"</s> |
CREATE TABLE table_name_85 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_85 WHERE game = 21 | What was the date of game 21? | <s>[INST]What was the date of game 21? Context: CREATE TABLE table_name_85 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_85 WHERE game = 21</s> |
CREATE TABLE table_name_83 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_83 WHERE result = "l 14-3" | What was the latest week with a result of l 14-3? | <s>[INST]What was the latest week with a result of l 14-3? Context: CREATE TABLE table_name_83 (week INTEGER, result VARCHAR)[/INST]SELECT MAX(week) FROM table_name_83 WHERE result = "l 14-3"</s> |
CREATE TABLE table_name_90 (tournament INTEGER, total VARCHAR, team VARCHAR) | SELECT MAX(tournament) FROM table_name_90 WHERE total = 3 AND team = "iowa state" | How many tournament titles for iowa state with 3 total titles? | <s>[INST]How many tournament titles for iowa state with 3 total titles? Context: CREATE TABLE table_name_90 (tournament INTEGER, total VARCHAR, team VARCHAR)[/INST]SELECT MAX(tournament) FROM table_name_90 WHERE total = 3 AND team = "iowa state"</s> |
CREATE TABLE table_name_46 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_46 WHERE driver = "john watson" | What was John Watson's time/retired? | <s>[INST]What was John Watson's time/retired? Context: CREATE TABLE table_name_46 (time_retired VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_46 WHERE driver = "john watson"</s> |
CREATE TABLE table_name_45 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_name_45 WHERE player = "jeff lebo" | Where is Jeff Lebo's hometown? | <s>[INST]Where is Jeff Lebo's hometown? Context: CREATE TABLE table_name_45 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_name_45 WHERE player = "jeff lebo"</s> |
CREATE TABLE table_228973_3 (no_in_season VARCHAR, written_by VARCHAR, directed_by VARCHAR) | SELECT no_in_season FROM table_228973_3 WHERE written_by = "R. Scott Gemmill" AND directed_by = "Ray Austin" | which is the number of the season episode whose writer is R. Scott Gemmill and the Director is Ray Austin? | <s>[INST]which is the number of the season episode whose writer is R. Scott Gemmill and the Director is Ray Austin? Context: CREATE TABLE table_228973_3 (no_in_season VARCHAR, written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT no_in_season FROM table_228973_3 WHERE written_by = "R. Scott Gemmill" AND directed_by = "Ray Austin"</s> |
CREATE TABLE table_name_70 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) | SELECT MAX(bronze) FROM table_name_70 WHERE gold = 0 AND total > 0 AND silver > 1 | Gold of 0, and a Total larger than 0, and a Silver larger than 1 and what is the highest bronze? | <s>[INST]Gold of 0, and a Total larger than 0, and a Silver larger than 1 and what is the highest bronze? Context: CREATE TABLE table_name_70 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_70 WHERE gold = 0 AND total > 0 AND silver > 1</s> |
CREATE TABLE table_22941863_19 (mountains_classification VARCHAR, winner VARCHAR) | SELECT mountains_classification FROM table_22941863_19 WHERE winner = "Bernhard Eisel" | What is the mountain classification name if the winner is Bernhard Eisel? | <s>[INST]What is the mountain classification name if the winner is Bernhard Eisel? Context: CREATE TABLE table_22941863_19 (mountains_classification VARCHAR, winner VARCHAR)[/INST]SELECT mountains_classification FROM table_22941863_19 WHERE winner = "Bernhard Eisel"</s> |
CREATE TABLE table_name_73 (authors VARCHAR, location VARCHAR) | SELECT authors FROM table_name_73 WHERE location = "mexico" | Which author is located in Mexico? | <s>[INST]Which author is located in Mexico? Context: CREATE TABLE table_name_73 (authors VARCHAR, location VARCHAR)[/INST]SELECT authors FROM table_name_73 WHERE location = "mexico"</s> |
CREATE TABLE table_name_48 (opponent_in_the_final VARCHAR, score VARCHAR, date VARCHAR, partnering VARCHAR) | SELECT opponent_in_the_final FROM table_name_48 WHERE date < 1990 AND partnering = "yannick noah" AND score = "4–6, 6–3, 6–4" | Who was the opponent before 1990 that had a score of 4–6, 6–3, 6–4 and Partnering of Yannick Noah? | <s>[INST]Who was the opponent before 1990 that had a score of 4–6, 6–3, 6–4 and Partnering of Yannick Noah? Context: CREATE TABLE table_name_48 (opponent_in_the_final VARCHAR, score VARCHAR, date VARCHAR, partnering VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_48 WHERE date < 1990 AND partnering = "yannick noah" AND score = "4–6, 6–3, 6–4"</s> |
CREATE TABLE table_name_89 (total VARCHAR, league INTEGER) | SELECT total FROM table_name_89 WHERE league < 1 | what is the total when the league is less than 1? | <s>[INST]what is the total when the league is less than 1? Context: CREATE TABLE table_name_89 (total VARCHAR, league INTEGER)[/INST]SELECT total FROM table_name_89 WHERE league < 1</s> |
CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR) | SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = "lakefront office buildings" | What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings? | <s>[INST]What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings? Context: CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR)[/INST]SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = "lakefront office buildings"</s> |
CREATE TABLE table_name_47 (kaz_hayashi VARCHAR, block_a VARCHAR) | SELECT kaz_hayashi FROM table_name_47 WHERE block_a = "shuji kondo" | Name the kaz hayashi with block A of Shuji Kondo | <s>[INST]Name the kaz hayashi with block A of Shuji Kondo Context: CREATE TABLE table_name_47 (kaz_hayashi VARCHAR, block_a VARCHAR)[/INST]SELECT kaz_hayashi FROM table_name_47 WHERE block_a = "shuji kondo"</s> |
CREATE TABLE table_name_30 (country VARCHAR, date VARCHAR) | SELECT country FROM table_name_30 WHERE date = "october 24, 2008" | What is the country when the date shows October 24, 2008? | <s>[INST]What is the country when the date shows October 24, 2008? Context: CREATE TABLE table_name_30 (country VARCHAR, date VARCHAR)[/INST]SELECT country FROM table_name_30 WHERE date = "october 24, 2008"</s> |
CREATE TABLE table_name_63 (record VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_63 WHERE visitor = "florida" | What was the flyers' record when the visitors were florida? | <s>[INST]What was the flyers' record when the visitors were florida? Context: CREATE TABLE table_name_63 (record VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_63 WHERE visitor = "florida"</s> |
CREATE TABLE table_name_68 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_68 WHERE venue = "hampden park, glasgow" | What was the score in Hampden Park, Glasgow? | <s>[INST]What was the score in Hampden Park, Glasgow? Context: CREATE TABLE table_name_68 (score VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_68 WHERE venue = "hampden park, glasgow"</s> |
CREATE TABLE table_1140080_2 (report VARCHAR, date VARCHAR) | SELECT COUNT(report) FROM table_1140080_2 WHERE date = "29 April" | what's the total number of report with date 29 april | <s>[INST]what's the total number of report with date 29 april Context: CREATE TABLE table_1140080_2 (report VARCHAR, date VARCHAR)[/INST]SELECT COUNT(report) FROM table_1140080_2 WHERE date = "29 April"</s> |
CREATE TABLE table_name_62 (opponents INTEGER, opponent VARCHAR, result VARCHAR, nuggets_points VARCHAR) | SELECT SUM(opponents) FROM table_name_62 WHERE result = "win" AND nuggets_points < 115 AND opponent = "washington" | How many Opponents have a Result of win, and Nuggets points smaller than 115, and an Opponent of washington? | <s>[INST]How many Opponents have a Result of win, and Nuggets points smaller than 115, and an Opponent of washington? Context: CREATE TABLE table_name_62 (opponents INTEGER, opponent VARCHAR, result VARCHAR, nuggets_points VARCHAR)[/INST]SELECT SUM(opponents) FROM table_name_62 WHERE result = "win" AND nuggets_points < 115 AND opponent = "washington"</s> |
CREATE TABLE table_name_68 (attendance VARCHAR, venue VARCHAR) | SELECT COUNT(attendance) FROM table_name_68 WHERE venue = "los angeles memorial coliseum" | What is the number in attendance at Los Angeles Memorial Coliseum? | <s>[INST]What is the number in attendance at Los Angeles Memorial Coliseum? Context: CREATE TABLE table_name_68 (attendance VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_68 WHERE venue = "los angeles memorial coliseum"</s> |
CREATE TABLE table_name_26 (wind VARCHAR, athlete VARCHAR) | SELECT wind FROM table_name_26 WHERE athlete = "kerron stewart" | What kind of Wind has an Athlete of kerron stewart? | <s>[INST]What kind of Wind has an Athlete of kerron stewart? Context: CREATE TABLE table_name_26 (wind VARCHAR, athlete VARCHAR)[/INST]SELECT wind FROM table_name_26 WHERE athlete = "kerron stewart"</s> |
CREATE TABLE table_name_48 (country VARCHAR, city VARCHAR) | SELECT country FROM table_name_48 WHERE city = "wellington" | Which country is Wellington located in? | <s>[INST]Which country is Wellington located in? Context: CREATE TABLE table_name_48 (country VARCHAR, city VARCHAR)[/INST]SELECT country FROM table_name_48 WHERE city = "wellington"</s> |
CREATE TABLE table_21726793_1 (written_by VARCHAR, no VARCHAR) | SELECT written_by FROM table_21726793_1 WHERE no = 2 | who wrote the no 2? | <s>[INST]who wrote the no 2? Context: CREATE TABLE table_21726793_1 (written_by VARCHAR, no VARCHAR)[/INST]SELECT written_by FROM table_21726793_1 WHERE no = 2</s> |
CREATE TABLE table_name_40 (races VARCHAR, series VARCHAR, poles VARCHAR) | SELECT races FROM table_name_40 WHERE series = "formula one" AND poles = "test driver" | What race was there in the formula one series when there was a test driver? | <s>[INST]What race was there in the formula one series when there was a test driver? Context: CREATE TABLE table_name_40 (races VARCHAR, series VARCHAR, poles VARCHAR)[/INST]SELECT races FROM table_name_40 WHERE series = "formula one" AND poles = "test driver"</s> |
CREATE TABLE table_name_52 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_52 WHERE score = "3-6, 2-6" | What was the outcome of the match with a score of 3-6, 2-6? | <s>[INST]What was the outcome of the match with a score of 3-6, 2-6? Context: CREATE TABLE table_name_52 (outcome VARCHAR, score VARCHAR)[/INST]SELECT outcome FROM table_name_52 WHERE score = "3-6, 2-6"</s> |
CREATE TABLE table_23465864_5 (rider VARCHAR, tues_25_aug VARCHAR) | SELECT rider FROM table_23465864_5 WHERE tues_25_aug = "20' 32.11 110.241mph" | What is every rider on Tuesday August 25 at 20' 32.11 110.241mph? | <s>[INST]What is every rider on Tuesday August 25 at 20' 32.11 110.241mph? Context: CREATE TABLE table_23465864_5 (rider VARCHAR, tues_25_aug VARCHAR)[/INST]SELECT rider FROM table_23465864_5 WHERE tues_25_aug = "20' 32.11 110.241mph"</s> |
CREATE TABLE table_25005714_3 (bus_type VARCHAR, texture___gt__s_ VARCHAR) | SELECT bus_type FROM table_25005714_3 WHERE texture___gt__s_ = "Fillrate" | What is every bus type for the texture of fillrate? | <s>[INST]What is every bus type for the texture of fillrate? Context: CREATE TABLE table_25005714_3 (bus_type VARCHAR, texture___gt__s_ VARCHAR)[/INST]SELECT bus_type FROM table_25005714_3 WHERE texture___gt__s_ = "Fillrate"</s> |
CREATE TABLE table_14562722_1 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_14562722_1 WHERE directed_by = "Giancarlo Volpe" AND written_by = "John O'Bryan" | What was the airdate of the episode that was directed by giancarlo volpe and written by is john o'bryan? | <s>[INST]What was the airdate of the episode that was directed by giancarlo volpe and written by is john o'bryan? Context: CREATE TABLE table_14562722_1 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_14562722_1 WHERE directed_by = "Giancarlo Volpe" AND written_by = "John O'Bryan"</s> |
CREATE TABLE table_name_1 (lead_pitch_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR) | SELECT MAX(lead_pitch_mm) FROM table_name_1 WHERE part_number = "tsop40" AND body_length_mm > 18.4 | Which Lead Pitch/mm has a Part Number of tsop40, and a Body Length/mm larger than 18.4? | <s>[INST]Which Lead Pitch/mm has a Part Number of tsop40, and a Body Length/mm larger than 18.4? Context: CREATE TABLE table_name_1 (lead_pitch_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR)[/INST]SELECT MAX(lead_pitch_mm) FROM table_name_1 WHERE part_number = "tsop40" AND body_length_mm > 18.4</s> |
CREATE TABLE table_name_20 (cuts_made INTEGER, top_5 VARCHAR, wins VARCHAR) | SELECT MAX(cuts_made) FROM table_name_20 WHERE top_5 = 0 AND wins < 0 | What is the highest number of cuts made in a tournament with 0 wins and 0 top 5 placings? | <s>[INST]What is the highest number of cuts made in a tournament with 0 wins and 0 top 5 placings? Context: CREATE TABLE table_name_20 (cuts_made INTEGER, top_5 VARCHAR, wins VARCHAR)[/INST]SELECT MAX(cuts_made) FROM table_name_20 WHERE top_5 = 0 AND wins < 0</s> |
CREATE TABLE table_name_38 (bonus_points VARCHAR, club VARCHAR) | SELECT bonus_points FROM table_name_38 WHERE club = "stade français" | What number of bonus points did Stade Français? | <s>[INST]What number of bonus points did Stade Français? Context: CREATE TABLE table_name_38 (bonus_points VARCHAR, club VARCHAR)[/INST]SELECT bonus_points FROM table_name_38 WHERE club = "stade français"</s> |
CREATE TABLE table_30120619_1 (poor_law_union VARCHAR, townland VARCHAR) | SELECT poor_law_union FROM table_30120619_1 WHERE townland = "Barnahely" | What is the poor law union for the Barnahely towland? | <s>[INST]What is the poor law union for the Barnahely towland? Context: CREATE TABLE table_30120619_1 (poor_law_union VARCHAR, townland VARCHAR)[/INST]SELECT poor_law_union FROM table_30120619_1 WHERE townland = "Barnahely"</s> |
CREATE TABLE table_name_77 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT manner_of_departure FROM table_name_77 WHERE outgoing_manager = "giuseppe iachini" | What was the manner of departure for the outgoing manager, giuseppe iachini? | <s>[INST]What was the manner of departure for the outgoing manager, giuseppe iachini? Context: CREATE TABLE table_name_77 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT manner_of_departure FROM table_name_77 WHERE outgoing_manager = "giuseppe iachini"</s> |
CREATE TABLE table_name_74 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_74 WHERE opponent = "dundee" | What was the result when Dundee was the opponent? | <s>[INST]What was the result when Dundee was the opponent? Context: CREATE TABLE table_name_74 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_74 WHERE opponent = "dundee"</s> |
CREATE TABLE table_1969577_3 (founded VARCHAR, location VARCHAR) | SELECT founded FROM table_1969577_3 WHERE location = "Philadelphia, Pennsylvania" | When was the school in Philadelphia, Pennsylvania founded? | <s>[INST]When was the school in Philadelphia, Pennsylvania founded? Context: CREATE TABLE table_1969577_3 (founded VARCHAR, location VARCHAR)[/INST]SELECT founded FROM table_1969577_3 WHERE location = "Philadelphia, Pennsylvania"</s> |
CREATE TABLE table_2226817_4 (written_by VARCHAR, original_air_date VARCHAR) | SELECT written_by FROM table_2226817_4 WHERE original_air_date = "April 9, 1989" | Name who wrote the episode that aired april 9, 1989 | <s>[INST]Name who wrote the episode that aired april 9, 1989 Context: CREATE TABLE table_2226817_4 (written_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT written_by FROM table_2226817_4 WHERE original_air_date = "April 9, 1989"</s> |
CREATE TABLE table_name_59 (launch_vehicle VARCHAR, institutional_authority VARCHAR) | SELECT launch_vehicle FROM table_name_59 WHERE institutional_authority = "ndc" | Name the launch vehicle with Institutional authority of ndc | <s>[INST]Name the launch vehicle with Institutional authority of ndc Context: CREATE TABLE table_name_59 (launch_vehicle VARCHAR, institutional_authority VARCHAR)[/INST]SELECT launch_vehicle FROM table_name_59 WHERE institutional_authority = "ndc"</s> |
CREATE TABLE table_name_67 (location VARCHAR, league_division VARCHAR, position_in_2012_13 VARCHAR) | SELECT location FROM table_name_67 WHERE league_division = "second division" AND position_in_2012_13 = "4th, third division (promoted)" | What Location is in the second division and has 4th, third division (promoted) as its Position in 2012-13? | <s>[INST]What Location is in the second division and has 4th, third division (promoted) as its Position in 2012-13? Context: CREATE TABLE table_name_67 (location VARCHAR, league_division VARCHAR, position_in_2012_13 VARCHAR)[/INST]SELECT location FROM table_name_67 WHERE league_division = "second division" AND position_in_2012_13 = "4th, third division (promoted)"</s> |
CREATE TABLE table_29572583_19 (points INTEGER, rank VARCHAR) | SELECT MAX(points) FROM table_29572583_19 WHERE rank = 17 | How many points are listed when the rank is 17? | <s>[INST]How many points are listed when the rank is 17? Context: CREATE TABLE table_29572583_19 (points INTEGER, rank VARCHAR)[/INST]SELECT MAX(points) FROM table_29572583_19 WHERE rank = 17</s> |
CREATE TABLE table_name_31 (name VARCHAR, circuit VARCHAR) | SELECT name FROM table_name_31 WHERE circuit = "miramas" | What was the name for the race in the Miramas circuit? | <s>[INST]What was the name for the race in the Miramas circuit? Context: CREATE TABLE table_name_31 (name VARCHAR, circuit VARCHAR)[/INST]SELECT name FROM table_name_31 WHERE circuit = "miramas"</s> |
CREATE TABLE table_name_98 (college VARCHAR, overall VARCHAR, name VARCHAR) | SELECT college FROM table_name_98 WHERE overall > 76 AND name = "brian mitchell" | what is the college when the overall is more than 76 for brian mitchell? | <s>[INST]what is the college when the overall is more than 76 for brian mitchell? Context: CREATE TABLE table_name_98 (college VARCHAR, overall VARCHAR, name VARCHAR)[/INST]SELECT college FROM table_name_98 WHERE overall > 76 AND name = "brian mitchell"</s> |
CREATE TABLE table_name_48 (team_2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_48 WHERE team_2 = "cs sfaxien" | What is the 1st leg of cs sfaxien? | <s>[INST]What is the 1st leg of cs sfaxien? Context: CREATE TABLE table_name_48 (team_2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_48 WHERE team_2 = "cs sfaxien"</s> |
CREATE TABLE table_14125006_1 (total_time_hours VARCHAR, number VARCHAR) | SELECT total_time_hours AS :minutes FROM table_14125006_1 WHERE number = 17 | How long was the walk numbered at 17? | <s>[INST]How long was the walk numbered at 17? Context: CREATE TABLE table_14125006_1 (total_time_hours VARCHAR, number VARCHAR)[/INST]SELECT total_time_hours AS :minutes FROM table_14125006_1 WHERE number = 17</s> |
CREATE TABLE table_name_27 (gdp__ppp__per_capita_2012_eu27_ VARCHAR, _100 VARCHAR, gdp_2012_millions_of_euro VARCHAR) | SELECT gdp__ppp__per_capita_2012_eu27_ = _100 FROM table_name_27 WHERE gdp_2012_millions_of_euro = "309,900" | What is GDP (PPP) Per Capita 2012 EU27 = 100, when GDP 2012 Millions Of Euro is 309,900? | <s>[INST]What is GDP (PPP) Per Capita 2012 EU27 = 100, when GDP 2012 Millions Of Euro is 309,900? Context: CREATE TABLE table_name_27 (gdp__ppp__per_capita_2012_eu27_ VARCHAR, _100 VARCHAR, gdp_2012_millions_of_euro VARCHAR)[/INST]SELECT gdp__ppp__per_capita_2012_eu27_ = _100 FROM table_name_27 WHERE gdp_2012_millions_of_euro = "309,900"</s> |
CREATE TABLE table_17289604_38 (round_of_32 VARCHAR, athlete VARCHAR) | SELECT round_of_32 FROM table_17289604_38 WHERE athlete = "Nicole Vaidišová" | What were the results for round of 32 for Nicole Vaidišová? | <s>[INST]What were the results for round of 32 for Nicole Vaidišová? Context: CREATE TABLE table_17289604_38 (round_of_32 VARCHAR, athlete VARCHAR)[/INST]SELECT round_of_32 FROM table_17289604_38 WHERE athlete = "Nicole Vaidišová"</s> |