context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_28672269_1 (boiler_provider VARCHAR, tg_set_provider VARCHAR) | SELECT boiler_provider FROM table_28672269_1 WHERE tg_set_provider = "BHEL, India" | What is the boiler provider for Bhel, India's TG Set provider? | <s>[INST]What is the boiler provider for Bhel, India's TG Set provider? Context: CREATE TABLE table_28672269_1 (boiler_provider VARCHAR, tg_set_provider VARCHAR)[/INST]SELECT boiler_provider FROM table_28672269_1 WHERE tg_set_provider = "BHEL, India"</s> |
CREATE TABLE airport (country VARCHAR) | SELECT country FROM airport GROUP BY country HAVING COUNT(*) > 2 | which countries have more than 2 airports? | <s>[INST]which countries have more than 2 airports? Context: CREATE TABLE airport (country VARCHAR)[/INST]SELECT country FROM airport GROUP BY country HAVING COUNT(*) > 2</s> |
CREATE TABLE table_name_79 (Id VARCHAR) | SELECT 2008 FROM table_name_79 WHERE 2012 = "3r" AND 2009 = "2r" | what is 2008 when 2012 is 3r and 2009 is 2r? | <s>[INST]what is 2008 when 2012 is 3r and 2009 is 2r? Context: CREATE TABLE table_name_79 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_79 WHERE 2012 = "3r" AND 2009 = "2r"</s> |
CREATE TABLE table_name_19 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_name_19 WHERE rank = 79 | What country is ranked 79? | <s>[INST]What country is ranked 79? Context: CREATE TABLE table_name_19 (country VARCHAR, rank VARCHAR)[/INST]SELECT country FROM table_name_19 WHERE rank = 79</s> |
CREATE TABLE table_name_86 (performer_4 VARCHAR, performer_1 VARCHAR, episode VARCHAR) | SELECT performer_4 FROM table_name_86 WHERE performer_1 = "jim sweeney" AND episode = 3 | Who is performer 4 on episode 3, where Jim Sweeney was performer 1? | <s>[INST]Who is performer 4 on episode 3, where Jim Sweeney was performer 1? Context: CREATE TABLE table_name_86 (performer_4 VARCHAR, performer_1 VARCHAR, episode VARCHAR)[/INST]SELECT performer_4 FROM table_name_86 WHERE performer_1 = "jim sweeney" AND episode = 3</s> |
CREATE TABLE table_name_38 (date VARCHAR, round VARCHAR) | SELECT date FROM table_name_38 WHERE round = 2 | What is Date, when Round is "2"? | <s>[INST]What is Date, when Round is "2"? Context: CREATE TABLE table_name_38 (date VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_name_38 WHERE round = 2</s> |
CREATE TABLE table_name_6 (character VARCHAR, category VARCHAR, year VARCHAR) | SELECT character FROM table_name_6 WHERE category = "favourite maa" AND year = 2004 | In 2004 who was favourite maa? | <s>[INST]In 2004 who was favourite maa? Context: CREATE TABLE table_name_6 (character VARCHAR, category VARCHAR, year VARCHAR)[/INST]SELECT character FROM table_name_6 WHERE category = "favourite maa" AND year = 2004</s> |
CREATE TABLE table_name_53 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT SUM(total) FROM table_name_53 WHERE silver < 2 AND gold = 3 AND bronze < 0 | How many medals under total when silver is less than 2, gold is 3, and bronze is less than 0? | <s>[INST]How many medals under total when silver is less than 2, gold is 3, and bronze is less than 0? Context: CREATE TABLE table_name_53 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT SUM(total) FROM table_name_53 WHERE silver < 2 AND gold = 3 AND bronze < 0</s> |
CREATE TABLE table_name_79 (goals_for INTEGER, played INTEGER) | SELECT AVG(goals_for) FROM table_name_79 WHERE played > 10 | How many goals when more than 10 games played? | <s>[INST]How many goals when more than 10 games played? Context: CREATE TABLE table_name_79 (goals_for INTEGER, played INTEGER)[/INST]SELECT AVG(goals_for) FROM table_name_79 WHERE played > 10</s> |
CREATE TABLE table_name_11 (environment VARCHAR, year_built VARCHAR) | SELECT environment FROM table_name_11 WHERE year_built = "2003" | What type of environment is the venue that was built in 2003? | <s>[INST]What type of environment is the venue that was built in 2003? Context: CREATE TABLE table_name_11 (environment VARCHAR, year_built VARCHAR)[/INST]SELECT environment FROM table_name_11 WHERE year_built = "2003"</s> |
CREATE TABLE table_name_1 (deaths VARCHAR, fate VARCHAR, tonnage___grt__ VARCHAR) | SELECT COUNT(deaths) FROM table_name_1 WHERE fate = "damaged" AND tonnage___grt__ < 4 OFFSET 917 | How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917? | <s>[INST]How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917? Context: CREATE TABLE table_name_1 (deaths VARCHAR, fate VARCHAR, tonnage___grt__ VARCHAR)[/INST]SELECT COUNT(deaths) FROM table_name_1 WHERE fate = "damaged" AND tonnage___grt__ < 4 OFFSET 917</s> |
CREATE TABLE table_name_58 (date_performed VARCHAR, main_contestant VARCHAR) | SELECT date_performed FROM table_name_58 WHERE main_contestant = "karanvir bohra" | Which Date performed has a Main contestant of karanvir bohra? | <s>[INST]Which Date performed has a Main contestant of karanvir bohra? Context: CREATE TABLE table_name_58 (date_performed VARCHAR, main_contestant VARCHAR)[/INST]SELECT date_performed FROM table_name_58 WHERE main_contestant = "karanvir bohra"</s> |
CREATE TABLE Behavior_Incident (date_incident_start VARCHAR, date_incident_end VARCHAR, incident_type_code VARCHAR) | SELECT date_incident_start, date_incident_end FROM Behavior_Incident WHERE incident_type_code = "NOISE" | What are the start and end dates for incidents with incident type code "NOISE"? | <s>[INST]What are the start and end dates for incidents with incident type code "NOISE"? Context: CREATE TABLE Behavior_Incident (date_incident_start VARCHAR, date_incident_end VARCHAR, incident_type_code VARCHAR)[/INST]SELECT date_incident_start, date_incident_end FROM Behavior_Incident WHERE incident_type_code = "NOISE"</s> |
CREATE TABLE table_28962227_1 (winner VARCHAR, runners_up VARCHAR) | SELECT winner FROM table_28962227_1 WHERE runners_up = "Brendan Lynch" | Who won the season for which Brendan Lynch is the runner-up? | <s>[INST]Who won the season for which Brendan Lynch is the runner-up? Context: CREATE TABLE table_28962227_1 (winner VARCHAR, runners_up VARCHAR)[/INST]SELECT winner FROM table_28962227_1 WHERE runners_up = "Brendan Lynch"</s> |
CREATE TABLE table_24887326_6 (date VARCHAR, tie_no VARCHAR) | SELECT COUNT(date) FROM table_24887326_6 WHERE tie_no = 12 | How many dates are there for tie number 12? | <s>[INST]How many dates are there for tie number 12? Context: CREATE TABLE table_24887326_6 (date VARCHAR, tie_no VARCHAR)[/INST]SELECT COUNT(date) FROM table_24887326_6 WHERE tie_no = 12</s> |
CREATE TABLE table_26454128_7 (rank VARCHAR, athlete VARCHAR) | SELECT COUNT(rank) FROM table_26454128_7 WHERE athlete = "Tom Churchill" | Name the total number of rank for tom churchill | <s>[INST]Name the total number of rank for tom churchill Context: CREATE TABLE table_26454128_7 (rank VARCHAR, athlete VARCHAR)[/INST]SELECT COUNT(rank) FROM table_26454128_7 WHERE athlete = "Tom Churchill"</s> |
CREATE TABLE table_1139835_9 (venue VARCHAR, premier VARCHAR, attendance VARCHAR) | SELECT venue FROM table_1139835_9 WHERE premier = "Essendon" AND attendance = 30824 | What venue has an attendance of 30824 at Essendon in 1984? | <s>[INST]What venue has an attendance of 30824 at Essendon in 1984? Context: CREATE TABLE table_1139835_9 (venue VARCHAR, premier VARCHAR, attendance VARCHAR)[/INST]SELECT venue FROM table_1139835_9 WHERE premier = "Essendon" AND attendance = 30824</s> |
CREATE TABLE table_name_50 (player VARCHAR, eliminated VARCHAR) | SELECT player FROM table_name_50 WHERE eliminated = "episode 5" | Who's the player eliminated on episode 5? | <s>[INST]Who's the player eliminated on episode 5? Context: CREATE TABLE table_name_50 (player VARCHAR, eliminated VARCHAR)[/INST]SELECT player FROM table_name_50 WHERE eliminated = "episode 5"</s> |
CREATE TABLE table_name_49 (points INTEGER, driver VARCHAR, average_pre_2010 VARCHAR) | SELECT MIN(points) FROM table_name_49 WHERE driver = "romain grosjean" AND average_pre_2010 < 0 | What is the lowest amount of points driver Romain Grosjean, who has an average pre-2010 less than 0, has? | <s>[INST]What is the lowest amount of points driver Romain Grosjean, who has an average pre-2010 less than 0, has? Context: CREATE TABLE table_name_49 (points INTEGER, driver VARCHAR, average_pre_2010 VARCHAR)[/INST]SELECT MIN(points) FROM table_name_49 WHERE driver = "romain grosjean" AND average_pre_2010 < 0</s> |
CREATE TABLE table_1277350_1 (thursday_iuppiter__jupiter_ VARCHAR, saturday_saturnus___saturn_ VARCHAR) | SELECT thursday_iuppiter__jupiter_ FROM table_1277350_1 WHERE saturday_saturnus___saturn_ = "Jesarn" | what's the thursday iuppiter (jupiter) with saturday saturnus ( saturn) being jesarn | <s>[INST]what's the thursday iuppiter (jupiter) with saturday saturnus ( saturn) being jesarn Context: CREATE TABLE table_1277350_1 (thursday_iuppiter__jupiter_ VARCHAR, saturday_saturnus___saturn_ VARCHAR)[/INST]SELECT thursday_iuppiter__jupiter_ FROM table_1277350_1 WHERE saturday_saturnus___saturn_ = "Jesarn"</s> |
CREATE TABLE table_22583466_5 (s_host VARCHAR, race_caller VARCHAR) | SELECT s_host FROM table_22583466_5 WHERE race_caller = "Marshall Cassidy" | For the race called by Marshall Cassidy, who was the host? | <s>[INST]For the race called by Marshall Cassidy, who was the host? Context: CREATE TABLE table_22583466_5 (s_host VARCHAR, race_caller VARCHAR)[/INST]SELECT s_host FROM table_22583466_5 WHERE race_caller = "Marshall Cassidy"</s> |
CREATE TABLE table_name_72 (Id VARCHAR) | SELECT 2011 FROM table_name_72 WHERE 2010 = "2r" AND 2008 = "a" | What 2011 has 2r as 2010, and a 2008 of A? | <s>[INST]What 2011 has 2r as 2010, and a 2008 of A? Context: CREATE TABLE table_name_72 (Id VARCHAR)[/INST]SELECT 2011 FROM table_name_72 WHERE 2010 = "2r" AND 2008 = "a"</s> |
CREATE TABLE table_name_38 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_38 WHERE opponent = "sunderland" | Which result has sunderland as opponent? | <s>[INST]Which result has sunderland as opponent? Context: CREATE TABLE table_name_38 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_38 WHERE opponent = "sunderland"</s> |
CREATE TABLE table_2516282_3 (outcome VARCHAR, year VARCHAR) | SELECT outcome FROM table_2516282_3 WHERE year = 2013 | In the year 2013, what was the outcome? | <s>[INST]In the year 2013, what was the outcome? Context: CREATE TABLE table_2516282_3 (outcome VARCHAR, year VARCHAR)[/INST]SELECT outcome FROM table_2516282_3 WHERE year = 2013</s> |
CREATE TABLE Apartment_Bookings (booking_status_code VARCHAR) | SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code | Show the booking status code and the corresponding number of bookings. | <s>[INST]Show the booking status code and the corresponding number of bookings. Context: CREATE TABLE Apartment_Bookings (booking_status_code VARCHAR)[/INST]SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code</s> |
CREATE TABLE products (product_price INTEGER) | SELECT COUNT(*) FROM products WHERE product_price > (SELECT AVG(product_price) FROM products) | How many products have a price higher than the average? | <s>[INST]How many products have a price higher than the average? Context: CREATE TABLE products (product_price INTEGER)[/INST]SELECT COUNT(*) FROM products WHERE product_price > (SELECT AVG(product_price) FROM products)</s> |
CREATE TABLE countrylanguage (LANGUAGE VARCHAR) | SELECT LANGUAGE FROM countrylanguage GROUP BY LANGUAGE ORDER BY COUNT(*) DESC LIMIT 1 | Which language is spoken by the largest number of countries? | <s>[INST]Which language is spoken by the largest number of countries? Context: CREATE TABLE countrylanguage (LANGUAGE VARCHAR)[/INST]SELECT LANGUAGE FROM countrylanguage GROUP BY LANGUAGE ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_51 (rank VARCHAR, class VARCHAR, year VARCHAR) | SELECT rank FROM table_name_51 WHERE class = "250cc" AND year = 1983 | What was the rank of the 1983 team in the 250cc class? | <s>[INST]What was the rank of the 1983 team in the 250cc class? Context: CREATE TABLE table_name_51 (rank VARCHAR, class VARCHAR, year VARCHAR)[/INST]SELECT rank FROM table_name_51 WHERE class = "250cc" AND year = 1983</s> |
CREATE TABLE table_name_53 (poles INTEGER, season VARCHAR, series VARCHAR) | SELECT SUM(poles) FROM table_name_53 WHERE season = "2005" AND series = "formula three sudamericana" | Can you tell me the sum of Poles that has the Season of 2005, and the Series of formula three sudamericana? | <s>[INST]Can you tell me the sum of Poles that has the Season of 2005, and the Series of formula three sudamericana? Context: CREATE TABLE table_name_53 (poles INTEGER, season VARCHAR, series VARCHAR)[/INST]SELECT SUM(poles) FROM table_name_53 WHERE season = "2005" AND series = "formula three sudamericana"</s> |
CREATE TABLE table_name_67 (total INTEGER, nation VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_67 WHERE nation = "egypt" AND gold < 2 | What is the average total medals Egypt, who has less than 2 gold, has? | <s>[INST]What is the average total medals Egypt, who has less than 2 gold, has? Context: CREATE TABLE table_name_67 (total INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT AVG(total) FROM table_name_67 WHERE nation = "egypt" AND gold < 2</s> |
CREATE TABLE Video_games (gtype VARCHAR) | SELECT gtype FROM Video_games GROUP BY gtype ORDER BY COUNT(*) DESC LIMIT 1 | Which game type has most number of games? | <s>[INST]Which game type has most number of games? Context: CREATE TABLE Video_games (gtype VARCHAR)[/INST]SELECT gtype FROM Video_games GROUP BY gtype ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_1771753_3 (driver VARCHAR, season VARCHAR) | SELECT COUNT(driver) FROM table_1771753_3 WHERE season = "2005" | When 2005 is the season how many drivers are there? | <s>[INST]When 2005 is the season how many drivers are there? Context: CREATE TABLE table_1771753_3 (driver VARCHAR, season VARCHAR)[/INST]SELECT COUNT(driver) FROM table_1771753_3 WHERE season = "2005"</s> |
CREATE TABLE table_name_11 (english_title VARCHAR, chinese__simplified_ VARCHAR) | SELECT english_title FROM table_name_11 WHERE chinese__simplified_ = "你 朋友" | What is 你 朋友's English title? | <s>[INST]What is 你 朋友's English title? Context: CREATE TABLE table_name_11 (english_title VARCHAR, chinese__simplified_ VARCHAR)[/INST]SELECT english_title FROM table_name_11 WHERE chinese__simplified_ = "你 朋友"</s> |
CREATE TABLE table_name_17 (week INTEGER, attendance VARCHAR) | SELECT AVG(week) FROM table_name_17 WHERE attendance = 75 OFFSET 111 | Name the average week for attendance of 75,111 | <s>[INST]Name the average week for attendance of 75,111 Context: CREATE TABLE table_name_17 (week INTEGER, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_17 WHERE attendance = 75 OFFSET 111</s> |
CREATE TABLE table_name_51 (market_value___usd_million_ VARCHAR, headquarters VARCHAR) | SELECT COUNT(market_value___usd_million_) FROM table_name_51 WHERE headquarters = "germany" | What is the total market value of all corporations headquartered in Germany? | <s>[INST]What is the total market value of all corporations headquartered in Germany? Context: CREATE TABLE table_name_51 (market_value___usd_million_ VARCHAR, headquarters VARCHAR)[/INST]SELECT COUNT(market_value___usd_million_) FROM table_name_51 WHERE headquarters = "germany"</s> |
CREATE TABLE table_name_95 (reserved_instruments VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR) | SELECT reserved_instruments FROM table_name_95 WHERE conduct_of_litigation = "yes" AND probate_activities = "no" | What is Reserved Instruments, when Conduct of Litigation is Yes, and when Probate Activities is No? | <s>[INST]What is Reserved Instruments, when Conduct of Litigation is Yes, and when Probate Activities is No? Context: CREATE TABLE table_name_95 (reserved_instruments VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR)[/INST]SELECT reserved_instruments FROM table_name_95 WHERE conduct_of_litigation = "yes" AND probate_activities = "no"</s> |
CREATE TABLE table_name_53 (school_club_team VARCHAR, position VARCHAR) | SELECT school_club_team FROM table_name_53 WHERE position = "dl" | What was the school for the player who was a DL? | <s>[INST]What was the school for the player who was a DL? Context: CREATE TABLE table_name_53 (school_club_team VARCHAR, position VARCHAR)[/INST]SELECT school_club_team FROM table_name_53 WHERE position = "dl"</s> |
CREATE TABLE table_24501530_1 (age VARCHAR, result VARCHAR) | SELECT COUNT(age) FROM table_24501530_1 WHERE result = "Fired in week 6" | How many age figures for the player fired in week 6? | <s>[INST]How many age figures for the player fired in week 6? Context: CREATE TABLE table_24501530_1 (age VARCHAR, result VARCHAR)[/INST]SELECT COUNT(age) FROM table_24501530_1 WHERE result = "Fired in week 6"</s> |
CREATE TABLE table_name_19 (gold VARCHAR, rank VARCHAR) | SELECT gold FROM table_name_19 WHERE rank = "6" | How many gold medals for the nation ranked 6? | <s>[INST]How many gold medals for the nation ranked 6? Context: CREATE TABLE table_name_19 (gold VARCHAR, rank VARCHAR)[/INST]SELECT gold FROM table_name_19 WHERE rank = "6"</s> |
CREATE TABLE table_name_51 (turkish VARCHAR, bangla VARCHAR) | SELECT turkish FROM table_name_51 WHERE bangla = "shombar সোমবার" | What is the Turkish word for the Bangla word shombar সোমবার? | <s>[INST]What is the Turkish word for the Bangla word shombar সোমবার? Context: CREATE TABLE table_name_51 (turkish VARCHAR, bangla VARCHAR)[/INST]SELECT turkish FROM table_name_51 WHERE bangla = "shombar সোমবার"</s> |
CREATE TABLE table_14875671_1 (attendance INTEGER, week VARCHAR) | SELECT MAX(attendance) FROM table_14875671_1 WHERE week = 8 | What was the attendance in week 8? | <s>[INST]What was the attendance in week 8? Context: CREATE TABLE table_14875671_1 (attendance INTEGER, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_14875671_1 WHERE week = 8</s> |
CREATE TABLE table_1342013_9 (first_elected VARCHAR, incumbent VARCHAR) | SELECT COUNT(first_elected) FROM table_1342013_9 WHERE incumbent = "William C. Lantaff" | how many first elected with incumbent being william c. lantaff | <s>[INST] how many first elected with incumbent being william c. lantaff Context: CREATE TABLE table_1342013_9 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1342013_9 WHERE incumbent = "William C. Lantaff"</s> |
CREATE TABLE table_name_38 (volume VARCHAR, isbn VARCHAR) | SELECT volume FROM table_name_38 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)" | What volume number has the ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? | <s>[INST]What volume number has the ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? Context: CREATE TABLE table_name_38 (volume VARCHAR, isbn VARCHAR)[/INST]SELECT volume FROM table_name_38 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)"</s> |
CREATE TABLE table_12163387_1 (womens_singles VARCHAR, mens_singles VARCHAR) | SELECT womens_singles FROM table_12163387_1 WHERE mens_singles = "Jonas Lyduch" | Who won the womens singles event the year that Jonas Lyduch won? | <s>[INST]Who won the womens singles event the year that Jonas Lyduch won? Context: CREATE TABLE table_12163387_1 (womens_singles VARCHAR, mens_singles VARCHAR)[/INST]SELECT womens_singles FROM table_12163387_1 WHERE mens_singles = "Jonas Lyduch"</s> |
CREATE TABLE table_name_24 (total VARCHAR, bronze INTEGER) | SELECT COUNT(total) FROM table_name_24 WHERE bronze < 0 | What is the total when there were less than 0 bronze? | <s>[INST]What is the total when there were less than 0 bronze? Context: CREATE TABLE table_name_24 (total VARCHAR, bronze INTEGER)[/INST]SELECT COUNT(total) FROM table_name_24 WHERE bronze < 0</s> |
CREATE TABLE table_name_58 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_58 WHERE record = "73-82" | with a record of 73-82 what was the date? | <s>[INST]with a record of 73-82 what was the date? Context: CREATE TABLE table_name_58 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_58 WHERE record = "73-82"</s> |
CREATE TABLE table_name_76 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_76 WHERE place = "t5" AND score = 73 - 69 - 68 = 210 | Who placed in t5 and scored 73-69-68=210? | <s>[INST]Who placed in t5 and scored 73-69-68=210? Context: CREATE TABLE table_name_76 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_76 WHERE place = "t5" AND score = 73 - 69 - 68 = 210</s> |
CREATE TABLE table_2668336_17 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_2668336_17 WHERE first_elected = "1807 1817" | First elected in 1807 1817 in what district? | <s>[INST]First elected in 1807 1817 in what district? Context: CREATE TABLE table_2668336_17 (district VARCHAR, first_elected VARCHAR)[/INST]SELECT district FROM table_2668336_17 WHERE first_elected = "1807 1817"</s> |
CREATE TABLE table_19229713_6 (us_viewers__million_ VARCHAR, production_code VARCHAR) | SELECT us_viewers__million_ FROM table_19229713_6 WHERE production_code = "5.09" | How many u.s. viewers (million) have the production code of 5.09? | <s>[INST]How many u.s. viewers (million) have the production code of 5.09? Context: CREATE TABLE table_19229713_6 (us_viewers__million_ VARCHAR, production_code VARCHAR)[/INST]SELECT us_viewers__million_ FROM table_19229713_6 WHERE production_code = "5.09"</s> |
CREATE TABLE table_name_12 (label VARCHAR, region VARCHAR) | SELECT label FROM table_name_12 WHERE region = "canada" | Which Label has a Region of canada? | <s>[INST]Which Label has a Region of canada? Context: CREATE TABLE table_name_12 (label VARCHAR, region VARCHAR)[/INST]SELECT label FROM table_name_12 WHERE region = "canada"</s> |
CREATE TABLE ALBUM (Title VARCHAR, AlbumId VARCHAR); CREATE TABLE TRACK (AlbumID VARCHAR, AlbumId VARCHAR) | SELECT T1.Title, T2.AlbumID, COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumID | Show the album names, ids and the number of tracks for each album. | <s>[INST]Show the album names, ids and the number of tracks for each album. Context: CREATE TABLE ALBUM (Title VARCHAR, AlbumId VARCHAR); CREATE TABLE TRACK (AlbumID VARCHAR, AlbumId VARCHAR)[/INST]SELECT T1.Title, T2.AlbumID, COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumID</s> |
CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ INTEGER, nation VARCHAR) | SELECT MAX(_percentage_growth__2000_2008_) FROM table_10733530_3 WHERE nation = "Burundi" | What is the maximum percentage grown 2000-2008 in burundi | <s>[INST]What is the maximum percentage grown 2000-2008 in burundi Context: CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ INTEGER, nation VARCHAR)[/INST]SELECT MAX(_percentage_growth__2000_2008_) FROM table_10733530_3 WHERE nation = "Burundi"</s> |
CREATE TABLE table_name_82 (wins INTEGER, conceded VARCHAR, draws VARCHAR, losses VARCHAR) | SELECT SUM(wins) FROM table_name_82 WHERE draws > 1 AND losses < 4 AND conceded = 20 | What's the sum of WIns with Draws that's larger than 1, Losses that's smaller than 4, and Conceded of 20? | <s>[INST]What's the sum of WIns with Draws that's larger than 1, Losses that's smaller than 4, and Conceded of 20? Context: CREATE TABLE table_name_82 (wins INTEGER, conceded VARCHAR, draws VARCHAR, losses VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_82 WHERE draws > 1 AND losses < 4 AND conceded = 20</s> |
CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_18 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND date = "january 14" | What was the score on January 14 when the Chicago Black Hawks were home against the New York Rangers? | <s>[INST]What was the score on January 14 when the Chicago Black Hawks were home against the New York Rangers? Context: CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_18 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND date = "january 14"</s> |
CREATE TABLE table_12159115_2 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_12159115_2 WHERE production_code = "2T6719" | What's the original air date of the episode with production code 2T6719? | <s>[INST]What's the original air date of the episode with production code 2T6719? Context: CREATE TABLE table_12159115_2 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_12159115_2 WHERE production_code = "2T6719"</s> |
CREATE TABLE table_name_87 (year INTEGER, issue_price VARCHAR, theme VARCHAR) | SELECT AVG(year) FROM table_name_87 WHERE issue_price = "$94.95" AND theme = "amethyst crystal" | What year had an issue price of $94.95 and theme of Amethyst crystal? | <s>[INST]What year had an issue price of $94.95 and theme of Amethyst crystal? Context: CREATE TABLE table_name_87 (year INTEGER, issue_price VARCHAR, theme VARCHAR)[/INST]SELECT AVG(year) FROM table_name_87 WHERE issue_price = "$94.95" AND theme = "amethyst crystal"</s> |
CREATE TABLE table_18788823_5 (date_of_appointment VARCHAR, team VARCHAR) | SELECT date_of_appointment FROM table_18788823_5 WHERE team = "Milton Keynes Dons" | What date did the Milton Keynes Dons appoint? | <s>[INST]What date did the Milton Keynes Dons appoint? Context: CREATE TABLE table_18788823_5 (date_of_appointment VARCHAR, team VARCHAR)[/INST]SELECT date_of_appointment FROM table_18788823_5 WHERE team = "Milton Keynes Dons"</s> |
CREATE TABLE table_2581397_3 (race VARCHAR, weight__kg_ VARCHAR) | SELECT race FROM table_2581397_3 WHERE weight__kg_ = "56.5" | List the weight for 56.5 kilograms. | <s>[INST]List the weight for 56.5 kilograms. Context: CREATE TABLE table_2581397_3 (race VARCHAR, weight__kg_ VARCHAR)[/INST]SELECT race FROM table_2581397_3 WHERE weight__kg_ = "56.5"</s> |
CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_66 WHERE laps > 43 AND grid = 5 | Who drive over 43 laps in grid 5? | <s>[INST]Who drive over 43 laps in grid 5? Context: CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_66 WHERE laps > 43 AND grid = 5</s> |
CREATE TABLE table_28628309_8 (games_played INTEGER, category VARCHAR) | SELECT MIN(games_played) FROM table_28628309_8 WHERE category = "Points per game" | What is the games played when the category is points per game? | <s>[INST]What is the games played when the category is points per game? Context: CREATE TABLE table_28628309_8 (games_played INTEGER, category VARCHAR)[/INST]SELECT MIN(games_played) FROM table_28628309_8 WHERE category = "Points per game"</s> |
CREATE TABLE airport (International_Passengers VARCHAR, Domestic_Passengers VARCHAR, Airport_Name VARCHAR) | SELECT International_Passengers, Domestic_Passengers FROM airport WHERE Airport_Name = "London Heathrow" | What are the number of international and domestic passengers of the airport named London "Heathrow"? | <s>[INST]What are the number of international and domestic passengers of the airport named London "Heathrow"? Context: CREATE TABLE airport (International_Passengers VARCHAR, Domestic_Passengers VARCHAR, Airport_Name VARCHAR)[/INST]SELECT International_Passengers, Domestic_Passengers FROM airport WHERE Airport_Name = "London Heathrow"</s> |
CREATE TABLE table_name_80 (venue VARCHAR, goal INTEGER) | SELECT venue FROM table_name_80 WHERE goal < 2 | What venue had less than 2 goals? | <s>[INST]What venue had less than 2 goals? Context: CREATE TABLE table_name_80 (venue VARCHAR, goal INTEGER)[/INST]SELECT venue FROM table_name_80 WHERE goal < 2</s> |
CREATE TABLE table_name_97 (interview INTEGER, state VARCHAR, swimsuit VARCHAR) | SELECT SUM(interview) FROM table_name_97 WHERE state = "new york" AND swimsuit < 9.394 | What is the total for the state of new york and a swimsuit less than 9.394? | <s>[INST]What is the total for the state of new york and a swimsuit less than 9.394? Context: CREATE TABLE table_name_97 (interview INTEGER, state VARCHAR, swimsuit VARCHAR)[/INST]SELECT SUM(interview) FROM table_name_97 WHERE state = "new york" AND swimsuit < 9.394</s> |
CREATE TABLE table_name_95 (team VARCHAR, state_province VARCHAR, league VARCHAR) | SELECT team FROM table_name_95 WHERE state_province = "maryland" AND league = "mlb" | Which mlb team is located in maryland? | <s>[INST]Which mlb team is located in maryland? Context: CREATE TABLE table_name_95 (team VARCHAR, state_province VARCHAR, league VARCHAR)[/INST]SELECT team FROM table_name_95 WHERE state_province = "maryland" AND league = "mlb"</s> |
CREATE TABLE table_14853156_2 (cuts_made INTEGER, best_finish VARCHAR) | SELECT MIN(cuts_made) FROM table_14853156_2 WHERE best_finish = "T4" | What is the lowest number of cuts made when her best finish is t4? | <s>[INST]What is the lowest number of cuts made when her best finish is t4? Context: CREATE TABLE table_14853156_2 (cuts_made INTEGER, best_finish VARCHAR)[/INST]SELECT MIN(cuts_made) FROM table_14853156_2 WHERE best_finish = "T4"</s> |
CREATE TABLE table_22835602_1 (directed_by VARCHAR, viewers__in_millions_ VARCHAR) | SELECT directed_by FROM table_22835602_1 WHERE viewers__in_millions_ = "1.945" | List all directors from episodes with viewership of 1.945 million. | <s>[INST]List all directors from episodes with viewership of 1.945 million. Context: CREATE TABLE table_22835602_1 (directed_by VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT directed_by FROM table_22835602_1 WHERE viewers__in_millions_ = "1.945"</s> |
CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, score VARCHAR) | SELECT date FROM table_name_83 WHERE surface = "hard" AND score = "6–4, 2–6, 3–6" | What date was the match on a hard surface with a score of 6–4, 2–6, 3–6? | <s>[INST]What date was the match on a hard surface with a score of 6–4, 2–6, 3–6? Context: CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE surface = "hard" AND score = "6–4, 2–6, 3–6"</s> |
CREATE TABLE table_name_33 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_33 WHERE event = "ufc 160" | What was the method for the resolution of the fight at UFC 160? | <s>[INST]What was the method for the resolution of the fight at UFC 160? Context: CREATE TABLE table_name_33 (method VARCHAR, event VARCHAR)[/INST]SELECT method FROM table_name_33 WHERE event = "ufc 160"</s> |
CREATE TABLE table_name_88 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR) | SELECT MIN(grid) FROM table_name_88 WHERE time_retired = "clutch" AND driver = "peter collins" AND laps < 26 | what is the lowest grid when the time retired is clutch, the driver is peter collins and the laps is smaller than 26? | <s>[INST]what is the lowest grid when the time retired is clutch, the driver is peter collins and the laps is smaller than 26? Context: CREATE TABLE table_name_88 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_88 WHERE time_retired = "clutch" AND driver = "peter collins" AND laps < 26</s> |
CREATE TABLE table_name_77 (year INTEGER, bronze VARCHAR) | SELECT MAX(year) FROM table_name_77 WHERE bronze = "china" | What is the most recent year that China won a bronze? | <s>[INST]What is the most recent year that China won a bronze? Context: CREATE TABLE table_name_77 (year INTEGER, bronze VARCHAR)[/INST]SELECT MAX(year) FROM table_name_77 WHERE bronze = "china"</s> |
CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, draws VARCHAR) | SELECT MIN(wins) FROM table_name_82 WHERE against = 1348 AND draws < 0 | What are the amount of wins when the draws are less than 0 and the against is 1348? | <s>[INST]What are the amount of wins when the draws are less than 0 and the against is 1348? Context: CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, draws VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_82 WHERE against = 1348 AND draws < 0</s> |
CREATE TABLE table_name_36 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) | SELECT stage FROM table_name_36 WHERE points_classification = "daniele bennati" AND general_classification = "giovanni visconti" | What is teh stage with Daniele Bennati as the points classification and Giovanni VIsconti as the general classification? | <s>[INST]What is teh stage with Daniele Bennati as the points classification and Giovanni VIsconti as the general classification? Context: CREATE TABLE table_name_36 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)[/INST]SELECT stage FROM table_name_36 WHERE points_classification = "daniele bennati" AND general_classification = "giovanni visconti"</s> |
CREATE TABLE table_27401228_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_27401228_1 WHERE us_viewers__million_ = "5.86" | Name who directed when the viewers is 5.86 | <s>[INST]Name who directed when the viewers is 5.86 Context: CREATE TABLE table_27401228_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_27401228_1 WHERE us_viewers__million_ = "5.86"</s> |
CREATE TABLE table_name_3 (category VARCHAR, president VARCHAR, year VARCHAR) | SELECT category FROM table_name_3 WHERE president = "richard nixon" AND year < 2009 | What was the category of Richard Nixon as President in a year prior to 2009? | <s>[INST]What was the category of Richard Nixon as President in a year prior to 2009? Context: CREATE TABLE table_name_3 (category VARCHAR, president VARCHAR, year VARCHAR)[/INST]SELECT category FROM table_name_3 WHERE president = "richard nixon" AND year < 2009</s> |
CREATE TABLE table_name_75 (production_code VARCHAR, written_by VARCHAR, season__number VARCHAR, series__number VARCHAR) | SELECT production_code FROM table_name_75 WHERE season__number > 23 AND series__number < 126 AND written_by = "gary sturgis" | What is the production code of the episode written by Gary Sturgis that is bigger than season number 23 and smaller than series number 126? | <s>[INST]What is the production code of the episode written by Gary Sturgis that is bigger than season number 23 and smaller than series number 126? Context: CREATE TABLE table_name_75 (production_code VARCHAR, written_by VARCHAR, season__number VARCHAR, series__number VARCHAR)[/INST]SELECT production_code FROM table_name_75 WHERE season__number > 23 AND series__number < 126 AND written_by = "gary sturgis"</s> |
CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_72 WHERE date = "2 october 2011" | What is the score on 2 October 2011? | <s>[INST]What is the score on 2 October 2011? Context: CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_72 WHERE date = "2 october 2011"</s> |
CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR) | SELECT а_а_[a] FROM table_202365_2 WHERE гь_гь_[ɡʲ] = "Л л [l]" | what is а а [a] when гь гь [ɡʲ] is л л [l]? | <s>[INST]what is а а [a] when гь гь [ɡʲ] is л л [l]? Context: CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR)[/INST]SELECT а_а_[a] FROM table_202365_2 WHERE гь_гь_[ɡʲ] = "Л л [l]"</s> |
CREATE TABLE table_name_59 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) | SELECT constructor FROM table_name_59 WHERE grid > 10 AND time_retired = "+1 lap" | who is the constructor when the grid is more than 10 and the time/retired is +1 lap? | <s>[INST]who is the constructor when the grid is more than 10 and the time/retired is +1 lap? Context: CREATE TABLE table_name_59 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT constructor FROM table_name_59 WHERE grid > 10 AND time_retired = "+1 lap"</s> |
CREATE TABLE table_name_86 (Id VARCHAR) | SELECT MAX(2004) FROM table_name_86 WHERE 2009 > 26.1 | What is the maximum in 2004 when 2009 is higher than 26.1? | <s>[INST]What is the maximum in 2004 when 2009 is higher than 26.1? Context: CREATE TABLE table_name_86 (Id VARCHAR)[/INST]SELECT MAX(2004) FROM table_name_86 WHERE 2009 > 26.1</s> |
CREATE TABLE table_20849830_1 (result VARCHAR, record VARCHAR) | SELECT result FROM table_20849830_1 WHERE record = "3-1" | What was the result of the game with the record of 3-1? | <s>[INST]What was the result of the game with the record of 3-1? Context: CREATE TABLE table_20849830_1 (result VARCHAR, record VARCHAR)[/INST]SELECT result FROM table_20849830_1 WHERE record = "3-1"</s> |
CREATE TABLE table_name_12 (country VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT country FROM table_name_12 WHERE to_par = "+1" AND score = 74 - 70 - 70 = 214 | What is the Country of the Player with a To par of +1 and a Score of 74-70-70=214? | <s>[INST]What is the Country of the Player with a To par of +1 and a Score of 74-70-70=214? Context: CREATE TABLE table_name_12 (country VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_12 WHERE to_par = "+1" AND score = 74 - 70 - 70 = 214</s> |
CREATE TABLE table_13015539_1 (points VARCHAR, lost VARCHAR) | SELECT COUNT(points) FROM table_13015539_1 WHERE lost = 8 | What is the total points for the tean with 8 losses? | <s>[INST]What is the total points for the tean with 8 losses? Context: CREATE TABLE table_13015539_1 (points VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(points) FROM table_13015539_1 WHERE lost = 8</s> |
CREATE TABLE table_name_80 (high_assists VARCHAR, high_rebounds VARCHAR) | SELECT high_assists FROM table_name_80 WHERE high_rebounds = "dwight howard , rashard lewis (10)" | What is High Assists, when High Rebounds is "Dwight Howard , Rashard Lewis (10)"? | <s>[INST]What is High Assists, when High Rebounds is "Dwight Howard , Rashard Lewis (10)"? Context: CREATE TABLE table_name_80 (high_assists VARCHAR, high_rebounds VARCHAR)[/INST]SELECT high_assists FROM table_name_80 WHERE high_rebounds = "dwight howard , rashard lewis (10)"</s> |
CREATE TABLE table_name_9 (term_in_office VARCHAR, member VARCHAR) | SELECT term_in_office FROM table_name_9 WHERE member = "hon ralph hunt" | What term did hon ralph hunt serve in office? | <s>[INST]What term did hon ralph hunt serve in office? Context: CREATE TABLE table_name_9 (term_in_office VARCHAR, member VARCHAR)[/INST]SELECT term_in_office FROM table_name_9 WHERE member = "hon ralph hunt"</s> |
CREATE TABLE table_name_23 (state VARCHAR, major_series VARCHAR, track VARCHAR) | SELECT state FROM table_name_23 WHERE major_series = "imsa gt" AND track = "new orleans" | What is the State with the imsa gt as the Major Series and a track in new orleans? | <s>[INST]What is the State with the imsa gt as the Major Series and a track in new orleans? Context: CREATE TABLE table_name_23 (state VARCHAR, major_series VARCHAR, track VARCHAR)[/INST]SELECT state FROM table_name_23 WHERE major_series = "imsa gt" AND track = "new orleans"</s> |
CREATE TABLE table_name_50 (election INTEGER, province VARCHAR, established VARCHAR) | SELECT AVG(election) FROM table_name_50 WHERE province = "grosseto" AND established < 1766 | What is the average election result for the province of Grosseto from 1766 and prior? | <s>[INST]What is the average election result for the province of Grosseto from 1766 and prior? Context: CREATE TABLE table_name_50 (election INTEGER, province VARCHAR, established VARCHAR)[/INST]SELECT AVG(election) FROM table_name_50 WHERE province = "grosseto" AND established < 1766</s> |
CREATE TABLE table_name_69 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_69 WHERE opponent = "josh spearman" | What event did Soares fight against josh spearman? | <s>[INST]What event did Soares fight against josh spearman? Context: CREATE TABLE table_name_69 (event VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_69 WHERE opponent = "josh spearman"</s> |
CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_81 WHERE date = "december 22" | What is the score of the game on December 22? | <s>[INST]What is the score of the game on December 22? Context: CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE date = "december 22"</s> |
CREATE TABLE table_name_84 (reason_of_departure VARCHAR, date_outgoing VARCHAR) | SELECT reason_of_departure FROM table_name_84 WHERE date_outgoing = "august 1, 2008" | Why did the manager who departed on August 1, 2008 leave? | <s>[INST]Why did the manager who departed on August 1, 2008 leave? Context: CREATE TABLE table_name_84 (reason_of_departure VARCHAR, date_outgoing VARCHAR)[/INST]SELECT reason_of_departure FROM table_name_84 WHERE date_outgoing = "august 1, 2008"</s> |
CREATE TABLE table_name_76 (draws VARCHAR, against VARCHAR, byes VARCHAR) | SELECT COUNT(draws) FROM table_name_76 WHERE against = 1465 AND byes < 2 | What is the total number of draws when there are 1465 against matches and less than 2 byes? | <s>[INST]What is the total number of draws when there are 1465 against matches and less than 2 byes? Context: CREATE TABLE table_name_76 (draws VARCHAR, against VARCHAR, byes VARCHAR)[/INST]SELECT COUNT(draws) FROM table_name_76 WHERE against = 1465 AND byes < 2</s> |
CREATE TABLE table_name_31 (silver INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT AVG(silver) FROM table_name_31 WHERE rank = "5" AND bronze < 0 | What is the average number of silvers for teams ranked 5 with 0 bronze? | <s>[INST]What is the average number of silvers for teams ranked 5 with 0 bronze? Context: CREATE TABLE table_name_31 (silver INTEGER, rank VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_31 WHERE rank = "5" AND bronze < 0</s> |
CREATE TABLE table_name_8 (drawn INTEGER, played INTEGER) | SELECT MAX(drawn) FROM table_name_8 WHERE played < 38 | What is the largest drawn that has a played less than 38? | <s>[INST]What is the largest drawn that has a played less than 38? Context: CREATE TABLE table_name_8 (drawn INTEGER, played INTEGER)[/INST]SELECT MAX(drawn) FROM table_name_8 WHERE played < 38</s> |
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_82 WHERE venue = "scg" | Which Away team score has a Venue of scg? | <s>[INST]Which Away team score has a Venue of scg? Context: CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_82 WHERE venue = "scg"</s> |
CREATE TABLE table_21091127_1 (result VARCHAR, game VARCHAR) | SELECT COUNT(result) FROM table_21091127_1 WHERE game = 5 | How many results have a game of 5? | <s>[INST]How many results have a game of 5? Context: CREATE TABLE table_21091127_1 (result VARCHAR, game VARCHAR)[/INST]SELECT COUNT(result) FROM table_21091127_1 WHERE game = 5</s> |
CREATE TABLE table_name_70 (round VARCHAR, nationality VARCHAR, player VARCHAR) | SELECT round FROM table_name_70 WHERE nationality = "canada" AND player = "jimmy drolet" | What is the round of Jimmy Drolet from Canada? | <s>[INST]What is the round of Jimmy Drolet from Canada? Context: CREATE TABLE table_name_70 (round VARCHAR, nationality VARCHAR, player VARCHAR)[/INST]SELECT round FROM table_name_70 WHERE nationality = "canada" AND player = "jimmy drolet"</s> |
CREATE TABLE table_name_32 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_32 WHERE opponent = "angels" AND date = "july 9" | Name the attendance with angels opponent for july 9 | <s>[INST]Name the attendance with angels opponent for july 9 Context: CREATE TABLE table_name_32 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_32 WHERE opponent = "angels" AND date = "july 9"</s> |
CREATE TABLE table_name_61 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_61 WHERE result = "w 28-13" | What was the attendance of the w 28-13 game? | <s>[INST]What was the attendance of the w 28-13 game? Context: CREATE TABLE table_name_61 (attendance VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_name_61 WHERE result = "w 28-13"</s> |
CREATE TABLE table_name_72 (date VARCHAR, leading_scorer VARCHAR) | SELECT date FROM table_name_72 WHERE leading_scorer = "leo mainoldi (24)" | What date was Leo Mainoldi (24) the leading scorer? | <s>[INST]What date was Leo Mainoldi (24) the leading scorer? Context: CREATE TABLE table_name_72 (date VARCHAR, leading_scorer VARCHAR)[/INST]SELECT date FROM table_name_72 WHERE leading_scorer = "leo mainoldi (24)"</s> |
CREATE TABLE table_22128871_1 (director VARCHAR, vietnamese_title VARCHAR) | SELECT COUNT(director) FROM table_22128871_1 WHERE vietnamese_title = "Gate, gate, paragate" | How many directors have vietnamese titles of Gate, Gate, Paragate? | <s>[INST]How many directors have vietnamese titles of Gate, Gate, Paragate? Context: CREATE TABLE table_22128871_1 (director VARCHAR, vietnamese_title VARCHAR)[/INST]SELECT COUNT(director) FROM table_22128871_1 WHERE vietnamese_title = "Gate, gate, paragate"</s> |
CREATE TABLE table_name_27 (school VARCHAR, pick INTEGER) | SELECT school FROM table_name_27 WHERE pick > 181 | Which school was the drafted player from in a pick larger than 181? | <s>[INST]Which school was the drafted player from in a pick larger than 181? Context: CREATE TABLE table_name_27 (school VARCHAR, pick INTEGER)[/INST]SELECT school FROM table_name_27 WHERE pick > 181</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.