training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_52 (date VARCHAR, home_team VARCHAR)
###human: What day did North Melbourne play as the home team?
###assistant: SELECT date FROM table_name_52 WHERE home_team = "north melbourne" |
###context:CREATE TABLE table_name_20 (away_team VARCHAR, venue VARCHAR)
###human: Who was the away team at Arden Street Oval?
###assistant: SELECT away_team FROM table_name_20 WHERE venue = "arden street oval" |
###context:CREATE TABLE table_name_42 (ordinary_income_rate VARCHAR, short_term_capital_gain_rate VARCHAR)
###human: What is the ordinary income rate when short-term capital gain rate is 28%?
###assistant: SELECT ordinary_income_rate FROM table_name_42 WHERE short_term_capital_gain_rate = "28%" |
###context:CREATE TABLE table_name_29 (short_term_capital_gain_rate VARCHAR, long_term_gain_on_collectibles VARCHAR)
###human: What is short-term capital gain rate with long-term gain on collectibles at 15%?
###assistant: SELECT short_term_capital_gain_rate FROM table_name_29 WHERE long_term_gain_on_collectibles = "15%" |
###context:CREATE TABLE table_name_48 (long_term_gain_on_collectibles VARCHAR, ordinary_income_rate VARCHAR)
###human: What long-term gain for collectibles coincides with ordinary income rate 15%?
###assistant: SELECT long_term_gain_on_collectibles FROM table_name_48 WHERE ordinary_income_rate = "15%" |
###context:CREATE TABLE table_name_99 (decile INTEGER, authority VARCHAR, roll VARCHAR)
###human: What is the Decile with a State Authority and a roll of 120?
###assistant: SELECT SUM(decile) FROM table_name_99 WHERE authority = "state" AND roll = 120 |
###context:CREATE TABLE table_name_98 (roll INTEGER, name VARCHAR, decile VARCHAR, authority VARCHAR)
###human: What is the highest Roll of Orere School with a Decile less than 8 with a State Authority?
###assistant: SELECT MAX(roll) FROM table_name_98 WHERE decile < 8 AND authority = "state" AND name = "orere school" |
###context:CREATE TABLE table_name_63 (home_team VARCHAR, away_team VARCHAR)
###human: What home team score has a Away team of melbourne?
###assistant: SELECT home_team AS score FROM table_name_63 WHERE away_team = "melbourne" |
###context:CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
###human: What away team is the home team richmond?
###assistant: SELECT away_team FROM table_name_16 WHERE home_team = "richmond" |
###context:CREATE TABLE table_name_4 (grid INTEGER, driver VARCHAR, laps VARCHAR)
###human: When Giancarlo Fisichella was the Driver and there were less than 52 Laps, what was the highest Grid?
###assistant: SELECT MAX(grid) FROM table_name_4 WHERE driver = "giancarlo fisichella" AND laps < 52 |
###context:CREATE TABLE table_name_11 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
###human: Which Constructor has a Grid less than 17, Laps under 52, and Olivier Panis as the Driver?
###assistant: SELECT constructor FROM table_name_11 WHERE grid < 17 AND laps < 52 AND driver = "olivier panis" |
###context:CREATE TABLE table_name_91 (pick__number VARCHAR, college VARCHAR)
###human: Which 2006 cfl draft pick played college ball at Idaho state?
###assistant: SELECT pick__number FROM table_name_91 WHERE college = "idaho state" |
###context:CREATE TABLE table_name_22 (position VARCHAR, college VARCHAR)
###human: What position did the CFL player drafted out of college of toronto in 2007 play?
###assistant: SELECT position FROM table_name_22 WHERE college = "toronto" |
###context:CREATE TABLE table_name_97 (date_of_death VARCHAR, date_of_birth VARCHAR)
###human: What was the Date of Death of the person whose Date of Birth was 28 May 1371?
###assistant: SELECT date_of_death FROM table_name_97 WHERE date_of_birth = "28 may 1371" |
###context:CREATE TABLE table_name_25 (reign VARCHAR, date_of_birth VARCHAR)
###human: What was the Reign of the person whose Date of Birth was 22 March 1459?
###assistant: SELECT reign FROM table_name_25 WHERE date_of_birth = "22 march 1459" |
###context:CREATE TABLE table_name_23 (year INTEGER, record VARCHAR)
###human: Tell me the average year with a record of 33-33
###assistant: SELECT AVG(year) FROM table_name_23 WHERE record = "33-33" |
###context:CREATE TABLE table_name_18 (year VARCHAR, record VARCHAR)
###human: Name the total number of years for a 39-31 record
###assistant: SELECT COUNT(year) FROM table_name_18 WHERE record = "39-31" |
###context:CREATE TABLE table_name_98 (year INTEGER, manager VARCHAR, finish VARCHAR)
###human: Name the least year for gene hassell manager and 6th finish
###assistant: SELECT MIN(year) FROM table_name_98 WHERE manager = "gene hassell" AND finish = "6th" |
###context:CREATE TABLE table_name_64 (finish VARCHAR, record VARCHAR)
###human: Name the finish for a 39-31 record
###assistant: SELECT finish FROM table_name_64 WHERE record = "39-31" |
###context:CREATE TABLE table_name_59 (goal_difference INTEGER, club VARCHAR, played VARCHAR)
###human: What is the lowest goal difference for the club ud alzira, with a played larger than 38?
###assistant: SELECT MIN(goal_difference) FROM table_name_59 WHERE club = "ud alzira" AND played > 38 |
###context:CREATE TABLE table_name_27 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR)
###human: What is the goal difference sum that has goals against smaller than 33, draws larger than 13?
###assistant: SELECT SUM(goal_difference) FROM table_name_27 WHERE goals_against < 33 AND draws > 13 |
###context:CREATE TABLE table_name_27 (transfer_fee VARCHAR, name VARCHAR)
###human: Name the transfer fee for damia
###assistant: SELECT transfer_fee FROM table_name_27 WHERE name = "damia" |
###context:CREATE TABLE table_name_24 (moving_to VARCHAR, name VARCHAR, transfer_fee VARCHAR, status VARCHAR)
###human: Name the moving to with a transfer fee of free with a transfer status for rodri
###assistant: SELECT moving_to FROM table_name_24 WHERE transfer_fee = "free" AND status = "transfer" AND name = "rodri" |
###context:CREATE TABLE table_name_23 (date VARCHAR, venue VARCHAR)
###human: When was the game played at the Western Oval venue?
###assistant: SELECT date FROM table_name_23 WHERE venue = "western oval" |
###context:CREATE TABLE table_name_33 (livery VARCHAR, serial_no VARCHAR)
###human: What is the livery of the locomotive with a serial number 83-1010?
###assistant: SELECT livery FROM table_name_33 WHERE serial_no = "83-1010" |
###context:CREATE TABLE table_name_86 (livery VARCHAR, serial_no VARCHAR)
###human: What is the livery on the locomotive with a serial number 83-1011?
###assistant: SELECT livery FROM table_name_86 WHERE serial_no = "83-1011" |
###context:CREATE TABLE table_name_74 (locomotive VARCHAR, gauge VARCHAR, serial_no VARCHAR)
###human: What is the locomotive with a standard gauge and a serial number of 83-1015?
###assistant: SELECT locomotive FROM table_name_74 WHERE gauge = "standard" AND serial_no = "83-1015" |
###context:CREATE TABLE table_name_76 (entered_service VARCHAR, gauge VARCHAR, serial_no VARCHAR)
###human: What is the date of entered service for the locomotive with a broad gauge and a serial no of 83-1018?
###assistant: SELECT entered_service FROM table_name_76 WHERE gauge = "broad" AND serial_no = "83-1018" |
###context:CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR)
###human: What was the venue on October 16, 1996?
###assistant: SELECT venue FROM table_name_13 WHERE date = "october 16, 1996" |
###context:CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
###human: What's the score at the October 30, 1996 1998 fifa world cup qualification with a result of win?
###assistant: SELECT score FROM table_name_58 WHERE result = "win" AND competition = "1998 fifa world cup qualification" AND date = "october 30, 1996" |
###context:CREATE TABLE table_name_37 (date VARCHAR, competition VARCHAR)
###human: When was the friendship cup?
###assistant: SELECT date FROM table_name_37 WHERE competition = "friendship cup" |
###context:CREATE TABLE table_name_88 (cars_per_set INTEGER, year_built VARCHAR, number VARCHAR)
###human: What is the smallest number for Cars per Set built in 1977-1979 larger than 32?
###assistant: SELECT MIN(cars_per_set) FROM table_name_88 WHERE year_built = "1977-1979" AND number > 32 |
###context:CREATE TABLE table_name_30 (number INTEGER, cars_per_set INTEGER)
###human: What is the largest number of cars per set that is less than 9?
###assistant: SELECT MAX(number) FROM table_name_30 WHERE cars_per_set < 9 |
###context:CREATE TABLE table_name_10 (year_built VARCHAR, class VARCHAR, number VARCHAR)
###human: What year was the class 253 larger than 18 built?
###assistant: SELECT year_built FROM table_name_10 WHERE class = "class 253" AND number > 18 |
###context:CREATE TABLE table_name_34 (margin VARCHAR, championship VARCHAR)
###human: What is the margin for the Masters Tournament (2) championship?
###assistant: SELECT margin FROM table_name_34 WHERE championship = "masters tournament (2)" |
###context:CREATE TABLE table_name_33 (runner_s__up VARCHAR)
###human: What is the round of 54 holes in which Phil Mickelson was the runner-up?
###assistant: SELECT 54 AS _holes FROM table_name_33 WHERE runner_s__up = "phil mickelson" |
###context:CREATE TABLE table_name_27 (home VARCHAR, date VARCHAR)
###human: What is the home team of the April 14 game?
###assistant: SELECT home FROM table_name_27 WHERE date = "april 14" |
###context:CREATE TABLE table_name_23 (date VARCHAR, visitor VARCHAR)
###human: What is the date of the game with Detroit as the visitor team?
###assistant: SELECT date FROM table_name_23 WHERE visitor = "detroit" |
###context:CREATE TABLE table_name_73 (viewers__m_ VARCHAR, rank___number_ VARCHAR, share VARCHAR, rating VARCHAR)
###human: How many vieweres for the episode with a share of 1, a Rating larger than 0.7000000000000001, and a Rank (#) of 100/102?
###assistant: SELECT viewers__m_ FROM table_name_73 WHERE share = 1 AND rating > 0.7000000000000001 AND rank___number_ = "100/102" |
###context:CREATE TABLE table_name_68 (lead_tpt VARCHAR, bass VARCHAR, alto_1 VARCHAR)
###human: Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett
###assistant: SELECT lead_tpt FROM table_name_68 WHERE bass = "kevin tomanka" AND alto_1 = "alan moffett" |
###context:CREATE TABLE table_name_86 (crowd VARCHAR, venue VARCHAR)
###human: What was the crowd size at the moorabbin oval venue?
###assistant: SELECT COUNT(crowd) FROM table_name_86 WHERE venue = "moorabbin oval" |
###context:CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR)
###human: What did the home team score against the away team collingwood?
###assistant: SELECT home_team AS score FROM table_name_28 WHERE away_team = "collingwood" |
###context:CREATE TABLE table_name_10 (amino_acid VARCHAR)
###human: what is the 1-letter for the amino acid asparagine?
###assistant: SELECT 1 AS _letter FROM table_name_10 WHERE amino_acid = "asparagine" |
###context:CREATE TABLE table_name_40 (away_team VARCHAR, home_team VARCHAR)
###human: What was home team North Melbourne's opponents score?
###assistant: SELECT away_team AS score FROM table_name_40 WHERE home_team = "north melbourne" |
###context:CREATE TABLE table_name_16 (home_team VARCHAR)
###human: What was Melbourne's score as the home team?
###assistant: SELECT home_team AS score FROM table_name_16 WHERE home_team = "melbourne" |
###context:CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR)
###human: Who was the away team at Junction Oval?
###assistant: SELECT away_team FROM table_name_63 WHERE venue = "junction oval" |
###context:CREATE TABLE table_name_67 (usca VARCHAR, rthk VARCHAR, mrhma VARCHAR, total VARCHAR, joint_music_award VARCHAR)
###human: What is the USCA that's Total is smaller than 14, with 1 Joint Music Award, MRHMA of 2, and RTHK of 3?
###assistant: SELECT usca FROM table_name_67 WHERE total < 14 AND joint_music_award = "1" AND mrhma = "2" AND rthk = "3" |
###context:CREATE TABLE table_name_99 (total VARCHAR, usca VARCHAR, joint_music_award VARCHAR, rthk VARCHAR)
###human: What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?
###assistant: SELECT total FROM table_name_99 WHERE joint_music_award = "1" AND rthk = "4" AND usca = "4" |
###context:CREATE TABLE table_name_81 (joint_music_award VARCHAR, year VARCHAR, rthk VARCHAR)
###human: How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?
###assistant: SELECT joint_music_award FROM table_name_81 WHERE year < 2006 AND rthk = "1" |
###context:CREATE TABLE table_name_32 (joint_music_award VARCHAR, total VARCHAR, year VARCHAR)
###human: How many Joint Music Awards are there when the Total is larger than 18, in a Year after 2007?
###assistant: SELECT joint_music_award FROM table_name_32 WHERE total > 18 AND year > 2007 |
###context:CREATE TABLE table_name_47 (lane INTEGER, semi VARCHAR)
###human: Which lane did the athlete swim in who had a semi-final time of 49.19?
###assistant: SELECT MIN(lane) FROM table_name_47 WHERE semi = 49.19 |
###context:CREATE TABLE table_name_70 (species VARCHAR, gender VARCHAR)
###human: Which species is male?
###assistant: SELECT species FROM table_name_70 WHERE gender = "male" |
###context:CREATE TABLE table_name_71 (home_team VARCHAR, venue VARCHAR)
###human: What was the home teams score at Junction Oval?
###assistant: SELECT home_team AS score FROM table_name_71 WHERE venue = "junction oval" |
###context:CREATE TABLE table_name_6 (president VARCHAR, presidency INTEGER)
###human: What President has a Presidency greater than 7?
###assistant: SELECT president FROM table_name_6 WHERE presidency > 7 |
###context:CREATE TABLE table_name_8 (presidency INTEGER, left_office VARCHAR, took_office VARCHAR)
###human: What is the highest Presidency that Took Office after 1974 and Left Office in 1998?
###assistant: SELECT MAX(presidency) FROM table_name_8 WHERE left_office = "1998" AND took_office > 1974 |
###context:CREATE TABLE table_name_42 (took_office INTEGER, left_office VARCHAR)
###human: What is the Took Office Date of the Presidency that Left Office Incumbent?
###assistant: SELECT SUM(took_office) FROM table_name_42 WHERE left_office = "incumbent" |
###context:CREATE TABLE table_name_22 (took_office INTEGER, left_office VARCHAR)
###human: What was the greatest Took Office dates that Left Office in 1998?
###assistant: SELECT MAX(took_office) FROM table_name_22 WHERE left_office = "1998" |
###context:CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR)
###human: What is the average Laps for andrea de cesaris?
###assistant: SELECT AVG(laps) FROM table_name_76 WHERE driver = "andrea de cesaris" |
###context:CREATE TABLE table_name_81 (grid INTEGER, laps VARCHAR, driver VARCHAR)
###human: What is the lowest Grid for jj lehto with over 51 laps?
###assistant: SELECT MIN(grid) FROM table_name_81 WHERE laps > 51 AND driver = "jj lehto" |
###context:CREATE TABLE table_name_83 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
###human: What is the average Grid that has a Time/Retired of +2 laps, and under 51 laps?
###assistant: SELECT AVG(grid) FROM table_name_83 WHERE time_retired = "+2 laps" AND laps < 51 |
###context:CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR)
###human: What's the Home teams Venue near Victoria Park?
###assistant: SELECT home_team FROM table_name_48 WHERE venue = "victoria park" |
###context:CREATE TABLE table_name_33 (crowd VARCHAR, home_team VARCHAR)
###human: What is the Home team with a crowd relevant to footscray?
###assistant: SELECT crowd FROM table_name_33 WHERE home_team = "footscray" |
###context:CREATE TABLE table_name_91 (record VARCHAR, home VARCHAR)
###human: What is the team's record when they play nashville at home?
###assistant: SELECT record FROM table_name_91 WHERE home = "nashville" |
###context:CREATE TABLE table_name_22 (decision VARCHAR, visitor VARCHAR)
###human: What is the decision when they're at phoenix?
###assistant: SELECT decision FROM table_name_22 WHERE visitor = "phoenix" |
###context:CREATE TABLE table_name_66 (score VARCHAR, tournament VARCHAR)
###human: What was the score in the Tournament of Frankfurt?
###assistant: SELECT score FROM table_name_66 WHERE tournament = "frankfurt" |
###context:CREATE TABLE table_name_56 (winner VARCHAR, tournament VARCHAR)
###human: Who was the winner in the Tournament of Graz-Seiersberg?
###assistant: SELECT winner FROM table_name_56 WHERE tournament = "graz-seiersberg" |
###context:CREATE TABLE table_name_68 (third_place VARCHAR, winner VARCHAR)
###human: Who earned third place when the winner was Paul Haarhuis?
###assistant: SELECT third_place FROM table_name_68 WHERE winner = "paul haarhuis" |
###context:CREATE TABLE table_name_35 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
###human: what is the most laps with the time/retired is differential and the grid is more than 2?
###assistant: SELECT MAX(laps) FROM table_name_35 WHERE time_retired = "differential" AND grid > 2 |
###context:CREATE TABLE table_name_94 (laps INTEGER, grid VARCHAR)
###human: what is the least laps when the grid is 5?
###assistant: SELECT MIN(laps) FROM table_name_94 WHERE grid = 5 |
###context:CREATE TABLE table_name_8 (deleted VARCHAR, name VARCHAR)
###human: On what date was Anniston Army Depot (SE Industrial Area) deleted?
###assistant: SELECT deleted FROM table_name_8 WHERE name = "anniston army depot (se industrial area)" |
###context:CREATE TABLE table_name_68 (county VARCHAR, listed VARCHAR, construction_completed VARCHAR)
###human: In what county is the entry that has a Construction Completed date of 07/19/2000 and a Listed date of 09/21/1984 located?
###assistant: SELECT county FROM table_name_68 WHERE listed = "09/21/1984" AND construction_completed = "07/19/2000" |
###context:CREATE TABLE table_name_35 (deleted VARCHAR, listed VARCHAR, name VARCHAR)
###human: On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted?
###assistant: SELECT deleted FROM table_name_35 WHERE listed = "09/21/1984" AND name = "stauffer chemical company (lemoyne plant)" |
###context:CREATE TABLE table_name_56 (proposed VARCHAR, cerclis_id VARCHAR)
###human: What was the Proposed date of the entry that has a CERCLIS ID of al0001058056?
###assistant: SELECT proposed FROM table_name_56 WHERE cerclis_id = "al0001058056" |
###context:CREATE TABLE table_name_60 (first_appearance VARCHAR, year VARCHAR, name VARCHAR)
###human: What first appeared in 1966 in the comic X-2-Y?
###assistant: SELECT first_appearance FROM table_name_60 WHERE year = 1966 AND name = "x-2-y" |
###context:CREATE TABLE table_name_75 (team VARCHAR, sport VARCHAR, class VARCHAR)
###human: Which baseball team is class AAA?
###assistant: SELECT team FROM table_name_75 WHERE sport = "baseball" AND class = "aaa" |
###context:CREATE TABLE table_name_55 (venue VARCHAR, away_team VARCHAR)
###human: Where does Collingwood play their games?
###assistant: SELECT venue FROM table_name_55 WHERE away_team = "collingwood" |
###context:CREATE TABLE table_name_20 (position VARCHAR, player VARCHAR)
###human: Which position does Robert Nkemdiche play?
###assistant: SELECT position FROM table_name_20 WHERE player = "robert nkemdiche" |
###context:CREATE TABLE table_name_59 (college VARCHAR, player VARCHAR)
###human: What is Reuben Foster's college?
###assistant: SELECT college FROM table_name_59 WHERE player = "reuben foster" |
###context:CREATE TABLE table_name_68 (position VARCHAR, hometown VARCHAR)
###human: Which position does the player from Muscle Shoals, Alabama play?
###assistant: SELECT position FROM table_name_68 WHERE hometown = "muscle shoals, alabama" |
###context:CREATE TABLE table_name_43 (player VARCHAR, college VARCHAR)
###human: Which player is attending college at Virginia?
###assistant: SELECT player FROM table_name_43 WHERE college = "virginia" |
###context:CREATE TABLE table_name_94 (player VARCHAR, school VARCHAR)
###human: Which player attended Hoover High School?
###assistant: SELECT player FROM table_name_94 WHERE school = "hoover high school" |
###context:CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR, date VARCHAR)
###human: What is the team's record on may 12 when they play the giants?
###assistant: SELECT record FROM table_name_58 WHERE opponent = "giants" AND date = "may 12" |
###context:CREATE TABLE table_name_32 (attendance VARCHAR, visitor VARCHAR, date VARCHAR)
###human: What is the attendance at the game where San Jose was the visitor on May 4?
###assistant: SELECT attendance FROM table_name_32 WHERE visitor = "san jose" AND date = "may 4" |
###context:CREATE TABLE table_name_30 (home VARCHAR, date VARCHAR)
###human: Who was the home team on the May 2 game?
###assistant: SELECT home FROM table_name_30 WHERE date = "may 2" |
###context:CREATE TABLE table_name_56 (date VARCHAR, crowd INTEGER)
###human: What date is the crowd larger than 20,000?
###assistant: SELECT date FROM table_name_56 WHERE crowd > 20 OFFSET 000 |
###context:CREATE TABLE table_name_85 (record VARCHAR, score VARCHAR)
###human: What was the record when the score was 11-10?
###assistant: SELECT record FROM table_name_85 WHERE score = "11-10" |
###context:CREATE TABLE table_name_9 (record VARCHAR, attendance VARCHAR)
###human: What was the record when the attendance was 22,713?
###assistant: SELECT record FROM table_name_9 WHERE attendance = "22,713" |
###context:CREATE TABLE table_name_14 (attendance VARCHAR, record VARCHAR)
###human: What was the attendance at the game when the record was 49-61?
###assistant: SELECT attendance FROM table_name_14 WHERE record = "49-61" |
###context:CREATE TABLE table_name_24 (date VARCHAR, opponent VARCHAR, attendance VARCHAR)
###human: On what date was there a game in which the opponent was the Detroit Tigers, and the attendance was 38,639?
###assistant: SELECT date FROM table_name_24 WHERE opponent = "detroit tigers" AND attendance = "38,639" |
###context:CREATE TABLE table_name_78 (software VARCHAR, cost___usd__ VARCHAR, latest_stable_date__version_ VARCHAR)
###human: What is the free sotware with the latest stable date version of 1.1?
###assistant: SELECT software FROM table_name_78 WHERE cost___usd__ = "free" AND latest_stable_date__version_ = "1.1" |
###context:CREATE TABLE table_name_87 (software VARCHAR, latest_stable_date__version_ VARCHAR)
###human: Name the software with the latest stable date of 0.6.1
###assistant: SELECT software FROM table_name_87 WHERE latest_stable_date__version_ = "0.6.1" |
###context:CREATE TABLE table_name_48 (cost___usd__ VARCHAR, latest_stable_date__version_ VARCHAR)
###human: Name the cost for latest stable date of online
###assistant: SELECT cost___usd__ FROM table_name_48 WHERE latest_stable_date__version_ = "online" |
###context:CREATE TABLE table_name_83 (birth_place VARCHAR, monarchs_served VARCHAR, entered_office VARCHAR)
###human: What is the birth place of the prime minister who served George V and entered office on 23 October 1922?
###assistant: SELECT birth_place FROM table_name_83 WHERE monarchs_served = "george v" AND entered_office = "23 october 1922" |
###context:CREATE TABLE table_name_5 (political_party VARCHAR, monarchs_served VARCHAR, birth_place VARCHAR)
###human: To which political party did the prime minister who served under George V and was born in Manchester belong?
###assistant: SELECT political_party FROM table_name_5 WHERE monarchs_served = "george v" AND birth_place = "manchester" |
###context:CREATE TABLE table_name_49 (left_office VARCHAR, entered_office VARCHAR)
###human: What date did the prime minister who entered office on 7 December 1916 leave office?
###assistant: SELECT left_office FROM table_name_49 WHERE entered_office = "7 december 1916" |
###context:CREATE TABLE table_name_18 (monarchs_served VARCHAR, name VARCHAR)
###human: What monarch(s) did Stanley Baldwin (1st ministry) serve?
###assistant: SELECT monarchs_served FROM table_name_18 WHERE name = "stanley baldwin (1st ministry)" |
###context:CREATE TABLE table_name_60 (date VARCHAR, game_site VARCHAR)
###human: What is the date of the game played at rich stadium?
###assistant: SELECT date FROM table_name_60 WHERE game_site = "rich stadium" |
###context:CREATE TABLE table_name_38 (college VARCHAR, player VARCHAR)
###human: What college has Chito Victolero?
###assistant: SELECT college FROM table_name_38 WHERE player = "chito victolero" |
###context:CREATE TABLE table_name_43 (college VARCHAR, player VARCHAR)
###human: What college has Jojo Manalo?
###assistant: SELECT college FROM table_name_43 WHERE player = "jojo manalo" |
###context:CREATE TABLE table_name_52 (pick VARCHAR, college VARCHAR, pba_team VARCHAR)
###human: What is the pick number for the College of Perpetual help with the Coca-Cola Tigers as a PBA team?
###assistant: SELECT COUNT(pick) FROM table_name_52 WHERE college = "perpetual help" AND pba_team = "coca-cola tigers" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.