context
stringlengths 27
489
| answer
stringlengths 18
557
| question
stringlengths 12
243
| text
stringlengths 103
1.05k
|
---|---|---|---|
CREATE TABLE table_name_98 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR) | SELECT AVG(league_cup_goals) FROM table_name_98 WHERE league_cup_apps = 4 AND league_goals < 4 AND fa_cup_apps = "1" AND total_apps = "35" | what is the average league cup goals when the league cup apps is 4, league goals is less than 4, fa cup apps is 1 and total apps is 35? | <s>[INST]what is the average league cup goals when the league cup apps is 4, league goals is less than 4, fa cup apps is 1 and total apps is 35? Context: CREATE TABLE table_name_98 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR)[/INST]SELECT AVG(league_cup_goals) FROM table_name_98 WHERE league_cup_apps = 4 AND league_goals < 4 AND fa_cup_apps = "1" AND total_apps = "35"</s> |
CREATE TABLE table_name_95 (score VARCHAR, time VARCHAR) | SELECT score FROM table_name_95 WHERE time = "18:27" | WHAT SCORE HAS A TIME OF 18:27? | <s>[INST]WHAT SCORE HAS A TIME OF 18:27? Context: CREATE TABLE table_name_95 (score VARCHAR, time VARCHAR)[/INST]SELECT score FROM table_name_95 WHERE time = "18:27"</s> |
CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR, format VARCHAR) | SELECT date FROM table_name_21 WHERE label = "hydra head records" AND format = "cd" | What is the date for Hydra Head Records with a CD format? | <s>[INST]What is the date for Hydra Head Records with a CD format? Context: CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_21 WHERE label = "hydra head records" AND format = "cd"</s> |
CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, country___endonym__ VARCHAR) | SELECT capital___endonym__ FROM table_1008653_1 WHERE country___endonym__ = "Anguilla" | What is the local name given to the capital of Anguilla? | <s>[INST]What is the local name given to the capital of Anguilla? Context: CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, country___endonym__ VARCHAR)[/INST]SELECT capital___endonym__ FROM table_1008653_1 WHERE country___endonym__ = "Anguilla"</s> |
CREATE TABLE table_name_84 (top_25 INTEGER, tournament VARCHAR, cuts_made VARCHAR) | SELECT SUM(top_25) FROM table_name_84 WHERE tournament = "u.s. open" AND cuts_made < 7 | What is the total top-25 of the U.S. Open, which has less than 7 cuts? | <s>[INST]What is the total top-25 of the U.S. Open, which has less than 7 cuts? Context: CREATE TABLE table_name_84 (top_25 INTEGER, tournament VARCHAR, cuts_made VARCHAR)[/INST]SELECT SUM(top_25) FROM table_name_84 WHERE tournament = "u.s. open" AND cuts_made < 7</s> |
CREATE TABLE Documents (document_name VARCHAR, document_id VARCHAR, document_type_code VARCHAR) | SELECT document_name, document_id FROM Documents WHERE document_type_code = "BK" | Find names and ids of all documents with document type code BK. | <s>[INST]Find names and ids of all documents with document type code BK. Context: CREATE TABLE Documents (document_name VARCHAR, document_id VARCHAR, document_type_code VARCHAR)[/INST]SELECT document_name, document_id FROM Documents WHERE document_type_code = "BK"</s> |
CREATE TABLE table_name_62 (crowd VARCHAR, home_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_62 WHERE home_team = "hawthorn" | What size was the crowd when Hawthorn was the home team? | <s>[INST]What size was the crowd when Hawthorn was the home team? Context: CREATE TABLE table_name_62 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_62 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_1745843_7 (verb_meaning VARCHAR, part_1 VARCHAR) | SELECT verb_meaning FROM table_1745843_7 WHERE part_1 = "slapen" | What's the meaning of the verb whose part 1 is slapen? | <s>[INST]What's the meaning of the verb whose part 1 is slapen? Context: CREATE TABLE table_1745843_7 (verb_meaning VARCHAR, part_1 VARCHAR)[/INST]SELECT verb_meaning FROM table_1745843_7 WHERE part_1 = "slapen"</s> |
CREATE TABLE table_name_44 (d_47 VARCHAR, d_46 VARCHAR) | SELECT d_47 FROM table_name_44 WHERE d_46 = "r 35" | Tell me the D 47 for D 46 of r 35 | <s>[INST]Tell me the D 47 for D 46 of r 35 Context: CREATE TABLE table_name_44 (d_47 VARCHAR, d_46 VARCHAR)[/INST]SELECT d_47 FROM table_name_44 WHERE d_46 = "r 35"</s> |
CREATE TABLE instruments (songid VARCHAR); CREATE TABLE songs (songid VARCHAR) | SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Le Pop" | What instruments does the the song "Le Pop" use? | <s>[INST]What instruments does the the song "Le Pop" use? Context: CREATE TABLE instruments (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)[/INST]SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Le Pop"</s> |
CREATE TABLE Sportsinfo (StuID VARCHAR) | SELECT COUNT(DISTINCT StuID) FROM Sportsinfo | How many students play sports? | <s>[INST]How many students play sports? Context: CREATE TABLE Sportsinfo (StuID VARCHAR)[/INST]SELECT COUNT(DISTINCT StuID) FROM Sportsinfo</s> |
CREATE TABLE table_name_88 (position VARCHAR, years_for_rockets VARCHAR) | SELECT position FROM table_name_88 WHERE years_for_rockets = "1981" | What was the position of the player who played for the Rockets during 1981? | <s>[INST]What was the position of the player who played for the Rockets during 1981? Context: CREATE TABLE table_name_88 (position VARCHAR, years_for_rockets VARCHAR)[/INST]SELECT position FROM table_name_88 WHERE years_for_rockets = "1981"</s> |
CREATE TABLE table_name_25 (reactor_type VARCHAR, commercial_operation VARCHAR, unit VARCHAR) | SELECT reactor_type FROM table_name_25 WHERE commercial_operation = "—" AND unit = "tianwan-7" | What reactor type that has a commercial operation of —, and a tianwan-7 unit? | <s>[INST]What reactor type that has a commercial operation of —, and a tianwan-7 unit? Context: CREATE TABLE table_name_25 (reactor_type VARCHAR, commercial_operation VARCHAR, unit VARCHAR)[/INST]SELECT reactor_type FROM table_name_25 WHERE commercial_operation = "—" AND unit = "tianwan-7"</s> |
CREATE TABLE table_name_15 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_15 WHERE score = "9–6" | What record has a Score of 9–6? | <s>[INST]What record has a Score of 9–6? Context: CREATE TABLE table_name_15 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_15 WHERE score = "9–6"</s> |
CREATE TABLE table_name_61 (team VARCHAR, points_against VARCHAR) | SELECT team FROM table_name_61 WHERE points_against = "102" | What team has 102 Points against? | <s>[INST]What team has 102 Points against? Context: CREATE TABLE table_name_61 (team VARCHAR, points_against VARCHAR)[/INST]SELECT team FROM table_name_61 WHERE points_against = "102"</s> |
CREATE TABLE table_26473176_1 (podiums VARCHAR, position VARCHAR) | SELECT podiums FROM table_26473176_1 WHERE position = "12th" | What was the number of podiums in 12th position? | <s>[INST]What was the number of podiums in 12th position? Context: CREATE TABLE table_26473176_1 (podiums VARCHAR, position VARCHAR)[/INST]SELECT podiums FROM table_26473176_1 WHERE position = "12th"</s> |
CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_43 WHERE record = "27-31" | When were the Brewers 27-31? | <s>[INST]When were the Brewers 27-31? Context: CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_43 WHERE record = "27-31"</s> |
CREATE TABLE table_name_87 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_87 WHERE grid = 17 | Which Constructor has a Grid of 17? | <s>[INST]Which Constructor has a Grid of 17? Context: CREATE TABLE table_name_87 (constructor VARCHAR, grid VARCHAR)[/INST]SELECT constructor FROM table_name_87 WHERE grid = 17</s> |
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_76 WHERE date = "09-oct-2006" | What is the Score for 09-oct-2006? | <s>[INST]What is the Score for 09-oct-2006? Context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE date = "09-oct-2006"</s> |
CREATE TABLE table_name_34 (enrollment INTEGER, ihsaa_class VARCHAR, location VARCHAR) | SELECT AVG(enrollment) FROM table_name_34 WHERE ihsaa_class = "a" AND location = "wolcott" | What is the average enrollment of the IHSAA A class in wolcott? | <s>[INST]What is the average enrollment of the IHSAA A class in wolcott? Context: CREATE TABLE table_name_34 (enrollment INTEGER, ihsaa_class VARCHAR, location VARCHAR)[/INST]SELECT AVG(enrollment) FROM table_name_34 WHERE ihsaa_class = "a" AND location = "wolcott"</s> |
CREATE TABLE table_name_77 (other_awards VARCHAR, year VARCHAR) | SELECT other_awards FROM table_name_77 WHERE year = 1995 | What are the other awards for 1995? | <s>[INST]What are the other awards for 1995? Context: CREATE TABLE table_name_77 (other_awards VARCHAR, year VARCHAR)[/INST]SELECT other_awards FROM table_name_77 WHERE year = 1995</s> |
CREATE TABLE table_name_38 (service_charge VARCHAR, number_made VARCHAR) | SELECT service_charge FROM table_name_38 WHERE number_made = 456 | What is the service charge of the boat howitzers with 456 made? | <s>[INST]What is the service charge of the boat howitzers with 456 made? Context: CREATE TABLE table_name_38 (service_charge VARCHAR, number_made VARCHAR)[/INST]SELECT service_charge FROM table_name_38 WHERE number_made = 456</s> |
CREATE TABLE table_name_23 (july VARCHAR, annual_precipitation VARCHAR) | SELECT july FROM table_name_23 WHERE annual_precipitation = "514mm (20.2in)" | What is the July temperature where the annual precipitation is 514mm (20.2in)? | <s>[INST]What is the July temperature where the annual precipitation is 514mm (20.2in)? Context: CREATE TABLE table_name_23 (july VARCHAR, annual_precipitation VARCHAR)[/INST]SELECT july FROM table_name_23 WHERE annual_precipitation = "514mm (20.2in)"</s> |
CREATE TABLE table_2417340_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) | SELECT state__class_ FROM table_2417340_3 WHERE date_of_successors_formal_installation = "June 22, 1868" | List all state classes when successors were formally installed on June 22, 1868. | <s>[INST]List all state classes when successors were formally installed on June 22, 1868. Context: CREATE TABLE table_2417340_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT state__class_ FROM table_2417340_3 WHERE date_of_successors_formal_installation = "June 22, 1868"</s> |
CREATE TABLE table_name_33 (county VARCHAR, name VARCHAR) | SELECT county FROM table_name_33 WHERE name = "canyon padre bridge" | In what county is the Canyon Padre Bridge? | <s>[INST]In what county is the Canyon Padre Bridge? Context: CREATE TABLE table_name_33 (county VARCHAR, name VARCHAR)[/INST]SELECT county FROM table_name_33 WHERE name = "canyon padre bridge"</s> |
CREATE TABLE table_name_87 (type VARCHAR, location VARCHAR, entered_service VARCHAR) | SELECT type FROM table_name_87 WHERE location = "brazil" AND entered_service = "1976/1997" | Which type entered service in 1976/1997 and is located in Brazil? | <s>[INST]Which type entered service in 1976/1997 and is located in Brazil? Context: CREATE TABLE table_name_87 (type VARCHAR, location VARCHAR, entered_service VARCHAR)[/INST]SELECT type FROM table_name_87 WHERE location = "brazil" AND entered_service = "1976/1997"</s> |
CREATE TABLE table_name_47 (year INTEGER, result VARCHAR) | SELECT AVG(year) FROM table_name_47 WHERE result = "nominated" | Name the average year for result of nominated | <s>[INST]Name the average year for result of nominated Context: CREATE TABLE table_name_47 (year INTEGER, result VARCHAR)[/INST]SELECT AVG(year) FROM table_name_47 WHERE result = "nominated"</s> |
CREATE TABLE table_14623167_1 (call_sign VARCHAR, physical VARCHAR) | SELECT call_sign FROM table_14623167_1 WHERE physical = 17 | Name the call sign for the 17 physical | <s>[INST]Name the call sign for the 17 physical Context: CREATE TABLE table_14623167_1 (call_sign VARCHAR, physical VARCHAR)[/INST]SELECT call_sign FROM table_14623167_1 WHERE physical = 17</s> |
CREATE TABLE table_14877831_2 (first_downs INTEGER, attendance VARCHAR) | SELECT MIN(first_downs) FROM table_14877831_2 WHERE attendance = 13196 | How many first downs were there when the attendance was 13196? | <s>[INST]How many first downs were there when the attendance was 13196? Context: CREATE TABLE table_14877831_2 (first_downs INTEGER, attendance VARCHAR)[/INST]SELECT MIN(first_downs) FROM table_14877831_2 WHERE attendance = 13196</s> |
CREATE TABLE table_26638600_3 (circuit VARCHAR, lites_1_race_two_winning_team VARCHAR) | SELECT circuit FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "#13 Inspire Motorsports" | On which circuit was the lites race two winning team #13 Inspire Motorsports? | <s>[INST]On which circuit was the lites race two winning team #13 Inspire Motorsports? Context: CREATE TABLE table_26638600_3 (circuit VARCHAR, lites_1_race_two_winning_team VARCHAR)[/INST]SELECT circuit FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "#13 Inspire Motorsports"</s> |
CREATE TABLE table_27115960_1 (title VARCHAR, no_in_series VARCHAR) | SELECT title FROM table_27115960_1 WHERE no_in_series = 9 | Season 9 all the titles were no. in series. | <s>[INST]Season 9 all the titles were no. in series. Context: CREATE TABLE table_27115960_1 (title VARCHAR, no_in_series VARCHAR)[/INST]SELECT title FROM table_27115960_1 WHERE no_in_series = 9</s> |
CREATE TABLE table_name_21 (decile VARCHAR, authority VARCHAR, name VARCHAR) | SELECT COUNT(decile) FROM table_name_21 WHERE authority = "state" AND name = "chertsey school" | How many deciles have an Authority of state and a Name of chertsey school? | <s>[INST]How many deciles have an Authority of state and a Name of chertsey school? Context: CREATE TABLE table_name_21 (decile VARCHAR, authority VARCHAR, name VARCHAR)[/INST]SELECT COUNT(decile) FROM table_name_21 WHERE authority = "state" AND name = "chertsey school"</s> |
CREATE TABLE table_name_88 (band VARCHAR, frequency VARCHAR) | SELECT band FROM table_name_88 WHERE frequency = "102.3" | Name the band with frequency of 102.3 | <s>[INST]Name the band with frequency of 102.3 Context: CREATE TABLE table_name_88 (band VARCHAR, frequency VARCHAR)[/INST]SELECT band FROM table_name_88 WHERE frequency = "102.3"</s> |
CREATE TABLE table_1618358_1 (stamp_duty_reserve_tax VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR) | SELECT stamp_duty_reserve_tax FROM table_1618358_1 WHERE over_total_tax_revenue__in__percentage_ = "0.79" | What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79? | <s>[INST]What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79? Context: CREATE TABLE table_1618358_1 (stamp_duty_reserve_tax VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR)[/INST]SELECT stamp_duty_reserve_tax FROM table_1618358_1 WHERE over_total_tax_revenue__in__percentage_ = "0.79"</s> |
CREATE TABLE table_name_19 (points_against VARCHAR, tries_against VARCHAR) | SELECT points_against FROM table_name_19 WHERE tries_against = "53" | What is the number of points against when the tries against was 53? | <s>[INST]What is the number of points against when the tries against was 53? Context: CREATE TABLE table_name_19 (points_against VARCHAR, tries_against VARCHAR)[/INST]SELECT points_against FROM table_name_19 WHERE tries_against = "53"</s> |
CREATE TABLE table_name_88 (release_year_of_first_charted_record INTEGER, artist VARCHAR) | SELECT MIN(release_year_of_first_charted_record) FROM table_name_88 WHERE artist = "abba" | What was the earliest release-year of the first charted record of Abba? | <s>[INST]What was the earliest release-year of the first charted record of Abba? Context: CREATE TABLE table_name_88 (release_year_of_first_charted_record INTEGER, artist VARCHAR)[/INST]SELECT MIN(release_year_of_first_charted_record) FROM table_name_88 WHERE artist = "abba"</s> |
CREATE TABLE table_name_62 (rating VARCHAR, player VARCHAR) | SELECT rating FROM table_name_62 WHERE player = "patrice bergeron" | What is Patrice Bergeron's rating? | <s>[INST]What is Patrice Bergeron's rating? Context: CREATE TABLE table_name_62 (rating VARCHAR, player VARCHAR)[/INST]SELECT rating FROM table_name_62 WHERE player = "patrice bergeron"</s> |
CREATE TABLE table_20726262_3 (production_code VARCHAR, usviewers__million_ VARCHAR) | SELECT production_code FROM table_20726262_3 WHERE usviewers__million_ = "3.38" | What was the production code for the episode with 3.38 million viewers? | <s>[INST]What was the production code for the episode with 3.38 million viewers? Context: CREATE TABLE table_20726262_3 (production_code VARCHAR, usviewers__million_ VARCHAR)[/INST]SELECT production_code FROM table_20726262_3 WHERE usviewers__million_ = "3.38"</s> |
CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_18 WHERE home_team = "collingwood" | In the game where Collingwood is the home team what is the score of the away team? | <s>[INST]In the game where Collingwood is the home team what is the score of the away team? Context: CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_18 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_name_64 (link VARCHAR, date_of_polling VARCHAR) | SELECT link FROM table_name_64 WHERE date_of_polling = "january 31 – february 3, 2011" | What is the link for january 31 – february 3, 2011? | <s>[INST]What is the link for january 31 – february 3, 2011? Context: CREATE TABLE table_name_64 (link VARCHAR, date_of_polling VARCHAR)[/INST]SELECT link FROM table_name_64 WHERE date_of_polling = "january 31 – february 3, 2011"</s> |
CREATE TABLE table_name_61 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "defence force" | Name the 2nd leg for defence force | <s>[INST]Name the 2nd leg for defence force Context: CREATE TABLE table_name_61 (team_2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "defence force"</s> |
CREATE TABLE table_name_43 (date VARCHAR, eliminated VARCHAR) | SELECT date FROM table_name_43 WHERE eliminated = "final night" | On what date was elimination on final night? | <s>[INST]On what date was elimination on final night? Context: CREATE TABLE table_name_43 (date VARCHAR, eliminated VARCHAR)[/INST]SELECT date FROM table_name_43 WHERE eliminated = "final night"</s> |
CREATE TABLE table_2013618_1 (english_name VARCHAR, traditional VARCHAR) | SELECT english_name FROM table_2013618_1 WHERE traditional = "福鼎市" | Name the english name for 福鼎市 | <s>[INST]Name the english name for 福鼎市 Context: CREATE TABLE table_2013618_1 (english_name VARCHAR, traditional VARCHAR)[/INST]SELECT english_name FROM table_2013618_1 WHERE traditional = "福鼎市"</s> |
CREATE TABLE table_name_23 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT SUM(rank) FROM table_name_23 WHERE gold < 1 AND bronze = 0 AND total > 1 | What is the rank when there was less than 1 gold, 0 bronze, and more than 1 total? | <s>[INST]What is the rank when there was less than 1 gold, 0 bronze, and more than 1 total? Context: CREATE TABLE table_name_23 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_23 WHERE gold < 1 AND bronze = 0 AND total > 1</s> |
CREATE TABLE table_name_8 (wins VARCHAR, winnings VARCHAR, top_10 VARCHAR) | SELECT COUNT(wins) FROM table_name_8 WHERE winnings = "$184,190" AND top_10 > 1 | How many Wins have Winnings of $184,190, and a Top 10 larger than 1? | <s>[INST]How many Wins have Winnings of $184,190, and a Top 10 larger than 1? Context: CREATE TABLE table_name_8 (wins VARCHAR, winnings VARCHAR, top_10 VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_8 WHERE winnings = "$184,190" AND top_10 > 1</s> |
CREATE TABLE table_28138035_6 (mens_singles VARCHAR, womens_doubles VARCHAR) | SELECT COUNT(mens_singles) FROM table_28138035_6 WHERE womens_doubles = "China" | How many times was the womens doubles in china? | <s>[INST]How many times was the womens doubles in china? Context: CREATE TABLE table_28138035_6 (mens_singles VARCHAR, womens_doubles VARCHAR)[/INST]SELECT COUNT(mens_singles) FROM table_28138035_6 WHERE womens_doubles = "China"</s> |
CREATE TABLE table_name_57 (silver VARCHAR, gold VARCHAR, total VARCHAR) | SELECT COUNT(silver) FROM table_name_57 WHERE gold < 1 AND total < 1 | How many silver medals for the nation with fewer than 1 golds and total less than 1? | <s>[INST]How many silver medals for the nation with fewer than 1 golds and total less than 1? Context: CREATE TABLE table_name_57 (silver VARCHAR, gold VARCHAR, total VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_57 WHERE gold < 1 AND total < 1</s> |
CREATE TABLE table_18278508_2 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT date_performed FROM table_18278508_2 WHERE main_contestant = "Jatin Shah" AND co_contestant__yaar_vs_pyaar_ = "Shalini Chandran" | What date did Jatin Shah and Shalini Chandran perform? | <s>[INST]What date did Jatin Shah and Shalini Chandran perform? Context: CREATE TABLE table_18278508_2 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)[/INST]SELECT date_performed FROM table_18278508_2 WHERE main_contestant = "Jatin Shah" AND co_contestant__yaar_vs_pyaar_ = "Shalini Chandran"</s> |
CREATE TABLE table_2182562_1 (avg_finish VARCHAR, winnings VARCHAR) | SELECT avg_finish FROM table_2182562_1 WHERE winnings = "$71,200" | What is the average finish when winnings equals $71,200? | <s>[INST]What is the average finish when winnings equals $71,200? Context: CREATE TABLE table_2182562_1 (avg_finish VARCHAR, winnings VARCHAR)[/INST]SELECT avg_finish FROM table_2182562_1 WHERE winnings = "$71,200"</s> |
CREATE TABLE table_name_40 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_40 WHERE loss = "flanagan (6-7)" | On what date was the Loss by Flanagan (6-7)? | <s>[INST]On what date was the Loss by Flanagan (6-7)? Context: CREATE TABLE table_name_40 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_40 WHERE loss = "flanagan (6-7)"</s> |
CREATE TABLE table_name_12 (time VARCHAR, eliminated_by VARCHAR, wrestler VARCHAR) | SELECT time FROM table_name_12 WHERE eliminated_by = "batista" AND wrestler = "henry" | What time was the Wrestler Henry eliminated by Batista? | <s>[INST]What time was the Wrestler Henry eliminated by Batista? Context: CREATE TABLE table_name_12 (time VARCHAR, eliminated_by VARCHAR, wrestler VARCHAR)[/INST]SELECT time FROM table_name_12 WHERE eliminated_by = "batista" AND wrestler = "henry"</s> |
CREATE TABLE table_name_56 (world_record VARCHAR) | SELECT 102 AS kg FROM table_name_56 WHERE world_record = "olympic record" AND "snatch" = "snatch" | What's the 102kg when the snatch was snatch and the olympic record was the world record? | <s>[INST]What's the 102kg when the snatch was snatch and the olympic record was the world record? Context: CREATE TABLE table_name_56 (world_record VARCHAR)[/INST]SELECT 102 AS kg FROM table_name_56 WHERE world_record = "olympic record" AND "snatch" = "snatch"</s> |
CREATE TABLE table_1342315_10 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_1342315_10 WHERE district = "Georgia 1" | How many winners were there in the Georgia 1 district? | <s>[INST]How many winners were there in the Georgia 1 district? Context: CREATE TABLE table_1342315_10 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1342315_10 WHERE district = "Georgia 1"</s> |
CREATE TABLE table_name_39 (japanese_orthography VARCHAR, abbreviation VARCHAR) | SELECT japanese_orthography FROM table_name_39 WHERE abbreviation = "ndmc" | What is the Japanese orthography for the abbreviation of ndmc? | <s>[INST]What is the Japanese orthography for the abbreviation of ndmc? Context: CREATE TABLE table_name_39 (japanese_orthography VARCHAR, abbreviation VARCHAR)[/INST]SELECT japanese_orthography FROM table_name_39 WHERE abbreviation = "ndmc"</s> |
CREATE TABLE table_26099252_1 (h264 VARCHAR, theora VARCHAR) | SELECT h264 FROM table_26099252_1 WHERE theora = "2.3" | When theora is 2.3, how much is the h.264? | <s>[INST]When theora is 2.3, how much is the h.264? Context: CREATE TABLE table_26099252_1 (h264 VARCHAR, theora VARCHAR)[/INST]SELECT h264 FROM table_26099252_1 WHERE theora = "2.3"</s> |
CREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR) | SELECT COUNT(december_28) FROM table_29217650_1 WHERE movies = "Rosario" | How many figures are provided for December 28 for Rosario? | <s>[INST]How many figures are provided for December 28 for Rosario? Context: CREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR)[/INST]SELECT COUNT(december_28) FROM table_29217650_1 WHERE movies = "Rosario"</s> |
CREATE TABLE table_name_50 (ages VARCHAR, report VARCHAR, school VARCHAR) | SELECT ages FROM table_name_50 WHERE report = "ofsted" AND school = "seashell trust" | What are the Ages of the Seashell Trust School with Ofsted Report? | <s>[INST]What are the Ages of the Seashell Trust School with Ofsted Report? Context: CREATE TABLE table_name_50 (ages VARCHAR, report VARCHAR, school VARCHAR)[/INST]SELECT ages FROM table_name_50 WHERE report = "ofsted" AND school = "seashell trust"</s> |
CREATE TABLE table_name_99 (founded VARCHAR, location VARCHAR) | SELECT founded FROM table_name_99 WHERE location = "paul smiths, new york" | What is the Founded year of the school located in Paul Smiths, New York? | <s>[INST]What is the Founded year of the school located in Paul Smiths, New York? Context: CREATE TABLE table_name_99 (founded VARCHAR, location VARCHAR)[/INST]SELECT founded FROM table_name_99 WHERE location = "paul smiths, new york"</s> |
CREATE TABLE table_name_77 (laps INTEGER, grid VARCHAR, driver VARCHAR) | SELECT SUM(laps) FROM table_name_77 WHERE grid > 4 AND driver = "nick heidfeld" | How many laps did Nick Heidfeld drive on grids larger than 4? | <s>[INST]How many laps did Nick Heidfeld drive on grids larger than 4? Context: CREATE TABLE table_name_77 (laps INTEGER, grid VARCHAR, driver VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_77 WHERE grid > 4 AND driver = "nick heidfeld"</s> |
CREATE TABLE table_name_62 (total VARCHAR, set_2 VARCHAR, set_4 VARCHAR, score VARCHAR) | SELECT total FROM table_name_62 WHERE set_4 = "na" AND score = "3-0" AND set_2 = "26-24" | What is the total of NA for set 4, a score of 3-0 and a 26-24 for set 2? | <s>[INST]What is the total of NA for set 4, a score of 3-0 and a 26-24 for set 2? Context: CREATE TABLE table_name_62 (total VARCHAR, set_2 VARCHAR, set_4 VARCHAR, score VARCHAR)[/INST]SELECT total FROM table_name_62 WHERE set_4 = "na" AND score = "3-0" AND set_2 = "26-24"</s> |
CREATE TABLE table_name_16 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_16 WHERE date = "november 5" | Can you tell me the High rebounds that has the Date of november 5? | <s>[INST]Can you tell me the High rebounds that has the Date of november 5? Context: CREATE TABLE table_name_16 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_name_16 WHERE date = "november 5"</s> |
CREATE TABLE table_14948647_1 (bhofen_number2__rk_ VARCHAR, ga_pa__rk_ VARCHAR) | SELECT bhofen_number2__rk_ FROM table_14948647_1 WHERE ga_pa__rk_ = "227.5 (19)" | What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 227.5 (19)? | <s>[INST]What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 227.5 (19)? Context: CREATE TABLE table_14948647_1 (bhofen_number2__rk_ VARCHAR, ga_pa__rk_ VARCHAR)[/INST]SELECT bhofen_number2__rk_ FROM table_14948647_1 WHERE ga_pa__rk_ = "227.5 (19)"</s> |
CREATE TABLE table_name_35 (matches VARCHAR, rider VARCHAR, total_points VARCHAR) | SELECT COUNT(matches) FROM table_name_35 WHERE rider = "dennis gavros" AND total_points < 167 | How many total matches involving dennis gavros had total points less than 167? | <s>[INST]How many total matches involving dennis gavros had total points less than 167? Context: CREATE TABLE table_name_35 (matches VARCHAR, rider VARCHAR, total_points VARCHAR)[/INST]SELECT COUNT(matches) FROM table_name_35 WHERE rider = "dennis gavros" AND total_points < 167</s> |
CREATE TABLE table_name_76 (verb VARCHAR) | SELECT 2 AS _3__p_ FROM table_name_76 WHERE verb = "khêla" | WHICH 2/3 (P) has a Verb of khêla? | <s>[INST]WHICH 2/3 (P) has a Verb of khêla? Context: CREATE TABLE table_name_76 (verb VARCHAR)[/INST]SELECT 2 AS _3__p_ FROM table_name_76 WHERE verb = "khêla"</s> |
CREATE TABLE table_name_36 (school VARCHAR, pick VARCHAR) | SELECT school FROM table_name_36 WHERE pick = 29 | What school had the draft pick of 29? | <s>[INST]What school had the draft pick of 29? Context: CREATE TABLE table_name_36 (school VARCHAR, pick VARCHAR)[/INST]SELECT school FROM table_name_36 WHERE pick = 29</s> |
CREATE TABLE table_name_21 (time VARCHAR, round VARCHAR, event VARCHAR) | SELECT time FROM table_name_21 WHERE round > 1 AND event = "total fighting alliance 2" | Which Time has a Round larger than 1, and an Event of total fighting alliance 2? | <s>[INST]Which Time has a Round larger than 1, and an Event of total fighting alliance 2? Context: CREATE TABLE table_name_21 (time VARCHAR, round VARCHAR, event VARCHAR)[/INST]SELECT time FROM table_name_21 WHERE round > 1 AND event = "total fighting alliance 2"</s> |
CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE customer_events (customer_id VARCHAR) | SELECT COUNT(*) FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM customer_events) | How many customers did not have any event? | <s>[INST]How many customers did not have any event? Context: CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE customer_events (customer_id VARCHAR)[/INST]SELECT COUNT(*) FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM customer_events)</s> |
CREATE TABLE table_name_90 (april INTEGER, opponent VARCHAR, game VARCHAR) | SELECT MIN(april) FROM table_name_90 WHERE opponent = "new york rangers" AND game < 82 | What is the lowest value in April with New York Rangers as opponent for a game less than 82? | <s>[INST]What is the lowest value in April with New York Rangers as opponent for a game less than 82? Context: CREATE TABLE table_name_90 (april INTEGER, opponent VARCHAR, game VARCHAR)[/INST]SELECT MIN(april) FROM table_name_90 WHERE opponent = "new york rangers" AND game < 82</s> |
CREATE TABLE Rating (title VARCHAR, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) | SELECT title FROM Movie WHERE NOT mID IN (SELECT mID FROM Rating) | Find the titles of all movies that have no ratings. | <s>[INST]Find the titles of all movies that have no ratings. Context: CREATE TABLE Rating (title VARCHAR, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)[/INST]SELECT title FROM Movie WHERE NOT mID IN (SELECT mID FROM Rating)</s> |
CREATE TABLE table_name_37 (car INTEGER, yards INTEGER) | SELECT MIN(car) FROM table_name_37 WHERE yards > 122 | What is the lowest car with more than 122 yards? | <s>[INST]What is the lowest car with more than 122 yards? Context: CREATE TABLE table_name_37 (car INTEGER, yards INTEGER)[/INST]SELECT MIN(car) FROM table_name_37 WHERE yards > 122</s> |
CREATE TABLE table_name_4 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) | SELECT MIN(laps) FROM table_name_4 WHERE manufacturer = "yamaha" AND time_retired = "+1:08.312" AND grid < 20 | What is the lowest laps that has a manufacturer of yamaha, and a time/retired of +1:08.312, and a grid less than 20? | <s>[INST]What is the lowest laps that has a manufacturer of yamaha, and a time/retired of +1:08.312, and a grid less than 20? Context: CREATE TABLE table_name_4 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_4 WHERE manufacturer = "yamaha" AND time_retired = "+1:08.312" AND grid < 20</s> |
CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR) | SELECT visitor FROM table_name_29 WHERE home = "ny rangers" | Name the visitor for home of ny rangers | <s>[INST]Name the visitor for home of ny rangers Context: CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)[/INST]SELECT visitor FROM table_name_29 WHERE home = "ny rangers"</s> |
CREATE TABLE table_name_32 (venue VARCHAR, year VARCHAR, notes VARCHAR) | SELECT venue FROM table_name_32 WHERE year > 2003 AND notes = "3:34.88" | Which venue had a note of 3:34.88 after 2003? | <s>[INST]Which venue had a note of 3:34.88 after 2003? Context: CREATE TABLE table_name_32 (venue VARCHAR, year VARCHAR, notes VARCHAR)[/INST]SELECT venue FROM table_name_32 WHERE year > 2003 AND notes = "3:34.88"</s> |
CREATE TABLE elimination (Name VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR) | SELECT Name FROM wrestler WHERE NOT Wrestler_ID IN (SELECT Wrestler_ID FROM elimination) | List the names of wrestlers that have not been eliminated. | <s>[INST]List the names of wrestlers that have not been eliminated. Context: CREATE TABLE elimination (Name VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR)[/INST]SELECT Name FROM wrestler WHERE NOT Wrestler_ID IN (SELECT Wrestler_ID FROM elimination)</s> |
CREATE TABLE table_20522228_2 (episode VARCHAR, share VARCHAR) | SELECT episode FROM table_20522228_2 WHERE share = 8 | What was the episode name when share was 8? | <s>[INST]What was the episode name when share was 8? Context: CREATE TABLE table_20522228_2 (episode VARCHAR, share VARCHAR)[/INST]SELECT episode FROM table_20522228_2 WHERE share = 8</s> |
CREATE TABLE table_name_23 (team VARCHAR, laps VARCHAR) | SELECT team FROM table_name_23 WHERE laps = 379 | Can you tell me the Team that has the Laps of 379? | <s>[INST]Can you tell me the Team that has the Laps of 379? Context: CREATE TABLE table_name_23 (team VARCHAR, laps VARCHAR)[/INST]SELECT team FROM table_name_23 WHERE laps = 379</s> |
CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_6 WHERE date = "24/11/1992" | What is the venue of 24/11/1992? | <s>[INST]What is the venue of 24/11/1992? Context: CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_6 WHERE date = "24/11/1992"</s> |
CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (title VARCHAR, course_id VARCHAR) | SELECT T1.title FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING COUNT(*) = 2 | Find the title of courses that have two prerequisites? | <s>[INST]Find the title of courses that have two prerequisites? Context: CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (title VARCHAR, course_id VARCHAR)[/INST]SELECT T1.title FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING COUNT(*) = 2</s> |
CREATE TABLE table_name_30 (position VARCHAR, pick__number VARCHAR, player VARCHAR) | SELECT position FROM table_name_30 WHERE pick__number > 186 AND player = "bobby micho" | What position does Bobby Micho, who was picked later than 186 others, play on the Broncos team? | <s>[INST]What position does Bobby Micho, who was picked later than 186 others, play on the Broncos team? Context: CREATE TABLE table_name_30 (position VARCHAR, pick__number VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_30 WHERE pick__number > 186 AND player = "bobby micho"</s> |
CREATE TABLE table_169766_13 (retitled_as_same VARCHAR, last_aired VARCHAR) | SELECT retitled_as_same FROM table_169766_13 WHERE last_aired = 1958 | Did the name change for the program last aired in 1958? | <s>[INST]Did the name change for the program last aired in 1958? Context: CREATE TABLE table_169766_13 (retitled_as_same VARCHAR, last_aired VARCHAR)[/INST]SELECT retitled_as_same FROM table_169766_13 WHERE last_aired = 1958</s> |
CREATE TABLE table_16799784_12 (name VARCHAR, longitude VARCHAR) | SELECT name FROM table_16799784_12 WHERE longitude = "152.0E" | What is every name for longitude of 152.0E? | <s>[INST]What is every name for longitude of 152.0E? Context: CREATE TABLE table_16799784_12 (name VARCHAR, longitude VARCHAR)[/INST]SELECT name FROM table_16799784_12 WHERE longitude = "152.0E"</s> |
CREATE TABLE table_name_39 (year INTEGER, political_rights VARCHAR, status VARCHAR, civil_liberties VARCHAR) | SELECT AVG(year) FROM table_name_39 WHERE status = "not free" AND civil_liberties < 7 AND political_rights < 6 | What is the year average when not free was the status, and less than 7 was the civil liberties, and less than 6 political rights? | <s>[INST]What is the year average when not free was the status, and less than 7 was the civil liberties, and less than 6 political rights? Context: CREATE TABLE table_name_39 (year INTEGER, political_rights VARCHAR, status VARCHAR, civil_liberties VARCHAR)[/INST]SELECT AVG(year) FROM table_name_39 WHERE status = "not free" AND civil_liberties < 7 AND political_rights < 6</s> |
CREATE TABLE table_22941863_19 (points_classification VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_22941863_19 WHERE stage = 3 | If the stage is 3, what is the points classification name? | <s>[INST]If the stage is 3, what is the points classification name? Context: CREATE TABLE table_22941863_19 (points_classification VARCHAR, stage VARCHAR)[/INST]SELECT points_classification FROM table_22941863_19 WHERE stage = 3</s> |
CREATE TABLE table_name_52 (language VARCHAR, publisher VARCHAR) | SELECT language FROM table_name_52 WHERE publisher = "20th century fox" | What language has 20th century fox as the publisher? | <s>[INST]What language has 20th century fox as the publisher? Context: CREATE TABLE table_name_52 (language VARCHAR, publisher VARCHAR)[/INST]SELECT language FROM table_name_52 WHERE publisher = "20th century fox"</s> |
CREATE TABLE table_17427004_7 (round_of_32 VARCHAR, athlete VARCHAR) | SELECT round_of_32 FROM table_17427004_7 WHERE athlete = "Nabil Kassel" | Who did Nabil Kassel face in the Round of 32? | <s>[INST]Who did Nabil Kassel face in the Round of 32? Context: CREATE TABLE table_17427004_7 (round_of_32 VARCHAR, athlete VARCHAR)[/INST]SELECT round_of_32 FROM table_17427004_7 WHERE athlete = "Nabil Kassel"</s> |
CREATE TABLE table_18733814_2 (general_classification VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR) | SELECT general_classification FROM table_18733814_2 WHERE points_classification = "Alessandro Petacchi" AND young_rider_classification = "Thomas Löfkvist" | When thomas löfkvist is the young rider classification and alessandro petacchi is the points classification who are the general classifications? | <s>[INST]When thomas löfkvist is the young rider classification and alessandro petacchi is the points classification who are the general classifications? Context: CREATE TABLE table_18733814_2 (general_classification VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR)[/INST]SELECT general_classification FROM table_18733814_2 WHERE points_classification = "Alessandro Petacchi" AND young_rider_classification = "Thomas Löfkvist"</s> |
CREATE TABLE table_name_18 (film_title_used_in_nomination VARCHAR, country VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_18 WHERE country = "netherlands" | What was the film title nominated from the Netherlands? | <s>[INST]What was the film title nominated from the Netherlands? Context: CREATE TABLE table_name_18 (film_title_used_in_nomination VARCHAR, country VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_18 WHERE country = "netherlands"</s> |
CREATE TABLE table_name_27 (race VARCHAR, jockey VARCHAR, result VARCHAR) | SELECT race FROM table_name_27 WHERE jockey = "d. beadman" AND result = "4th" | Which race has D. Beadman for the jockey and a 4th place result? | <s>[INST]Which race has D. Beadman for the jockey and a 4th place result? Context: CREATE TABLE table_name_27 (race VARCHAR, jockey VARCHAR, result VARCHAR)[/INST]SELECT race FROM table_name_27 WHERE jockey = "d. beadman" AND result = "4th"</s> |
CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, time_retired VARCHAR) | SELECT COUNT(laps) FROM table_name_87 WHERE grid > 9 AND time_retired = "+32.354" | How many Laps have a Grid larger than 9, and a Time/Retired of +32.354? | <s>[INST]How many Laps have a Grid larger than 9, and a Time/Retired of +32.354? Context: CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_87 WHERE grid > 9 AND time_retired = "+32.354"</s> |
CREATE TABLE table_name_33 (weight VARCHAR, internal_storage VARCHAR, wireless_network VARCHAR) | SELECT weight FROM table_name_33 WHERE internal_storage = "16-64 gb" AND wireless_network = "wi-fi, 3g" | What is the weight of the display that has an internal storage of 16-64 GB and uses a wi-fi, 3G wireless network? | <s>[INST]What is the weight of the display that has an internal storage of 16-64 GB and uses a wi-fi, 3G wireless network? Context: CREATE TABLE table_name_33 (weight VARCHAR, internal_storage VARCHAR, wireless_network VARCHAR)[/INST]SELECT weight FROM table_name_33 WHERE internal_storage = "16-64 gb" AND wireless_network = "wi-fi, 3g"</s> |
CREATE TABLE death (caused_by_ship_id VARCHAR); CREATE TABLE ship (Id VARCHAR) | SELECT T2.id, T2.name FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id GROUP BY T2.id ORDER BY COUNT(*) DESC LIMIT 1 | What is the ship id and name that caused most total injuries? | <s>[INST]What is the ship id and name that caused most total injuries? Context: CREATE TABLE death (caused_by_ship_id VARCHAR); CREATE TABLE ship (Id VARCHAR)[/INST]SELECT T2.id, T2.name FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id GROUP BY T2.id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_16388545_1 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_16388545_1 WHERE away_team = "Carlton" | When the away team was Carlton, who was the home team? | <s>[INST]When the away team was Carlton, who was the home team? Context: CREATE TABLE table_16388545_1 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_16388545_1 WHERE away_team = "Carlton"</s> |
CREATE TABLE table_name_80 (freight_carried_s_tonne INTEGER, year VARCHAR, road_closed VARCHAR, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR) | SELECT MIN(freight_carried_s_tonne) FROM table_name_80 WHERE road_closed = "march 31" AND super_b_capacity_reached_[_citation_needed_] = "february 17" AND year > 2011 | What is the smallest amount of freight carried on the road that closed on March 31 and reached super B capacity on February 17 after 2011? | <s>[INST]What is the smallest amount of freight carried on the road that closed on March 31 and reached super B capacity on February 17 after 2011? Context: CREATE TABLE table_name_80 (freight_carried_s_tonne INTEGER, year VARCHAR, road_closed VARCHAR, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR)[/INST]SELECT MIN(freight_carried_s_tonne) FROM table_name_80 WHERE road_closed = "march 31" AND super_b_capacity_reached_[_citation_needed_] = "february 17" AND year > 2011</s> |
CREATE TABLE table_1976898_1 (chinese_name__simplified___traditional_ VARCHAR, english_name VARCHAR) | SELECT chinese_name__simplified___traditional_ FROM table_1976898_1 WHERE english_name = "Susong County" | What's the Chinese (simplified/traditional) name of Susong County? | <s>[INST]What's the Chinese (simplified/traditional) name of Susong County? Context: CREATE TABLE table_1976898_1 (chinese_name__simplified___traditional_ VARCHAR, english_name VARCHAR)[/INST]SELECT chinese_name__simplified___traditional_ FROM table_1976898_1 WHERE english_name = "Susong County"</s> |
CREATE TABLE table_name_8 (language VARCHAR, percentage___percentage_ VARCHAR) | SELECT language FROM table_name_8 WHERE percentage___percentage_ = "2.54" | Which language has the percentage of 2.54? | <s>[INST]Which language has the percentage of 2.54? Context: CREATE TABLE table_name_8 (language VARCHAR, percentage___percentage_ VARCHAR)[/INST]SELECT language FROM table_name_8 WHERE percentage___percentage_ = "2.54"</s> |
CREATE TABLE table_name_50 (church_name VARCHAR, organized_by VARCHAR) | SELECT church_name FROM table_name_50 WHERE organized_by = "george m. hinkle" | Which church was organized by George M. Hinkle? | <s>[INST]Which church was organized by George M. Hinkle? Context: CREATE TABLE table_name_50 (church_name VARCHAR, organized_by VARCHAR)[/INST]SELECT church_name FROM table_name_50 WHERE organized_by = "george m. hinkle"</s> |
CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_59 WHERE player = "larry rinker" | What is To par, when Player is "Larry Rinker"? | <s>[INST]What is To par, when Player is "Larry Rinker"? Context: CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_59 WHERE player = "larry rinker"</s> |
CREATE TABLE college (state VARCHAR, enr INTEGER) | SELECT DISTINCT state FROM college WHERE enr < (SELECT MAX(enr) FROM college) | Find the states where have the colleges whose enrollments are less than the largest size. | <s>[INST]Find the states where have the colleges whose enrollments are less than the largest size. Context: CREATE TABLE college (state VARCHAR, enr INTEGER)[/INST]SELECT DISTINCT state FROM college WHERE enr < (SELECT MAX(enr) FROM college)</s> |
CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, money___£__ VARCHAR, country VARCHAR) | SELECT score FROM table_name_38 WHERE money___£__ = "90,400" AND country = "south africa" AND player = "thomas aiken" | Which Score has a Money ( £ ) of 90,400, and a Country of south africa, and a Player of thomas aiken? Question 1 | <s>[INST]Which Score has a Money ( £ ) of 90,400, and a Country of south africa, and a Player of thomas aiken? Question 1 Context: CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, money___£__ VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE money___£__ = "90,400" AND country = "south africa" AND player = "thomas aiken"</s> |
CREATE TABLE table_name_53 (length VARCHAR, song_title VARCHAR) | SELECT length FROM table_name_53 WHERE song_title = "ma ke jaisi" | What is the average length for the song "Ma Ke Jaisi"? | <s>[INST]What is the average length for the song "Ma Ke Jaisi"? Context: CREATE TABLE table_name_53 (length VARCHAR, song_title VARCHAR)[/INST]SELECT length FROM table_name_53 WHERE song_title = "ma ke jaisi"</s> |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 37