training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR)
###human: Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13?
###assistant: SELECT main_contestant FROM table_name_11 WHERE status = "eliminated" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13 |
###context:CREATE TABLE table_name_27 (series_4 VARCHAR, seat VARCHAR)
###human: What shows for series 4 when the seat shows 1?
###assistant: SELECT series_4 FROM table_name_27 WHERE seat = 1 |
###context:CREATE TABLE table_name_81 (seat INTEGER, series_3 VARCHAR)
###human: What is the seat number when Series 3 shows Dana Bérová?
###assistant: SELECT AVG(seat) FROM table_name_81 WHERE series_3 = "dana bérová" |
###context:CREATE TABLE table_name_2 (partner VARCHAR, tournament VARCHAR)
###human: Who was the Partner in the Algiers 2, Algeria Tournament?
###assistant: SELECT partner FROM table_name_2 WHERE tournament = "algiers 2, algeria" |
###context:CREATE TABLE table_name_80 (opponents VARCHAR, partner VARCHAR)
###human: Who were the Opponents in the Match with Partner Rushmi Chakravarthi?
###assistant: SELECT opponents FROM table_name_80 WHERE partner = "rushmi chakravarthi" |
###context:CREATE TABLE table_name_27 (date VARCHAR, score VARCHAR)
###human: What is the Date of the Match with a Score of 6–4, 7–5?
###assistant: SELECT date FROM table_name_27 WHERE score = "6–4, 7–5" |
###context:CREATE TABLE table_name_83 (loses INTEGER, position VARCHAR, games_played VARCHAR)
###human: What is the fewest loses for the club that is below 8 in position, and had played less than 30 games?
###assistant: SELECT MIN(loses) FROM table_name_83 WHERE position < 8 AND games_played < 30 |
###context:CREATE TABLE table_name_54 (loses INTEGER, goals_scored VARCHAR, position VARCHAR, draws VARCHAR, goals_conceded VARCHAR)
###human: What is the loses total when there is less than 4 draws, less than 105 conceded goals, less than 38 goals scored, and the club is positioned greater than 2?
###assistant: SELECT SUM(loses) FROM table_name_54 WHERE draws < 4 AND goals_conceded < 105 AND position > 2 AND goals_scored < 38 |
###context:CREATE TABLE table_name_16 (goals_conceded INTEGER, draws VARCHAR, points VARCHAR, wins VARCHAR)
###human: How many total goals conceded are there when the points are greater than 58, less than 27 wins, and less than 1 draws?
###assistant: SELECT SUM(goals_conceded) FROM table_name_16 WHERE points > 58 AND wins < 27 AND draws < 1 |
###context:CREATE TABLE table_name_71 (goals_scored VARCHAR, games_played INTEGER)
###human: How many total goals scored when less than 30 games have been played?
###assistant: SELECT COUNT(goals_scored) FROM table_name_71 WHERE games_played < 30 |
###context:CREATE TABLE table_name_18 (goals_scored INTEGER, games_played INTEGER)
###human: When less than 30 games have been played what is the average goals scored?
###assistant: SELECT AVG(goals_scored) FROM table_name_18 WHERE games_played < 30 |
###context:CREATE TABLE table_name_76 (league_cup_apps VARCHAR, league_cup_goals INTEGER)
###human: What is the league cup app with league cup goals more than 0?
###assistant: SELECT league_cup_apps FROM table_name_76 WHERE league_cup_goals > 0 |
###context:CREATE TABLE table_name_60 (fa_cup_apps VARCHAR, league_cup_goals VARCHAR, total_apps VARCHAR)
###human: What is the fa cup apps with 0 league cup goals, and a total of 43 apps?
###assistant: SELECT fa_cup_apps FROM table_name_60 WHERE league_cup_goals = 0 AND total_apps = "43" |
###context:CREATE TABLE table_name_3 (flt_goals INTEGER, league_cup_apps VARCHAR, league_cup_goals VARCHAR, position VARCHAR)
###human: What is the highest FLT goals with 0 league cup goals, a GK position, and 2 league cup apps?
###assistant: SELECT MAX(flt_goals) FROM table_name_3 WHERE league_cup_goals = 0 AND position = "gk" AND league_cup_apps = "2" |
###context:CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)
###human: On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia?
###assistant: SELECT date FROM table_name_87 WHERE venue = "sam nujoma stadium, windhoek, namibia" |
###context:CREATE TABLE table_name_48 (third_place VARCHAR, fourth_placed VARCHAR, number_of_clubs VARCHAR, winners VARCHAR)
###human: Who was in third place when the Winner was Dalian Shide, Chongqing Longxin was 4th and 14 clubs?
###assistant: SELECT third_place FROM table_name_48 WHERE number_of_clubs = 14 AND winners = "dalian shide" AND fourth_placed = "chongqing longxin" |
###context:CREATE TABLE table_name_1 (season INTEGER, winners VARCHAR, fourth_placed VARCHAR)
###human: What season had Dalian Wanda as the winner with Yanbian Aodong winning 4th?
###assistant: SELECT SUM(season) FROM table_name_1 WHERE winners = "dalian wanda" AND fourth_placed = "yanbian aodong" |
###context:CREATE TABLE table_name_66 (number_of_clubs INTEGER, fourth_placed VARCHAR, season VARCHAR)
###human: What is the number of clubs before 2003 with a 4th place winner of Shenzhen Jianlibao?
###assistant: SELECT AVG(number_of_clubs) FROM table_name_66 WHERE fourth_placed = "shenzhen jianlibao" AND season < 2003 |
###context:CREATE TABLE table_name_35 (number_of_clubs INTEGER, winners VARCHAR, fourth_placed VARCHAR)
###human: What is the number of clubs when Dalian Shide won and Sichuan Quanxing won 4th?
###assistant: SELECT AVG(number_of_clubs) FROM table_name_35 WHERE winners = "dalian shide" AND fourth_placed = "sichuan quanxing" |
###context:CREATE TABLE table_name_34 (winners VARCHAR, runners_up VARCHAR)
###human: Who was the winner when the runner-up was Guangzhou Apollo?
###assistant: SELECT winners FROM table_name_34 WHERE runners_up = "guangzhou apollo" |
###context:CREATE TABLE table_name_39 (byes INTEGER, against VARCHAR, wins VARCHAR)
###human: How many Byes have an Against of 972, and more than 11 wins?
###assistant: SELECT SUM(byes) FROM table_name_39 WHERE against = 972 AND wins > 11 |
###context:CREATE TABLE table_name_87 (byes INTEGER, lexton_plains VARCHAR)
###human: Which Byes have a Lexton Plains of skipton?
###assistant: SELECT MAX(byes) FROM table_name_87 WHERE lexton_plains = "skipton" |
###context:CREATE TABLE table_name_33 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR)
###human: What is the value for Lost when Drawn is 0, and Tries against is 41?
###assistant: SELECT lost FROM table_name_33 WHERE drawn = "0" AND tries_against = "41" |
###context:CREATE TABLE table_name_47 (drawn VARCHAR, club VARCHAR)
###human: What is the drawn value for furnace united rfc?
###assistant: SELECT drawn FROM table_name_47 WHERE club = "furnace united rfc" |
###context:CREATE TABLE table_name_87 (tries_against VARCHAR, club VARCHAR)
###human: What tries against value does burry port rfc have?
###assistant: SELECT tries_against FROM table_name_87 WHERE club = "burry port rfc" |
###context:CREATE TABLE table_name_44 (staterooms INTEGER, guests VARCHAR, comments VARCHAR, length VARCHAR)
###human: Of the ships with diesel-electric hybrid engines, length of 443 feet, and over 190 guests, what is the lowest number of staterooms?
###assistant: SELECT MIN(staterooms) FROM table_name_44 WHERE comments = "diesel-electric hybrid engines" AND length = "443 feet" AND guests > 190 |
###context:CREATE TABLE table_name_47 (wins VARCHAR, year VARCHAR, points VARCHAR)
###human: How many wins for the year that is later than 1987 and has points less than 188?
###assistant: SELECT wins FROM table_name_47 WHERE year > 1987 AND points < 188 |
###context:CREATE TABLE table_name_59 (machine VARCHAR, rank VARCHAR, wins VARCHAR)
###human: What is the name of the machine that ranked 4th and has 2 wins?
###assistant: SELECT machine FROM table_name_59 WHERE rank = "4th" AND wins = 2 |
###context:CREATE TABLE table_name_20 (wins INTEGER, year VARCHAR)
###human: How many wins were there in 1994?
###assistant: SELECT SUM(wins) FROM table_name_20 WHERE year = 1994 |
###context:CREATE TABLE table_name_34 (rank VARCHAR, wins VARCHAR, points VARCHAR)
###human: What is the rank associated with the team that has more than 2 wins and has greater than 204 points?
###assistant: SELECT rank FROM table_name_34 WHERE wins > 2 AND points > 204 |
###context:CREATE TABLE table_name_80 (pick INTEGER, player VARCHAR)
###human: How many picks have a Player of pong escobal?
###assistant: SELECT SUM(pick) FROM table_name_80 WHERE player = "pong escobal" |
###context:CREATE TABLE table_name_61 (pba_team VARCHAR, college VARCHAR)
###human: Which PBA team has a College of nu?
###assistant: SELECT pba_team FROM table_name_61 WHERE college = "nu" |
###context:CREATE TABLE table_name_65 (place_of_birth VARCHAR, elevator VARCHAR, cardinalatial_title VARCHAR)
###human: What is the birth place for someone elevated by Lucius III, and has the Cardinalatial title of Deacon of S. Giorgio in Velabro?
###assistant: SELECT place_of_birth FROM table_name_65 WHERE elevator = "lucius iii" AND cardinalatial_title = "deacon of s. giorgio in velabro" |
###context:CREATE TABLE table_name_94 (place_of_birth VARCHAR, elector VARCHAR)
###human: What is the place of birth for the elector Laborante de Panormo?
###assistant: SELECT place_of_birth FROM table_name_94 WHERE elector = "laborante de panormo" |
###context:CREATE TABLE table_name_86 (elector VARCHAR, cardinalatial_title VARCHAR)
###human: Who is the elector that has the cardinalatial title of Deacon of SS. Cosma e Damiano?
###assistant: SELECT elector FROM table_name_86 WHERE cardinalatial_title = "deacon of ss. cosma e damiano" |
###context:CREATE TABLE table_name_14 (elevator VARCHAR, cardinalatial_title VARCHAR)
###human: Who is the elevator with the cardinalatial title of Deacon of SS. Sergio e Bacco?
###assistant: SELECT elevator FROM table_name_14 WHERE cardinalatial_title = "deacon of ss. sergio e bacco" |
###context:CREATE TABLE table_name_20 (premier_league INTEGER, UEfa_cup VARCHAR, fa_cup VARCHAR, total VARCHAR)
###human: How much Premier League has an FA Cup of 0, and a Total of 1, and a UEFA Cup larger than 1?
###assistant: SELECT SUM(premier_league) FROM table_name_20 WHERE fa_cup = 0 AND total = 1 AND UEfa_cup > 1 |
###context:CREATE TABLE table_name_9 (total INTEGER, premier_league VARCHAR, league_cup VARCHAR)
###human: How many totals have a Premier League smaller than 6, and a League Cup larger than 0?
###assistant: SELECT SUM(total) FROM table_name_9 WHERE premier_league < 6 AND league_cup > 0 |
###context:CREATE TABLE table_name_24 (fa_cup INTEGER, total INTEGER)
###human: Which FA Cup has a Total smaller than 1?
###assistant: SELECT AVG(fa_cup) FROM table_name_24 WHERE total < 1 |
###context:CREATE TABLE table_name_26 (week VARCHAR, attendance VARCHAR, opponent VARCHAR)
###human: What week is the opponent the Indianapolis Colts with an attendance of 68,932?
###assistant: SELECT COUNT(week) FROM table_name_26 WHERE attendance = "68,932" AND opponent = "indianapolis colts" |
###context:CREATE TABLE table_name_86 (attendance VARCHAR, week VARCHAR, result VARCHAR)
###human: What was the attendance for the week before 10 with a result of L 12-15
###assistant: SELECT attendance FROM table_name_86 WHERE week < 10 AND result = "l 12-15" |
###context:CREATE TABLE table_name_17 (week INTEGER, result VARCHAR)
###human: What week has a result of L 17-31 first?
###assistant: SELECT MAX(week) FROM table_name_17 WHERE result = "l 17-31" |
###context:CREATE TABLE table_name_24 (result VARCHAR, attendance VARCHAR)
###human: What was the score for the game that attendance was 70,721?
###assistant: SELECT result FROM table_name_24 WHERE attendance = "70,721" |
###context:CREATE TABLE table_name_8 (week INTEGER, result VARCHAR, dance VARCHAR)
###human: What week was she safe for a salsa dance?
###assistant: SELECT SUM(week) FROM table_name_8 WHERE result = "safe" AND dance = "salsa" |
###context:CREATE TABLE table_name_37 (opponent VARCHAR, result VARCHAR, location VARCHAR)
###human: Who was the opponent with the loss in Westbury, NY?
###assistant: SELECT opponent FROM table_name_37 WHERE result = "loss" AND location = "westbury, ny" |
###context:CREATE TABLE table_name_4 (date VARCHAR)
###human: What is the date where the type is type?
###assistant: SELECT date FROM table_name_4 WHERE "type" = "type" |
###context:CREATE TABLE table_name_2 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
###human: What is the total rank for the player with less than 2 silvers, 4 golds, and more than 2 bronze?
###assistant: SELECT COUNT(rank) FROM table_name_2 WHERE silver < 2 AND gold = 4 AND bronze > 2 |
###context:CREATE TABLE table_name_78 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
###human: What is the sum of rank with more than 1 silver medal, 1 gold medal, and less than 6?
###assistant: SELECT SUM(rank) FROM table_name_78 WHERE silver > 1 AND gold = 1 AND total < 6 |
###context:CREATE TABLE table_name_21 (date VARCHAR, circuit VARCHAR)
###human: What's the date of the circuit Winton Motor Raceway?
###assistant: SELECT date FROM table_name_21 WHERE circuit = "winton motor raceway" |
###context:CREATE TABLE table_name_16 (city___state VARCHAR, circuit VARCHAR)
###human: What's the city/state of Hidden Valley Raceway?
###assistant: SELECT city___state FROM table_name_16 WHERE circuit = "hidden valley raceway" |
###context:CREATE TABLE table_name_95 (date VARCHAR, circuit VARCHAR)
###human: What's the date of Bahrain International Circuit?
###assistant: SELECT date FROM table_name_95 WHERE circuit = "bahrain international circuit" |
###context:CREATE TABLE table_name_11 (circuit VARCHAR, winner VARCHAR)
###human: What's the circuit that had an event cancelled?
###assistant: SELECT circuit FROM table_name_11 WHERE winner = "event cancelled" |
###context:CREATE TABLE table_name_57 (distance VARCHAR, feature VARCHAR)
###human: what is the distance for ridge?
###assistant: SELECT distance FROM table_name_57 WHERE feature = "ridge" |
###context:CREATE TABLE table_name_70 (latitude VARCHAR, distance VARCHAR)
###human: what is the latitude when the distance is 42.5km?
###assistant: SELECT latitude FROM table_name_70 WHERE distance = "42.5km" |
###context:CREATE TABLE table_name_60 (feature VARCHAR, name VARCHAR)
###human: what is the feature named bird ridge?
###assistant: SELECT feature FROM table_name_60 WHERE name = "bird ridge" |
###context:CREATE TABLE table_name_89 (distance VARCHAR, name VARCHAR)
###human: what is the distance for mjåkollen?
###assistant: SELECT distance FROM table_name_89 WHERE name = "mjåkollen" |
###context:CREATE TABLE table_name_27 (distance VARCHAR, bearing VARCHAR)
###human: what is the distance for bearing 297°?
###assistant: SELECT distance FROM table_name_27 WHERE bearing = "297°" |
###context:CREATE TABLE table_name_8 (platform_s_ VARCHAR, year VARCHAR)
###human: What platform has a year of 2007?
###assistant: SELECT platform_s_ FROM table_name_8 WHERE year = 2007 |
###context:CREATE TABLE table_name_13 (game VARCHAR, year VARCHAR)
###human: Which game was released in 2011?
###assistant: SELECT game FROM table_name_13 WHERE year = 2011 |
###context:CREATE TABLE table_name_38 (platform_s_ VARCHAR, year VARCHAR, game VARCHAR)
###human: What platform came out before 2009 with the game wii sports?
###assistant: SELECT platform_s_ FROM table_name_38 WHERE year < 2009 AND game = "wii sports" |
###context:CREATE TABLE table_name_32 (nationality VARCHAR, lane VARCHAR, rank VARCHAR)
###human: What nationality has a lane less than 6, with 1 as the rank?
###assistant: SELECT nationality FROM table_name_32 WHERE lane < 6 AND rank = 1 |
###context:CREATE TABLE table_name_63 (time VARCHAR, lane VARCHAR, nationality VARCHAR)
###human: What time has a lane less than 5, with Poland as the nationality?
###assistant: SELECT time FROM table_name_63 WHERE lane < 5 AND nationality = "poland" |
###context:CREATE TABLE table_name_62 (lane VARCHAR, time VARCHAR)
###human: How many lanes have 1:53.70 as the time?
###assistant: SELECT COUNT(lane) FROM table_name_62 WHERE time = "1:53.70" |
###context:CREATE TABLE table_name_22 (rank INTEGER, name VARCHAR, lane VARCHAR)
###human: How many ranks have chen yin as the name, with a lane greater than 8?
###assistant: SELECT SUM(rank) FROM table_name_22 WHERE name = "chen yin" AND lane > 8 |
###context:CREATE TABLE table_name_96 (nationality VARCHAR, time VARCHAR)
###human: What nationality has 1:55.35 as the time?
###assistant: SELECT nationality FROM table_name_96 WHERE time = "1:55.35" |
###context:CREATE TABLE table_name_25 (lane INTEGER, rank INTEGER)
###human: How many lanes have a rank greater than 8?
###assistant: SELECT SUM(lane) FROM table_name_25 WHERE rank > 8 |
###context:CREATE TABLE table_name_14 (home VARCHAR, country VARCHAR)
###human: Where in Sweden is the home of the Swedish team?
###assistant: SELECT home FROM table_name_14 WHERE country = "sweden" |
###context:CREATE TABLE table_name_23 (third VARCHAR, second VARCHAR)
###human: Who is third to Xu Xiaoming at second?
###assistant: SELECT third FROM table_name_23 WHERE second = "xu xiaoming" |
###context:CREATE TABLE table_name_84 (lead VARCHAR, home VARCHAR)
###human: Who is the lead for the team from Saskatoon, Saskatchewan?
###assistant: SELECT lead FROM table_name_84 WHERE home = "saskatoon, saskatchewan" |
###context:CREATE TABLE table_name_38 (second VARCHAR, lead VARCHAR)
###human: Who is second on the team with Euan Byers at lead?
###assistant: SELECT second FROM table_name_38 WHERE lead = "euan byers" |
###context:CREATE TABLE table_name_23 (third VARCHAR, home VARCHAR, skip VARCHAR)
###human: Who is the third on the team from Madison, Wisconsin that has Craig Brown as skip?
###assistant: SELECT third FROM table_name_23 WHERE home = "madison, wisconsin" AND skip = "craig brown" |
###context:CREATE TABLE table_name_54 (date VARCHAR, opponent VARCHAR)
###human: On which date was the opponent the Chicago Bears?
###assistant: SELECT date FROM table_name_54 WHERE opponent = "chicago bears" |
###context:CREATE TABLE table_name_40 (week INTEGER, date VARCHAR)
###human: Which week was on october 30, 1983?
###assistant: SELECT SUM(week) FROM table_name_40 WHERE date = "october 30, 1983" |
###context:CREATE TABLE table_name_13 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR)
###human: What is the Mascot for the team from leo that had a Previous Conference value of independent?
###assistant: SELECT mascot FROM table_name_13 WHERE previous_conference = "independent" AND location = "leo" |
###context:CREATE TABLE table_name_81 (school VARCHAR, ihsaa_class__football_class VARCHAR)
###human: What School had 3a/2a as the value for IHSAA Class/ Football Class?
###assistant: SELECT school FROM table_name_81 WHERE ihsaa_class__football_class = "3a/2a" |
###context:CREATE TABLE table_name_58 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR)
###human: How many July 1, 2013 projections have a Rank of 27?
###assistant: SELECT COUNT(july_1), _2013_projection FROM table_name_58 WHERE rank = "27" |
###context:CREATE TABLE table_name_94 (format VARCHAR, call_sign VARCHAR)
###human: What is the format for the one which has a call sign of cite-fm-1?
###assistant: SELECT format FROM table_name_94 WHERE call_sign = "cite-fm-1" |
###context:CREATE TABLE table_name_80 (dolphins_points VARCHAR, attendance VARCHAR)
###human: What'd the total Dolphin points when there was an attendance of 52,860?
###assistant: SELECT COUNT(dolphins_points) FROM table_name_80 WHERE attendance = 52 OFFSET 860 |
###context:CREATE TABLE table_name_77 (attendance INTEGER, dolphins_points VARCHAR, opponent VARCHAR)
###human: What's the most in attendance when the Dolphins points were less than 24 and, they played the New England Patriots?
###assistant: SELECT MAX(attendance) FROM table_name_77 WHERE dolphins_points < 24 AND opponent = "new england patriots" |
###context:CREATE TABLE table_name_2 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
###human: Which district had SC reserved and 169 Constituents?
###assistant: SELECT district FROM table_name_2 WHERE reserved_for___sc___st__none_ = "sc" AND constituency_number = "169" |
###context:CREATE TABLE table_name_72 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
###human: What was reserved in the district that has 169 constituents?
###assistant: SELECT reserved_for___sc___st__none_ FROM table_name_72 WHERE constituency_number = "169" |
###context:CREATE TABLE table_name_81 (Id VARCHAR)
###human: What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R?
###assistant: SELECT 1995 FROM table_name_81 WHERE 1997 = "lq" AND 1989 = "1r" |
###context:CREATE TABLE table_name_4 (Id VARCHAR)
###human: What is 1996 Grand Slam Tournament if 1994 is LQ and 1992 is 3R?
###assistant: SELECT 1996 FROM table_name_4 WHERE 1994 = "lq" AND 1992 = "3r" |
###context:CREATE TABLE table_name_88 (Id VARCHAR)
###human: What is 1994 Grand Slam Tournament if 1993 is also grand slam tournaments?
###assistant: SELECT 1994 FROM table_name_88 WHERE 1993 = "grand slam tournaments" |
###context:CREATE TABLE table_name_96 (Id VARCHAR)
###human: What is 1995 Grand Slam Tournament if 1990 is LQ?
###assistant: SELECT 1995 FROM table_name_96 WHERE 1990 = "lq" |
###context:CREATE TABLE table_name_33 (Id VARCHAR)
###human: What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments?
###assistant: SELECT 1990 FROM table_name_33 WHERE 1996 = "grand slam tournaments" |
###context:CREATE TABLE table_name_71 (Id VARCHAR)
###human: What is 1987 Grand Slam Tournament if 1989 is also grand slam tournaments?
###assistant: SELECT 1987 FROM table_name_71 WHERE 1989 = "grand slam tournaments" |
###context:CREATE TABLE table_name_61 (attendance INTEGER, opponent VARCHAR)
###human: How many people attended the home game against the New York Jets?
###assistant: SELECT SUM(attendance) FROM table_name_61 WHERE opponent = "new york jets" |
###context:CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)
###human: How many people attended the September 14, 1968 game?
###assistant: SELECT COUNT(attendance) FROM table_name_28 WHERE date = "september 14, 1968" |
###context:CREATE TABLE table_name_51 (director VARCHAR, production_number VARCHAR)
###human: Who is the director of the production number 9368?
###assistant: SELECT director FROM table_name_51 WHERE production_number = "9368" |
###context:CREATE TABLE table_name_78 (title VARCHAR, director VARCHAR, production_number VARCHAR)
###human: What is the title with chuck jones as the director and the production number 9537?
###assistant: SELECT title FROM table_name_78 WHERE director = "chuck jones" AND production_number = "9537" |
###context:CREATE TABLE table_name_40 (release_date VARCHAR, series VARCHAR, title VARCHAR)
###human: What is the release date of the mm series, which has the title tom thumb in trouble?
###assistant: SELECT release_date FROM table_name_40 WHERE series = "mm" AND title = "tom thumb in trouble" |
###context:CREATE TABLE table_name_92 (release_date VARCHAR, series VARCHAR, title VARCHAR)
###human: What is the release date of the mm series which has the title confederate honey?
###assistant: SELECT release_date FROM table_name_92 WHERE series = "mm" AND title = "confederate honey" |
###context:CREATE TABLE table_name_33 (start INTEGER, year VARCHAR, team VARCHAR, finish VARCHAR)
###human: What is the start of the Team of Andretti Green Racing with a finish higher than 3 in a year before 2007?
###assistant: SELECT AVG(start) FROM table_name_33 WHERE team = "andretti green racing" AND finish > 3 AND year < 2007 |
###context:CREATE TABLE table_name_62 (start INTEGER, year INTEGER)
###human: What is the lowest start in a year after 2008?
###assistant: SELECT MIN(start) FROM table_name_62 WHERE year > 2008 |
###context:CREATE TABLE table_name_73 (finish VARCHAR, start INTEGER)
###human: What finish has a start smaller than 25?
###assistant: SELECT finish FROM table_name_73 WHERE start < 25 |
###context:CREATE TABLE table_name_53 (start VARCHAR, team VARCHAR, year VARCHAR)
###human: Where did the team of Rahal Letterman in 2006 start?
###assistant: SELECT COUNT(start) FROM table_name_53 WHERE team = "rahal letterman" AND year = 2006 |
###context:CREATE TABLE table_name_51 (year VARCHAR, finish VARCHAR, chassis VARCHAR, team VARCHAR)
###human: What year did Team of Andretti Green Racing have a finish smaller than 8 with a Dallara chassis?
###assistant: SELECT year FROM table_name_51 WHERE chassis = "dallara" AND team = "andretti green racing" AND finish < 8 |
###context:CREATE TABLE table_name_93 (director VARCHAR, release_date VARCHAR, characters VARCHAR)
###human: What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character?
###assistant: SELECT director FROM table_name_93 WHERE release_date = "2004-03-31" AND characters = "daffy (as duck dodgers)" |
###context:CREATE TABLE table_name_98 (title VARCHAR, characters VARCHAR)
###human: What title has daffy (as duck dodgers) as the character?
###assistant: SELECT title FROM table_name_98 WHERE characters = "daffy (as duck dodgers)" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.