context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_1 (example_meaning_in_english VARCHAR, tone VARCHAR) | SELECT example_meaning_in_english FROM table_name_1 WHERE tone = "mid rising-falling" | What is the example in English for a tone of mid rising-falling? | <s>[INST]What is the example in English for a tone of mid rising-falling? Context: CREATE TABLE table_name_1 (example_meaning_in_english VARCHAR, tone VARCHAR)[/INST]SELECT example_meaning_in_english FROM table_name_1 WHERE tone = "mid rising-falling"</s> |
CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_59 WHERE home = "colorado" AND visitor = "winnipeg" | What is the record of the game that had a home team of Colorado, and a visiting team of Winnipeg? | <s>[INST]What is the record of the game that had a home team of Colorado, and a visiting team of Winnipeg? Context: CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_59 WHERE home = "colorado" AND visitor = "winnipeg"</s> |
CREATE TABLE table_269920_17 (speed__ghz_ VARCHAR, model VARCHAR) | SELECT speed__ghz_ FROM table_269920_17 WHERE model = "X5560" | What is the speed of model x5560? | <s>[INST]What is the speed of model x5560? Context: CREATE TABLE table_269920_17 (speed__ghz_ VARCHAR, model VARCHAR)[/INST]SELECT speed__ghz_ FROM table_269920_17 WHERE model = "X5560"</s> |
CREATE TABLE room (roomtype VARCHAR) | SELECT COUNT(DISTINCT roomtype) FROM room | How many different types of rooms are there? | <s>[INST]How many different types of rooms are there? Context: CREATE TABLE room (roomtype VARCHAR)[/INST]SELECT COUNT(DISTINCT roomtype) FROM room</s> |
CREATE TABLE table_name_84 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_84 WHERE score = 69 - 73 - 68 - 70 = 280 | Name the to par for score of 69-73-68-70=280 | <s>[INST]Name the to par for score of 69-73-68-70=280 Context: CREATE TABLE table_name_84 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_84 WHERE score = 69 - 73 - 68 - 70 = 280</s> |
CREATE TABLE table_name_52 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_52 WHERE nationality = "canada" AND round < 3 | What College/Junior/Club Team (League) from Canada has a round smaller than 3? | <s>[INST]What College/Junior/Club Team (League) from Canada has a round smaller than 3? Context: CREATE TABLE table_name_52 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_52 WHERE nationality = "canada" AND round < 3</s> |
CREATE TABLE table_1341604_22 (party VARCHAR, candidates VARCHAR) | SELECT party FROM table_1341604_22 WHERE candidates = "Silvio Conte (R) Unopposed" | what's the party with candidates being silvio conte (r) unopposed | <s>[INST]what's the party with candidates being silvio conte (r) unopposed Context: CREATE TABLE table_1341604_22 (party VARCHAR, candidates VARCHAR)[/INST]SELECT party FROM table_1341604_22 WHERE candidates = "Silvio Conte (R) Unopposed"</s> |
CREATE TABLE table_16388478_2 (home_team VARCHAR, ground VARCHAR) | SELECT home_team AS score FROM table_16388478_2 WHERE ground = "York Park" | What were the home team scores at york park? | <s>[INST]What were the home team scores at york park? Context: CREATE TABLE table_16388478_2 (home_team VARCHAR, ground VARCHAR)[/INST]SELECT home_team AS score FROM table_16388478_2 WHERE ground = "York Park"</s> |
CREATE TABLE table_23284271_8 (date VARCHAR, record VARCHAR) | SELECT date FROM table_23284271_8 WHERE record = "32-19" | When did the Mavericks have a record of 32-19? | <s>[INST]When did the Mavericks have a record of 32-19? Context: CREATE TABLE table_23284271_8 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_23284271_8 WHERE record = "32-19"</s> |
CREATE TABLE customer_contact_channels (channel_code VARCHAR, contact_number VARCHAR, active_to_date VARCHAR, active_from_date VARCHAR) | SELECT channel_code, contact_number FROM customer_contact_channels WHERE active_to_date - active_from_date = (SELECT active_to_date - active_from_date FROM customer_contact_channels ORDER BY (active_to_date - active_from_date) DESC LIMIT 1) | What is the channel code and contact number of the customer contact channel that was active for the longest time? | <s>[INST]What is the channel code and contact number of the customer contact channel that was active for the longest time? Context: CREATE TABLE customer_contact_channels (channel_code VARCHAR, contact_number VARCHAR, active_to_date VARCHAR, active_from_date VARCHAR)[/INST]SELECT channel_code, contact_number FROM custo... |
CREATE TABLE table_206217_2 (periselene__km_ VARCHAR, epoch__utc_ VARCHAR) | SELECT COUNT(periselene__km_) FROM table_206217_2 WHERE epoch__utc_ = "November 15, 2004, 17:47:12.1" | How many values of periselene when epoch is November 15, 2004, 17:47:12.1? | <s>[INST]How many values of periselene when epoch is November 15, 2004, 17:47:12.1? Context: CREATE TABLE table_206217_2 (periselene__km_ VARCHAR, epoch__utc_ VARCHAR)[/INST]SELECT COUNT(periselene__km_) FROM table_206217_2 WHERE epoch__utc_ = "November 15, 2004, 17:47:12.1"</s> |
CREATE TABLE table_10470082_7 (_number INTEGER, writer VARCHAR) | SELECT MAX(_number) FROM table_10470082_7 WHERE writer = "Allison Lea Bingeman" | What is the largest # for an episode that was written by Allison Lea Bingeman? | <s>[INST]What is the largest # for an episode that was written by Allison Lea Bingeman? Context: CREATE TABLE table_10470082_7 (_number INTEGER, writer VARCHAR)[/INST]SELECT MAX(_number) FROM table_10470082_7 WHERE writer = "Allison Lea Bingeman"</s> |
CREATE TABLE table_15187735_17 (segment_b VARCHAR, segment_c VARCHAR) | SELECT segment_b FROM table_15187735_17 WHERE segment_c = "Beet Sugar" | for the shows featuring beet sugar, what was on before that | <s>[INST]for the shows featuring beet sugar, what was on before that Context: CREATE TABLE table_15187735_17 (segment_b VARCHAR, segment_c VARCHAR)[/INST]SELECT segment_b FROM table_15187735_17 WHERE segment_c = "Beet Sugar"</s> |
CREATE TABLE table_name_66 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_66 WHERE tournament = "general foods pga seniors' championship" | When was the general foods pga seniors' championship tournament? | <s>[INST]When was the general foods pga seniors' championship tournament? Context: CREATE TABLE table_name_66 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE tournament = "general foods pga seniors' championship"</s> |
CREATE TABLE table_name_93 (title VARCHAR, termination_of_mission VARCHAR) | SELECT title FROM table_name_93 WHERE termination_of_mission = "august 13, 1854" | What Title has a Termination of Mission for August 13, 1854? | <s>[INST]What Title has a Termination of Mission for August 13, 1854? Context: CREATE TABLE table_name_93 (title VARCHAR, termination_of_mission VARCHAR)[/INST]SELECT title FROM table_name_93 WHERE termination_of_mission = "august 13, 1854"</s> |
CREATE TABLE table_name_85 (bandwidth_included VARCHAR, internet_plan VARCHAR) | SELECT bandwidth_included FROM table_name_85 WHERE internet_plan = "8mb" | What is Bandwidth Included, when Internet Plan is "8mb"? | <s>[INST]What is Bandwidth Included, when Internet Plan is "8mb"? Context: CREATE TABLE table_name_85 (bandwidth_included VARCHAR, internet_plan VARCHAR)[/INST]SELECT bandwidth_included FROM table_name_85 WHERE internet_plan = "8mb"</s> |
CREATE TABLE table_name_61 (location VARCHAR, club VARCHAR) | SELECT location FROM table_name_61 WHERE club = "telecom" | What is the location for a club of telecom? | <s>[INST]What is the location for a club of telecom? Context: CREATE TABLE table_name_61 (location VARCHAR, club VARCHAR)[/INST]SELECT location FROM table_name_61 WHERE club = "telecom"</s> |
CREATE TABLE table_name_81 (position VARCHAR, round VARCHAR, overall VARCHAR) | SELECT position FROM table_name_81 WHERE round < 4 AND overall = "17" | What is the position of a player from a round less than 4 and an overall of 17? | <s>[INST]What is the position of a player from a round less than 4 and an overall of 17? Context: CREATE TABLE table_name_81 (position VARCHAR, round VARCHAR, overall VARCHAR)[/INST]SELECT position FROM table_name_81 WHERE round < 4 AND overall = "17"</s> |
CREATE TABLE orchestra (Orchestra VARCHAR, Orchestra_ID VARCHAR); CREATE TABLE performance (Orchestra VARCHAR, Orchestra_ID VARCHAR) | SELECT Orchestra FROM orchestra WHERE NOT Orchestra_ID IN (SELECT Orchestra_ID FROM performance) | List the names of orchestras that have no performance. | <s>[INST]List the names of orchestras that have no performance. Context: CREATE TABLE orchestra (Orchestra VARCHAR, Orchestra_ID VARCHAR); CREATE TABLE performance (Orchestra VARCHAR, Orchestra_ID VARCHAR)[/INST]SELECT Orchestra FROM orchestra WHERE NOT Orchestra_ID IN (SELECT Orchestra_ID FROM performance)</s> |
CREATE TABLE table_name_89 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_89 WHERE attendance = "78,301" | Tell me the week that has an attendance of 78,301 | <s>[INST]Tell me the week that has an attendance of 78,301 Context: CREATE TABLE table_name_89 (week VARCHAR, attendance VARCHAR)[/INST]SELECT week FROM table_name_89 WHERE attendance = "78,301"</s> |
CREATE TABLE table_name_81 (conference_matchups VARCHAR, payout___us$__ VARCHAR) | SELECT conference_matchups FROM table_name_81 WHERE payout___us$__ = "$3 million" | What was the conference matchup in the bowl game with a $3 million payout? | <s>[INST]What was the conference matchup in the bowl game with a $3 million payout? Context: CREATE TABLE table_name_81 (conference_matchups VARCHAR, payout___us$__ VARCHAR)[/INST]SELECT conference_matchups FROM table_name_81 WHERE payout___us$__ = "$3 million"</s> |
CREATE TABLE table_name_6 (college VARCHAR, round VARCHAR, position VARCHAR) | SELECT college FROM table_name_6 WHERE round > 2 AND position = "guard" | Round larger than 2, and a Position of guard involves what college? | <s>[INST]Round larger than 2, and a Position of guard involves what college? Context: CREATE TABLE table_name_6 (college VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_name_6 WHERE round > 2 AND position = "guard"</s> |
CREATE TABLE table_name_16 (points INTEGER, place VARCHAR, played VARCHAR) | SELECT SUM(points) FROM table_name_16 WHERE place < 2 AND played > 18 | What is the total points for a place less than 2 with a played greater than 18? | <s>[INST]What is the total points for a place less than 2 with a played greater than 18? Context: CREATE TABLE table_name_16 (points INTEGER, place VARCHAR, played VARCHAR)[/INST]SELECT SUM(points) FROM table_name_16 WHERE place < 2 AND played > 18</s> |
CREATE TABLE table_name_15 (fa_cup INTEGER, total VARCHAR, league VARCHAR) | SELECT AVG(fa_cup) FROM table_name_15 WHERE total > 32 AND league > 24 | How many FA Cups on average have a larger total than 32 and a larger league than 24? | <s>[INST]How many FA Cups on average have a larger total than 32 and a larger league than 24? Context: CREATE TABLE table_name_15 (fa_cup INTEGER, total VARCHAR, league VARCHAR)[/INST]SELECT AVG(fa_cup) FROM table_name_15 WHERE total > 32 AND league > 24</s> |
CREATE TABLE table_name_85 (year INTEGER, notes VARCHAR, competition VARCHAR) | SELECT MIN(year) FROM table_name_85 WHERE notes = "1500 m" AND competition = "world junior championships" | What is the earliest year the world junior championships has 1500 m notes? | <s>[INST]What is the earliest year the world junior championships has 1500 m notes? Context: CREATE TABLE table_name_85 (year INTEGER, notes VARCHAR, competition VARCHAR)[/INST]SELECT MIN(year) FROM table_name_85 WHERE notes = "1500 m" AND competition = "world junior championships"</s> |
CREATE TABLE table_name_88 (matches VARCHAR, strike_rate VARCHAR, balls VARCHAR) | SELECT COUNT(matches) FROM table_name_88 WHERE strike_rate < 152.3 AND balls = 395 | Can you tell me the total number of Matched that has the Strike Rate smallet than 152.3, and the Balls of 395? | <s>[INST]Can you tell me the total number of Matched that has the Strike Rate smallet than 152.3, and the Balls of 395? Context: CREATE TABLE table_name_88 (matches VARCHAR, strike_rate VARCHAR, balls VARCHAR)[/INST]SELECT COUNT(matches) FROM table_name_88 WHERE strike_rate < 152.3 AND balls = 395</s> |
CREATE TABLE table_27397948_2 (title VARCHAR, no_in_series VARCHAR) | SELECT title FROM table_27397948_2 WHERE no_in_series = 57 | List all titles with a 57 series number. | <s>[INST]List all titles with a 57 series number. Context: CREATE TABLE table_27397948_2 (title VARCHAR, no_in_series VARCHAR)[/INST]SELECT title FROM table_27397948_2 WHERE no_in_series = 57</s> |
CREATE TABLE table_name_66 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_66 WHERE home_team = "st kilda" | Which away team played against the home team of St Kilda? | <s>[INST]Which away team played against the home team of St Kilda? Context: CREATE TABLE table_name_66 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_66 WHERE home_team = "st kilda"</s> |
CREATE TABLE Catalog_Contents_Additional_Attributes (attribute_id VARCHAR, attribute_value VARCHAR); CREATE TABLE Attribute_Definitions (attribute_name VARCHAR, attribute_id VARCHAR) | SELECT t1.attribute_name, t1.attribute_id FROM Attribute_Definitions AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.attribute_id = t2.attribute_id WHERE t2.attribute_value = 0 | Find the name and attribute ID of the attribute definitions with attribute value 0. | <s>[INST]Find the name and attribute ID of the attribute definitions with attribute value 0. Context: CREATE TABLE Catalog_Contents_Additional_Attributes (attribute_id VARCHAR, attribute_value VARCHAR); CREATE TABLE Attribute_Definitions (attribute_name VARCHAR, attribute_id VARCHAR)[/INST]SELECT t1.attribute_name, t1.... |
CREATE TABLE table_name_58 (event VARCHAR) | SELECT 2008 AS _09 FROM table_name_58 WHERE event = "masters" | What is the 2008-09 result has Masters as the event? | <s>[INST]What is the 2008-09 result has Masters as the event? Context: CREATE TABLE table_name_58 (event VARCHAR)[/INST]SELECT 2008 AS _09 FROM table_name_58 WHERE event = "masters"</s> |
CREATE TABLE table_name_67 (period VARCHAR, year VARCHAR) | SELECT period FROM table_name_67 WHERE year = 1896 | What was the period for 1896? | <s>[INST]What was the period for 1896? Context: CREATE TABLE table_name_67 (period VARCHAR, year VARCHAR)[/INST]SELECT period FROM table_name_67 WHERE year = 1896</s> |
CREATE TABLE table_name_84 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_84 WHERE date = "april 6" | Who took the loss on the April 6 game? | <s>[INST]Who took the loss on the April 6 game? Context: CREATE TABLE table_name_84 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_84 WHERE date = "april 6"</s> |
CREATE TABLE table_name_4 (year INTEGER) | SELECT 2 AS nd_day FROM table_name_4 WHERE year < 2009 | Which 2nd day has a year prior to 2009? | <s>[INST]Which 2nd day has a year prior to 2009? Context: CREATE TABLE table_name_4 (year INTEGER)[/INST]SELECT 2 AS nd_day FROM table_name_4 WHERE year < 2009</s> |
CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_26920192_5 WHERE winning_driver = "Kristian Ghedina" | Who had the fastest lap when the winning driver was kristian ghedina? | <s>[INST]Who had the fastest lap when the winning driver was kristian ghedina? Context: CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR)[/INST]SELECT fastest_lap FROM table_26920192_5 WHERE winning_driver = "Kristian Ghedina"</s> |
CREATE TABLE table_name_94 (us_cham_rank INTEGER, next_highest_spender VARCHAR, year VARCHAR) | SELECT MIN(us_cham_rank) FROM table_name_94 WHERE next_highest_spender = "national assn of realtors" AND year < 2012 | Which US Cham Rank is the lowest one that has a Next Highest Spender of national assn of realtors, and a Year smaller than 2012? | <s>[INST]Which US Cham Rank is the lowest one that has a Next Highest Spender of national assn of realtors, and a Year smaller than 2012? Context: CREATE TABLE table_name_94 (us_cham_rank INTEGER, next_highest_spender VARCHAR, year VARCHAR)[/INST]SELECT MIN(us_cham_rank) FROM table_name_94 WHERE next_highest_spender = ... |
CREATE TABLE table_name_59 (second VARCHAR, city VARCHAR, skip VARCHAR) | SELECT second FROM table_name_59 WHERE city = "regina" AND skip = "michelle englot" | WHAT IS TEH SECOND WITH REGINA AS CITY AND SKIP OF MICHELLE ENGLOT? | <s>[INST]WHAT IS TEH SECOND WITH REGINA AS CITY AND SKIP OF MICHELLE ENGLOT? Context: CREATE TABLE table_name_59 (second VARCHAR, city VARCHAR, skip VARCHAR)[/INST]SELECT second FROM table_name_59 WHERE city = "regina" AND skip = "michelle englot"</s> |
CREATE TABLE table_name_85 (Id VARCHAR) | SELECT 2010 FROM table_name_85 WHERE 2004 = "2r" AND 2011 = "3r" | What is the 2010 value with a 2r in 200r and a 3r in 2011? | <s>[INST]What is the 2010 value with a 2r in 200r and a 3r in 2011? Context: CREATE TABLE table_name_85 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_85 WHERE 2004 = "2r" AND 2011 = "3r"</s> |
CREATE TABLE table_name_13 (weight VARCHAR, length VARCHAR) | SELECT weight FROM table_name_13 WHERE length = "1168mm / 46 in" | What is Weight, when Length is 1168mm / 46 in? | <s>[INST]What is Weight, when Length is 1168mm / 46 in? Context: CREATE TABLE table_name_13 (weight VARCHAR, length VARCHAR)[/INST]SELECT weight FROM table_name_13 WHERE length = "1168mm / 46 in"</s> |
CREATE TABLE Rating (rID VARCHAR, stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) | SELECT T2.title, T1.rID, T1.stars, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.rID | Find the title and star rating of the movie that got the least rating star for each reviewer. | <s>[INST]Find the title and star rating of the movie that got the least rating star for each reviewer. Context: CREATE TABLE Rating (rID VARCHAR, stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)[/INST]SELECT T2.title, T1.rID, T1.stars, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.m... |
CREATE TABLE table_name_67 (location VARCHAR, year VARCHAR, silver VARCHAR) | SELECT location FROM table_name_67 WHERE year < 2010 AND silver = "hei zhi hong" | What is the location for the year under 2010 and the year Hei Zhi Hong won silver? | <s>[INST]What is the location for the year under 2010 and the year Hei Zhi Hong won silver? Context: CREATE TABLE table_name_67 (location VARCHAR, year VARCHAR, silver VARCHAR)[/INST]SELECT location FROM table_name_67 WHERE year < 2010 AND silver = "hei zhi hong"</s> |
CREATE TABLE table_name_84 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR) | SELECT date FROM table_name_84 WHERE against < 32 AND opposing_teams = "australia" | What date has fewer than 32 against and the opposing team of Australia? | <s>[INST]What date has fewer than 32 against and the opposing team of Australia? Context: CREATE TABLE table_name_84 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR)[/INST]SELECT date FROM table_name_84 WHERE against < 32 AND opposing_teams = "australia"</s> |
CREATE TABLE table_12496904_1 (population_density_2012__km_2__ INTEGER, sector VARCHAR) | SELECT MIN(population_density_2012__km_2__) FROM table_12496904_1 WHERE sector = "Gatunda" | What is the population density for 2012 for Gatunda sector? | <s>[INST]What is the population density for 2012 for Gatunda sector? Context: CREATE TABLE table_12496904_1 (population_density_2012__km_2__ INTEGER, sector VARCHAR)[/INST]SELECT MIN(population_density_2012__km_2__) FROM table_12496904_1 WHERE sector = "Gatunda"</s> |
CREATE TABLE table_name_47 (name VARCHAR, floors VARCHAR) | SELECT name FROM table_name_47 WHERE floors = 46 | what is the name that had 46 floors? | <s>[INST]what is the name that had 46 floors? Context: CREATE TABLE table_name_47 (name VARCHAR, floors VARCHAR)[/INST]SELECT name FROM table_name_47 WHERE floors = 46</s> |
CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_41 WHERE date = "december 14, 1975" AND week > 13 | What was the total attendance on December 14, 1975 after week 13? | <s>[INST]What was the total attendance on December 14, 1975 after week 13? Context: CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_41 WHERE date = "december 14, 1975" AND week > 13</s> |
CREATE TABLE table_name_24 (call_sign VARCHAR, erp_w VARCHAR, class VARCHAR, frequency_mhz VARCHAR) | SELECT call_sign FROM table_name_24 WHERE class = "d" AND frequency_mhz < 107.7 AND erp_w < 232 | Class of d, and a Frequency MHz smaller than 107.7, and a ERP W smaller than 232 has what call sign? | <s>[INST]Class of d, and a Frequency MHz smaller than 107.7, and a ERP W smaller than 232 has what call sign? Context: CREATE TABLE table_name_24 (call_sign VARCHAR, erp_w VARCHAR, class VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT call_sign FROM table_name_24 WHERE class = "d" AND frequency_mhz < 107.7 AND erp_w < 232... |
CREATE TABLE table_10577579_2 (mens_nickname VARCHAR, location VARCHAR) | SELECT mens_nickname FROM table_10577579_2 WHERE location = "Jacksonville, Florida" | What is the Mens Nickname for the member location of Jacksonville, florida? | <s>[INST]What is the Mens Nickname for the member location of Jacksonville, florida? Context: CREATE TABLE table_10577579_2 (mens_nickname VARCHAR, location VARCHAR)[/INST]SELECT mens_nickname FROM table_10577579_2 WHERE location = "Jacksonville, Florida"</s> |
CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_9 WHERE opponent = "@ new york knicks" | What is Score, when Opponent is "@ New York Knicks"? | <s>[INST]What is Score, when Opponent is "@ New York Knicks"? Context: CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_9 WHERE opponent = "@ new york knicks"</s> |
CREATE TABLE table_name_4 (date VARCHAR, country VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_4 WHERE country = "us" AND catalog = "ck 9942" | What is the date for US catalog CK 9942? | <s>[INST]What is the date for US catalog CK 9942? Context: CREATE TABLE table_name_4 (date VARCHAR, country VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE country = "us" AND catalog = "ck 9942"</s> |
CREATE TABLE table_name_35 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT AVG(attendance) FROM table_name_35 WHERE date = "october 10, 1971" AND week > 4 | What was the Attendance after Week 4 on October 10, 1971? | <s>[INST]What was the Attendance after Week 4 on October 10, 1971? Context: CREATE TABLE table_name_35 (attendance INTEGER, date VARCHAR, week VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_35 WHERE date = "october 10, 1971" AND week > 4</s> |
CREATE TABLE table_11447995_2 (haydon VARCHAR, larter VARCHAR, libweshya VARCHAR) | SELECT haydon FROM table_11447995_2 WHERE larter = "11" AND libweshya = "4" | What is Haydon when Larter is 11 and Libweshya is 4? | <s>[INST]What is Haydon when Larter is 11 and Libweshya is 4? Context: CREATE TABLE table_11447995_2 (haydon VARCHAR, larter VARCHAR, libweshya VARCHAR)[/INST]SELECT haydon FROM table_11447995_2 WHERE larter = "11" AND libweshya = "4"</s> |
CREATE TABLE table_name_59 (cuts_made INTEGER, wins INTEGER) | SELECT MIN(cuts_made) FROM table_name_59 WHERE wins > 0 | What is the smallest number of cuts when there were more than 0 wins? | <s>[INST]What is the smallest number of cuts when there were more than 0 wins? Context: CREATE TABLE table_name_59 (cuts_made INTEGER, wins INTEGER)[/INST]SELECT MIN(cuts_made) FROM table_name_59 WHERE wins > 0</s> |
CREATE TABLE table_name_58 (away_team VARCHAR, attendance VARCHAR) | SELECT away_team FROM table_name_58 WHERE attendance = 117 | What is the away team of the game with an attendance of 117? | <s>[INST]What is the away team of the game with an attendance of 117? Context: CREATE TABLE table_name_58 (away_team VARCHAR, attendance VARCHAR)[/INST]SELECT away_team FROM table_name_58 WHERE attendance = 117</s> |
CREATE TABLE table_23465011_5 (total_score INTEGER, average_ranking VARCHAR) | SELECT MAX(total_score) FROM table_23465011_5 WHERE average_ranking = 7 | What is the total score when 7 is the average ranking? | <s>[INST]What is the total score when 7 is the average ranking? Context: CREATE TABLE table_23465011_5 (total_score INTEGER, average_ranking VARCHAR)[/INST]SELECT MAX(total_score) FROM table_23465011_5 WHERE average_ranking = 7</s> |
CREATE TABLE table_name_45 (laps INTEGER, time VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_45 WHERE time = "42:31.153" AND grid > 1 | What is the fewest amount of laps when the grid was larger than 1 and 42:31.153? | <s>[INST]What is the fewest amount of laps when the grid was larger than 1 and 42:31.153? Context: CREATE TABLE table_name_45 (laps INTEGER, time VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_45 WHERE time = "42:31.153" AND grid > 1</s> |
CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_49 WHERE away_team = "luton town" | What team was the home team when Luton Town was the home team? | <s>[INST]What team was the home team when Luton Town was the home team? Context: CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_49 WHERE away_team = "luton town"</s> |
CREATE TABLE table_2562572_33 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) | SELECT cyrillic_name_other_names FROM table_2562572_33 WHERE settlement = "Martonoš" | What is the other name for martonoš? | <s>[INST]What is the other name for martonoš? Context: CREATE TABLE table_2562572_33 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)[/INST]SELECT cyrillic_name_other_names FROM table_2562572_33 WHERE settlement = "Martonoš"</s> |
CREATE TABLE table_23294081_11 (us_viewers__millions_ VARCHAR, no VARCHAR) | SELECT us_viewers__millions_ FROM table_23294081_11 WHERE no = 226 | How many millions of people in the US saw the episode number 226? | <s>[INST]How many millions of people in the US saw the episode number 226? Context: CREATE TABLE table_23294081_11 (us_viewers__millions_ VARCHAR, no VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_23294081_11 WHERE no = 226</s> |
CREATE TABLE table_name_94 (best_blocker VARCHAR, league_champion VARCHAR, cantsleep_award VARCHAR) | SELECT best_blocker FROM table_name_94 WHERE league_champion = "queens of pain" AND cantsleep_award = "chassis crass (brooklyn)" | Who was the best blocker for the year that has a League Champion of queens of pain, and a C.A.N.T.S.L.E.E.P. Award of chassis crass (brooklyn)? | <s>[INST]Who was the best blocker for the year that has a League Champion of queens of pain, and a C.A.N.T.S.L.E.E.P. Award of chassis crass (brooklyn)? Context: CREATE TABLE table_name_94 (best_blocker VARCHAR, league_champion VARCHAR, cantsleep_award VARCHAR)[/INST]SELECT best_blocker FROM table_name_94 WHERE league_... |
CREATE TABLE table_name_75 (pos VARCHAR, driver VARCHAR) | SELECT pos FROM table_name_75 WHERE driver = "adrian sutil" | Tell me the pos for adrian sutil | <s>[INST]Tell me the pos for adrian sutil Context: CREATE TABLE table_name_75 (pos VARCHAR, driver VARCHAR)[/INST]SELECT pos FROM table_name_75 WHERE driver = "adrian sutil"</s> |
CREATE TABLE table_name_80 (c_span_2009 VARCHAR, times_2008 VARCHAR) | SELECT c_span_2009 FROM table_name_80 WHERE times_2008 * * = "08" | what is c-span 2009 when times 2008** is 08? | <s>[INST]what is c-span 2009 when times 2008** is 08? Context: CREATE TABLE table_name_80 (c_span_2009 VARCHAR, times_2008 VARCHAR)[/INST]SELECT c_span_2009 FROM table_name_80 WHERE times_2008 * * = "08"</s> |
CREATE TABLE table_name_96 (name VARCHAR, debut VARCHAR) | SELECT name FROM table_name_96 WHERE debut = "round 6" | What is the name of the player that had a debut in round 6? | <s>[INST]What is the name of the player that had a debut in round 6? Context: CREATE TABLE table_name_96 (name VARCHAR, debut VARCHAR)[/INST]SELECT name FROM table_name_96 WHERE debut = "round 6"</s> |
CREATE TABLE table_2233872_1 (Otl INTEGER, l VARCHAR) | SELECT MAX(Otl) FROM table_2233872_1 WHERE l = 28 | What was the maximum OTL if L is 28? | <s>[INST]What was the maximum OTL if L is 28? Context: CREATE TABLE table_2233872_1 (Otl INTEGER, l VARCHAR)[/INST]SELECT MAX(Otl) FROM table_2233872_1 WHERE l = 28</s> |
CREATE TABLE table_1682026_9 (rank VARCHAR, profits__billion_$_ VARCHAR) | SELECT COUNT(rank) FROM table_1682026_9 WHERE profits__billion_$_ = "9.52" | Name the number of rank for 9.52 profits | <s>[INST]Name the number of rank for 9.52 profits Context: CREATE TABLE table_1682026_9 (rank VARCHAR, profits__billion_$_ VARCHAR)[/INST]SELECT COUNT(rank) FROM table_1682026_9 WHERE profits__billion_$_ = "9.52"</s> |
CREATE TABLE table_name_11 (legs_lost VARCHAR, player VARCHAR, played VARCHAR) | SELECT COUNT(legs_lost) FROM table_name_11 WHERE player = "trina gulliver" AND played > 3 | How many legs were lost for Trina Gulliver with more than 3 played? | <s>[INST]How many legs were lost for Trina Gulliver with more than 3 played? Context: CREATE TABLE table_name_11 (legs_lost VARCHAR, player VARCHAR, played VARCHAR)[/INST]SELECT COUNT(legs_lost) FROM table_name_11 WHERE player = "trina gulliver" AND played > 3</s> |
CREATE TABLE Student (age INTEGER, StuID VARCHAR); CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Has_allergy (StuID VARCHAR, Allergy VARCHAR) | SELECT AVG(age) FROM Student WHERE StuID IN (SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = "food" INTERSECT SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = "animal") | Find the average age of the students who have allergies with food and animal types. | <s>[INST]Find the average age of the students who have allergies with food and animal types. Context: CREATE TABLE Student (age INTEGER, StuID VARCHAR); CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Has_allergy (StuID VARCHAR, Allergy VARCHAR)[/INST]SELECT AVG(age) FROM Student WHERE St... |
CREATE TABLE table_name_53 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_53 WHERE result = "l 16–12" | What was the highest week with a result of l 16–12? | <s>[INST]What was the highest week with a result of l 16–12? Context: CREATE TABLE table_name_53 (week INTEGER, result VARCHAR)[/INST]SELECT MAX(week) FROM table_name_53 WHERE result = "l 16–12"</s> |
CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_63 WHERE score = "102–113" | Which Date has a Score of 102–113? | <s>[INST]Which Date has a Score of 102–113? Context: CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_63 WHERE score = "102–113"</s> |
CREATE TABLE table_name_41 (season VARCHAR, league VARCHAR) | SELECT season FROM table_name_41 WHERE league = "regionalliga süd (iii)" | Which season has the regionalliga süd (iii) league? | <s>[INST]Which season has the regionalliga süd (iii) league? Context: CREATE TABLE table_name_41 (season VARCHAR, league VARCHAR)[/INST]SELECT season FROM table_name_41 WHERE league = "regionalliga süd (iii)"</s> |
CREATE TABLE table_26894949_2 (event VARCHAR, puma VARCHAR, abu_dhabi VARCHAR) | SELECT COUNT(event) FROM table_26894949_2 WHERE puma = "20" AND abu_dhabi = "30" | In how many events was Puma 20 and abu dhabi 30? | <s>[INST]In how many events was Puma 20 and abu dhabi 30? Context: CREATE TABLE table_26894949_2 (event VARCHAR, puma VARCHAR, abu_dhabi VARCHAR)[/INST]SELECT COUNT(event) FROM table_26894949_2 WHERE puma = "20" AND abu_dhabi = "30"</s> |
CREATE TABLE table_name_72 (notes VARCHAR, result VARCHAR, method VARCHAR, event VARCHAR) | SELECT notes FROM table_name_72 WHERE method = "points" AND event = "adcc 2001 absolute" AND result = "loss" | Tell me the notes with method of points and event of adcc 2001 absolute with result of loss | <s>[INST]Tell me the notes with method of points and event of adcc 2001 absolute with result of loss Context: CREATE TABLE table_name_72 (notes VARCHAR, result VARCHAR, method VARCHAR, event VARCHAR)[/INST]SELECT notes FROM table_name_72 WHERE method = "points" AND event = "adcc 2001 absolute" AND result = "loss"</s> |
CREATE TABLE table_name_65 (location VARCHAR, authors VARCHAR) | SELECT location FROM table_name_65 WHERE authors = "molnar" | What is the location of the authors of Molnar? | <s>[INST]What is the location of the authors of Molnar? Context: CREATE TABLE table_name_65 (location VARCHAR, authors VARCHAR)[/INST]SELECT location FROM table_name_65 WHERE authors = "molnar"</s> |
CREATE TABLE table_237036_2 (high_10_profile VARCHAR, high_profile VARCHAR) | SELECT high_10_profile FROM table_237036_2 WHERE high_profile = 160 | What is the high 10 profile when high profile is 160? | <s>[INST]What is the high 10 profile when high profile is 160? Context: CREATE TABLE table_237036_2 (high_10_profile VARCHAR, high_profile VARCHAR)[/INST]SELECT high_10_profile FROM table_237036_2 WHERE high_profile = 160</s> |
CREATE TABLE classroom (building VARCHAR, room_number VARCHAR, capacity INTEGER) | SELECT building, room_number FROM classroom WHERE capacity BETWEEN 50 AND 100 | Find the room number of the rooms which can sit 50 to 100 students and their buildings. | <s>[INST]Find the room number of the rooms which can sit 50 to 100 students and their buildings. Context: CREATE TABLE classroom (building VARCHAR, room_number VARCHAR, capacity INTEGER)[/INST]SELECT building, room_number FROM classroom WHERE capacity BETWEEN 50 AND 100</s> |
CREATE TABLE table_name_35 (l1_cache VARCHAR, fsb_speed VARCHAR, clock_speed VARCHAR) | SELECT l1_cache FROM table_name_35 WHERE fsb_speed = "800mhz" AND clock_speed = "1.2ghz" | Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz? | <s>[INST]Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz? Context: CREATE TABLE table_name_35 (l1_cache VARCHAR, fsb_speed VARCHAR, clock_speed VARCHAR)[/INST]SELECT l1_cache FROM table_name_35 WHERE fsb_speed = "800mhz" AND clock_speed = "1.2ghz"</s> |
CREATE TABLE table_name_60 (gold INTEGER, nation VARCHAR, total VARCHAR) | SELECT MIN(gold) FROM table_name_60 WHERE nation = "united states" AND total > 5 | Which Gold has a Nation of united states, and a Total larger than 5? | <s>[INST]Which Gold has a Nation of united states, and a Total larger than 5? Context: CREATE TABLE table_name_60 (gold INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_60 WHERE nation = "united states" AND total > 5</s> |
CREATE TABLE table_name_80 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_80 WHERE location = "michie stadium • west point, ny" | What is the Date for the game at michie stadium • west point, ny? | <s>[INST]What is the Date for the game at michie stadium • west point, ny? Context: CREATE TABLE table_name_80 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_80 WHERE location = "michie stadium • west point, ny"</s> |
CREATE TABLE table_name_75 (position VARCHAR, years_with_spurs VARCHAR) | SELECT position FROM table_name_75 WHERE years_with_spurs = "2009-2012" | WHAT POSITION HAD SPURS IN 2009-2012? | <s>[INST]WHAT POSITION HAD SPURS IN 2009-2012? Context: CREATE TABLE table_name_75 (position VARCHAR, years_with_spurs VARCHAR)[/INST]SELECT position FROM table_name_75 WHERE years_with_spurs = "2009-2012"</s> |
CREATE TABLE table_name_37 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT SUM(silver) FROM table_name_37 WHERE bronze < 1 AND total = 2 | How many silver medals when the total was 2 and less than 1 bronze? | <s>[INST]How many silver medals when the total was 2 and less than 1 bronze? Context: CREATE TABLE table_name_37 (silver INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_37 WHERE bronze < 1 AND total = 2</s> |
CREATE TABLE table_name_80 (iata VARCHAR, city VARCHAR) | SELECT iata FROM table_name_80 WHERE city = "jessore" | Name the IATA for jessore | <s>[INST]Name the IATA for jessore Context: CREATE TABLE table_name_80 (iata VARCHAR, city VARCHAR)[/INST]SELECT iata FROM table_name_80 WHERE city = "jessore"</s> |
CREATE TABLE table_name_67 (country VARCHAR, icao VARCHAR) | SELECT country FROM table_name_67 WHERE icao = "ekch" | What Country has a ICAO of EKCH? | <s>[INST]What Country has a ICAO of EKCH? Context: CREATE TABLE table_name_67 (country VARCHAR, icao VARCHAR)[/INST]SELECT country FROM table_name_67 WHERE icao = "ekch"</s> |
CREATE TABLE table_12451376_2 (original_airdate VARCHAR, production_code VARCHAR) | SELECT COUNT(original_airdate) FROM table_12451376_2 WHERE production_code = 208 | What is the number of the original airdate with the production code 208. | <s>[INST]What is the number of the original airdate with the production code 208. Context: CREATE TABLE table_12451376_2 (original_airdate VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(original_airdate) FROM table_12451376_2 WHERE production_code = 208</s> |
CREATE TABLE table_name_81 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_81 WHERE team_1 = "celta" | What is Celta's Agg.? | <s>[INST]What is Celta's Agg.? Context: CREATE TABLE table_name_81 (agg VARCHAR, team_1 VARCHAR)[/INST]SELECT agg FROM table_name_81 WHERE team_1 = "celta"</s> |
CREATE TABLE table_name_12 (home_team VARCHAR, attendance VARCHAR) | SELECT home_team FROM table_name_12 WHERE attendance = "2,776" | What Home team had an Attendance of 2,776? | <s>[INST]What Home team had an Attendance of 2,776? Context: CREATE TABLE table_name_12 (home_team VARCHAR, attendance VARCHAR)[/INST]SELECT home_team FROM table_name_12 WHERE attendance = "2,776"</s> |
CREATE TABLE table_name_43 (points_for VARCHAR, tries_for VARCHAR) | SELECT points_for FROM table_name_43 WHERE tries_for = "77" | How many points for did the club that had 77 tries for have ? | <s>[INST]How many points for did the club that had 77 tries for have ? Context: CREATE TABLE table_name_43 (points_for VARCHAR, tries_for VARCHAR)[/INST]SELECT points_for FROM table_name_43 WHERE tries_for = "77"</s> |
CREATE TABLE table_name_28 (source VARCHAR, date VARCHAR) | SELECT source FROM table_name_28 WHERE date = "june 2008" | Which source has a date of June 2008? | <s>[INST]Which source has a date of June 2008? Context: CREATE TABLE table_name_28 (source VARCHAR, date VARCHAR)[/INST]SELECT source FROM table_name_28 WHERE date = "june 2008"</s> |
CREATE TABLE table_name_75 (division_north VARCHAR, division_southwest VARCHAR, division_west VARCHAR) | SELECT division_north FROM table_name_75 WHERE division_southwest = "novaci" AND division_west = "vrapčište" | Who won Division North when Division Southwest was won by Novaci and Division West by Vrapčište? | <s>[INST]Who won Division North when Division Southwest was won by Novaci and Division West by Vrapčište? Context: CREATE TABLE table_name_75 (division_north VARCHAR, division_southwest VARCHAR, division_west VARCHAR)[/INST]SELECT division_north FROM table_name_75 WHERE division_southwest = "novaci" AND division_west =... |
CREATE TABLE table_name_41 (stage_wins VARCHAR, starts VARCHAR, driver VARCHAR, finishes VARCHAR, podiums VARCHAR) | SELECT COUNT(stage_wins) FROM table_name_41 WHERE finishes > 1 AND podiums < 1 AND driver = "federico villagra" AND starts < 8 | What's the number of stage wins for Federico Villagra having more than 1 finish, less than 8 starts and less than 1 podium? | <s>[INST]What's the number of stage wins for Federico Villagra having more than 1 finish, less than 8 starts and less than 1 podium? Context: CREATE TABLE table_name_41 (stage_wins VARCHAR, starts VARCHAR, driver VARCHAR, finishes VARCHAR, podiums VARCHAR)[/INST]SELECT COUNT(stage_wins) FROM table_name_41 WHERE finishe... |
CREATE TABLE table_name_7 (frequency VARCHAR, multiplier VARCHAR) | SELECT frequency FROM table_name_7 WHERE multiplier = "6×" | Which Frequency has a Multiplier of 6×? | <s>[INST]Which Frequency has a Multiplier of 6×? Context: CREATE TABLE table_name_7 (frequency VARCHAR, multiplier VARCHAR)[/INST]SELECT frequency FROM table_name_7 WHERE multiplier = "6×"</s> |
CREATE TABLE table_name_36 (opponent VARCHAR, venue VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_36 WHERE venue = "h" AND date = "3 december 1898" | Who is the opponent of the match on 3 December 1898 in venue h? | <s>[INST]Who is the opponent of the match on 3 December 1898 in venue h? Context: CREATE TABLE table_name_36 (opponent VARCHAR, venue VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_36 WHERE venue = "h" AND date = "3 december 1898"</s> |
CREATE TABLE table_25034983_2 (stereo VARCHAR, city VARCHAR) | SELECT stereo FROM table_25034983_2 WHERE city = "Moline" | Does the city of moline have stereo? | <s>[INST]Does the city of moline have stereo? Context: CREATE TABLE table_25034983_2 (stereo VARCHAR, city VARCHAR)[/INST]SELECT stereo FROM table_25034983_2 WHERE city = "Moline"</s> |
CREATE TABLE table_name_99 (wins INTEGER, season VARCHAR, losses VARCHAR) | SELECT MIN(wins) FROM table_name_99 WHERE season < 1920 AND losses < 14 | Which Wins is the lowest one that has a Season smaller than 1920, and Losses smaller than 14? | <s>[INST]Which Wins is the lowest one that has a Season smaller than 1920, and Losses smaller than 14? Context: CREATE TABLE table_name_99 (wins INTEGER, season VARCHAR, losses VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_99 WHERE season < 1920 AND losses < 14</s> |
CREATE TABLE table_name_21 (rank INTEGER, state VARCHAR, location VARCHAR) | SELECT SUM(rank) FROM table_name_21 WHERE state = "colorado" AND location = "37.7859°n 107.7039°w" | what is the rank when the state is colorado and the location is 37.7859°n 107.7039°w? | <s>[INST]what is the rank when the state is colorado and the location is 37.7859°n 107.7039°w? Context: CREATE TABLE table_name_21 (rank INTEGER, state VARCHAR, location VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_21 WHERE state = "colorado" AND location = "37.7859°n 107.7039°w"</s> |
CREATE TABLE table_name_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR) | SELECT COUNT(top_5) FROM table_name_6 WHERE tournament = "masters tournament" AND top_10 < 2 | How many times is the tournament the masters tournament and the top-10 is less than 2? | <s>[INST]How many times is the tournament the masters tournament and the top-10 is less than 2? Context: CREATE TABLE table_name_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR)[/INST]SELECT COUNT(top_5) FROM table_name_6 WHERE tournament = "masters tournament" AND top_10 < 2</s> |
CREATE TABLE table_16729076_1 (attendance INTEGER, game_site VARCHAR) | SELECT MIN(attendance) FROM table_16729076_1 WHERE game_site = "Kingdome" | what is the attendance where the game site is kingdome? | <s>[INST]what is the attendance where the game site is kingdome? Context: CREATE TABLE table_16729076_1 (attendance INTEGER, game_site VARCHAR)[/INST]SELECT MIN(attendance) FROM table_16729076_1 WHERE game_site = "Kingdome"</s> |
CREATE TABLE table_name_52 (melbourne VARCHAR, gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, sydney VARCHAR) | SELECT melbourne FROM table_name_52 WHERE adelaide = "yes" AND sydney = "yes" AND perth = "yes" AND gold_coast = "no" | What is the result for Melbourne when Adelaide, Sydney, and Perth are yes, and Gold Coast is no? | <s>[INST]What is the result for Melbourne when Adelaide, Sydney, and Perth are yes, and Gold Coast is no? Context: CREATE TABLE table_name_52 (melbourne VARCHAR, gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, sydney VARCHAR)[/INST]SELECT melbourne FROM table_name_52 WHERE adelaide = "yes" AND sydney = "yes" AND p... |
CREATE TABLE table_name_45 (team__number1 VARCHAR, round VARCHAR) | SELECT team__number1 FROM table_name_45 WHERE round = "group h" | What is team 1 in group h? | <s>[INST]What is team 1 in group h? Context: CREATE TABLE table_name_45 (team__number1 VARCHAR, round VARCHAR)[/INST]SELECT team__number1 FROM table_name_45 WHERE round = "group h"</s> |
CREATE TABLE table_298883_5 (dimensions VARCHAR, obverse VARCHAR, date_of_issue VARCHAR) | SELECT dimensions FROM table_298883_5 WHERE obverse = "Kim Il-sung" AND date_of_issue = "1992" | What are the dimensions of the coin issued in 1992 with kim il-sung on the obverse? | <s>[INST]What are the dimensions of the coin issued in 1992 with kim il-sung on the obverse? Context: CREATE TABLE table_298883_5 (dimensions VARCHAR, obverse VARCHAR, date_of_issue VARCHAR)[/INST]SELECT dimensions FROM table_298883_5 WHERE obverse = "Kim Il-sung" AND date_of_issue = "1992"</s> |
CREATE TABLE table_name_81 (goals INTEGER, apps VARCHAR, team VARCHAR, season VARCHAR) | SELECT AVG(goals) FROM table_name_81 WHERE team = "kairat" AND season = "2002" AND apps > 29 | What is the average Goals for team Kairat, in the 2002 season with more than 29 apps? | <s>[INST]What is the average Goals for team Kairat, in the 2002 season with more than 29 apps? Context: CREATE TABLE table_name_81 (goals INTEGER, apps VARCHAR, team VARCHAR, season VARCHAR)[/INST]SELECT AVG(goals) FROM table_name_81 WHERE team = "kairat" AND season = "2002" AND apps > 29</s> |
CREATE TABLE table_10361453_2 (attendance INTEGER, record VARCHAR) | SELECT MAX(attendance) FROM table_10361453_2 WHERE record = "7-3" | The record of 7-3 had the largest attendance of what? | <s>[INST]The record of 7-3 had the largest attendance of what? Context: CREATE TABLE table_10361453_2 (attendance INTEGER, record VARCHAR)[/INST]SELECT MAX(attendance) FROM table_10361453_2 WHERE record = "7-3"</s> |
CREATE TABLE table_name_17 (group_b VARCHAR, group_e VARCHAR) | SELECT group_b FROM table_name_17 WHERE group_e = "georgia" | What is the group B region with a Group E region of Georgia? | <s>[INST]What is the group B region with a Group E region of Georgia? Context: CREATE TABLE table_name_17 (group_b VARCHAR, group_e VARCHAR)[/INST]SELECT group_b FROM table_name_17 WHERE group_e = "georgia"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.