context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_46 (rounds VARCHAR, driver VARCHAR) | SELECT rounds FROM table_name_46 WHERE driver = "shirley van der lof" | How many rounds did shirley van der lof go? | <s>[INST]How many rounds did shirley van der lof go? Context: CREATE TABLE table_name_46 (rounds VARCHAR, driver VARCHAR)[/INST]SELECT rounds FROM table_name_46 WHERE driver = "shirley van der lof"</s> |
CREATE TABLE table_name_42 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_42 WHERE name = "igor koleda" | Which Nationality has a Name of igor koleda? | <s>[INST]Which Nationality has a Name of igor koleda? Context: CREATE TABLE table_name_42 (nationality VARCHAR, name VARCHAR)[/INST]SELECT nationality FROM table_name_42 WHERE name = "igor koleda"</s> |
CREATE TABLE COURSES (Id VARCHAR) | SELECT COUNT(*) FROM COURSES | How many courses are there in total? | <s>[INST]How many courses are there in total? Context: CREATE TABLE COURSES (Id VARCHAR)[/INST]SELECT COUNT(*) FROM COURSES</s> |
CREATE TABLE table_name_64 (county VARCHAR, cerclis_id VARCHAR) | SELECT county FROM table_name_64 WHERE cerclis_id = "scd037405362" | What county has a CERCLIS ID of scd037405362? | <s>[INST]What county has a CERCLIS ID of scd037405362? Context: CREATE TABLE table_name_64 (county VARCHAR, cerclis_id VARCHAR)[/INST]SELECT county FROM table_name_64 WHERE cerclis_id = "scd037405362"</s> |
CREATE TABLE table_name_66 (location_attendance VARCHAR, opponent VARCHAR) | SELECT location_attendance FROM table_name_66 WHERE opponent = "at denver nuggets" | What Location Attendance has an Opponent of at denver nuggets? | <s>[INST]What Location Attendance has an Opponent of at denver nuggets? Context: CREATE TABLE table_name_66 (location_attendance VARCHAR, opponent VARCHAR)[/INST]SELECT location_attendance FROM table_name_66 WHERE opponent = "at denver nuggets"</s> |
CREATE TABLE FACULTY (Fname VARCHAR, Rank VARCHAR) | SELECT Fname FROM FACULTY WHERE Rank = "Professor" ORDER BY Fname | Find the first names of faculties of rank Professor in alphabetic order. | <s>[INST]Find the first names of faculties of rank Professor in alphabetic order. Context: CREATE TABLE FACULTY (Fname VARCHAR, Rank VARCHAR)[/INST]SELECT Fname FROM FACULTY WHERE Rank = "Professor" ORDER BY Fname</s> |
CREATE TABLE table_name_77 (location VARCHAR, mountain_peak VARCHAR) | SELECT location FROM table_name_77 WHERE mountain_peak = "blanca peak" | What is the location of Blanca Peak? | <s>[INST]What is the location of Blanca Peak? Context: CREATE TABLE table_name_77 (location VARCHAR, mountain_peak VARCHAR)[/INST]SELECT location FROM table_name_77 WHERE mountain_peak = "blanca peak"</s> |
CREATE TABLE table_name_2 (owner VARCHAR, locomotive VARCHAR) | SELECT owner FROM table_name_2 WHERE locomotive = "c501" | what is the owner of the c501 | <s>[INST]what is the owner of the c501 Context: CREATE TABLE table_name_2 (owner VARCHAR, locomotive VARCHAR)[/INST]SELECT owner FROM table_name_2 WHERE locomotive = "c501"</s> |
CREATE TABLE table_name_99 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_99 WHERE venue = "victoria park" | What is the crowd size for Victoria park? | <s>[INST]What is the crowd size for Victoria park? Context: CREATE TABLE table_name_99 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT crowd FROM table_name_99 WHERE venue = "victoria park"</s> |
CREATE TABLE table_name_91 (circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) | SELECT circuit FROM table_name_91 WHERE fastest_lap = "lorenzo bandini" AND pole_position = "lorenzo bandini" | On which circuit does lorenzo bandini have the fastest lap as well as the pole position? | <s>[INST]On which circuit does lorenzo bandini have the fastest lap as well as the pole position? Context: CREATE TABLE table_name_91 (circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)[/INST]SELECT circuit FROM table_name_91 WHERE fastest_lap = "lorenzo bandini" AND pole_position = "lorenzo bandini"</s> |
CREATE TABLE table_name_9 (played INTEGER, against VARCHAR, drawn VARCHAR) | SELECT AVG(played) FROM table_name_9 WHERE against = 51 AND drawn > 1 | What is the average Played when the against is 51, and the drawn is more than 1? | <s>[INST]What is the average Played when the against is 51, and the drawn is more than 1? Context: CREATE TABLE table_name_9 (played INTEGER, against VARCHAR, drawn VARCHAR)[/INST]SELECT AVG(played) FROM table_name_9 WHERE against = 51 AND drawn > 1</s> |
CREATE TABLE table_name_34 (airdate VARCHAR, episode_no VARCHAR, bbc_one_weekly_ranking VARCHAR) | SELECT airdate FROM table_name_34 WHERE episode_no < 4 AND bbc_one_weekly_ranking = 6 | What were the air-dates of the episodes before episode 4 that had a BBC One weekly ranking of 6? | <s>[INST]What were the air-dates of the episodes before episode 4 that had a BBC One weekly ranking of 6? Context: CREATE TABLE table_name_34 (airdate VARCHAR, episode_no VARCHAR, bbc_one_weekly_ranking VARCHAR)[/INST]SELECT airdate FROM table_name_34 WHERE episode_no < 4 AND bbc_one_weekly_ranking = 6</s> |
CREATE TABLE table_name_55 (name VARCHAR, year VARCHAR, floors VARCHAR) | SELECT name FROM table_name_55 WHERE year > 2006 AND floors > 101 | What is the name of the building housing more than 101 floors, that was built after 2006? | <s>[INST]What is the name of the building housing more than 101 floors, that was built after 2006? Context: CREATE TABLE table_name_55 (name VARCHAR, year VARCHAR, floors VARCHAR)[/INST]SELECT name FROM table_name_55 WHERE year > 2006 AND floors > 101</s> |
CREATE TABLE csu_fees (year VARCHAR); CREATE TABLE campuses (id VARCHAR) | SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND T2.year = 1996 | What is the campus fee of "San Francisco State University" in year 1996? | <s>[INST]What is the campus fee of "San Francisco State University" in year 1996? Context: CREATE TABLE csu_fees (year VARCHAR); CREATE TABLE campuses (id VARCHAR)[/INST]SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND T2.year = 1996</s... |
CREATE TABLE countries (country_name VARCHAR, country_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR); CREATE TABLE locations (location_id VARCHAR, country_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, employee_id VARCHAR, department_id VARCHAR) | SELECT T1.first_name, T1.last_name, T1.employee_id, T4.country_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id JOIN countries AS T4 ON T3.country_id = T4.country_id | display the full name (first and last name ) of employee with ID and name of the country presently where (s)he is working. | <s>[INST]display the full name (first and last name ) of employee with ID and name of the country presently where (s)he is working. Context: CREATE TABLE countries (country_name VARCHAR, country_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR); CREATE TABLE locations (location_id VARCH... |
CREATE TABLE table_name_97 (power_plant VARCHAR, year_of_commission VARCHAR) | SELECT power_plant FROM table_name_97 WHERE year_of_commission = 2008 | What power plant was commissioned in 2008? | <s>[INST]What power plant was commissioned in 2008? Context: CREATE TABLE table_name_97 (power_plant VARCHAR, year_of_commission VARCHAR)[/INST]SELECT power_plant FROM table_name_97 WHERE year_of_commission = 2008</s> |
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR) | SELECT result FROM table_19810459_1 WHERE background = "Business major" | What was the result for the contestant whose background was as a business major? | <s>[INST]What was the result for the contestant whose background was as a business major? Context: CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)[/INST]SELECT result FROM table_19810459_1 WHERE background = "Business major"</s> |
CREATE TABLE table_23286158_8 (game VARCHAR, high_rebounds VARCHAR) | SELECT game FROM table_23286158_8 WHERE high_rebounds = "Andre Miller , Rudy Fernandez (7)" | Name the game for andre miller , rudy fernandez (7) | <s>[INST]Name the game for andre miller , rudy fernandez (7) Context: CREATE TABLE table_23286158_8 (game VARCHAR, high_rebounds VARCHAR)[/INST]SELECT game FROM table_23286158_8 WHERE high_rebounds = "Andre Miller , Rudy Fernandez (7)"</s> |
CREATE TABLE table_name_94 (played VARCHAR) | SELECT played FROM table_name_94 WHERE "club" = "club" | Which Played has a Club of club? | <s>[INST]Which Played has a Club of club? Context: CREATE TABLE table_name_94 (played VARCHAR)[/INST]SELECT played FROM table_name_94 WHERE "club" = "club"</s> |
CREATE TABLE table_name_56 (role VARCHAR, festival_organization VARCHAR) | SELECT role FROM table_name_56 WHERE festival_organization = "sydney film festival" | What role was nominated at the Sydney Film Festival? | <s>[INST]What role was nominated at the Sydney Film Festival? Context: CREATE TABLE table_name_56 (role VARCHAR, festival_organization VARCHAR)[/INST]SELECT role FROM table_name_56 WHERE festival_organization = "sydney film festival"</s> |
CREATE TABLE table_name_75 (name VARCHAR, the_biggest_loser VARCHAR) | SELECT name FROM table_name_75 WHERE the_biggest_loser = "john rhode" | What is the name of the season won by John Rhode? | <s>[INST]What is the name of the season won by John Rhode? Context: CREATE TABLE table_name_75 (name VARCHAR, the_biggest_loser VARCHAR)[/INST]SELECT name FROM table_name_75 WHERE the_biggest_loser = "john rhode"</s> |
CREATE TABLE table_name_35 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_35 WHERE pick = 50 | Which position had a pick of 50? | <s>[INST]Which position had a pick of 50? Context: CREATE TABLE table_name_35 (position VARCHAR, pick VARCHAR)[/INST]SELECT position FROM table_name_35 WHERE pick = 50</s> |
CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR) | SELECT MIN(s_b_share) FROM table_206419_3 WHERE percent_of_votes = "2.12" | What is the s B share for the shareholder that has 2.12 percent of votes? | <s>[INST]What is the s B share for the shareholder that has 2.12 percent of votes? Context: CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR)[/INST]SELECT MIN(s_b_share) FROM table_206419_3 WHERE percent_of_votes = "2.12"</s> |
CREATE TABLE table_name_38 (pick INTEGER, player VARCHAR, nationality VARCHAR, year VARCHAR) | SELECT AVG(pick) FROM table_name_38 WHERE nationality = "canada" AND year < 1974 AND player = "yvon bouillon" | What was the pic for Canada for player Yvon Bouillon earlier than 1974? | <s>[INST]What was the pic for Canada for player Yvon Bouillon earlier than 1974? Context: CREATE TABLE table_name_38 (pick INTEGER, player VARCHAR, nationality VARCHAR, year VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_38 WHERE nationality = "canada" AND year < 1974 AND player = "yvon bouillon"</s> |
CREATE TABLE table_15873547_1 (residence_hall VARCHAR, mascot VARCHAR) | SELECT residence_hall FROM table_15873547_1 WHERE mascot = "Vermin" | What residence hall has the vermin mascot? | <s>[INST]What residence hall has the vermin mascot? Context: CREATE TABLE table_15873547_1 (residence_hall VARCHAR, mascot VARCHAR)[/INST]SELECT residence_hall FROM table_15873547_1 WHERE mascot = "Vermin"</s> |
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_8 WHERE opponent = "at south carolina" | What was the date when the opponent was at South carolina? | <s>[INST]What was the date when the opponent was at South carolina? Context: CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_8 WHERE opponent = "at south carolina"</s> |
CREATE TABLE table_name_65 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_name_65 WHERE game = 44 | What is the location and attendance of game 44? | <s>[INST]What is the location and attendance of game 44? Context: CREATE TABLE table_name_65 (location_attendance VARCHAR, game VARCHAR)[/INST]SELECT location_attendance FROM table_name_65 WHERE game = 44</s> |
CREATE TABLE table_261913_1 (founded INTEGER, joined VARCHAR) | SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977" | What was the earliest date an institution was founded that joined in 1977? | <s>[INST]What was the earliest date an institution was founded that joined in 1977? Context: CREATE TABLE table_261913_1 (founded INTEGER, joined VARCHAR)[/INST]SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977"</s> |
CREATE TABLE table_name_86 (track VARCHAR, pole_position VARCHAR) | SELECT track FROM table_name_86 WHERE pole_position = "takashi kogure" | On which track did Takashi Kogure hold pole position? | <s>[INST]On which track did Takashi Kogure hold pole position? Context: CREATE TABLE table_name_86 (track VARCHAR, pole_position VARCHAR)[/INST]SELECT track FROM table_name_86 WHERE pole_position = "takashi kogure"</s> |
CREATE TABLE table_name_56 (year VARCHAR, points INTEGER) | SELECT year FROM table_name_56 WHERE points > 0 | What year has more than 0 points? | <s>[INST]What year has more than 0 points? Context: CREATE TABLE table_name_56 (year VARCHAR, points INTEGER)[/INST]SELECT year FROM table_name_56 WHERE points > 0</s> |
CREATE TABLE table_name_35 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_35 WHERE home_team = "tottenham hotspur" | What was the score of the tie that had Tottenham Hotspur as the home team? | <s>[INST]What was the score of the tie that had Tottenham Hotspur as the home team? Context: CREATE TABLE table_name_35 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_35 WHERE home_team = "tottenham hotspur"</s> |
CREATE TABLE table_name_65 (title VARCHAR, original_airdate VARCHAR) | SELECT title FROM table_name_65 WHERE original_airdate = "february 2, 2008" | What is the title of the episode originally aired on February 2, 2008? | <s>[INST]What is the title of the episode originally aired on February 2, 2008? Context: CREATE TABLE table_name_65 (title VARCHAR, original_airdate VARCHAR)[/INST]SELECT title FROM table_name_65 WHERE original_airdate = "february 2, 2008"</s> |
CREATE TABLE table_name_72 (rank INTEGER, sport VARCHAR, city VARCHAR) | SELECT MAX(rank) FROM table_name_72 WHERE sport = "boys swimming" AND city = "albuquerque" | What is the highest rank for the boys swimming team in Albuquerque? | <s>[INST]What is the highest rank for the boys swimming team in Albuquerque? Context: CREATE TABLE table_name_72 (rank INTEGER, sport VARCHAR, city VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_72 WHERE sport = "boys swimming" AND city = "albuquerque"</s> |
CREATE TABLE table_name_81 (format VARCHAR, label VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_81 WHERE label = "alfa records" AND catalog = "alca-9016" | What is the Format for the alfa records Label, and a Catalog of alca-9016? | <s>[INST]What is the Format for the alfa records Label, and a Catalog of alca-9016? Context: CREATE TABLE table_name_81 (format VARCHAR, label VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_81 WHERE label = "alfa records" AND catalog = "alca-9016"</s> |
CREATE TABLE table_name_78 (opponent VARCHAR, attendance INTEGER) | SELECT opponent FROM table_name_78 WHERE attendance < 751 | Who did they play when there were only 751 in attendance? | <s>[INST]Who did they play when there were only 751 in attendance? Context: CREATE TABLE table_name_78 (opponent VARCHAR, attendance INTEGER)[/INST]SELECT opponent FROM table_name_78 WHERE attendance < 751</s> |
CREATE TABLE table_name_56 (attendance INTEGER, home VARCHAR) | SELECT MAX(attendance) FROM table_name_56 WHERE home = "lakers" | What is the highest attendace of the game with the Lakers as the home team? | <s>[INST]What is the highest attendace of the game with the Lakers as the home team? Context: CREATE TABLE table_name_56 (attendance INTEGER, home VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_56 WHERE home = "lakers"</s> |
CREATE TABLE table_name_2 (grid INTEGER, time_retired VARCHAR) | SELECT SUM(grid) FROM table_name_2 WHERE time_retired = "clutch" | What Grid has a Time/Retired of clutch? | <s>[INST]What Grid has a Time/Retired of clutch? Context: CREATE TABLE table_name_2 (grid INTEGER, time_retired VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_2 WHERE time_retired = "clutch"</s> |
CREATE TABLE table_name_32 (pick__number INTEGER, name VARCHAR, round VARCHAR) | SELECT MAX(pick__number) FROM table_name_32 WHERE name = "william middleton" AND round > 5 | Which Pick # is the highest one that has a Name of william middleton, and a Round larger than 5? | <s>[INST]Which Pick # is the highest one that has a Name of william middleton, and a Round larger than 5? Context: CREATE TABLE table_name_32 (pick__number INTEGER, name VARCHAR, round VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_32 WHERE name = "william middleton" AND round > 5</s> |
CREATE TABLE table_name_94 (team_e VARCHAR, team_d VARCHAR) | SELECT team_e FROM table_name_94 WHERE team_d = "aaron solloway" | Who is team e when Aaron Solloway is team D? | <s>[INST]Who is team e when Aaron Solloway is team D? Context: CREATE TABLE table_name_94 (team_e VARCHAR, team_d VARCHAR)[/INST]SELECT team_e FROM table_name_94 WHERE team_d = "aaron solloway"</s> |
CREATE TABLE table_name_81 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_81 WHERE competition = "match reports" | which Score has a Competition of match reports? | <s>[INST]which Score has a Competition of match reports? Context: CREATE TABLE table_name_81 (score VARCHAR, competition VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE competition = "match reports"</s> |
CREATE TABLE table_22128871_1 (result VARCHAR, year__ceremony_ VARCHAR) | SELECT result FROM table_22128871_1 WHERE year__ceremony_ = "2007 (80th)" | What is every result for the ceremony year of 2007 (80th)? | <s>[INST]What is every result for the ceremony year of 2007 (80th)? Context: CREATE TABLE table_22128871_1 (result VARCHAR, year__ceremony_ VARCHAR)[/INST]SELECT result FROM table_22128871_1 WHERE year__ceremony_ = "2007 (80th)"</s> |
CREATE TABLE table_name_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR) | SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 25 | What is the number of earning for more than 2 wins and less than 25 events? | <s>[INST]What is the number of earning for more than 2 wins and less than 25 events? Context: CREATE TABLE table_name_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR)[/INST]SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 25</s> |
CREATE TABLE table_name_15 (japanese VARCHAR, prefecture VARCHAR, name VARCHAR) | SELECT japanese FROM table_name_15 WHERE prefecture = "ibaraki" AND name = "tsukuba" | What Japanese prefecture has Ibaraki, Tsukuba? | <s>[INST]What Japanese prefecture has Ibaraki, Tsukuba? Context: CREATE TABLE table_name_15 (japanese VARCHAR, prefecture VARCHAR, name VARCHAR)[/INST]SELECT japanese FROM table_name_15 WHERE prefecture = "ibaraki" AND name = "tsukuba"</s> |
CREATE TABLE table_name_55 (minutes_played VARCHAR, points VARCHAR, opponent VARCHAR) | SELECT COUNT(minutes_played) FROM table_name_55 WHERE points = 18 AND opponent = "chicago bulls" | How many minutes were played when there were 18 points and the opponent was Chicago Bulls? | <s>[INST]How many minutes were played when there were 18 points and the opponent was Chicago Bulls? Context: CREATE TABLE table_name_55 (minutes_played VARCHAR, points VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(minutes_played) FROM table_name_55 WHERE points = 18 AND opponent = "chicago bulls"</s> |
CREATE TABLE table_name_1 (pick VARCHAR, round VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_name_1 WHERE round > 1 AND player = "jim stack" | What is the total number of Pick, when Round is greater than 1, and when Player is "Jim Stack"? | <s>[INST]What is the total number of Pick, when Round is greater than 1, and when Player is "Jim Stack"? Context: CREATE TABLE table_name_1 (pick VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_1 WHERE round > 1 AND player = "jim stack"</s> |
CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_25 WHERE home = "mavericks" | What was the date of the Mavericks home game? | <s>[INST]What was the date of the Mavericks home game? Context: CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE home = "mavericks"</s> |
CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT AVG(attendance) FROM table_name_43 WHERE date = "november 1, 1964" AND week > 8 | After week 8, what was the Attendance on November 1, 1964? | <s>[INST]After week 8, what was the Attendance on November 1, 1964? Context: CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, week VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_43 WHERE date = "november 1, 1964" AND week > 8</s> |
CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_nominal__$_billions_ VARCHAR) | SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE gdp_nominal__$_billions_ = "8.43" | What is the adjusted GDP when the nominal GDP is 8.43 (in billions)? | <s>[INST]What is the adjusted GDP when the nominal GDP is 8.43 (in billions)? Context: CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_nominal__$_billions_ VARCHAR)[/INST]SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE gdp_nominal__$_billions_ = "8.43"</s> |
CREATE TABLE table_name_94 (series INTEGER, premiere VARCHAR, episodes VARCHAR) | SELECT MAX(series) FROM table_name_94 WHERE premiere = "29 october 1990" AND episodes > 6 | Which season premiered on 29 October 1990 and had more than 6 episodes? | <s>[INST]Which season premiered on 29 October 1990 and had more than 6 episodes? Context: CREATE TABLE table_name_94 (series INTEGER, premiere VARCHAR, episodes VARCHAR)[/INST]SELECT MAX(series) FROM table_name_94 WHERE premiere = "29 october 1990" AND episodes > 6</s> |
CREATE TABLE table_name_27 (score VARCHAR, away_team VARCHAR, date VARCHAR) | SELECT score FROM table_name_27 WHERE away_team = "aldershot" AND date = "aldershot" | With a date of Aldershot and Aldershot as the away team what was the score of the game? | <s>[INST]With a date of Aldershot and Aldershot as the away team what was the score of the game? Context: CREATE TABLE table_name_27 (score VARCHAR, away_team VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_27 WHERE away_team = "aldershot" AND date = "aldershot"</s> |
CREATE TABLE table_name_8 (minutes VARCHAR, goals VARCHAR, assists VARCHAR) | SELECT minutes FROM table_name_8 WHERE goals > 4 AND assists = 3 | What is the number of minutes when there are more than 4 goals and 3 assists? | <s>[INST]What is the number of minutes when there are more than 4 goals and 3 assists? Context: CREATE TABLE table_name_8 (minutes VARCHAR, goals VARCHAR, assists VARCHAR)[/INST]SELECT minutes FROM table_name_8 WHERE goals > 4 AND assists = 3</s> |
CREATE TABLE table_name_26 (grand_finalist VARCHAR, grand_finalists VARCHAR) | SELECT grand_finalist FROM table_name_26 WHERE grand_finalists = "jonathan loh, peterson poon, nathan santos" | who is the grand finalist when the grand finalists are jonathan loh, peterson poon, nathan santos? | <s>[INST]who is the grand finalist when the grand finalists are jonathan loh, peterson poon, nathan santos? Context: CREATE TABLE table_name_26 (grand_finalist VARCHAR, grand_finalists VARCHAR)[/INST]SELECT grand_finalist FROM table_name_26 WHERE grand_finalists = "jonathan loh, peterson poon, nathan santos"</s> |
CREATE TABLE table_name_99 (location VARCHAR, method VARCHAR, res VARCHAR) | SELECT location FROM table_name_99 WHERE method = "decision (unanimous)" AND res = "win x" | Which Location has a Method of decision (unanimous), and Res of win x? | <s>[INST]Which Location has a Method of decision (unanimous), and Res of win x? Context: CREATE TABLE table_name_99 (location VARCHAR, method VARCHAR, res VARCHAR)[/INST]SELECT location FROM table_name_99 WHERE method = "decision (unanimous)" AND res = "win x"</s> |
CREATE TABLE table_name_18 (team__number2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_18 WHERE team__number2 = "junior" | What is the 2nd leg for the team #2 junior? | <s>[INST]What is the 2nd leg for the team #2 junior? Context: CREATE TABLE table_name_18 (team__number2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_18 WHERE team__number2 = "junior"</s> |
CREATE TABLE table_name_92 (position VARCHAR, nhl_team VARCHAR) | SELECT position FROM table_name_92 WHERE nhl_team = "los angeles kings" | What is the position of the player on the Los Angeles Kings? | <s>[INST]What is the position of the player on the Los Angeles Kings? Context: CREATE TABLE table_name_92 (position VARCHAR, nhl_team VARCHAR)[/INST]SELECT position FROM table_name_92 WHERE nhl_team = "los angeles kings"</s> |
CREATE TABLE table_26982362_2 (title VARCHAR, original_airdate VARCHAR) | SELECT title FROM table_26982362_2 WHERE original_airdate = "April 23, 2010" | What is the title of the episode whose original airdate is April 23, 2010? | <s>[INST]What is the title of the episode whose original airdate is April 23, 2010? Context: CREATE TABLE table_26982362_2 (title VARCHAR, original_airdate VARCHAR)[/INST]SELECT title FROM table_26982362_2 WHERE original_airdate = "April 23, 2010"</s> |
CREATE TABLE table_name_64 (calorie VARCHAR, watt_hour VARCHAR) | SELECT calorie FROM table_name_64 WHERE watt_hour = "1" | How many calories is 1 watt hour? | <s>[INST]How many calories is 1 watt hour? Context: CREATE TABLE table_name_64 (calorie VARCHAR, watt_hour VARCHAR)[/INST]SELECT calorie FROM table_name_64 WHERE watt_hour = "1"</s> |
CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_36 WHERE away_team = "richmond" | When did Richmond play an away game against Collingwood? | <s>[INST]When did Richmond play an away game against Collingwood? Context: CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_36 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_21 (ecclesiastical_province VARCHAR, type VARCHAR, latin_name VARCHAR) | SELECT ecclesiastical_province FROM table_name_21 WHERE type = "diocese" AND latin_name = "alexiensis" | What Ecclesiastical Province has a type diocese and a latin name alexiensis? | <s>[INST]What Ecclesiastical Province has a type diocese and a latin name alexiensis? Context: CREATE TABLE table_name_21 (ecclesiastical_province VARCHAR, type VARCHAR, latin_name VARCHAR)[/INST]SELECT ecclesiastical_province FROM table_name_21 WHERE type = "diocese" AND latin_name = "alexiensis"</s> |
CREATE TABLE table_name_62 (against INTEGER, difference VARCHAR, played VARCHAR) | SELECT MAX(against) FROM table_name_62 WHERE difference = "58" AND played > 22 | What was the highest number of against when the difference was 58 and the total played was more than 22? | <s>[INST]What was the highest number of against when the difference was 58 and the total played was more than 22? Context: CREATE TABLE table_name_62 (against INTEGER, difference VARCHAR, played VARCHAR)[/INST]SELECT MAX(against) FROM table_name_62 WHERE difference = "58" AND played > 22</s> |
CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR, first_team_appearances VARCHAR, current_club VARCHAR) | SELECT position FROM table_name_47 WHERE first_team_appearances = "ongoing" AND current_club = "aston villa" AND player = "graham burke" | What position has ongoing first-team appearances, Graham Burke for a player, and whose club is Aston Villa? | <s>[INST]What position has ongoing first-team appearances, Graham Burke for a player, and whose club is Aston Villa? Context: CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR, first_team_appearances VARCHAR, current_club VARCHAR)[/INST]SELECT position FROM table_name_47 WHERE first_team_appearances = "ongoi... |
CREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, place VARCHAR) | SELECT player FROM table_name_50 WHERE country = "england" AND place = "t7" | What is Player, when Country is "England", and when Place is "T7"? | <s>[INST]What is Player, when Country is "England", and when Place is "T7"? Context: CREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_50 WHERE country = "england" AND place = "t7"</s> |
CREATE TABLE table_name_82 (rank INTEGER) | SELECT MIN(rank) FROM table_name_82 WHERE 2011 < 80.7 AND 2012 < 73.1 | The lowest rank with 2011 less than 80.7 and 2012 less than 73.1 is what? | <s>[INST]The lowest rank with 2011 less than 80.7 and 2012 less than 73.1 is what? Context: CREATE TABLE table_name_82 (rank INTEGER)[/INST]SELECT MIN(rank) FROM table_name_82 WHERE 2011 < 80.7 AND 2012 < 73.1</s> |
CREATE TABLE table_name_92 (position VARCHAR, class VARCHAR, laps VARCHAR) | SELECT position FROM table_name_92 WHERE class = "a" AND laps = 125 | The driver in class A with 125 laps is in what position? | <s>[INST]The driver in class A with 125 laps is in what position? Context: CREATE TABLE table_name_92 (position VARCHAR, class VARCHAR, laps VARCHAR)[/INST]SELECT position FROM table_name_92 WHERE class = "a" AND laps = 125</s> |
CREATE TABLE table_name_14 (result VARCHAR, week VARCHAR, date VARCHAR) | SELECT result FROM table_name_14 WHERE week > 13 AND date = "december 8, 1991" | What was the result of the game after Week 13 on December 8, 1991? | <s>[INST]What was the result of the game after Week 13 on December 8, 1991? Context: CREATE TABLE table_name_14 (result VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_14 WHERE week > 13 AND date = "december 8, 1991"</s> |
CREATE TABLE table_name_26 (name VARCHAR, date VARCHAR, ownership VARCHAR, condition VARCHAR) | SELECT name FROM table_name_26 WHERE ownership = "private" AND condition = "occupied" AND date = "16th century" | What is the Name of the private Castle of the 16th century which is occupied? | <s>[INST]What is the Name of the private Castle of the 16th century which is occupied? Context: CREATE TABLE table_name_26 (name VARCHAR, date VARCHAR, ownership VARCHAR, condition VARCHAR)[/INST]SELECT name FROM table_name_26 WHERE ownership = "private" AND condition = "occupied" AND date = "16th century"</s> |
CREATE TABLE table_2071644_1 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR) | SELECT flange_thickness__mm_ FROM table_2071644_1 WHERE weight__kg_m_ = "6.0" | What is the flange thickness (mm) for the weight (kg/m) 6.0?Wg | <s>[INST]What is the flange thickness (mm) for the weight (kg/m) 6.0?Wg Context: CREATE TABLE table_2071644_1 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR)[/INST]SELECT flange_thickness__mm_ FROM table_2071644_1 WHERE weight__kg_m_ = "6.0"</s> |
CREATE TABLE Apartments (apt_number VARCHAR, room_count VARCHAR) | SELECT apt_number, room_count FROM Apartments | Return the apartment number and the number of rooms for each apartment. | <s>[INST]Return the apartment number and the number of rooms for each apartment. Context: CREATE TABLE Apartments (apt_number VARCHAR, room_count VARCHAR)[/INST]SELECT apt_number, room_count FROM Apartments</s> |
CREATE TABLE table_name_87 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_87 WHERE home_team = "shrewsbury town" | What was the score for the tie that had Shrewsbury Town as home team? | <s>[INST]What was the score for the tie that had Shrewsbury Town as home team? Context: CREATE TABLE table_name_87 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_87 WHERE home_team = "shrewsbury town"</s> |
CREATE TABLE table_1566852_7 (date VARCHAR, interview_subject VARCHAR) | SELECT date FROM table_1566852_7 WHERE interview_subject = "Shepard Smith" | IN WHAT ISSUE OF PLAYBOY WAS SHEPARD SMITH INTERVIEWED? | <s>[INST]IN WHAT ISSUE OF PLAYBOY WAS SHEPARD SMITH INTERVIEWED? Context: CREATE TABLE table_1566852_7 (date VARCHAR, interview_subject VARCHAR)[/INST]SELECT date FROM table_1566852_7 WHERE interview_subject = "Shepard Smith"</s> |
CREATE TABLE table_27782699_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_vacancy FROM table_27782699_3 WHERE outgoing_manager = "Thomas Thomasberg" | What was the vacancy date for Thomas Thomasberg? | <s>[INST]What was the vacancy date for Thomas Thomasberg? Context: CREATE TABLE table_27782699_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_vacancy FROM table_27782699_3 WHERE outgoing_manager = "Thomas Thomasberg"</s> |
CREATE TABLE table_name_13 (drawn INTEGER, points VARCHAR, played VARCHAR) | SELECT AVG(drawn) FROM table_name_13 WHERE points = 12 AND played < 10 | What was the drawn amount for teams with points of 12 and played smaller than 10? | <s>[INST]What was the drawn amount for teams with points of 12 and played smaller than 10? Context: CREATE TABLE table_name_13 (drawn INTEGER, points VARCHAR, played VARCHAR)[/INST]SELECT AVG(drawn) FROM table_name_13 WHERE points = 12 AND played < 10</s> |
CREATE TABLE table_name_3 (year INTEGER, film VARCHAR) | SELECT AVG(year) FROM table_name_3 WHERE film = "rango" | What year did the movie Rango come out? | <s>[INST]What year did the movie Rango come out? Context: CREATE TABLE table_name_3 (year INTEGER, film VARCHAR)[/INST]SELECT AVG(year) FROM table_name_3 WHERE film = "rango"</s> |
CREATE TABLE table_name_8 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_8 WHERE home_team = "south melbourne" | Who was South Melbourne's away team opponent? | <s>[INST]Who was South Melbourne's away team opponent? Context: CREATE TABLE table_name_8 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_8 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_name_92 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_92 WHERE date = "december 16, 2001" | How many attended the game on December 16, 2001? | <s>[INST]How many attended the game on December 16, 2001? Context: CREATE TABLE table_name_92 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_92 WHERE date = "december 16, 2001"</s> |
CREATE TABLE table_name_28 (report VARCHAR, winning_constructor VARCHAR, name VARCHAR) | SELECT report FROM table_name_28 WHERE winning_constructor = "maserati" AND name = "monza grand prix" | Name the Report with Winning constructor of maserati, and a Name of monza grand prix? | <s>[INST]Name the Report with Winning constructor of maserati, and a Name of monza grand prix? Context: CREATE TABLE table_name_28 (report VARCHAR, winning_constructor VARCHAR, name VARCHAR)[/INST]SELECT report FROM table_name_28 WHERE winning_constructor = "maserati" AND name = "monza grand prix"</s> |
CREATE TABLE table_2251578_4 (elevation__m_ VARCHAR, district VARCHAR) | SELECT COUNT(elevation__m_) FROM table_2251578_4 WHERE district = "Paratia" | How many elevations are listed for Paratia? | <s>[INST]How many elevations are listed for Paratia? Context: CREATE TABLE table_2251578_4 (elevation__m_ VARCHAR, district VARCHAR)[/INST]SELECT COUNT(elevation__m_) FROM table_2251578_4 WHERE district = "Paratia"</s> |
CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_77 WHERE country = "united states" AND place = "t8" AND player = "tommy valentine" | What to par has The United States as the country, t8 as the place, and tommy valentine as the player? | <s>[INST]What to par has The United States as the country, t8 as the place, and tommy valentine as the player? Context: CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_77 WHERE country = "united states" AND place = "t8" AND player = "tommy ... |
CREATE TABLE table_name_66 (rank INTEGER, rider VARCHAR) | SELECT MAX(rank) FROM table_name_66 WHERE rider = "colin martin" | What is the highest rank of rider colin martin? | <s>[INST]What is the highest rank of rider colin martin? Context: CREATE TABLE table_name_66 (rank INTEGER, rider VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_66 WHERE rider = "colin martin"</s> |
CREATE TABLE table_name_24 (country VARCHAR, moving_to VARCHAR) | SELECT country FROM table_name_24 WHERE moving_to = "chelsea" | Name the country moving to chelsea | <s>[INST]Name the country moving to chelsea Context: CREATE TABLE table_name_24 (country VARCHAR, moving_to VARCHAR)[/INST]SELECT country FROM table_name_24 WHERE moving_to = "chelsea"</s> |
CREATE TABLE table_name_87 (cross_code_debut VARCHAR, year VARCHAR, player VARCHAR) | SELECT cross_code_debut FROM table_name_87 WHERE year > 1958 AND player = "dick thornett" | What is the cross-code debut later than 1958 for Dick Thornett? | <s>[INST]What is the cross-code debut later than 1958 for Dick Thornett? Context: CREATE TABLE table_name_87 (cross_code_debut VARCHAR, year VARCHAR, player VARCHAR)[/INST]SELECT cross_code_debut FROM table_name_87 WHERE year > 1958 AND player = "dick thornett"</s> |
CREATE TABLE table_30139175_3 (uk_total_viewers VARCHAR, episode_no VARCHAR) | SELECT uk_total_viewers FROM table_30139175_3 WHERE episode_no = 50 | How many viewers in the UK did episode 50 have? | <s>[INST]How many viewers in the UK did episode 50 have? Context: CREATE TABLE table_30139175_3 (uk_total_viewers VARCHAR, episode_no VARCHAR)[/INST]SELECT uk_total_viewers FROM table_30139175_3 WHERE episode_no = 50</s> |
CREATE TABLE table_name_64 (singapore_gross VARCHAR, director VARCHAR) | SELECT singapore_gross FROM table_name_64 WHERE director = "1998" | For the film with director listed as 1998, what was the gross in Singapore? | <s>[INST]For the film with director listed as 1998, what was the gross in Singapore? Context: CREATE TABLE table_name_64 (singapore_gross VARCHAR, director VARCHAR)[/INST]SELECT singapore_gross FROM table_name_64 WHERE director = "1998"</s> |
CREATE TABLE table_name_65 (date VARCHAR, save VARCHAR) | SELECT date FROM table_name_65 WHERE save = "aguilera (5)" | What was the date when the game had a save by Aguilera (5)? | <s>[INST]What was the date when the game had a save by Aguilera (5)? Context: CREATE TABLE table_name_65 (date VARCHAR, save VARCHAR)[/INST]SELECT date FROM table_name_65 WHERE save = "aguilera (5)"</s> |
CREATE TABLE table_name_63 (production_cost VARCHAR, producer VARCHAR) | SELECT production_cost FROM table_name_63 WHERE producer = "raintree pictures" | What is the production cost when the producer is raintree pictures? | <s>[INST]What is the production cost when the producer is raintree pictures? Context: CREATE TABLE table_name_63 (production_cost VARCHAR, producer VARCHAR)[/INST]SELECT production_cost FROM table_name_63 WHERE producer = "raintree pictures"</s> |
CREATE TABLE table_1216675_1 (subject VARCHAR, pinyin VARCHAR) | SELECT COUNT(subject) FROM table_1216675_1 WHERE pinyin = "Shixun" | How many subjects have the pinyin shixun? | <s>[INST]How many subjects have the pinyin shixun? Context: CREATE TABLE table_1216675_1 (subject VARCHAR, pinyin VARCHAR)[/INST]SELECT COUNT(subject) FROM table_1216675_1 WHERE pinyin = "Shixun"</s> |
CREATE TABLE table_name_22 (tie_no INTEGER, date VARCHAR) | SELECT AVG(tie_no) FROM table_name_22 WHERE date = "birmingham city" | What is the average Tie no when the date is Birmingham City? | <s>[INST]What is the average Tie no when the date is Birmingham City? Context: CREATE TABLE table_name_22 (tie_no INTEGER, date VARCHAR)[/INST]SELECT AVG(tie_no) FROM table_name_22 WHERE date = "birmingham city"</s> |
CREATE TABLE organisation_Types (organisation_type VARCHAR, organisation_type_description VARCHAR); CREATE TABLE Grants (grant_id VARCHAR, organisation_id VARCHAR, grant_amount VARCHAR); CREATE TABLE Organisations (organisation_id VARCHAR, organisation_type VARCHAR); CREATE TABLE documents (sent_date VARCHAR, grant_id ... | SELECT T1.sent_date FROM documents AS T1 JOIN Grants AS T2 ON T1.grant_id = T2.grant_id JOIN Organisations AS T3 ON T2.organisation_id = T3.organisation_id JOIN organisation_Types AS T4 ON T3.organisation_type = T4.organisation_type WHERE T2.grant_amount > 5000 AND T4.organisation_type_description = 'Research' | Find out the send dates of the documents with the grant amount of more than 5000 were granted by organisation type described | <s>[INST]Find out the send dates of the documents with the grant amount of more than 5000 were granted by organisation type described Context: CREATE TABLE organisation_Types (organisation_type VARCHAR, organisation_type_description VARCHAR); CREATE TABLE Grants (grant_id VARCHAR, organisation_id VARCHAR, grant_amount ... |
CREATE TABLE table_17736890_5 (tie_no INTEGER, away_team VARCHAR) | SELECT MAX(tie_no) FROM table_17736890_5 WHERE away_team = "Leeds United" | In what tie were Leeds United the away team? | <s>[INST]In what tie were Leeds United the away team? Context: CREATE TABLE table_17736890_5 (tie_no INTEGER, away_team VARCHAR)[/INST]SELECT MAX(tie_no) FROM table_17736890_5 WHERE away_team = "Leeds United"</s> |
CREATE TABLE table_name_88 (total INTEGER, play_offs VARCHAR, league VARCHAR, player VARCHAR) | SELECT AVG(total) FROM table_name_88 WHERE league = 18 AND player = "richard logan" AND play_offs < 1 | What mean total had a league number of 18, Richard Logan as a player, and a play-offs number smaller than 1? | <s>[INST]What mean total had a league number of 18, Richard Logan as a player, and a play-offs number smaller than 1? Context: CREATE TABLE table_name_88 (total INTEGER, play_offs VARCHAR, league VARCHAR, player VARCHAR)[/INST]SELECT AVG(total) FROM table_name_88 WHERE league = 18 AND player = "richard logan" AND play_... |
CREATE TABLE table_name_96 (date VARCHAR, opponents VARCHAR, league_position VARCHAR) | SELECT date FROM table_name_96 WHERE opponents = "notts county" AND league_position = "1st" | What date was Notts County the opponent and the league position was 1st? | <s>[INST]What date was Notts County the opponent and the league position was 1st? Context: CREATE TABLE table_name_96 (date VARCHAR, opponents VARCHAR, league_position VARCHAR)[/INST]SELECT date FROM table_name_96 WHERE opponents = "notts county" AND league_position = "1st"</s> |
CREATE TABLE table_name_82 (rich_savage VARCHAR, undecided VARCHAR) | SELECT rich_savage FROM table_name_82 WHERE undecided = "68%" | What is the Rich Savage percentage in the poll that had undecideds at 68%? | <s>[INST]What is the Rich Savage percentage in the poll that had undecideds at 68%? Context: CREATE TABLE table_name_82 (rich_savage VARCHAR, undecided VARCHAR)[/INST]SELECT rich_savage FROM table_name_82 WHERE undecided = "68%"</s> |
CREATE TABLE table_name_29 (opponent_in_the_final VARCHAR, score VARCHAR) | SELECT opponent_in_the_final FROM table_name_29 WHERE score = "6β3, 3β6, 6β8" | Which Opponent in the final has a Score of 6β3, 3β6, 6β8? | <s>[INST]Which Opponent in the final has a Score of 6β3, 3β6, 6β8? Context: CREATE TABLE table_name_29 (opponent_in_the_final VARCHAR, score VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_29 WHERE score = "6β3, 3β6, 6β8"</s> |
CREATE TABLE table_29583818_3 (couple VARCHAR, total_points VARCHAR) | SELECT COUNT(couple) FROM table_29583818_3 WHERE total_points = "128.0" | how many times is the total points 128.0? | <s>[INST]how many times is the total points 128.0? Context: CREATE TABLE table_29583818_3 (couple VARCHAR, total_points VARCHAR)[/INST]SELECT COUNT(couple) FROM table_29583818_3 WHERE total_points = "128.0"</s> |
CREATE TABLE table_name_27 (bronze VARCHAR, year VARCHAR) | SELECT bronze FROM table_name_27 WHERE year = "1998" | How many bronze medals were won in 1998? | <s>[INST]How many bronze medals were won in 1998? Context: CREATE TABLE table_name_27 (bronze VARCHAR, year VARCHAR)[/INST]SELECT bronze FROM table_name_27 WHERE year = "1998"</s> |
CREATE TABLE products (product_type_code VARCHAR, product_price INTEGER) | SELECT product_type_code, MAX(product_price), MIN(product_price) FROM products GROUP BY product_type_code | For each product type, return the maximum and minimum price. | <s>[INST]For each product type, return the maximum and minimum price. Context: CREATE TABLE products (product_type_code VARCHAR, product_price INTEGER)[/INST]SELECT product_type_code, MAX(product_price), MIN(product_price) FROM products GROUP BY product_type_code</s> |
CREATE TABLE table_name_7 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_7 WHERE record = "22-55" | What is the score of the game where the record was 22-55? | <s>[INST]What is the score of the game where the record was 22-55? Context: CREATE TABLE table_name_7 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_7 WHERE record = "22-55"</s> |
CREATE TABLE table_name_97 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR) | SELECT transfer_fee FROM table_name_97 WHERE ends = 2011 AND moving_from = "thrasyvoulos" | What was the transfer fee for the player ending in 2011 and moving from Thrasyvoulos? | <s>[INST]What was the transfer fee for the player ending in 2011 and moving from Thrasyvoulos? Context: CREATE TABLE table_name_97 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)[/INST]SELECT transfer_fee FROM table_name_97 WHERE ends = 2011 AND moving_from = "thrasyvoulos"</s> |
CREATE TABLE table_26609958_1 (rainfall_totals__million_m_3__ VARCHAR, hydrographic_basin VARCHAR) | SELECT rainfall_totals__million_m_3__ FROM table_26609958_1 WHERE hydrographic_basin = "Martha Brae, River" | When martha brae, river is the hydrographic basin what is the rainfall totals (million m 3)? | <s>[INST]When martha brae, river is the hydrographic basin what is the rainfall totals (million m 3)? Context: CREATE TABLE table_26609958_1 (rainfall_totals__million_m_3__ VARCHAR, hydrographic_basin VARCHAR)[/INST]SELECT rainfall_totals__million_m_3__ FROM table_26609958_1 WHERE hydrographic_basin = "Martha Brae, Riv... |
CREATE TABLE table_29033869_3 (home_away VARCHAR, position_on_ladder VARCHAR) | SELECT home_away FROM table_29033869_3 WHERE position_on_ladder = "6th" | Was the round where they were in 6th at home or away? | <s>[INST]Was the round where they were in 6th at home or away? Context: CREATE TABLE table_29033869_3 (home_away VARCHAR, position_on_ladder VARCHAR)[/INST]SELECT home_away FROM table_29033869_3 WHERE position_on_ladder = "6th"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.