training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_4 (visitor VARCHAR, decision VARCHAR, record VARCHAR)
###human: Who was the visitor when ward recorded the decision with a record of 22–21–4?
###assistant: SELECT visitor FROM table_name_4 WHERE decision = "ward" AND record = "22–21–4" |
###context:CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)
###human: What is the score of the game when they had a record of 22–19–4?
###assistant: SELECT score FROM table_name_77 WHERE record = "22–19–4" |
###context:CREATE TABLE table_name_51 (album VARCHAR, number VARCHAR)
###human: What is the 1st week sales for the album finding forever before the number 6?
###assistant: SELECT SUM(1 AS st_week_sales) FROM table_name_51 WHERE album = "finding forever" AND number < 6 |
###context:CREATE TABLE table_name_60 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
###human: What is the sum number of grid where time/retired is 2:41:38.4 and laps were more than 40?
###assistant: SELECT COUNT(grid) FROM table_name_60 WHERE time_retired = "2:41:38.4" AND laps > 40 |
###context:CREATE TABLE table_name_14 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
###human: Which constructor had laps amounting to more than 21 where the driver was John Surtees?
###assistant: SELECT constructor FROM table_name_14 WHERE laps > 21 AND driver = "john surtees" |
###context:CREATE TABLE table_name_6 (laps INTEGER, driver VARCHAR, grid VARCHAR)
###human: How many laps did Jo Bonnier driver when the grid number was smaller than 11?
###assistant: SELECT SUM(laps) FROM table_name_6 WHERE driver = "jo bonnier" AND grid < 11 |
###context:CREATE TABLE table_name_53 (laps INTEGER, time_retired VARCHAR)
###human: How many laps were there when time/retired was gearbox?
###assistant: SELECT SUM(laps) FROM table_name_53 WHERE time_retired = "gearbox" |
###context:CREATE TABLE table_name_67 (attendance INTEGER, visitor VARCHAR)
###human: How many were in attendance at the game where the visiting team was the Jazz?
###assistant: SELECT SUM(attendance) FROM table_name_67 WHERE visitor = "jazz" |
###context:CREATE TABLE table_name_82 (opponent VARCHAR, attendance VARCHAR)
###human: Who did the Chiefs play at the game attended by 34,063?
###assistant: SELECT opponent FROM table_name_82 WHERE attendance = "34,063" |
###context:CREATE TABLE table_name_48 (week VARCHAR, attendance VARCHAR)
###human: Which week's game was attended by 33,057 people?
###assistant: SELECT week FROM table_name_48 WHERE attendance = "33,057" |
###context:CREATE TABLE table_name_84 (organisation VARCHAR, year VARCHAR, award VARCHAR)
###human: what is the organisation when the year is less than 2005 and the award is the best variety show host?
###assistant: SELECT organisation FROM table_name_84 WHERE year < 2005 AND award = "best variety show host" |
###context:CREATE TABLE table_name_79 (organisation VARCHAR, nominated_work_title VARCHAR, year VARCHAR)
###human: what is the organisation when the nominated work title is n/a in the year 2005?
###assistant: SELECT organisation FROM table_name_79 WHERE nominated_work_title = "n/a" AND year = 2005 |
###context:CREATE TABLE table_name_99 (year INTEGER, result VARCHAR, nominated_work_title VARCHAR)
###human: what is the lowest year with the result is nominated for the work title is love bites?
###assistant: SELECT MIN(year) FROM table_name_99 WHERE result = "nominated" AND nominated_work_title = "love bites" |
###context:CREATE TABLE table_name_98 (year VARCHAR, nominated_work_title VARCHAR, organisation VARCHAR, result VARCHAR)
###human: what is the year when then organisation is star awards, the result is won and the nominated work title is n/a?
###assistant: SELECT year FROM table_name_98 WHERE organisation = "star awards" AND result = "won" AND nominated_work_title = "n/a" |
###context:CREATE TABLE table_name_85 (year INTEGER, result VARCHAR, nominated_work_title VARCHAR)
###human: what is the latest year that has the result of nominated and the nominated work title is n/a?
###assistant: SELECT MAX(year) FROM table_name_85 WHERE result = "nominated" AND nominated_work_title = "n/a" |
###context:CREATE TABLE table_name_52 (nominated_work_title VARCHAR, year VARCHAR, award VARCHAR, result VARCHAR, organisation VARCHAR)
###human: what is the nominated work title when the result is won, the organisation is star awards and the award is top 10 most popular female artiste in the year 2007?
###assistant: SELECT nominated_work_title FROM table_name_52 WHERE result = "won" AND organisation = "star awards" AND award = "top 10 most popular female artiste" AND year > 2007 |
###context:CREATE TABLE table_name_47 (rank VARCHAR, gold VARCHAR, silver VARCHAR)
###human: What is the rank of the games that had 9 gold and 9 silvers?
###assistant: SELECT rank FROM table_name_47 WHERE gold = "9" AND silver = "9" |
###context:CREATE TABLE table_name_8 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
###human: How many golds were there in a game that has 17 bronze and a total of 31?
###assistant: SELECT gold FROM table_name_8 WHERE bronze = "17" AND total = "31" |
###context:CREATE TABLE table_name_61 (games VARCHAR, bronze VARCHAR, gold VARCHAR)
###human: Which game had 8 bronze and 4 gold?
###assistant: SELECT games FROM table_name_61 WHERE bronze = "8" AND gold = "4" |
###context:CREATE TABLE table_name_91 (date VARCHAR, visitor VARCHAR)
###human: When did San Jose visit the St. Louis?
###assistant: SELECT date FROM table_name_91 WHERE visitor = "san jose" |
###context:CREATE TABLE table_name_12 (wins INTEGER, latest_win VARCHAR, rank VARCHAR)
###human: How many total wins with the latest win at the 1999 Italian Grand Prix at a rank of 15?
###assistant: SELECT SUM(wins) FROM table_name_12 WHERE latest_win = "1999 italian grand prix" AND rank > 15 |
###context:CREATE TABLE table_name_46 (wins INTEGER, rank VARCHAR, first_win VARCHAR)
###human: What is the rank 6 lowest win who's first win was at the 1950 British Grand Prix?
###assistant: SELECT MIN(wins) FROM table_name_46 WHERE rank > 6 AND first_win = "1950 british grand prix" |
###context:CREATE TABLE table_name_47 (wins VARCHAR, rank VARCHAR, latest_win VARCHAR)
###human: What is the rank 16 wins with the latest win at the 1967 Belgian Grand Prix?
###assistant: SELECT wins FROM table_name_47 WHERE rank > 16 AND latest_win = "1967 belgian grand prix" |
###context:CREATE TABLE table_name_99 (pick INTEGER, position VARCHAR, school VARCHAR)
###human: What's the lowest pick for a defensive back at Drake?
###assistant: SELECT MIN(pick) FROM table_name_99 WHERE position = "defensive back" AND school = "drake" |
###context:CREATE TABLE table_name_11 (pick INTEGER, player VARCHAR)
###human: What's terry jones' lowest pick?
###assistant: SELECT MIN(pick) FROM table_name_11 WHERE player = "terry jones" |
###context:CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR)
###human: What position does gerald carter play?
###assistant: SELECT position FROM table_name_52 WHERE player = "gerald carter" |
###context:CREATE TABLE table_name_44 (player VARCHAR, position VARCHAR, school VARCHAR)
###human: Who is the guard for Wisconsin?
###assistant: SELECT player FROM table_name_44 WHERE position = "guard" AND school = "wisconsin" |
###context:CREATE TABLE table_name_31 (player VARCHAR, nationality VARCHAR, pick VARCHAR)
###human: Which player is Pick 33 and has a Nationality of USA?
###assistant: SELECT player FROM table_name_31 WHERE nationality = "usa" AND pick = 33 |
###context:CREATE TABLE table_name_94 (nationality VARCHAR, pick VARCHAR, school_club_team VARCHAR)
###human: What is the nationality of the player who has a pick lower than 33 and a School/Club Team of Vanderbilt?
###assistant: SELECT nationality FROM table_name_94 WHERE pick < 33 AND school_club_team = "vanderbilt" |
###context:CREATE TABLE table_name_15 (nationality VARCHAR, nba_team VARCHAR, pick VARCHAR)
###human: What is the nationality of the player who had the pick of 52 and plays for the NBA team of Phoenix Suns?
###assistant: SELECT nationality FROM table_name_15 WHERE nba_team = "phoenix suns" AND pick = 52 |
###context:CREATE TABLE table_name_61 (league_apps VARCHAR, fa_cup_apps VARCHAR, flt_apps VARCHAR)
###human: How many leage apperances for the player with one FA cup, and a FLT Apps of 0 (1)?
###assistant: SELECT league_apps FROM table_name_61 WHERE fa_cup_apps = "1" AND flt_apps = "0 (1)" |
###context:CREATE TABLE table_name_53 (date VARCHAR, away_team VARCHAR)
###human: What day did St Kilda play as the away team?
###assistant: SELECT date FROM table_name_53 WHERE away_team = "st kilda" |
###context:CREATE TABLE table_name_12 (Id VARCHAR)
###human: What's the value for 2007 when 2011 is a and 2009 is q2?
###assistant: SELECT 2007 FROM table_name_12 WHERE 2011 = "a" AND 2009 = "q2" |
###context:CREATE TABLE table_name_67 (league_goals INTEGER, total_goals VARCHAR, fa_cup_goals VARCHAR)
###human: Tell me the highest league goals with total goals less than 1 and FA cups more than 0
###assistant: SELECT MAX(league_goals) FROM table_name_67 WHERE total_goals < 1 AND fa_cup_goals > 0 |
###context:CREATE TABLE table_name_59 (fa_cup_goals INTEGER, name VARCHAR, total_goals VARCHAR)
###human: I want to know the sum of fa cup goals for david mirfin and total goals less than 1
###assistant: SELECT SUM(fa_cup_goals) FROM table_name_59 WHERE name = "david mirfin" AND total_goals < 1 |
###context:CREATE TABLE table_name_35 (league_apps VARCHAR, fa_cup_apps VARCHAR, league_goals VARCHAR, position VARCHAR)
###human: Tell me the league apps with league goals less than 2 and position of df and FA cup apps of 5
###assistant: SELECT league_apps FROM table_name_35 WHERE league_goals < 2 AND position = "df" AND fa_cup_apps = "5" |
###context:CREATE TABLE table_name_75 (video VARCHAR, channel VARCHAR)
###human: What is the video ratio on channel 14.2?
###assistant: SELECT video FROM table_name_75 WHERE channel = 14.2 |
###context:CREATE TABLE table_name_80 (network VARCHAR, aspect VARCHAR, psip_short_name VARCHAR)
###human: What network has an aspect of 4:3 and a PSIP Short Name of qvc?
###assistant: SELECT network FROM table_name_80 WHERE aspect = "4:3" AND psip_short_name = "qvc" |
###context:CREATE TABLE table_name_58 (psip_short_name VARCHAR, network VARCHAR)
###human: What is ion life network's PSIP Short Name?
###assistant: SELECT psip_short_name FROM table_name_58 WHERE network = "ion life" |
###context:CREATE TABLE table_name_65 (channel INTEGER, network VARCHAR)
###human: What is the sum of channels for qubo network?
###assistant: SELECT SUM(channel) FROM table_name_65 WHERE network = "qubo" |
###context:CREATE TABLE table_name_34 (deaths VARCHAR, name VARCHAR)
###human: How many deaths did eseta cause?
###assistant: SELECT deaths FROM table_name_34 WHERE name = "eseta" |
###context:CREATE TABLE table_name_65 (date VARCHAR, away_team VARCHAR)
###human: What was the date when the away team was Carlton?
###assistant: SELECT date FROM table_name_65 WHERE away_team = "carlton" |
###context:CREATE TABLE table_name_44 (date VARCHAR, home_team VARCHAR)
###human: When the home team was hawthorn, what was the date?
###assistant: SELECT date FROM table_name_44 WHERE home_team = "hawthorn" |
###context:CREATE TABLE table_name_91 (away_team VARCHAR)
###human: What did Geelong score as the away team?
###assistant: SELECT away_team AS score FROM table_name_91 WHERE away_team = "geelong" |
###context:CREATE TABLE table_name_85 (date VARCHAR, home_team VARCHAR)
###human: What date did the home team of footscray play?
###assistant: SELECT date FROM table_name_85 WHERE home_team = "footscray" |
###context:CREATE TABLE table_name_72 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR)
###human: Name the club team for overall of 188 for canada
###assistant: SELECT club_team FROM table_name_72 WHERE nationality = "canada" AND overall = 188 |
###context:CREATE TABLE table_name_66 (nationality VARCHAR, overall VARCHAR)
###human: Name the nationality of the player with an overall of 74
###assistant: SELECT nationality FROM table_name_66 WHERE overall = 74 |
###context:CREATE TABLE table_name_27 (aug_2013 INTEGER, jun_2011 VARCHAR, nov_2011 VARCHAR, jul_2012 VARCHAR)
###human: What is the highest Aug 2013 with a Nov 2011 smaller than 968, and a Jul 2012 with 31, and a Jun 2011 larger than 30?
###assistant: SELECT MAX(aug_2013) FROM table_name_27 WHERE nov_2011 < 968 AND jul_2012 = 31 AND jun_2011 > 30 |
###context:CREATE TABLE table_name_76 (apr_2013 INTEGER, jun_2011 INTEGER)
###human: What is the average Apr 2013 with a Jun 2011 less than 14?
###assistant: SELECT AVG(apr_2013) FROM table_name_76 WHERE jun_2011 < 14 |
###context:CREATE TABLE table_name_31 (feb_2013 INTEGER, feb_2010 VARCHAR, nov_2012 VARCHAR)
###human: What is the average Feb 2013 with a Feb 2010 with 37, and a Nov 2012 less than 32?
###assistant: SELECT AVG(feb_2013) FROM table_name_31 WHERE feb_2010 = "37" AND nov_2012 < 32 |
###context:CREATE TABLE table_name_19 (nov_2012 VARCHAR, jun_2013 VARCHAR, aug_2011 VARCHAR)
###human: What is the total number with Nov 2012 with a Jun 2013 larger than 542, and a Aug 2011 more than 935?
###assistant: SELECT COUNT(nov_2012) FROM table_name_19 WHERE jun_2013 > 542 AND aug_2011 > 935 |
###context:CREATE TABLE table_name_71 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
###human: What's the total grid for a Time/Retired of +1:03.741, and Laps larger than 44?
###assistant: SELECT COUNT(grid) FROM table_name_71 WHERE time_retired = "+1:03.741" AND laps > 44 |
###context:CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR)
###human: What did the home team at Brunswick Street Oval score?
###assistant: SELECT home_team AS score FROM table_name_89 WHERE venue = "brunswick street oval" |
###context:CREATE TABLE table_name_35 (high_rebounds VARCHAR, high_assists VARCHAR)
###human: Who had the highest rebounds of the game with A. Johnson (6) as the highest assist?
###assistant: SELECT high_rebounds FROM table_name_35 WHERE high_assists = "a. johnson (6)" |
###context:CREATE TABLE table_name_55 (high_rebounds VARCHAR, high_assists VARCHAR)
###human: Who had the highest rebounds of the game with A. Johnson (14) as the highest assists?
###assistant: SELECT high_rebounds FROM table_name_55 WHERE high_assists = "a. johnson (14)" |
###context:CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
###human: Who was the opponent on August 30?
###assistant: SELECT opponent FROM table_name_16 WHERE date = "august 30" |
###context:CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR)
###human: What was the score on August 8?
###assistant: SELECT score FROM table_name_82 WHERE date = "august 8" |
###context:CREATE TABLE table_name_52 (pick VARCHAR, player VARCHAR)
###human: How many picks included Kenny Evans?
###assistant: SELECT COUNT(pick) FROM table_name_52 WHERE player = "kenny evans" |
###context:CREATE TABLE table_name_95 (pick VARCHAR, college VARCHAR)
###human: How many picks went to College of Letran?
###assistant: SELECT COUNT(pick) FROM table_name_95 WHERE college = "letran" |
###context:CREATE TABLE table_name_5 (player VARCHAR, pba_team VARCHAR)
###human: Which player has a PBA team of Red Bull Thunder?
###assistant: SELECT player FROM table_name_5 WHERE pba_team = "red bull thunder" |
###context:CREATE TABLE table_name_98 (event VARCHAR, year VARCHAR, result VARCHAR)
###human: In which event did he place 6th in 1971?
###assistant: SELECT event FROM table_name_98 WHERE year = 1971 AND result = "6th" |
###context:CREATE TABLE table_name_3 (year INTEGER, result VARCHAR, venue VARCHAR)
###human: When was the first year he placed 2nd in Izmir, Turkey?
###assistant: SELECT MIN(year) FROM table_name_3 WHERE result = "2nd" AND venue = "izmir, turkey" |
###context:CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR)
###human: How did he place in 1970?
###assistant: SELECT result FROM table_name_58 WHERE year = 1970 |
###context:CREATE TABLE table_name_83 (attendance VARCHAR, date VARCHAR)
###human: How many were in Attendance on the Date May 29?
###assistant: SELECT COUNT(attendance) FROM table_name_83 WHERE date = "may 29" |
###context:CREATE TABLE table_name_15 (record VARCHAR, date VARCHAR)
###human: What was the Record on the Date May 8?
###assistant: SELECT record FROM table_name_15 WHERE date = "may 8" |
###context:CREATE TABLE table_name_16 (home VARCHAR, date VARCHAR)
###human: Who was the home team at the game played on April 14, 2008?
###assistant: SELECT home FROM table_name_16 WHERE date = "april 14, 2008" |
###context:CREATE TABLE table_name_51 (votes VARCHAR, notes VARCHAR)
###human: How many votes were cast when the notes reported lost to incumbent vic gilliam?
###assistant: SELECT votes FROM table_name_51 WHERE notes = "lost to incumbent vic gilliam" |
###context:CREATE TABLE table_name_57 (candidate VARCHAR, race VARCHAR)
###human: Who is the candidate in Race for State representative, hd18?
###assistant: SELECT candidate FROM table_name_57 WHERE race = "state representative, hd18" |
###context:CREATE TABLE table_name_27 (club_province VARCHAR, caps VARCHAR, position VARCHAR)
###human: What club/province does the prop player with over 45 caps play for?
###assistant: SELECT club_province FROM table_name_27 WHERE caps > 45 AND position = "prop" |
###context:CREATE TABLE table_name_46 (opponent VARCHAR, arena VARCHAR)
###human: Who was the opponent at the Staples Center?
###assistant: SELECT opponent FROM table_name_46 WHERE arena = "staples center" |
###context:CREATE TABLE table_name_33 (arena VARCHAR, opponent VARCHAR)
###human: In what arena was the game against the Sharks played?
###assistant: SELECT arena FROM table_name_33 WHERE opponent = "sharks" |
###context:CREATE TABLE table_name_86 (label VARCHAR, format VARCHAR)
###human: What is the label with the LP format?
###assistant: SELECT label FROM table_name_86 WHERE format = "lp" |
###context:CREATE TABLE table_name_99 (date VARCHAR, label VARCHAR, format VARCHAR)
###human: What date had a 4ad label and a CD (reissue) format?
###assistant: SELECT date FROM table_name_99 WHERE label = "4ad" AND format = "cd (reissue)" |
###context:CREATE TABLE table_name_66 (country VARCHAR, catalogue__number VARCHAR)
###human: Which country had a cad 4011 catalogue #?
###assistant: SELECT country FROM table_name_66 WHERE catalogue__number = "cad 4011" |
###context:CREATE TABLE table_name_66 (date VARCHAR, country VARCHAR)
###human: Which date was for Japan?
###assistant: SELECT date FROM table_name_66 WHERE country = "japan" |
###context:CREATE TABLE table_name_88 (label VARCHAR, country VARCHAR)
###human: What is the label on the United States?
###assistant: SELECT label FROM table_name_88 WHERE country = "united states" |
###context:CREATE TABLE table_name_37 (date VARCHAR, catalogue__number VARCHAR)
###human: What is the date with the catalogue # cocy-80093?
###assistant: SELECT date FROM table_name_37 WHERE catalogue__number = "cocy-80093" |
###context:CREATE TABLE table_name_72 (category VARCHAR, nomination VARCHAR)
###human: What category was danson tang nominated?
###assistant: SELECT category FROM table_name_72 WHERE nomination = "danson tang" |
###context:CREATE TABLE table_name_52 (year INTEGER, category VARCHAR)
###human: What was the total number of years than had best improved singer (躍進歌手)?
###assistant: SELECT SUM(year) FROM table_name_52 WHERE category = "best improved singer (躍進歌手)" |
###context:CREATE TABLE table_name_49 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
###human: Who constructed the car with a grid over 19 that retired due to suspension?
###assistant: SELECT constructor FROM table_name_49 WHERE grid > 19 AND time_retired = "suspension" |
###context:CREATE TABLE table_name_79 (driver VARCHAR, grid VARCHAR)
###human: What driver has a 9 grid total?
###assistant: SELECT driver FROM table_name_79 WHERE grid = 9 |
###context:CREATE TABLE table_name_48 (chassis VARCHAR, season VARCHAR)
###human: What was the winning car's chassis for the 1982 season?
###assistant: SELECT chassis FROM table_name_48 WHERE season = "1982" |
###context:CREATE TABLE table_name_8 (team VARCHAR, chassis VARCHAR, champion VARCHAR)
###human: Which team, with champion Bastian Kolmsee, used a Dallara f302 for the chassis?
###assistant: SELECT team FROM table_name_8 WHERE chassis = "dallara f302" AND champion = "bastian kolmsee" |
###context:CREATE TABLE table_name_4 (chassis VARCHAR, engine VARCHAR, season VARCHAR)
###human: What chassis was the car with the Volkswagen engine built on in 2010?
###assistant: SELECT chassis FROM table_name_4 WHERE engine = "volkswagen" AND season = "2010" |
###context:CREATE TABLE table_name_86 (engine VARCHAR, team VARCHAR)
###human: Which engine did Korten Motorsport use?
###assistant: SELECT engine FROM table_name_86 WHERE team = "korten motorsport" |
###context:CREATE TABLE table_name_28 (champion VARCHAR, engine VARCHAR, season VARCHAR)
###human: Who was the champion that drove the car with the Ford engine in 1971?
###assistant: SELECT champion FROM table_name_28 WHERE engine = "ford" AND season = "1971" |
###context:CREATE TABLE table_name_40 (season VARCHAR, team VARCHAR, champion VARCHAR)
###human: In which season did Jimmy Eriksson win the championship for Team Lotus?
###assistant: SELECT season FROM table_name_40 WHERE team = "lotus" AND champion = "jimmy eriksson" |
###context:CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR)
###human: Which name had 6 goals?
###assistant: SELECT name FROM table_name_49 WHERE goals = 6 |
###context:CREATE TABLE table_name_50 (goals INTEGER, transfer_fee VARCHAR)
###human: What is the largest goal number when the transfer fee was £0.8m?
###assistant: SELECT MAX(goals) FROM table_name_50 WHERE transfer_fee = "£0.8m" |
###context:CREATE TABLE table_name_61 (location VARCHAR, leagues VARCHAR)
###human: What is the location of a1 women's - handball?
###assistant: SELECT location FROM table_name_61 WHERE leagues = "a1 women's - handball" |
###context:CREATE TABLE table_name_8 (capacity VARCHAR, venue VARCHAR, established VARCHAR)
###human: What is the capacity at the nop aquatic centre, established after 1929?
###assistant: SELECT COUNT(capacity) FROM table_name_8 WHERE venue = "nop aquatic centre" AND established > 1929 |
###context:CREATE TABLE table_name_93 (capacity VARCHAR, leagues VARCHAR)
###human: What is the capacity for b national - basketball?
###assistant: SELECT COUNT(capacity) FROM table_name_93 WHERE leagues = "b national - basketball" |
###context:CREATE TABLE table_name_47 (week VARCHAR, opponent VARCHAR)
###human: What game week did the Buccaneers play against the Minnesota Vikings?
###assistant: SELECT week FROM table_name_47 WHERE opponent = "minnesota vikings" |
###context:CREATE TABLE table_name_67 (week VARCHAR, record VARCHAR)
###human: What game week did the buccaneers have a record of 0-5?
###assistant: SELECT week FROM table_name_67 WHERE record = "0-5" |
###context:CREATE TABLE table_name_9 (record VARCHAR, date VARCHAR)
###human: What is the record of the buccaneers on December 4, 1983?
###assistant: SELECT record FROM table_name_9 WHERE date = "december 4, 1983" |
###context:CREATE TABLE table_name_5 (attendance INTEGER, visitor VARCHAR)
###human: What was the attendance at the game against Ottawa?
###assistant: SELECT AVG(attendance) FROM table_name_5 WHERE visitor = "ottawa" |
###context:CREATE TABLE table_name_83 (attendance INTEGER, home VARCHAR)
###human: What was the highest attendance at a Detroit home game?
###assistant: SELECT MAX(attendance) FROM table_name_83 WHERE home = "detroit" |
###context:CREATE TABLE table_name_46 (attendance INTEGER, home VARCHAR, visitor VARCHAR)
###human: What was the attendance of the Florida vs. Montreal game?
###assistant: SELECT AVG(attendance) FROM table_name_46 WHERE home = "florida" AND visitor = "montreal" |
###context:CREATE TABLE table_name_75 (condition VARCHAR, platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)
###human: I want to know the condition with Prothrombin time of unaffected and bleeding time of prolonged with partial thromboplastin time of unaffected with platelet count of decreased or unaffected
###assistant: SELECT condition FROM table_name_75 WHERE prothrombin_time = "unaffected" AND bleeding_time = "prolonged" AND partial_thromboplastin_time = "unaffected" AND platelet_count = "decreased or unaffected" |
###context:CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR)
###human: I want the condition that has a prolonged bleeding time and a platelet count of decreased or unaffected
###assistant: SELECT condition FROM table_name_41 WHERE bleeding_time = "prolonged" AND platelet_count = "decreased or unaffected" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.