context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_2296507_1 (system VARCHAR, constellation VARCHAR) | SELECT system FROM table_2296507_1 WHERE constellation = "Aries" | Name the system for aries | <s>[INST]Name the system for aries Context: CREATE TABLE table_2296507_1 (system VARCHAR, constellation VARCHAR)[/INST]SELECT system FROM table_2296507_1 WHERE constellation = "Aries"</s> |
CREATE TABLE table_name_27 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_27 WHERE date = "january 12" | What was the score on January 12? | <s>[INST]What was the score on January 12? Context: CREATE TABLE table_name_27 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_27 WHERE date = "january 12"</s> |
CREATE TABLE table_name_67 (performer_3 VARCHAR, performer_2 VARCHAR) | SELECT performer_3 FROM table_name_67 WHERE performer_2 = "karen maruyama" | Who was performer 3 with karen maruyama as performer 2? | <s>[INST]Who was performer 3 with karen maruyama as performer 2? Context: CREATE TABLE table_name_67 (performer_3 VARCHAR, performer_2 VARCHAR)[/INST]SELECT performer_3 FROM table_name_67 WHERE performer_2 = "karen maruyama"</s> |
CREATE TABLE table_name_3 (ends INTEGER, app_l_c_e_ VARCHAR) | SELECT MIN(ends) FROM table_name_3 WHERE app_l_c_e_ = "51 (44/6/1)" | What are the fewest ends with an App(L/C/E) of 51 (44/6/1)? | <s>[INST]What are the fewest ends with an App(L/C/E) of 51 (44/6/1)? Context: CREATE TABLE table_name_3 (ends INTEGER, app_l_c_e_ VARCHAR)[/INST]SELECT MIN(ends) FROM table_name_3 WHERE app_l_c_e_ = "51 (44/6/1)"</s> |
CREATE TABLE table_name_18 (team VARCHAR, location_attendance VARCHAR, score VARCHAR) | SELECT team FROM table_name_18 WHERE location_attendance = "boston garden" AND score = "l 118-130" | Which team played in the Boston Garden when the final score was L 118-130? | <s>[INST]Which team played in the Boston Garden when the final score was L 118-130? Context: CREATE TABLE table_name_18 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)[/INST]SELECT team FROM table_name_18 WHERE location_attendance = "boston garden" AND score = "l 118-130"</s> |
CREATE TABLE product (product_name VARCHAR) | SELECT DISTINCT product_name FROM product ORDER BY product_name | List the names of all the distinct product names in alphabetical order? | <s>[INST]List the names of all the distinct product names in alphabetical order? Context: CREATE TABLE product (product_name VARCHAR)[/INST]SELECT DISTINCT product_name FROM product ORDER BY product_name</s> |
CREATE TABLE table_17157367_1 (model VARCHAR, name VARCHAR) | SELECT COUNT(model) FROM table_17157367_1 WHERE "status" = "status" AND name = "GenEva" | what is the total number of model wehre the status is named geneva? | <s>[INST]what is the total number of model wehre the status is named geneva? Context: CREATE TABLE table_17157367_1 (model VARCHAR, name VARCHAR)[/INST]SELECT COUNT(model) FROM table_17157367_1 WHERE "status" = "status" AND name = "GenEva"</s> |
CREATE TABLE table_12104319_1 (womens_singles VARCHAR, womens_doubles VARCHAR) | SELECT womens_singles FROM table_12104319_1 WHERE womens_doubles = "Naoko Fukuman Kurumi Yonao" | What are the womens singles of naoko fukuman kurumi yonao? | <s>[INST]What are the womens singles of naoko fukuman kurumi yonao? Context: CREATE TABLE table_12104319_1 (womens_singles VARCHAR, womens_doubles VARCHAR)[/INST]SELECT womens_singles FROM table_12104319_1 WHERE womens_doubles = "Naoko Fukuman Kurumi Yonao"</s> |
CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR) | SELECT COUNT(built) FROM table_name_68 WHERE registry = "united kingdom" AND passengers = 1 OFFSET 300 | What's the total built by the United Kingdom and holds 1,300 passengers? | <s>[INST]What's the total built by the United Kingdom and holds 1,300 passengers? Context: CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR)[/INST]SELECT COUNT(built) FROM table_name_68 WHERE registry = "united kingdom" AND passengers = 1 OFFSET 300</s> |
CREATE TABLE table_14319023_2 (boys_singles VARCHAR, mixed_doubles VARCHAR) | SELECT boys_singles FROM table_14319023_2 WHERE mixed_doubles = "Danny Bawa Chrisnanta Debby Susanto" | When mixed doubles is danny bawa chrisnanta debby susanto what is the boys singles? | <s>[INST]When mixed doubles is danny bawa chrisnanta debby susanto what is the boys singles? Context: CREATE TABLE table_14319023_2 (boys_singles VARCHAR, mixed_doubles VARCHAR)[/INST]SELECT boys_singles FROM table_14319023_2 WHERE mixed_doubles = "Danny Bawa Chrisnanta Debby Susanto"</s> |
CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR) | SELECT AVG(attendance) FROM table_name_98 WHERE opponent = "new york jets" | What is the average attendance for the New York Jets? | <s>[INST]What is the average attendance for the New York Jets? Context: CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_98 WHERE opponent = "new york jets"</s> |
CREATE TABLE table_name_75 (time VARCHAR, release_date VARCHAR, track VARCHAR) | SELECT time FROM table_name_75 WHERE release_date = "8/26/69" AND track < 19 | What was the time for tracks before 19 on 8/26/69? | <s>[INST]What was the time for tracks before 19 on 8/26/69? Context: CREATE TABLE table_name_75 (time VARCHAR, release_date VARCHAR, track VARCHAR)[/INST]SELECT time FROM table_name_75 WHERE release_date = "8/26/69" AND track < 19</s> |
CREATE TABLE table_name_25 (driver VARCHAR, entrant VARCHAR, rounds VARCHAR) | SELECT driver FROM table_name_25 WHERE entrant = "arrows racing team" AND rounds = "1-3" | Which Driver has an Entrant of Arrows Racing Team and Rounds 1-3? | <s>[INST]Which Driver has an Entrant of Arrows Racing Team and Rounds 1-3? Context: CREATE TABLE table_name_25 (driver VARCHAR, entrant VARCHAR, rounds VARCHAR)[/INST]SELECT driver FROM table_name_25 WHERE entrant = "arrows racing team" AND rounds = "1-3"</s> |
CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_63 WHERE score = "5-4" | What date had a game with a score of 5-4? | <s>[INST]What date had a game with a score of 5-4? Context: CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_63 WHERE score = "5-4"</s> |
CREATE TABLE table_name_70 (wins VARCHAR, matches VARCHAR, success_rate VARCHAR) | SELECT wins FROM table_name_70 WHERE matches = "4" AND success_rate = "25%" | What was the win for 4 matches with a success rate of 25%? | <s>[INST]What was the win for 4 matches with a success rate of 25%? Context: CREATE TABLE table_name_70 (wins VARCHAR, matches VARCHAR, success_rate VARCHAR)[/INST]SELECT wins FROM table_name_70 WHERE matches = "4" AND success_rate = "25%"</s> |
CREATE TABLE table_name_61 (established VARCHAR, club VARCHAR) | SELECT established FROM table_name_61 WHERE club = "guelph rangers" | Which Established has a Club of guelph rangers? | <s>[INST]Which Established has a Club of guelph rangers? Context: CREATE TABLE table_name_61 (established VARCHAR, club VARCHAR)[/INST]SELECT established FROM table_name_61 WHERE club = "guelph rangers"</s> |
CREATE TABLE table_2146364_2 (second_place VARCHAR, city_ VARCHAR, _nation VARCHAR) | SELECT COUNT(second_place) FROM table_2146364_2 WHERE city_ & _nation = "Chicago, USA" | What is the total number of second place finishes when the city & nation was Chicago, USA? | <s>[INST]What is the total number of second place finishes when the city & nation was Chicago, USA? Context: CREATE TABLE table_2146364_2 (second_place VARCHAR, city_ VARCHAR, _nation VARCHAR)[/INST]SELECT COUNT(second_place) FROM table_2146364_2 WHERE city_ & _nation = "Chicago, USA"</s> |
CREATE TABLE table_name_88 (attendance INTEGER, week VARCHAR) | SELECT MIN(attendance) FROM table_name_88 WHERE week = 15 | What's the lowest attendance recorded for week 15? | <s>[INST]What's the lowest attendance recorded for week 15? Context: CREATE TABLE table_name_88 (attendance INTEGER, week VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_88 WHERE week = 15</s> |
CREATE TABLE table_name_24 (shirt_no INTEGER, height VARCHAR, player VARCHAR) | SELECT MAX(shirt_no) FROM table_name_24 WHERE height < 190 AND player = "henry bell cisnero" | What is the Shirt No for Henry Bell Cisnero whose height is less than 190? | <s>[INST]What is the Shirt No for Henry Bell Cisnero whose height is less than 190? Context: CREATE TABLE table_name_24 (shirt_no INTEGER, height VARCHAR, player VARCHAR)[/INST]SELECT MAX(shirt_no) FROM table_name_24 WHERE height < 190 AND player = "henry bell cisnero"</s> |
CREATE TABLE table_name_40 (type VARCHAR, moving_from VARCHAR) | SELECT type FROM table_name_40 WHERE moving_from = "rangers" | What is the type when Rangers are the moving from? | <s>[INST]What is the type when Rangers are the moving from? Context: CREATE TABLE table_name_40 (type VARCHAR, moving_from VARCHAR)[/INST]SELECT type FROM table_name_40 WHERE moving_from = "rangers"</s> |
CREATE TABLE table_name_71 (second_party VARCHAR, first_party VARCHAR, election VARCHAR) | SELECT second_party FROM table_name_71 WHERE first_party = "conservative" AND election = "1834" | What is the second party that has a conservative first party in the 1834 election? | <s>[INST]What is the second party that has a conservative first party in the 1834 election? Context: CREATE TABLE table_name_71 (second_party VARCHAR, first_party VARCHAR, election VARCHAR)[/INST]SELECT second_party FROM table_name_71 WHERE first_party = "conservative" AND election = "1834"</s> |
CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR) | SELECT enrollment__2005_ FROM table_2076490_1 WHERE type = "Baccalaureate college" AND school = "Granite State College" | What was the enrollment (2005) for baccalaureate colleges , for Granite State College? | <s>[INST]What was the enrollment (2005) for baccalaureate colleges , for Granite State College? Context: CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR)[/INST]SELECT enrollment__2005_ FROM table_2076490_1 WHERE type = "Baccalaureate college" AND school = "Granite State College"</s... |
CREATE TABLE table_name_39 (played INTEGER, points VARCHAR, place VARCHAR) | SELECT MIN(played) FROM table_name_39 WHERE points = 36 AND place > 2 | what is the least played when points is 36 and place is more than 2? | <s>[INST]what is the least played when points is 36 and place is more than 2? Context: CREATE TABLE table_name_39 (played INTEGER, points VARCHAR, place VARCHAR)[/INST]SELECT MIN(played) FROM table_name_39 WHERE points = 36 AND place > 2</s> |
CREATE TABLE table_name_88 (played VARCHAR, club VARCHAR) | SELECT played FROM table_name_88 WHERE club = "banwen rfc" | what's the played status when the club was banwen rfc? | <s>[INST]what's the played status when the club was banwen rfc? Context: CREATE TABLE table_name_88 (played VARCHAR, club VARCHAR)[/INST]SELECT played FROM table_name_88 WHERE club = "banwen rfc"</s> |
CREATE TABLE table_2417340_4 (successor VARCHAR, vacator VARCHAR, district VARCHAR) | SELECT successor FROM table_2417340_4 WHERE vacator = "Vacant" AND district = "Louisiana 5th" | Who was the successor for vacant louisiana 5th | <s>[INST]Who was the successor for vacant louisiana 5th Context: CREATE TABLE table_2417340_4 (successor VARCHAR, vacator VARCHAR, district VARCHAR)[/INST]SELECT successor FROM table_2417340_4 WHERE vacator = "Vacant" AND district = "Louisiana 5th"</s> |
CREATE TABLE table_name_7 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR) | SELECT competition_, _federation_, _or_league FROM table_name_7 WHERE team = "tennessee titans" | What competition, federation, or league are the Tennessee Titans a member of? | <s>[INST]What competition, federation, or league are the Tennessee Titans a member of? Context: CREATE TABLE table_name_7 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR)[/INST]SELECT competition_, _federation_, _or_league FROM table_name_7 WHERE team = "tennessee titans"</s> |
CREATE TABLE table_name_85 (time_retired VARCHAR, laps VARCHAR, constructor VARCHAR) | SELECT time_retired FROM table_name_85 WHERE laps < 62 AND constructor = "ferrari" | What time did the ferrari car that finished 62 laps have? | <s>[INST]What time did the ferrari car that finished 62 laps have? Context: CREATE TABLE table_name_85 (time_retired VARCHAR, laps VARCHAR, constructor VARCHAR)[/INST]SELECT time_retired FROM table_name_85 WHERE laps < 62 AND constructor = "ferrari"</s> |
CREATE TABLE table_19764939_1 (total VARCHAR, player VARCHAR) | SELECT total FROM table_19764939_1 WHERE player = "Jamie Carragher" | Name the total for jamie carragher | <s>[INST]Name the total for jamie carragher Context: CREATE TABLE table_19764939_1 (total VARCHAR, player VARCHAR)[/INST]SELECT total FROM table_19764939_1 WHERE player = "Jamie Carragher"</s> |
CREATE TABLE table_name_36 (tournament VARCHAR) | SELECT 1995 FROM table_name_36 WHERE tournament = "miami" | What is 1995, when Tournament is "Miami"? | <s>[INST]What is 1995, when Tournament is "Miami"? Context: CREATE TABLE table_name_36 (tournament VARCHAR)[/INST]SELECT 1995 FROM table_name_36 WHERE tournament = "miami"</s> |
CREATE TABLE table_name_79 (romaji_title VARCHAR, tv_station VARCHAR, japanese_title VARCHAR) | SELECT romaji_title FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "around40〜注文の多いオンナたち〜" | What is the Romanji title for around40〜注文の多いオンナたち〜 on TBS? | <s>[INST]What is the Romanji title for around40〜注文の多いオンナたち〜 on TBS? Context: CREATE TABLE table_name_79 (romaji_title VARCHAR, tv_station VARCHAR, japanese_title VARCHAR)[/INST]SELECT romaji_title FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "around40〜注文の多いオンナたち〜"</s> |
CREATE TABLE table_name_68 (agg VARCHAR) | SELECT 2 AS nd_leg FROM table_name_68 WHERE agg = "4-9" | What is the 2nd leg of the 4-9 agg.? | <s>[INST]What is the 2nd leg of the 4-9 agg.? Context: CREATE TABLE table_name_68 (agg VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_68 WHERE agg = "4-9"</s> |
CREATE TABLE table_name_70 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_70 WHERE week = 17 | What was the Attendance in Week 17? | <s>[INST]What was the Attendance in Week 17? Context: CREATE TABLE table_name_70 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_70 WHERE week = 17</s> |
CREATE TABLE table_name_8 (arena VARCHAR, capacity VARCHAR) | SELECT arena FROM table_name_8 WHERE capacity = "1,100" | Which arena has a capactiy of 1,100? | <s>[INST]Which arena has a capactiy of 1,100? Context: CREATE TABLE table_name_8 (arena VARCHAR, capacity VARCHAR)[/INST]SELECT arena FROM table_name_8 WHERE capacity = "1,100"</s> |
CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR, name VARCHAR) | SELECT T1.id, T1.name FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id GROUP BY T1.id HAVING COUNT(*) > 1 | What are the ids and names of the companies that operated more than one flight? | <s>[INST]What are the ids and names of the companies that operated more than one flight? Context: CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR, name VARCHAR)[/INST]SELECT T1.id, T1.name FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id GROUP BY T1.id HAVING COUNT(*) > 1... |
CREATE TABLE table_name_36 (material VARCHAR, completed VARCHAR, location VARCHAR) | SELECT material FROM table_name_36 WHERE completed < 1966 AND location = "st. paul, minnesota" | What was the statue in st. paul, minnesota constructed before 1966 made out of? | <s>[INST]What was the statue in st. paul, minnesota constructed before 1966 made out of? Context: CREATE TABLE table_name_36 (material VARCHAR, completed VARCHAR, location VARCHAR)[/INST]SELECT material FROM table_name_36 WHERE completed < 1966 AND location = "st. paul, minnesota"</s> |
CREATE TABLE table_name_69 (music___director VARCHAR, co___singer VARCHAR, film VARCHAR) | SELECT music___director FROM table_name_69 WHERE co___singer = "hemachandra" AND film = "khaleja" | Who is the music-director for the song from the film khaleja who had a co-singer of hemachandra? | <s>[INST]Who is the music-director for the song from the film khaleja who had a co-singer of hemachandra? Context: CREATE TABLE table_name_69 (music___director VARCHAR, co___singer VARCHAR, film VARCHAR)[/INST]SELECT music___director FROM table_name_69 WHERE co___singer = "hemachandra" AND film = "khaleja"</s> |
CREATE TABLE table_name_59 (power__kw_ VARCHAR, frequency VARCHAR, location VARCHAR) | SELECT power__kw_ FROM table_name_59 WHERE frequency = "102.3mhz" AND location = "baguio" | What is the power at Baguio where the frequency is 102.3mhz? | <s>[INST]What is the power at Baguio where the frequency is 102.3mhz? Context: CREATE TABLE table_name_59 (power__kw_ VARCHAR, frequency VARCHAR, location VARCHAR)[/INST]SELECT power__kw_ FROM table_name_59 WHERE frequency = "102.3mhz" AND location = "baguio"</s> |
CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR) | SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.4" | WHAT DATE HAS A CATALOG OF 486553.4? | <s>[INST]WHAT DATE HAS A CATALOG OF 486553.4? Context: CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR)[/INST]SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.4"</s> |
CREATE TABLE table_name_67 (location VARCHAR, result VARCHAR) | SELECT location FROM table_name_67 WHERE result = "l 31-52" | Which Location has a result of L 31-52? | <s>[INST]Which Location has a result of L 31-52? Context: CREATE TABLE table_name_67 (location VARCHAR, result VARCHAR)[/INST]SELECT location FROM table_name_67 WHERE result = "l 31-52"</s> |
CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_68 WHERE opponent = "canada" | What is the date when Canada played? | <s>[INST]What is the date when Canada played? Context: CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_68 WHERE opponent = "canada"</s> |
CREATE TABLE table_name_66 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR, no_10 VARCHAR) | SELECT no_2 FROM table_name_66 WHERE no_3 = "jacob" AND no_10 = "wyatt" AND no_6 = "ethan" | Name the No. 2 which has a No. 3 of jacob, and a No. 10 of wyatt, and a No. 6 of ethan? | <s>[INST]Name the No. 2 which has a No. 3 of jacob, and a No. 10 of wyatt, and a No. 6 of ethan? Context: CREATE TABLE table_name_66 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR, no_10 VARCHAR)[/INST]SELECT no_2 FROM table_name_66 WHERE no_3 = "jacob" AND no_10 = "wyatt" AND no_6 = "ethan"</s> |
CREATE TABLE table_10021158_3 (wins VARCHAR, money_list_rank VARCHAR) | SELECT COUNT(wins) FROM table_10021158_3 WHERE money_list_rank = "183" | How many wins were there when the money list rank was 183? | <s>[INST]How many wins were there when the money list rank was 183? Context: CREATE TABLE table_10021158_3 (wins VARCHAR, money_list_rank VARCHAR)[/INST]SELECT COUNT(wins) FROM table_10021158_3 WHERE money_list_rank = "183"</s> |
CREATE TABLE table_28181347_6 (replaced_by VARCHAR, date_of_vacancy VARCHAR) | SELECT replaced_by FROM table_28181347_6 WHERE date_of_vacancy = "8 October 2007" | In football league one, what coach was hired as a replacement on 8 October 2007 | <s>[INST]In football league one, what coach was hired as a replacement on 8 October 2007 Context: CREATE TABLE table_28181347_6 (replaced_by VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT replaced_by FROM table_28181347_6 WHERE date_of_vacancy = "8 October 2007"</s> |
CREATE TABLE table_name_74 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_74 WHERE home_team = "witton albion" | How many people attended the game with home team Witton Albion? | <s>[INST]How many people attended the game with home team Witton Albion? Context: CREATE TABLE table_name_74 (attendance VARCHAR, home_team VARCHAR)[/INST]SELECT attendance FROM table_name_74 WHERE home_team = "witton albion"</s> |
CREATE TABLE table_229059_2 (score VARCHAR, year VARCHAR) | SELECT score FROM table_229059_2 WHERE year = 1978 | What was the score in 1978? | <s>[INST]What was the score in 1978? Context: CREATE TABLE table_229059_2 (score VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_229059_2 WHERE year = 1978</s> |
CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR) | SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "8.16 (64) – 8.12 (60)" | what is the minimum attendance with score 8.16 (64) – 8.12 (60) | <s>[INST]what is the minimum attendance with score 8.16 (64) – 8.12 (60) Context: CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR)[/INST]SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "8.16 (64) – 8.12 (60)"</s> |
CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR, record VARCHAR) | SELECT score FROM table_name_48 WHERE visitor = "buffalo sabres" AND record = "1-3" | Which Score has a Visitor of buffalo sabres and a Record of 1-3? | <s>[INST]Which Score has a Visitor of buffalo sabres and a Record of 1-3? Context: CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_48 WHERE visitor = "buffalo sabres" AND record = "1-3"</s> |
CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR) | SELECT winning_team FROM table_13512105_3 WHERE winning_driver = "Ryan Briscoe" AND fastest_lap = "Tomas Scheckter" | which brand have drivers who won with the names of ryan briscoe and tomas scheckter | <s>[INST]which brand have drivers who won with the names of ryan briscoe and tomas scheckter Context: CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)[/INST]SELECT winning_team FROM table_13512105_3 WHERE winning_driver = "Ryan Briscoe" AND fastest_lap = "Tomas Scheckter... |
CREATE TABLE table_22838521_3 (best_finish VARCHAR, scoring_average VARCHAR) | SELECT best_finish FROM table_22838521_3 WHERE scoring_average = "72.46" | If the scoring average is 72.46, what is the best finish? | <s>[INST]If the scoring average is 72.46, what is the best finish? Context: CREATE TABLE table_22838521_3 (best_finish VARCHAR, scoring_average VARCHAR)[/INST]SELECT best_finish FROM table_22838521_3 WHERE scoring_average = "72.46"</s> |
CREATE TABLE table_14242137_4 (oberliga_bayern VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR) | SELECT oberliga_bayern FROM table_14242137_4 WHERE oberliga_baden_württemberg = "SV Sandhausen" AND season = "1986-87" | Name the oberliga bayern for sv sandhausen for 1986-87 | <s>[INST]Name the oberliga bayern for sv sandhausen for 1986-87 Context: CREATE TABLE table_14242137_4 (oberliga_bayern VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR)[/INST]SELECT oberliga_bayern FROM table_14242137_4 WHERE oberliga_baden_württemberg = "SV Sandhausen" AND season = "1986-87"</s> |
CREATE TABLE table_name_78 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_78 WHERE away_team = "hawthorn" | What date was the away team Hawthorn? | <s>[INST]What date was the away team Hawthorn? Context: CREATE TABLE table_name_78 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE away_team = "hawthorn"</s> |
CREATE TABLE table_name_75 (year VARCHAR, laps VARCHAR) | SELECT year FROM table_name_75 WHERE laps = 134 | What year had 134 laps? | <s>[INST]What year had 134 laps? Context: CREATE TABLE table_name_75 (year VARCHAR, laps VARCHAR)[/INST]SELECT year FROM table_name_75 WHERE laps = 134</s> |
CREATE TABLE table_14342592_8 (field_goals INTEGER) | SELECT MAX(field_goals) FROM table_14342592_8 | Name the most field goals | <s>[INST]Name the most field goals Context: CREATE TABLE table_14342592_8 (field_goals INTEGER)[/INST]SELECT MAX(field_goals) FROM table_14342592_8</s> |
CREATE TABLE table_name_76 (tournament VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_76 WHERE outcome = "winner" AND surface = "hard" AND date = "august 26, 2006" | Which tournament had an outcome of winner, a hard surface, and happened on August 26, 2006? | <s>[INST]Which tournament had an outcome of winner, a hard surface, and happened on August 26, 2006? Context: CREATE TABLE table_name_76 (tournament VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT tournament FROM table_name_76 WHERE outcome = "winner" AND surface = "hard" AND date = "august 26, 20... |
CREATE TABLE table_name_62 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_62 WHERE attendance = "31,220" | What is the date where the attendance was 31,220? | <s>[INST]What is the date where the attendance was 31,220? Context: CREATE TABLE table_name_62 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE attendance = "31,220"</s> |
CREATE TABLE table_name_82 (record VARCHAR, home VARCHAR, date VARCHAR) | SELECT record FROM table_name_82 WHERE home = "ottawa senators" AND date = "december 21" | which Record has a Home of ottawa senators on Date of december 21? | <s>[INST]which Record has a Home of ottawa senators on Date of december 21? Context: CREATE TABLE table_name_82 (record VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_82 WHERE home = "ottawa senators" AND date = "december 21"</s> |
CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR) | SELECT league FROM table_name_18 WHERE away = "2-3" | What league has 2-3 as the away? | <s>[INST]What league has 2-3 as the away? Context: CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR)[/INST]SELECT league FROM table_name_18 WHERE away = "2-3"</s> |
CREATE TABLE table_name_26 (points__pts_ INTEGER, won__pg_ INTEGER) | SELECT AVG(points__pts_) FROM table_name_26 WHERE won__pg_ > 17 | What is the average number of points of the team with more than 17 pg won? | <s>[INST]What is the average number of points of the team with more than 17 pg won? Context: CREATE TABLE table_name_26 (points__pts_ INTEGER, won__pg_ INTEGER)[/INST]SELECT AVG(points__pts_) FROM table_name_26 WHERE won__pg_ > 17</s> |
CREATE TABLE table_24837750_1 (installed_capacity__mw_ VARCHAR, county VARCHAR) | SELECT installed_capacity__mw_ FROM table_24837750_1 WHERE county = "Wheatland" | How much capacity was installed in Wheatland? | <s>[INST]How much capacity was installed in Wheatland? Context: CREATE TABLE table_24837750_1 (installed_capacity__mw_ VARCHAR, county VARCHAR)[/INST]SELECT installed_capacity__mw_ FROM table_24837750_1 WHERE county = "Wheatland"</s> |
CREATE TABLE table_18161217_2 (launch_date VARCHAR, cospar_id VARCHAR) | SELECT launch_date FROM table_18161217_2 WHERE cospar_id = "2008-033A" | What was the launch date the satellite with cospar ID is 2008-033A? | <s>[INST]What was the launch date the satellite with cospar ID is 2008-033A? Context: CREATE TABLE table_18161217_2 (launch_date VARCHAR, cospar_id VARCHAR)[/INST]SELECT launch_date FROM table_18161217_2 WHERE cospar_id = "2008-033A"</s> |
CREATE TABLE Lots (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE Lots (lot_details VARCHAR); CREATE TABLE transactions_lots (lot_id VARCHAR) | SELECT lot_details FROM Lots EXCEPT SELECT T1.lot_details FROM Lots AS T1 JOIN transactions_lots AS T2 ON T1.lot_id = T2.lot_id | What are the details of the lots which are not used in any transactions? | <s>[INST]What are the details of the lots which are not used in any transactions? Context: CREATE TABLE Lots (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE Lots (lot_details VARCHAR); CREATE TABLE transactions_lots (lot_id VARCHAR)[/INST]SELECT lot_details FROM Lots EXCEPT SELECT T1.lot_details FROM Lots AS T1 JOI... |
CREATE TABLE table_name_32 (name VARCHAR, rank VARCHAR, time VARCHAR) | SELECT name FROM table_name_32 WHERE rank < 125 AND time = "00: 56.30" | Who has a rank below 125 and time of 00: 56.30? | <s>[INST]Who has a rank below 125 and time of 00: 56.30? Context: CREATE TABLE table_name_32 (name VARCHAR, rank VARCHAR, time VARCHAR)[/INST]SELECT name FROM table_name_32 WHERE rank < 125 AND time = "00: 56.30"</s> |
CREATE TABLE table_18373863_2 (fcsl_team VARCHAR, mlb_team VARCHAR) | SELECT fcsl_team FROM table_18373863_2 WHERE mlb_team = "Toronto Blue Jays" | When toronto blue jays are the mlb team who are the fscl team? | <s>[INST]When toronto blue jays are the mlb team who are the fscl team? Context: CREATE TABLE table_18373863_2 (fcsl_team VARCHAR, mlb_team VARCHAR)[/INST]SELECT fcsl_team FROM table_18373863_2 WHERE mlb_team = "Toronto Blue Jays"</s> |
CREATE TABLE table_name_52 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_52 WHERE time = 50.92 | Which nationality has a time of 50.92? | <s>[INST]Which nationality has a time of 50.92? Context: CREATE TABLE table_name_52 (nationality VARCHAR, time VARCHAR)[/INST]SELECT nationality FROM table_name_52 WHERE time = 50.92</s> |
CREATE TABLE table_name_5 (games VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT COUNT(games) FROM table_name_5 WHERE drawn < 1 AND lost > 4 | How many Games have a Drawn smaller than 1, and a Lost larger than 4? | <s>[INST]How many Games have a Drawn smaller than 1, and a Lost larger than 4? Context: CREATE TABLE table_name_5 (games VARCHAR, drawn VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(games) FROM table_name_5 WHERE drawn < 1 AND lost > 4</s> |
CREATE TABLE table_name_43 (season VARCHAR, last_air_date VARCHAR) | SELECT season FROM table_name_43 WHERE last_air_date = "march 11, 2001" | Which season had its last episode air on March 11, 2001? | <s>[INST]Which season had its last episode air on March 11, 2001? Context: CREATE TABLE table_name_43 (season VARCHAR, last_air_date VARCHAR)[/INST]SELECT season FROM table_name_43 WHERE last_air_date = "march 11, 2001"</s> |
CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR, pick__number VARCHAR, college VARCHAR) | SELECT SUM(overall) FROM table_name_99 WHERE pick__number = 10 AND college = "louisiana tech" AND round > 3 | What is the overall number for a pick of #10, from Louisiana Tech, and a round bigger than 3? | <s>[INST]What is the overall number for a pick of #10, from Louisiana Tech, and a round bigger than 3? Context: CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR, pick__number VARCHAR, college VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_99 WHERE pick__number = 10 AND college = "louisiana tech" AND round... |
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, product_stock_number VARCHAR) | SELECT catalog_entry_name FROM catalog_contents WHERE product_stock_number LIKE "2%" | Find the names of all the products whose stock number starts with "2". | <s>[INST]Find the names of all the products whose stock number starts with "2". Context: CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, product_stock_number VARCHAR)[/INST]SELECT catalog_entry_name FROM catalog_contents WHERE product_stock_number LIKE "2%"</s> |
CREATE TABLE table_name_6 (player VARCHAR, goals VARCHAR) | SELECT player FROM table_name_6 WHERE goals = "1299" | Which player has 1299 goals? | <s>[INST]Which player has 1299 goals? Context: CREATE TABLE table_name_6 (player VARCHAR, goals VARCHAR)[/INST]SELECT player FROM table_name_6 WHERE goals = "1299"</s> |
CREATE TABLE table_name_17 (team VARCHAR, city_area VARCHAR) | SELECT team FROM table_name_17 WHERE city_area = "birmingham & telford" | Which team is from Birmingham & Telford? | <s>[INST]Which team is from Birmingham & Telford? Context: CREATE TABLE table_name_17 (team VARCHAR, city_area VARCHAR)[/INST]SELECT team FROM table_name_17 WHERE city_area = "birmingham & telford"</s> |
CREATE TABLE table_name_19 (player VARCHAR, total VARCHAR) | SELECT player FROM table_name_19 WHERE total = 160 | Which player has a total of 160? | <s>[INST]Which player has a total of 160? Context: CREATE TABLE table_name_19 (player VARCHAR, total VARCHAR)[/INST]SELECT player FROM table_name_19 WHERE total = 160</s> |
CREATE TABLE table_name_24 (points VARCHAR, goals_against VARCHAR) | SELECT points FROM table_name_24 WHERE goals_against = "222" | What's the points if the goals against were 222? | <s>[INST]What's the points if the goals against were 222? Context: CREATE TABLE table_name_24 (points VARCHAR, goals_against VARCHAR)[/INST]SELECT points FROM table_name_24 WHERE goals_against = "222"</s> |
CREATE TABLE table_18734298_1 (written_by VARCHAR, no_in_series VARCHAR) | SELECT written_by FROM table_18734298_1 WHERE no_in_series = 14 | Who wrote the series number 14? | <s>[INST]Who wrote the series number 14? Context: CREATE TABLE table_18734298_1 (written_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT written_by FROM table_18734298_1 WHERE no_in_series = 14</s> |
CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR, color_code VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE ref_product_categories (product_category_code VARCHAR, unit_of_measure VARCHAR) | SELECT t1.product_name FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code JOIN ref_colors AS t3 ON t1.color_code = t3.color_code WHERE t3.color_description = "white" AND t2.unit_of_measure <> "Handful" | Find the product names that are colored 'white' but do not have unit of measurement "Handful". | <s>[INST]Find the product names that are colored 'white' but do not have unit of measurement "Handful". Context: CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR, color_code VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE ref_product_categories (... |
CREATE TABLE table_name_9 (callsign VARCHAR, on_air_id VARCHAR) | SELECT callsign FROM table_name_9 WHERE on_air_id = "7bu" | what is the callsign whtat uses 7bu? | <s>[INST]what is the callsign whtat uses 7bu? Context: CREATE TABLE table_name_9 (callsign VARCHAR, on_air_id VARCHAR)[/INST]SELECT callsign FROM table_name_9 WHERE on_air_id = "7bu"</s> |
CREATE TABLE university (school VARCHAR, nickname VARCHAR, founded VARCHAR) | SELECT school, nickname FROM university ORDER BY founded | List all schools and their nicknames in the order of founded year. | <s>[INST]List all schools and their nicknames in the order of founded year. Context: CREATE TABLE university (school VARCHAR, nickname VARCHAR, founded VARCHAR)[/INST]SELECT school, nickname FROM university ORDER BY founded</s> |
CREATE TABLE table_name_20 (programming VARCHAR, name VARCHAR) | SELECT programming FROM table_name_20 WHERE name = "kanal 5" | What is the programming for Kanal 5? | <s>[INST]What is the programming for Kanal 5? Context: CREATE TABLE table_name_20 (programming VARCHAR, name VARCHAR)[/INST]SELECT programming FROM table_name_20 WHERE name = "kanal 5"</s> |
CREATE TABLE table_name_53 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_53 WHERE away_team = "fitzroy" | What is the name of the Home team that played Fitzroy as the Away team? | <s>[INST]What is the name of the Home team that played Fitzroy as the Away team? Context: CREATE TABLE table_name_53 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_53 WHERE away_team = "fitzroy"</s> |
CREATE TABLE table_name_69 (constructor VARCHAR, race VARCHAR) | SELECT constructor FROM table_name_69 WHERE race = "belgian grand prix" | Name the constructor for the belgian grand prix | <s>[INST]Name the constructor for the belgian grand prix Context: CREATE TABLE table_name_69 (constructor VARCHAR, race VARCHAR)[/INST]SELECT constructor FROM table_name_69 WHERE race = "belgian grand prix"</s> |
CREATE TABLE table_name_20 (result VARCHAR, year VARCHAR, tournament VARCHAR) | SELECT result FROM table_name_20 WHERE year > 2010 AND tournament = "world race walking cup" | What is the result of the World Race Walking Cup tournament played before the year 2010? | <s>[INST]What is the result of the World Race Walking Cup tournament played before the year 2010? Context: CREATE TABLE table_name_20 (result VARCHAR, year VARCHAR, tournament VARCHAR)[/INST]SELECT result FROM table_name_20 WHERE year > 2010 AND tournament = "world race walking cup"</s> |
CREATE TABLE table_name_46 (labour_panel INTEGER, university_of_dublin VARCHAR, agricultural_panel VARCHAR) | SELECT MAX(labour_panel) FROM table_name_46 WHERE university_of_dublin < 2 AND agricultural_panel > 5 | What is the highest labour panel when the university of dublin is less than 2 and the agricultural panel is greater than 5? | <s>[INST]What is the highest labour panel when the university of dublin is less than 2 and the agricultural panel is greater than 5? Context: CREATE TABLE table_name_46 (labour_panel INTEGER, university_of_dublin VARCHAR, agricultural_panel VARCHAR)[/INST]SELECT MAX(labour_panel) FROM table_name_46 WHERE university_of_... |
CREATE TABLE table_name_97 (total_cargo__metric_tonnes_ INTEGER, _percentage_change VARCHAR) | SELECT AVG(total_cargo__metric_tonnes_) FROM table_name_97 WHERE _percentage_change = "11.8%" | What's the average total cargo in metric tonnes that has an 11.8% Change? | <s>[INST]What's the average total cargo in metric tonnes that has an 11.8% Change? Context: CREATE TABLE table_name_97 (total_cargo__metric_tonnes_ INTEGER, _percentage_change VARCHAR)[/INST]SELECT AVG(total_cargo__metric_tonnes_) FROM table_name_97 WHERE _percentage_change = "11.8%"</s> |
CREATE TABLE table_12608427_8 (started VARCHAR, name VARCHAR) | SELECT started FROM table_12608427_8 WHERE name = "de Vries" | What date did De Vries start? | <s>[INST]What date did De Vries start? Context: CREATE TABLE table_12608427_8 (started VARCHAR, name VARCHAR)[/INST]SELECT started FROM table_12608427_8 WHERE name = "de Vries"</s> |
CREATE TABLE table_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR) | SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = "999,000" | When was the episode with a 999,000 BARB rating first aired in Denmark? | <s>[INST]When was the episode with a 999,000 BARB rating first aired in Denmark? Context: CREATE TABLE table_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR)[/INST]SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = "999,000"</s> |
CREATE TABLE table_name_53 (partner VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) | SELECT partner FROM table_name_53 WHERE surface = "clay" AND score_in_the_final = "6–3, 6–7 (5–7) , 7–6 (7–5)" | Who was David Adams partner on the match played on Clay Surface with a Score in the final of 6–3, 6–7 (5–7) , 7–6 (7–5)? | <s>[INST]Who was David Adams partner on the match played on Clay Surface with a Score in the final of 6–3, 6–7 (5–7) , 7–6 (7–5)? Context: CREATE TABLE table_name_53 (partner VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT partner FROM table_name_53 WHERE surface = "clay" AND score_in_the_final = "6–... |
CREATE TABLE table_1888051_1 (area__km²_ VARCHAR, capital VARCHAR) | SELECT area__km²_ FROM table_1888051_1 WHERE capital = "Nagua" | Nagua has the area (km²) of? | <s>[INST]Nagua has the area (km²) of? Context: CREATE TABLE table_1888051_1 (area__km²_ VARCHAR, capital VARCHAR)[/INST]SELECT area__km²_ FROM table_1888051_1 WHERE capital = "Nagua"</s> |
CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_45 WHERE home_team = "collingwood" | What is Collingwood's home venue? | <s>[INST]What is Collingwood's home venue? Context: CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_45 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_19611329_1 (year_inducted VARCHAR, inducted_as VARCHAR) | SELECT "player" FROM table_19611329_1 WHERE year_inducted = 1945 AND inducted_as = "player" | Name the player for 1945 for player | <s>[INST]Name the player for 1945 for player Context: CREATE TABLE table_19611329_1 (year_inducted VARCHAR, inducted_as VARCHAR)[/INST]SELECT "player" FROM table_19611329_1 WHERE year_inducted = 1945 AND inducted_as = "player"</s> |
CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR) | SELECT Fname, Lname FROM Student | Show first name and last name for all students. | <s>[INST]Show first name and last name for all students. Context: CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR)[/INST]SELECT Fname, Lname FROM Student</s> |
CREATE TABLE table_name_74 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_74 WHERE tie_no = "20" | Which Home team that has a Tie no of 20? | <s>[INST]Which Home team that has a Tie no of 20? Context: CREATE TABLE table_name_74 (home_team VARCHAR, tie_no VARCHAR)[/INST]SELECT home_team FROM table_name_74 WHERE tie_no = "20"</s> |
CREATE TABLE table_name_85 (weblink VARCHAR, college_or_campus_name VARCHAR) | SELECT weblink FROM table_name_85 WHERE college_or_campus_name = "anna university college of engineering kanchipuram" | What Weblink has a College or Campus Name of anna university college of engineering kanchipuram? | <s>[INST]What Weblink has a College or Campus Name of anna university college of engineering kanchipuram? Context: CREATE TABLE table_name_85 (weblink VARCHAR, college_or_campus_name VARCHAR)[/INST]SELECT weblink FROM table_name_85 WHERE college_or_campus_name = "anna university college of engineering kanchipuram"</s> |
CREATE TABLE table_name_86 (artist VARCHAR, record_label VARCHAR) | SELECT artist FROM table_name_86 WHERE record_label = "vertigo" | Which Artist has a Record label of vertigo? | <s>[INST]Which Artist has a Record label of vertigo? Context: CREATE TABLE table_name_86 (artist VARCHAR, record_label VARCHAR)[/INST]SELECT artist FROM table_name_86 WHERE record_label = "vertigo"</s> |
CREATE TABLE table_name_46 (overall INTEGER, round VARCHAR, college VARCHAR, position VARCHAR) | SELECT SUM(overall) FROM table_name_46 WHERE college = "michigan state" AND position = "fb" AND round > 8 | Which Overall has a College of michigan state, a Position of fb, and a Round larger than 8? | <s>[INST]Which Overall has a College of michigan state, a Position of fb, and a Round larger than 8? Context: CREATE TABLE table_name_46 (overall INTEGER, round VARCHAR, college VARCHAR, position VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_46 WHERE college = "michigan state" AND position = "fb" AND round > 8</s> |
CREATE TABLE table_1342256_6 (party VARCHAR, candidates VARCHAR) | SELECT COUNT(party) FROM table_1342256_6 WHERE candidates = "John J. Phillips (R) 57.6% N. E. West (D) 42.4%" | how many party with candidates being john j. phillips (r) 57.6% n. e. west (d) 42.4% | <s>[INST] how many party with candidates being john j. phillips (r) 57.6% n. e. west (d) 42.4% Context: CREATE TABLE table_1342256_6 (party VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(party) FROM table_1342256_6 WHERE candidates = "John J. Phillips (R) 57.6% N. E. West (D) 42.4%"</s> |
CREATE TABLE table_name_43 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR) | SELECT rider FROM table_name_43 WHERE bike = "honda cbr1000rr" AND laps < 22 AND time = "+2 laps" | Who rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps? | <s>[INST]Who rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps? Context: CREATE TABLE table_name_43 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR)[/INST]SELECT rider FROM table_name_43 WHERE bike = "honda cbr1000rr" AND laps < 22 AND time = "+2 laps"</s> |
CREATE TABLE table_name_92 (school_club_team VARCHAR, years_in_orlando VARCHAR) | SELECT school_club_team FROM table_name_92 WHERE years_in_orlando = "1997–1998" | Which School/Club Team has a Years in Orlando of 1997–1998? | <s>[INST]Which School/Club Team has a Years in Orlando of 1997–1998? Context: CREATE TABLE table_name_92 (school_club_team VARCHAR, years_in_orlando VARCHAR)[/INST]SELECT school_club_team FROM table_name_92 WHERE years_in_orlando = "1997–1998"</s> |
CREATE TABLE table_name_79 (gillingham_career VARCHAR, position VARCHAR, nationality VARCHAR, goals VARCHAR, apps VARCHAR) | SELECT gillingham_career FROM table_name_79 WHERE goals = 0 AND apps < 37 AND nationality = "england" AND position = "mf" | When did the mf from England play for Gillingham that made 0 goals and less than 37 appearances? | <s>[INST]When did the mf from England play for Gillingham that made 0 goals and less than 37 appearances? Context: CREATE TABLE table_name_79 (gillingham_career VARCHAR, position VARCHAR, nationality VARCHAR, goals VARCHAR, apps VARCHAR)[/INST]SELECT gillingham_career FROM table_name_79 WHERE goals = 0 AND apps < 37 AN... |
CREATE TABLE table_name_13 (episode VARCHAR, viewers__in_millions_ VARCHAR) | SELECT episode FROM table_name_13 WHERE viewers__in_millions_ = "7.8" | What episode has 7.8 million viewers? | <s>[INST]What episode has 7.8 million viewers? Context: CREATE TABLE table_name_13 (episode VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT episode FROM table_name_13 WHERE viewers__in_millions_ = "7.8"</s> |
CREATE TABLE table_25246990_2 (us_viewers__millions_ VARCHAR, written_by VARCHAR, no_in_series VARCHAR) | SELECT us_viewers__millions_ FROM table_25246990_2 WHERE written_by = "Jed Spingarn" AND no_in_series = "7" | How many U.S. viewers in millions watched the number 7 episode in the series that was written by Jed Spingarn? | <s>[INST]How many U.S. viewers in millions watched the number 7 episode in the series that was written by Jed Spingarn? Context: CREATE TABLE table_25246990_2 (us_viewers__millions_ VARCHAR, written_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_25246990_2 WHERE written_by = "Jed Spinga... |
CREATE TABLE table_name_82 (pick VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_name_82 WHERE player = "brandon rush" | WHAT WAS THE PICK NUMBER FOR BRANDON RUSH? | <s>[INST]WHAT WAS THE PICK NUMBER FOR BRANDON RUSH? Context: CREATE TABLE table_name_82 (pick VARCHAR, player VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_82 WHERE player = "brandon rush"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.