context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_86 (method VARCHAR, time VARCHAR, round VARCHAR) | SELECT method FROM table_name_86 WHERE time = "5:00" AND round > 4 | What is the method when the time was 5:00, and the round higher than 4? | <s>[INST]What is the method when the time was 5:00, and the round higher than 4? Context: CREATE TABLE table_name_86 (method VARCHAR, time VARCHAR, round VARCHAR)[/INST]SELECT method FROM table_name_86 WHERE time = "5:00" AND round > 4</s> |
CREATE TABLE table_24192190_1 (magnitude VARCHAR, latitude VARCHAR) | SELECT magnitude FROM table_24192190_1 WHERE latitude = "43.048° N" | When 43.048° n is the latitude what is the magnitude? | <s>[INST]When 43.048° n is the latitude what is the magnitude? Context: CREATE TABLE table_24192190_1 (magnitude VARCHAR, latitude VARCHAR)[/INST]SELECT magnitude FROM table_24192190_1 WHERE latitude = "43.048° N"</s> |
CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_40 WHERE record = "32–19–7" | What was the score of the game when the record was 32–19–7? | <s>[INST]What was the score of the game when the record was 32–19–7? Context: CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_40 WHERE record = "32–19–7"</s> |
CREATE TABLE table_1341522_24 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341522_24 WHERE district = "Massachusetts7" | Who is the incumbent in district Massachusetts7? | <s>[INST]Who is the incumbent in district Massachusetts7? Context: CREATE TABLE table_1341522_24 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341522_24 WHERE district = "Massachusetts7"</s> |
CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, location_id VARCHAR) | SELECT T1.department_name, T2.city, T2.state_province FROM departments AS T1 JOIN locations AS T2 ON T2.location_id = T1.location_id | display the department name, city, and state province for each department. | <s>[INST]display the department name, city, and state province for each department. Context: CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, location_id VARCHAR)[/INST]SELECT T1.department_name, T2.city, T2.state_province FROM depart... |
CREATE TABLE table_name_16 (f_laps VARCHAR, season VARCHAR, races VARCHAR) | SELECT f_laps FROM table_name_16 WHERE season = "2011" AND races = "18" | what is the f/laps when the season is 2011 and races is 18? | <s>[INST]what is the f/laps when the season is 2011 and races is 18? Context: CREATE TABLE table_name_16 (f_laps VARCHAR, season VARCHAR, races VARCHAR)[/INST]SELECT f_laps FROM table_name_16 WHERE season = "2011" AND races = "18"</s> |
CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR) | SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "22' 54.20 98.842mph" | What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesday 25th August? | <s>[INST]What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesday 25th August? Context: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR)[/INST]SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "22' 54.20 98.842mph"</s> |
CREATE TABLE table_name_39 (time VARCHAR, lane VARCHAR) | SELECT time FROM table_name_39 WHERE lane = 7 | What was the time of the person in lane 7? | <s>[INST]What was the time of the person in lane 7? Context: CREATE TABLE table_name_39 (time VARCHAR, lane VARCHAR)[/INST]SELECT time FROM table_name_39 WHERE lane = 7</s> |
CREATE TABLE table_2168295_1 (area__km²_ INTEGER, population__2011_ VARCHAR) | SELECT MIN(area__km²_) FROM table_2168295_1 WHERE population__2011_ = 3067549 | What is the minimum area id the 2011 population is 3067549? | <s>[INST]What is the minimum area id the 2011 population is 3067549? Context: CREATE TABLE table_2168295_1 (area__km²_ INTEGER, population__2011_ VARCHAR)[/INST]SELECT MIN(area__km²_) FROM table_2168295_1 WHERE population__2011_ = 3067549</s> |
CREATE TABLE table_name_8 (format VARCHAR, date VARCHAR) | SELECT format FROM table_name_8 WHERE date = "october 29, 2004" | What format is dated October 29, 2004? | <s>[INST]What format is dated October 29, 2004? Context: CREATE TABLE table_name_8 (format VARCHAR, date VARCHAR)[/INST]SELECT format FROM table_name_8 WHERE date = "october 29, 2004"</s> |
CREATE TABLE table_25146455_1 (winnings VARCHAR, driver VARCHAR) | SELECT winnings FROM table_25146455_1 WHERE driver = "Jeff Burton" | How much did Jeff Burton win? | <s>[INST]How much did Jeff Burton win? Context: CREATE TABLE table_25146455_1 (winnings VARCHAR, driver VARCHAR)[/INST]SELECT winnings FROM table_25146455_1 WHERE driver = "Jeff Burton"</s> |
CREATE TABLE table_name_67 (points VARCHAR, team VARCHAR) | SELECT COUNT(points) FROM table_name_67 WHERE team = "discovery channel" | Cumulative point total for all teams playing on the Discovery Channel? | <s>[INST]Cumulative point total for all teams playing on the Discovery Channel? Context: CREATE TABLE table_name_67 (points VARCHAR, team VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_67 WHERE team = "discovery channel"</s> |
CREATE TABLE table_27833469_1 (title VARCHAR, season__number VARCHAR) | SELECT title FROM table_27833469_1 WHERE season__number = "11" | What is the title of the episode number 11 of the season? | <s>[INST]What is the title of the episode number 11 of the season? Context: CREATE TABLE table_27833469_1 (title VARCHAR, season__number VARCHAR)[/INST]SELECT title FROM table_27833469_1 WHERE season__number = "11"</s> |
CREATE TABLE table_name_83 (country VARCHAR, date VARCHAR) | SELECT country FROM table_name_83 WHERE date = "october 20, 1976" | Which country is dated October 20, 1976? | <s>[INST]Which country is dated October 20, 1976? Context: CREATE TABLE table_name_83 (country VARCHAR, date VARCHAR)[/INST]SELECT country FROM table_name_83 WHERE date = "october 20, 1976"</s> |
CREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR) | SELECT candidate FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia" | What is the name of the player from Maylands, Western Australia? | <s>[INST]What is the name of the player from Maylands, Western Australia? Context: CREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR)[/INST]SELECT candidate FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia"</s> |
CREATE TABLE table_name_11 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_name_11 WHERE rank = 4 | What is the Country of the rowers with a Rank of 4? | <s>[INST]What is the Country of the rowers with a Rank of 4? Context: CREATE TABLE table_name_11 (country VARCHAR, rank VARCHAR)[/INST]SELECT country FROM table_name_11 WHERE rank = 4</s> |
CREATE TABLE table_name_4 (chassis VARCHAR, engine VARCHAR, season VARCHAR) | SELECT chassis FROM table_name_4 WHERE engine = "volkswagen" AND season = "2010" | What chassis was the car with the Volkswagen engine built on in 2010? | <s>[INST]What chassis was the car with the Volkswagen engine built on in 2010? Context: CREATE TABLE table_name_4 (chassis VARCHAR, engine VARCHAR, season VARCHAR)[/INST]SELECT chassis FROM table_name_4 WHERE engine = "volkswagen" AND season = "2010"</s> |
CREATE TABLE table_name_12 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_12 WHERE record = "65-95" | Which Opponent has a Record of 65-95? | <s>[INST]Which Opponent has a Record of 65-95? Context: CREATE TABLE table_name_12 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_12 WHERE record = "65-95"</s> |
CREATE TABLE table_17275810_7 (outgoing_manager VARCHAR, team VARCHAR) | SELECT outgoing_manager FROM table_17275810_7 WHERE team = "Mantova" | Name the outgoing manager for mantova | <s>[INST]Name the outgoing manager for mantova Context: CREATE TABLE table_17275810_7 (outgoing_manager VARCHAR, team VARCHAR)[/INST]SELECT outgoing_manager FROM table_17275810_7 WHERE team = "Mantova"</s> |
CREATE TABLE table_name_86 (college VARCHAR, team VARCHAR, round VARCHAR) | SELECT college FROM table_name_86 WHERE team = "boston celtics" AND round = "7" | Name the college that has 7 rounds and boston celtics team | <s>[INST]Name the college that has 7 rounds and boston celtics team Context: CREATE TABLE table_name_86 (college VARCHAR, team VARCHAR, round VARCHAR)[/INST]SELECT college FROM table_name_86 WHERE team = "boston celtics" AND round = "7"</s> |
CREATE TABLE table_name_36 (boarding_day VARCHAR, type VARCHAR, house VARCHAR) | SELECT boarding_day FROM table_name_36 WHERE type = "old" AND house = "saunderites" | What is the Boarding/Day value for a type of old and house of Saunderites? | <s>[INST]What is the Boarding/Day value for a type of old and house of Saunderites? Context: CREATE TABLE table_name_36 (boarding_day VARCHAR, type VARCHAR, house VARCHAR)[/INST]SELECT boarding_day FROM table_name_36 WHERE type = "old" AND house = "saunderites"</s> |
CREATE TABLE table_2201541_3 (outcome VARCHAR, partner VARCHAR) | SELECT COUNT(outcome) FROM table_2201541_3 WHERE partner = "Paul McNamee" | How many different outcomes did the final with Paul McNamee as a partner have? | <s>[INST]How many different outcomes did the final with Paul McNamee as a partner have? Context: CREATE TABLE table_2201541_3 (outcome VARCHAR, partner VARCHAR)[/INST]SELECT COUNT(outcome) FROM table_2201541_3 WHERE partner = "Paul McNamee"</s> |
CREATE TABLE table_name_90 (year INTEGER, nominee VARCHAR) | SELECT SUM(year) FROM table_name_90 WHERE nominee = "lesli margherita" | In what year was Lesli Margherita nominated? | <s>[INST]In what year was Lesli Margherita nominated? Context: CREATE TABLE table_name_90 (year INTEGER, nominee VARCHAR)[/INST]SELECT SUM(year) FROM table_name_90 WHERE nominee = "lesli margherita"</s> |
CREATE TABLE table_name_52 (song VARCHAR, weeks_at_number_one VARCHAR, issue_date_s_ VARCHAR) | SELECT song FROM table_name_52 WHERE weeks_at_number_one > 2 AND issue_date_s_ = "17 april - 8 may" | Which Song has a Weeks at number one larger than 2, and an Issue date(s) of 17 april - 8 may? | <s>[INST]Which Song has a Weeks at number one larger than 2, and an Issue date(s) of 17 april - 8 may? Context: CREATE TABLE table_name_52 (song VARCHAR, weeks_at_number_one VARCHAR, issue_date_s_ VARCHAR)[/INST]SELECT song FROM table_name_52 WHERE weeks_at_number_one > 2 AND issue_date_s_ = "17 april - 8 may"</s> |
CREATE TABLE table_name_51 (nationality VARCHAR, position VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_51 WHERE position = "center" AND player = "mark eaton" | What nationality is mark eaton, center position? | <s>[INST]What nationality is mark eaton, center position? Context: CREATE TABLE table_name_51 (nationality VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_51 WHERE position = "center" AND player = "mark eaton"</s> |
CREATE TABLE table_2667438_5 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_2667438_5 WHERE no_in_series = 32 | What date did series number 32 premiere? | <s>[INST] What date did series number 32 premiere? Context: CREATE TABLE table_2667438_5 (original_air_date VARCHAR, no_in_series VARCHAR)[/INST]SELECT original_air_date FROM table_2667438_5 WHERE no_in_series = 32</s> |
CREATE TABLE table_name_74 (sanskrit VARCHAR, chinese VARCHAR, english VARCHAR) | SELECT sanskrit FROM table_name_74 WHERE chinese = "—" AND english = "cultivation of settling" | Which Sanskrit has a Chinese of —, and an English of cultivation of settling? | <s>[INST]Which Sanskrit has a Chinese of —, and an English of cultivation of settling? Context: CREATE TABLE table_name_74 (sanskrit VARCHAR, chinese VARCHAR, english VARCHAR)[/INST]SELECT sanskrit FROM table_name_74 WHERE chinese = "—" AND english = "cultivation of settling"</s> |
CREATE TABLE table_25429986_1 (distance VARCHAR, position VARCHAR) | SELECT COUNT(distance) FROM table_25429986_1 WHERE position = "7th" | what is distance for the 7th position? | <s>[INST]what is distance for the 7th position? Context: CREATE TABLE table_25429986_1 (distance VARCHAR, position VARCHAR)[/INST]SELECT COUNT(distance) FROM table_25429986_1 WHERE position = "7th"</s> |
CREATE TABLE table_11614581_3 (population VARCHAR, _in_thousands VARCHAR, __1905__ VARCHAR, seat VARCHAR) | SELECT population, _in_thousands, __1905__ FROM table_11614581_3 WHERE seat = "Lublin" | What population (in thousands) is Lublin's seat? | <s>[INST]What population (in thousands) is Lublin's seat? Context: CREATE TABLE table_11614581_3 (population VARCHAR, _in_thousands VARCHAR, __1905__ VARCHAR, seat VARCHAR)[/INST]SELECT population, _in_thousands, __1905__ FROM table_11614581_3 WHERE seat = "Lublin"</s> |
CREATE TABLE table_name_39 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_39 WHERE opponent = "chicago stags" | What is Date, when Opponent is "Chicago Stags"? | <s>[INST]What is Date, when Opponent is "Chicago Stags"? Context: CREATE TABLE table_name_39 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_39 WHERE opponent = "chicago stags"</s> |
CREATE TABLE table_name_88 (opponent_in_the_final VARCHAR, partnering VARCHAR) | SELECT opponent_in_the_final FROM table_name_88 WHERE partnering = "graydon oliver" | Which Opponent in the final has a Partnering of graydon oliver? | <s>[INST]Which Opponent in the final has a Partnering of graydon oliver? Context: CREATE TABLE table_name_88 (opponent_in_the_final VARCHAR, partnering VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_88 WHERE partnering = "graydon oliver"</s> |
CREATE TABLE table_name_71 (played VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7 | What is the total number played with 1 drawn, and less than 7 points? | <s>[INST]What is the total number played with 1 drawn, and less than 7 points? Context: CREATE TABLE table_name_71 (played VARCHAR, drawn VARCHAR, points VARCHAR)[/INST]SELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7</s> |
CREATE TABLE table_13789248_2 (artist VARCHAR, position VARCHAR) | SELECT artist FROM table_13789248_2 WHERE position = 32 | who is the the artbeingt with position being 32 | <s>[INST]who is the the artbeingt with position being 32 Context: CREATE TABLE table_13789248_2 (artist VARCHAR, position VARCHAR)[/INST]SELECT artist FROM table_13789248_2 WHERE position = 32</s> |
CREATE TABLE table_name_51 (laps INTEGER, grid VARCHAR) | SELECT AVG(laps) FROM table_name_51 WHERE grid = 6 | Tell me the average Laps for grid of 6 | <s>[INST]Tell me the average Laps for grid of 6 Context: CREATE TABLE table_name_51 (laps INTEGER, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_51 WHERE grid = 6</s> |
CREATE TABLE table_name_37 (year VARCHAR, title VARCHAR, result VARCHAR, genre VARCHAR, label VARCHAR) | SELECT year FROM table_name_37 WHERE genre = "jazz" AND label = "columbia" AND result = "nominated" AND title = "trio jeepy" | Which year's genre was jazz under the columbia label when it was nominated for the title Trio jeepy? | <s>[INST]Which year's genre was jazz under the columbia label when it was nominated for the title Trio jeepy? Context: CREATE TABLE table_name_37 (year VARCHAR, title VARCHAR, result VARCHAR, genre VARCHAR, label VARCHAR)[/INST]SELECT year FROM table_name_37 WHERE genre = "jazz" AND label = "columbia" AND result = "nom... |
CREATE TABLE table_name_88 (rank VARCHAR, goals VARCHAR, seasons VARCHAR) | SELECT COUNT(rank) FROM table_name_88 WHERE goals = "562-506" AND seasons < 13 | What is the rank number with 562-506 goals before season 13? | <s>[INST]What is the rank number with 562-506 goals before season 13? Context: CREATE TABLE table_name_88 (rank VARCHAR, goals VARCHAR, seasons VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_88 WHERE goals = "562-506" AND seasons < 13</s> |
CREATE TABLE table_26301697_2 (represents VARCHAR, height__cm_ VARCHAR) | SELECT represents FROM table_26301697_2 WHERE height__cm_ = "1.76" | Name the represents for 1.76 cm | <s>[INST]Name the represents for 1.76 cm Context: CREATE TABLE table_26301697_2 (represents VARCHAR, height__cm_ VARCHAR)[/INST]SELECT represents FROM table_26301697_2 WHERE height__cm_ = "1.76"</s> |
CREATE TABLE table_name_76 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_76 WHERE player = "wayne cooper" | What school does Wayne Cooper play for? | <s>[INST]What school does Wayne Cooper play for? Context: CREATE TABLE table_name_76 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_76 WHERE player = "wayne cooper"</s> |
CREATE TABLE table_name_26 (yards VARCHAR, completion__percentage VARCHAR) | SELECT yards FROM table_name_26 WHERE completion__percentage = "64.9%" | Which yard has a Completion of 64.9%? | <s>[INST]Which yard has a Completion of 64.9%? Context: CREATE TABLE table_name_26 (yards VARCHAR, completion__percentage VARCHAR)[/INST]SELECT yards FROM table_name_26 WHERE completion__percentage = "64.9%"</s> |
CREATE TABLE table_name_90 (last_season VARCHAR, team VARCHAR) | SELECT last_season FROM table_name_90 WHERE team = "scottish rocks" | What is the last season that the Scottish Rocks played? | <s>[INST]What is the last season that the Scottish Rocks played? Context: CREATE TABLE table_name_90 (last_season VARCHAR, team VARCHAR)[/INST]SELECT last_season FROM table_name_90 WHERE team = "scottish rocks"</s> |
CREATE TABLE table_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_1514634_2 WHERE tournament = "Hawaiian Open" | What was the margin of victory at the Hawaiian Open tournament? | <s>[INST]What was the margin of victory at the Hawaiian Open tournament? Context: CREATE TABLE table_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_1514634_2 WHERE tournament = "Hawaiian Open"</s> |
CREATE TABLE table_name_26 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_26 WHERE score = 71 - 71 - 69 = 211 | What is Country, when Score is 71-71-69=211? | <s>[INST]What is Country, when Score is 71-71-69=211? Context: CREATE TABLE table_name_26 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_26 WHERE score = 71 - 71 - 69 = 211</s> |
CREATE TABLE table_name_96 (game INTEGER, score VARCHAR, points VARCHAR) | SELECT MAX(game) FROM table_name_96 WHERE score = "3–4 ot" AND points > 75 | Which Game is the highest one that has a Score of 3–4 ot, and Points larger than 75? | <s>[INST]Which Game is the highest one that has a Score of 3–4 ot, and Points larger than 75? Context: CREATE TABLE table_name_96 (game INTEGER, score VARCHAR, points VARCHAR)[/INST]SELECT MAX(game) FROM table_name_96 WHERE score = "3–4 ot" AND points > 75</s> |
CREATE TABLE table_name_66 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_66 WHERE catalog = "chd-9192" | When was Catalog CHD-9192 published? | <s>[INST]When was Catalog CHD-9192 published? Context: CREATE TABLE table_name_66 (date VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE catalog = "chd-9192"</s> |
CREATE TABLE table_name_68 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_68 WHERE date = "january 24" | Who had the high rebounds on January 24? | <s>[INST]Who had the high rebounds on January 24? Context: CREATE TABLE table_name_68 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_name_68 WHERE date = "january 24"</s> |
CREATE TABLE table_name_18 (try_diff VARCHAR, points_diff VARCHAR) | SELECT try_diff FROM table_name_18 WHERE points_diff = "+71" | What is Try Diff, when Points Diff is +71? | <s>[INST]What is Try Diff, when Points Diff is +71? Context: CREATE TABLE table_name_18 (try_diff VARCHAR, points_diff VARCHAR)[/INST]SELECT try_diff FROM table_name_18 WHERE points_diff = "+71"</s> |
CREATE TABLE table_name_65 (round VARCHAR, college VARCHAR) | SELECT round FROM table_name_65 WHERE college = "villanova" | College of villanova has what round? | <s>[INST]College of villanova has what round? Context: CREATE TABLE table_name_65 (round VARCHAR, college VARCHAR)[/INST]SELECT round FROM table_name_65 WHERE college = "villanova"</s> |
CREATE TABLE table_name_86 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_86 WHERE stage = "ss2" | What was Stage SS2's Winner? | <s>[INST]What was Stage SS2's Winner? Context: CREATE TABLE table_name_86 (winner VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_name_86 WHERE stage = "ss2"</s> |
CREATE TABLE table_name_8 (deleted VARCHAR, name VARCHAR) | SELECT deleted FROM table_name_8 WHERE name = "anniston army depot (se industrial area)" | On what date was Anniston Army Depot (SE Industrial Area) deleted? | <s>[INST]On what date was Anniston Army Depot (SE Industrial Area) deleted? Context: CREATE TABLE table_name_8 (deleted VARCHAR, name VARCHAR)[/INST]SELECT deleted FROM table_name_8 WHERE name = "anniston army depot (se industrial area)"</s> |
CREATE TABLE table_name_75 (bolton_wanderers_career VARCHAR, goals VARCHAR, apps VARCHAR, total VARCHAR, position VARCHAR) | SELECT bolton_wanderers_career FROM table_name_75 WHERE total > 404 AND position = "fw" AND apps < 492 AND goals = "79" | Which Bolton Wanderers career has a Total larger than 404, and a Position of fw, and Apps less than 492, and 79 Goals? | <s>[INST]Which Bolton Wanderers career has a Total larger than 404, and a Position of fw, and Apps less than 492, and 79 Goals? Context: CREATE TABLE table_name_75 (bolton_wanderers_career VARCHAR, goals VARCHAR, apps VARCHAR, total VARCHAR, position VARCHAR)[/INST]SELECT bolton_wanderers_career FROM table_name_75 WHER... |
CREATE TABLE table_12792876_2 (club VARCHAR, points_against VARCHAR) | SELECT club FROM table_12792876_2 WHERE points_against = "714" | Which club gave up 714 points? | <s>[INST]Which club gave up 714 points? Context: CREATE TABLE table_12792876_2 (club VARCHAR, points_against VARCHAR)[/INST]SELECT club FROM table_12792876_2 WHERE points_against = "714"</s> |
CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_President_VOTE VARCHAR) | SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.CLASS_President_VOTE | Find the distinct last names of the students who have class president votes. | <s>[INST]Find the distinct last names of the students who have class president votes. Context: CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_President_VOTE VARCHAR)[/INST]SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.CLASS_President_VOTE</... |
CREATE TABLE table_name_72 (date VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT date FROM table_name_72 WHERE outcome = "winner" AND surface = "grass" | What is Date, when Outcome is "Winner", and when Surface is "Grass"? | <s>[INST]What is Date, when Outcome is "Winner", and when Surface is "Grass"? Context: CREATE TABLE table_name_72 (date VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT date FROM table_name_72 WHERE outcome = "winner" AND surface = "grass"</s> |
CREATE TABLE endowment (donator_name VARCHAR) | SELECT DISTINCT donator_name FROM endowment | Show all donor names. | <s>[INST]Show all donor names. Context: CREATE TABLE endowment (donator_name VARCHAR)[/INST]SELECT DISTINCT donator_name FROM endowment</s> |
CREATE TABLE table_name_80 (nuskhuri VARCHAR, asomtavruli VARCHAR) | SELECT nuskhuri FROM table_name_80 WHERE asomtavruli = "ⴋ" | What is teh Nuskhuri symbol for ⴋ in Asomtavruli? | <s>[INST]What is teh Nuskhuri symbol for ⴋ in Asomtavruli? Context: CREATE TABLE table_name_80 (nuskhuri VARCHAR, asomtavruli VARCHAR)[/INST]SELECT nuskhuri FROM table_name_80 WHERE asomtavruli = "ⴋ"</s> |
CREATE TABLE table_name_77 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR) | SELECT date FROM table_name_77 WHERE against = 25 AND opposing_teams = "australia" | What day was the opposing team Australia and the against 25? | <s>[INST]What day was the opposing team Australia and the against 25? Context: CREATE TABLE table_name_77 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR)[/INST]SELECT date FROM table_name_77 WHERE against = 25 AND opposing_teams = "australia"</s> |
CREATE TABLE table_name_33 (generation VARCHAR, birthday VARCHAR) | SELECT generation FROM table_name_33 WHERE birthday = "1996.04.17" | What generation is the member born on 1996.04.17 in? | <s>[INST]What generation is the member born on 1996.04.17 in? Context: CREATE TABLE table_name_33 (generation VARCHAR, birthday VARCHAR)[/INST]SELECT generation FROM table_name_33 WHERE birthday = "1996.04.17"</s> |
CREATE TABLE table_name_65 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_65 WHERE away_team = "carlisle united" | What date was the match against carlisle united? | <s>[INST]What date was the match against carlisle united? Context: CREATE TABLE table_name_65 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_65 WHERE away_team = "carlisle united"</s> |
CREATE TABLE table_name_21 (country VARCHAR, film VARCHAR) | SELECT country FROM table_name_21 WHERE film = "hi no tsugi ha rekishi" | What country is the film hi no tsugi ha rekishi from? | <s>[INST]What country is the film hi no tsugi ha rekishi from? Context: CREATE TABLE table_name_21 (country VARCHAR, film VARCHAR)[/INST]SELECT country FROM table_name_21 WHERE film = "hi no tsugi ha rekishi"</s> |
CREATE TABLE table_name_4 (season VARCHAR, score VARCHAR) | SELECT season FROM table_name_4 WHERE score = "1:0" | what season had a score of 1:0 | <s>[INST]what season had a score of 1:0 Context: CREATE TABLE table_name_4 (season VARCHAR, score VARCHAR)[/INST]SELECT season FROM table_name_4 WHERE score = "1:0"</s> |
CREATE TABLE table_30058355_3 (mon_22_aug VARCHAR, wed_24_aug VARCHAR) | SELECT mon_22_aug FROM table_30058355_3 WHERE wed_24_aug = "22' 50.05 99.141mph" | What is every entry on Monday August 22 when the entry for Wednesday August 24 is 22' 50.05 99.141mph? | <s>[INST]What is every entry on Monday August 22 when the entry for Wednesday August 24 is 22' 50.05 99.141mph? Context: CREATE TABLE table_30058355_3 (mon_22_aug VARCHAR, wed_24_aug VARCHAR)[/INST]SELECT mon_22_aug FROM table_30058355_3 WHERE wed_24_aug = "22' 50.05 99.141mph"</s> |
CREATE TABLE table_name_61 (played INTEGER, draws VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, losses VARCHAR) | SELECT MAX(played) FROM table_name_61 WHERE goal_difference < 27 AND losses > 13 AND goals_for < 42 AND draws = 6 | Which position had a goal difference of less than 27, lost more than 13 games, scored less than 42 goals and drew 6 games? | <s>[INST]Which position had a goal difference of less than 27, lost more than 13 games, scored less than 42 goals and drew 6 games? Context: CREATE TABLE table_name_61 (played INTEGER, draws VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, losses VARCHAR)[/INST]SELECT MAX(played) FROM table_name_61 WHERE goal_diffe... |
CREATE TABLE table_name_69 (event VARCHAR, country VARCHAR) | SELECT event FROM table_name_69 WHERE country = "(local competition)" | What is the Event labeled Country of (local competition)? | <s>[INST]What is the Event labeled Country of (local competition)? Context: CREATE TABLE table_name_69 (event VARCHAR, country VARCHAR)[/INST]SELECT event FROM table_name_69 WHERE country = "(local competition)"</s> |
CREATE TABLE table_1341472_15 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1341472_15 WHERE district = "Illinois 15" | what's the result with district illinois 15 | <s>[INST]what's the result with district illinois 15 Context: CREATE TABLE table_1341472_15 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1341472_15 WHERE district = "Illinois 15"</s> |
CREATE TABLE table_2401326_1 (bush_percentage VARCHAR, county VARCHAR) | SELECT bush_percentage FROM table_2401326_1 WHERE county = "Bonneville" | What percentage of the people in Bonneville voted for Bush? | <s>[INST]What percentage of the people in Bonneville voted for Bush? Context: CREATE TABLE table_2401326_1 (bush_percentage VARCHAR, county VARCHAR)[/INST]SELECT bush_percentage FROM table_2401326_1 WHERE county = "Bonneville"</s> |
CREATE TABLE table_name_10 (score VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT score FROM table_name_10 WHERE visitor = "winnipeg jets" AND date = "april 7" | What is the Score that has a Winnipeg Jets as Visitor on april 7? | <s>[INST]What is the Score that has a Winnipeg Jets as Visitor on april 7? Context: CREATE TABLE table_name_10 (score VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_10 WHERE visitor = "winnipeg jets" AND date = "april 7"</s> |
CREATE TABLE table_name_58 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_58 WHERE date = "november 24" | What is the sum of the attendance on November 24? | <s>[INST]What is the sum of the attendance on November 24? Context: CREATE TABLE table_name_58 (attendance INTEGER, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_58 WHERE date = "november 24"</s> |
CREATE TABLE table_name_25 (city VARCHAR, winner VARCHAR) | SELECT city FROM table_name_25 WHERE winner = "ruben visser" | What is the City, when the Winner is Ruben Visser? | <s>[INST]What is the City, when the Winner is Ruben Visser? Context: CREATE TABLE table_name_25 (city VARCHAR, winner VARCHAR)[/INST]SELECT city FROM table_name_25 WHERE winner = "ruben visser"</s> |
CREATE TABLE table_name_40 (rounds INTEGER, truck_s_ VARCHAR, team VARCHAR) | SELECT MAX(rounds) FROM table_name_40 WHERE truck_s_ = "chevrolet silverado" AND team = "rbr enterprises" | What is the most number of rounds that the Team from RBR Enterprises and having a Chevrolet Silverado ran? | <s>[INST]What is the most number of rounds that the Team from RBR Enterprises and having a Chevrolet Silverado ran? Context: CREATE TABLE table_name_40 (rounds INTEGER, truck_s_ VARCHAR, team VARCHAR)[/INST]SELECT MAX(rounds) FROM table_name_40 WHERE truck_s_ = "chevrolet silverado" AND team = "rbr enterprises"</s> |
CREATE TABLE table_12148147_2 (second_year VARCHAR, first_year VARCHAR) | SELECT second_year FROM table_12148147_2 WHERE first_year = "Pag-unawa" | What is the second year class following pag-unawa? | <s>[INST]What is the second year class following pag-unawa? Context: CREATE TABLE table_12148147_2 (second_year VARCHAR, first_year VARCHAR)[/INST]SELECT second_year FROM table_12148147_2 WHERE first_year = "Pag-unawa"</s> |
CREATE TABLE table_261222_1 (city___municipality VARCHAR, area__km_2__ VARCHAR) | SELECT COUNT(city___municipality) FROM table_261222_1 WHERE area__km_2__ = "506.64" | How many city/municipalties have an area (km2) of 506.64? | <s>[INST]How many city/municipalties have an area (km2) of 506.64? Context: CREATE TABLE table_261222_1 (city___municipality VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT COUNT(city___municipality) FROM table_261222_1 WHERE area__km_2__ = "506.64"</s> |
CREATE TABLE table_name_70 (name VARCHAR, opponent VARCHAR) | SELECT name FROM table_name_70 WHERE opponent = "ssc-r" | When SSC-R is the opponent what is the name? | <s>[INST]When SSC-R is the opponent what is the name? Context: CREATE TABLE table_name_70 (name VARCHAR, opponent VARCHAR)[/INST]SELECT name FROM table_name_70 WHERE opponent = "ssc-r"</s> |
CREATE TABLE table_24538140_2 (match2 INTEGER, match4 VARCHAR, total VARCHAR) | SELECT MAX(match2) FROM table_24538140_2 WHERE match4 = 0 AND total = 5 | What is the highest score for match 2 where the score for match 4 is 0 and the total score is 5? | <s>[INST]What is the highest score for match 2 where the score for match 4 is 0 and the total score is 5? Context: CREATE TABLE table_24538140_2 (match2 INTEGER, match4 VARCHAR, total VARCHAR)[/INST]SELECT MAX(match2) FROM table_24538140_2 WHERE match4 = 0 AND total = 5</s> |
CREATE TABLE table_1769428_2 (car__number VARCHAR, winning_driver VARCHAR) | SELECT COUNT(car__number) FROM table_1769428_2 WHERE winning_driver = "Rusty Wallace" | How many car numbers were listed for Rusty Wallace? | <s>[INST]How many car numbers were listed for Rusty Wallace? Context: CREATE TABLE table_1769428_2 (car__number VARCHAR, winning_driver VARCHAR)[/INST]SELECT COUNT(car__number) FROM table_1769428_2 WHERE winning_driver = "Rusty Wallace"</s> |
CREATE TABLE table_name_6 (manager VARCHAR, year VARCHAR, finish VARCHAR) | SELECT manager FROM table_name_6 WHERE year < 1994 AND finish = "5th" | who is the manager when the year is before 1994 and finish is 5th? | <s>[INST]who is the manager when the year is before 1994 and finish is 5th? Context: CREATE TABLE table_name_6 (manager VARCHAR, year VARCHAR, finish VARCHAR)[/INST]SELECT manager FROM table_name_6 WHERE year < 1994 AND finish = "5th"</s> |
CREATE TABLE table_name_66 (position VARCHAR, caps VARCHAR, player VARCHAR) | SELECT position FROM table_name_66 WHERE caps = "example" AND player = "shane kelly" | What is Position, when Caps is Example, and When Player is Shane Kelly? | <s>[INST]What is Position, when Caps is Example, and When Player is Shane Kelly? Context: CREATE TABLE table_name_66 (position VARCHAR, caps VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_66 WHERE caps = "example" AND player = "shane kelly"</s> |
CREATE TABLE table_name_80 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_80 WHERE laps = 22 AND grid = 29 | What is the time/retired with 22 laps and a grid of 29? | <s>[INST]What is the time/retired with 22 laps and a grid of 29? Context: CREATE TABLE table_name_80 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_80 WHERE laps = 22 AND grid = 29</s> |
CREATE TABLE table_name_16 (distance VARCHAR, weight VARCHAR) | SELECT distance FROM table_name_16 WHERE weight = 9.2 | What is the distance when the weight is 9.2? | <s>[INST]What is the distance when the weight is 9.2? Context: CREATE TABLE table_name_16 (distance VARCHAR, weight VARCHAR)[/INST]SELECT distance FROM table_name_16 WHERE weight = 9.2</s> |
CREATE TABLE table_name_35 (report VARCHAR, away_team VARCHAR) | SELECT report FROM table_name_35 WHERE away_team = "townsville crocodiles" | What's the report about townsville crocodiles as an away team? | <s>[INST]What's the report about townsville crocodiles as an away team? Context: CREATE TABLE table_name_35 (report VARCHAR, away_team VARCHAR)[/INST]SELECT report FROM table_name_35 WHERE away_team = "townsville crocodiles"</s> |
CREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_61 WHERE attendance = "79,431" | Where attendance is 79,431 what is date? | <s>[INST]Where attendance is 79,431 what is date? Context: CREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_61 WHERE attendance = "79,431"</s> |
CREATE TABLE table_name_57 (prominence__m_ VARCHAR, col__m_ INTEGER) | SELECT prominence__m_ FROM table_name_57 WHERE col__m_ > 738 | What is the prominence in m of a col in m greater than 738? | <s>[INST]What is the prominence in m of a col in m greater than 738? Context: CREATE TABLE table_name_57 (prominence__m_ VARCHAR, col__m_ INTEGER)[/INST]SELECT prominence__m_ FROM table_name_57 WHERE col__m_ > 738</s> |
CREATE TABLE table_20745706_1 (opponent VARCHAR, _number VARCHAR) | SELECT opponent FROM table_20745706_1 WHERE _number = "5" | Who is the opponent in game 5? | <s>[INST]Who is the opponent in game 5? Context: CREATE TABLE table_20745706_1 (opponent VARCHAR, _number VARCHAR)[/INST]SELECT opponent FROM table_20745706_1 WHERE _number = "5"</s> |
CREATE TABLE table_name_56 (points INTEGER, team_chassis VARCHAR) | SELECT SUM(points) FROM table_name_56 WHERE team_chassis = "alfa romeo 184t" | What is the total number of points team Alfa Romeo 184T won? | <s>[INST]What is the total number of points team Alfa Romeo 184T won? Context: CREATE TABLE table_name_56 (points INTEGER, team_chassis VARCHAR)[/INST]SELECT SUM(points) FROM table_name_56 WHERE team_chassis = "alfa romeo 184t"</s> |
CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, nation VARCHAR) | SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND nation = "germany" | How many golds does Germany have with more than 1 silver? | <s>[INST]How many golds does Germany have with more than 1 silver? Context: CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, nation VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND nation = "germany"</s> |
CREATE TABLE table_16376436_1 (college VARCHAR, player VARCHAR) | SELECT college FROM table_16376436_1 WHERE player = "Leon Perry" | Which college did Leon Perry attend? | <s>[INST]Which college did Leon Perry attend? Context: CREATE TABLE table_16376436_1 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_16376436_1 WHERE player = "Leon Perry"</s> |
CREATE TABLE table_name_54 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_54 WHERE attendance = "50,514" | What was the score when 50,514 people were in attendance? | <s>[INST]What was the score when 50,514 people were in attendance? Context: CREATE TABLE table_name_54 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_54 WHERE attendance = "50,514"</s> |
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, amount_of_transaction INTEGER) | SELECT investor_id, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY investor_id | Show the average amount of transactions for different investors. | <s>[INST]Show the average amount of transactions for different investors. Context: CREATE TABLE TRANSACTIONS (investor_id VARCHAR, amount_of_transaction INTEGER)[/INST]SELECT investor_id, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY investor_id</s> |
CREATE TABLE table_name_74 (class VARCHAR, laps VARCHAR, pos VARCHAR) | SELECT class FROM table_name_74 WHERE laps > 134 AND pos = "4th" | In what class is the laps greater than 134 and the position is 4th? | <s>[INST]In what class is the laps greater than 134 and the position is 4th? Context: CREATE TABLE table_name_74 (class VARCHAR, laps VARCHAR, pos VARCHAR)[/INST]SELECT class FROM table_name_74 WHERE laps > 134 AND pos = "4th"</s> |
CREATE TABLE table_29486189_4 (representative VARCHAR, first_elected VARCHAR, residence VARCHAR) | SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = "2008" AND residence = "Hanover Twp" | how many representatives from hanover twp were first elected in 2008 | <s>[INST]how many representatives from hanover twp were first elected in 2008 Context: CREATE TABLE table_29486189_4 (representative VARCHAR, first_elected VARCHAR, residence VARCHAR)[/INST]SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = "2008" AND residence = "Hanover Twp"</s> |
CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_76 WHERE player = "jeff maggert" | What is Score, when Player is "Jeff Maggert"? | <s>[INST]What is Score, when Player is "Jeff Maggert"? Context: CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE player = "jeff maggert"</s> |
CREATE TABLE table_29077342_19 (team_classification VARCHAR, winner VARCHAR) | SELECT team_classification FROM table_29077342_19 WHERE winner = "Thomas De Gendt" | Name the team classification for thomas de gendt | <s>[INST]Name the team classification for thomas de gendt Context: CREATE TABLE table_29077342_19 (team_classification VARCHAR, winner VARCHAR)[/INST]SELECT team_classification FROM table_29077342_19 WHERE winner = "Thomas De Gendt"</s> |
CREATE TABLE table_name_93 (runner_up VARCHAR, venue VARCHAR, year VARCHAR) | SELECT runner_up FROM table_name_93 WHERE venue = "pocking" AND year = "1980" | Who was the runner-up in 1980 at the Pocking venue? | <s>[INST]Who was the runner-up in 1980 at the Pocking venue? Context: CREATE TABLE table_name_93 (runner_up VARCHAR, venue VARCHAR, year VARCHAR)[/INST]SELECT runner_up FROM table_name_93 WHERE venue = "pocking" AND year = "1980"</s> |
CREATE TABLE table_name_19 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_19 WHERE year < 1956 AND chassis = "vanwall special" | What is the entrant earlier than 1956 with a Vanwall Special chassis? | <s>[INST]What is the entrant earlier than 1956 with a Vanwall Special chassis? Context: CREATE TABLE table_name_19 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_19 WHERE year < 1956 AND chassis = "vanwall special"</s> |
CREATE TABLE table_name_9 (team__number1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_9 WHERE team__number1 = "tsv bayer 04 leverkusen" | Who played against TSV bayer 04 leverkusen when they were team #1? | <s>[INST]Who played against TSV bayer 04 leverkusen when they were team #1? Context: CREATE TABLE table_name_9 (team__number1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_9 WHERE team__number1 = "tsv bayer 04 leverkusen"</s> |
CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_76 WHERE venue = "glenferrie oval" | What home team played at Glenferrie Oval? | <s>[INST]What home team played at Glenferrie Oval? Context: CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_76 WHERE venue = "glenferrie oval"</s> |
CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR) | SELECT location FROM table_19210115_1 WHERE nickname = "Owls" | Where is the University that is also called Owls? | <s>[INST]Where is the University that is also called Owls? Context: CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR)[/INST]SELECT location FROM table_19210115_1 WHERE nickname = "Owls"</s> |
CREATE TABLE table_name_81 (position VARCHAR, round INTEGER) | SELECT position FROM table_name_81 WHERE round > 3 | What position is the player selected that has a round value over 3? | <s>[INST]What position is the player selected that has a round value over 3? Context: CREATE TABLE table_name_81 (position VARCHAR, round INTEGER)[/INST]SELECT position FROM table_name_81 WHERE round > 3</s> |
CREATE TABLE table_name_67 (nepalis_admitted INTEGER, bangladeshis_admitted INTEGER) | SELECT MAX(nepalis_admitted) FROM table_name_67 WHERE bangladeshis_admitted < 1 OFFSET 896 | What was the most Nepalis admitted when fewer than 1,896 Bangladeshis were admitted? | <s>[INST]What was the most Nepalis admitted when fewer than 1,896 Bangladeshis were admitted? Context: CREATE TABLE table_name_67 (nepalis_admitted INTEGER, bangladeshis_admitted INTEGER)[/INST]SELECT MAX(nepalis_admitted) FROM table_name_67 WHERE bangladeshis_admitted < 1 OFFSET 896</s> |
CREATE TABLE Reservations (Kids VARCHAR, LastName VARCHAR, CheckIn VARCHAR, FirstName VARCHAR) | SELECT Kids FROM Reservations WHERE CheckIn = "2010-09-21" AND FirstName = "DAMIEN" AND LastName = "TRACHSEL" | How many kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010? | <s>[INST]How many kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010? Context: CREATE TABLE Reservations (Kids VARCHAR, LastName VARCHAR, CheckIn VARCHAR, FirstName VARCHAR)[/INST]SELECT Kids FROM Reservations WHERE CheckIn = "2010-09-21" AND FirstName = "DAMIEN" AND LastName = "TRACHSEL"</s> |
CREATE TABLE table_name_77 (team VARCHAR, date VARCHAR) | SELECT team FROM table_name_77 WHERE date = "march 17" | Can you tell me the Team that has the Date of march 17? | <s>[INST]Can you tell me the Team that has the Date of march 17? Context: CREATE TABLE table_name_77 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_name_77 WHERE date = "march 17"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.