training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_58 (rank INTEGER, nationality VARCHAR, points VARCHAR) ###human: Tell me the sum of rank for australia when points are less than 79 ###assistant: SELECT SUM(rank) FROM table_name_58 WHERE nationality = "australia" AND points < 79
###context:CREATE TABLE table_name_13 (s_motor_ship___s_naval_trawler VARCHAR, grand_total VARCHAR) ###human: How many ships for the nation with grand total of 20? ###assistant: SELECT s_motor_ship___s_naval_trawler FROM table_name_13 WHERE grand_total = 20
###context:CREATE TABLE table_name_74 (escorts VARCHAR, cruisers VARCHAR) ###human: How many escorts does the nation with 6 cruisers have? ###assistant: SELECT escorts FROM table_name_74 WHERE cruisers = "6"
###context:CREATE TABLE table_name_70 (street_address VARCHAR, floors VARCHAR) ###human: Which address has 44 floors? ###assistant: SELECT street_address FROM table_name_70 WHERE floors = 44
###context:CREATE TABLE table_name_22 (total__kg_ INTEGER, bodyweight VARCHAR, snatch VARCHAR) ###human: What is the total for the person with 73.28 bodyweight and fewer snatches than 75? ###assistant: SELECT AVG(total__kg_) FROM table_name_22 WHERE bodyweight = 73.28 AND snatch < 75
###context:CREATE TABLE table_name_15 (name VARCHAR, bodyweight VARCHAR) ###human: Which person has a bodyweight of 73.6? ###assistant: SELECT name FROM table_name_15 WHERE bodyweight = 73.6
###context:CREATE TABLE table_name_7 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR) ###human: What is the total for the player with more snatches than 87.5 and bodyweight more than 74.8? ###assistant: SELECT AVG(total__kg_) FROM table_name_7 WHERE snatch > 87.5 AND bodyweight > 74.8
###context:CREATE TABLE table_name_91 (bodyweight INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR) ###human: What is the bodyweight for the player with a clean & jerk of 82.5 and total smaller than 152.5? ###assistant: SELECT SUM(bodyweight) FROM table_name_91 WHERE clean_ & _jerk = 82.5 AND total__kg_ < 152.5
###context:CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR) ###human: Name the home team when the away team was essendon ###assistant: SELECT home_team AS score FROM table_name_75 WHERE away_team = "essendon"
###context:CREATE TABLE table_name_36 (away_team VARCHAR, home_team VARCHAR) ###human: Name the away team score for home team of university ###assistant: SELECT away_team AS score FROM table_name_36 WHERE home_team = "university"
###context:CREATE TABLE table_name_54 (venue VARCHAR, away_team VARCHAR) ###human: Name the venue for geelong away team ###assistant: SELECT venue FROM table_name_54 WHERE away_team = "geelong"
###context:CREATE TABLE table_name_6 (venue VARCHAR, away_team VARCHAR) ###human: Name the venue when the away team was richmond ###assistant: SELECT venue FROM table_name_6 WHERE away_team = "richmond"
###context:CREATE TABLE table_name_25 (away_team VARCHAR) ###human: Name the away team score for geelong away team ###assistant: SELECT away_team AS score FROM table_name_25 WHERE away_team = "geelong"
###context:CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR) ###human: When the venue was brunswick street oval what was the home teams score? ###assistant: SELECT home_team AS score FROM table_name_32 WHERE venue = "brunswick street oval"
###context:CREATE TABLE table_name_18 (draw INTEGER, artist VARCHAR) ###human: How many draws feature artist wendy fierce? ###assistant: SELECT SUM(draw) FROM table_name_18 WHERE artist = "wendy fierce"
###context:CREATE TABLE table_name_77 (song VARCHAR, place VARCHAR, draw VARCHAR) ###human: What song is later than place 2 and has a draw number of 1? ###assistant: SELECT song FROM table_name_77 WHERE place > 2 AND draw = 1
###context:CREATE TABLE table_name_64 (date VARCHAR, home_team VARCHAR) ###human: What day did Collingwood play as the home team? ###assistant: SELECT date FROM table_name_64 WHERE home_team = "collingwood"
###context:CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR) ###human: Who was the away team at Princes Park? ###assistant: SELECT away_team FROM table_name_26 WHERE venue = "princes park"
###context:CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR) ###human: Who was Hawthorn's away opponent? ###assistant: SELECT away_team FROM table_name_68 WHERE home_team = "hawthorn"
###context:CREATE TABLE table_name_45 (record VARCHAR, streak VARCHAR, score VARCHAR) ###human: Name the record that has a stream of l1 and score of l 95–111 ###assistant: SELECT record FROM table_name_45 WHERE streak = "l1" AND score = "l 95–111"
###context:CREATE TABLE table_name_71 (attendance VARCHAR, visitor VARCHAR) ###human: Name the attendance for when the washington wizards was visiting ###assistant: SELECT attendance FROM table_name_71 WHERE visitor = "washington wizards"
###context:CREATE TABLE table_name_92 (grid INTEGER, driver VARCHAR) ###human: What is the smallest grid for driver of juan pablo montoya? ###assistant: SELECT MIN(grid) FROM table_name_92 WHERE driver = "juan pablo montoya"
###context:CREATE TABLE table_name_35 (driver VARCHAR, time_retired VARCHAR, constructor VARCHAR) ###human: What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda? ###assistant: SELECT driver FROM table_name_35 WHERE time_retired = "+1 lap" AND constructor = "bar - honda"
###context:CREATE TABLE table_name_91 (chinese_title VARCHAR, premiere VARCHAR) ###human: What is the Chinese title with a premiere rating of 31? ###assistant: SELECT chinese_title FROM table_name_91 WHERE premiere = 31
###context:CREATE TABLE table_name_59 (premiere INTEGER, chinese_title VARCHAR, peak VARCHAR) ###human: What is the premiere rating for a Chinese title of ι‡Žθ »ε₯Άε₯Άε€§ζˆ°ζˆˆεΈ«ε₯Ά, and a Peak smaller than 41? ###assistant: SELECT SUM(premiere) FROM table_name_59 WHERE chinese_title = "ι‡Žθ »ε₯Άε₯Άε€§ζˆ°ζˆˆεΈ«ε₯Ά" AND peak < 41
###context:CREATE TABLE table_name_7 (premiere INTEGER, average VARCHAR, rank VARCHAR) ###human: What is the premiere rating associated with an average of 35 ranked above 1? ###assistant: SELECT MIN(premiere) FROM table_name_7 WHERE average = 35 AND rank > 1
###context:CREATE TABLE table_name_21 (date VARCHAR, venue VARCHAR) ###human: When was there a game at Arden Street Oval? ###assistant: SELECT date FROM table_name_21 WHERE venue = "arden street oval"
###context:CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR) ###human: How big was the crowd when Richmond was the away team? ###assistant: SELECT crowd FROM table_name_28 WHERE away_team = "richmond"
###context:CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR) ###human: Which away team plays at Arden Street Oval? ###assistant: SELECT away_team FROM table_name_89 WHERE venue = "arden street oval"
###context:CREATE TABLE table_name_48 (crowd VARCHAR, home_team VARCHAR) ###human: How many fans were at Essendon? ###assistant: SELECT COUNT(crowd) FROM table_name_48 WHERE home_team = "essendon"
###context:CREATE TABLE table_name_53 (athlete VARCHAR, date VARCHAR) ###human: On 11 July 2003, which athlete performed? ###assistant: SELECT athlete FROM table_name_53 WHERE date = "11 july 2003"
###context:CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR) ###human: What was the away team that played luton town? ###assistant: SELECT away_team FROM table_name_27 WHERE home_team = "luton town"
###context:CREATE TABLE table_name_62 (d_45_√ VARCHAR, d_41_√ VARCHAR) ###human: Name the D 45 √ when it has D 41√ of r 20 ###assistant: SELECT d_45_√ FROM table_name_62 WHERE d_41_√ = "r 20"
###context:CREATE TABLE table_name_35 (d_41_√ VARCHAR, d_43_√ VARCHAR) ###human: Name the D 41 √ when it has D 43 √ of r 18 ###assistant: SELECT d_41_√ FROM table_name_35 WHERE d_43_√ = "r 18"
###context:CREATE TABLE table_name_24 (d_49_√ VARCHAR, d_46_√ VARCHAR) ###human: Name the D 49 √ for when D 46 √ of i 1 @ ###assistant: SELECT d_49_√ FROM table_name_24 WHERE d_46_√ = "i 1 @"
###context:CREATE TABLE table_name_89 (d_43_√ VARCHAR, d_46_√ VARCHAR) ###human: Name the D 43 √ when it has D 46 √ of d 26 ###assistant: SELECT d_43_√ FROM table_name_89 WHERE d_46_√ = "d 26"
###context:CREATE TABLE table_name_93 (d_44_√ VARCHAR, d_41_√ VARCHAR) ###human: Name the D 44 √ for when it has D 41 √ of r 41 + ###assistant: SELECT d_44_√ FROM table_name_93 WHERE d_41_√ = "r 41 +"
###context:CREATE TABLE table_name_58 (d_42_√ VARCHAR, d_49_√ VARCHAR) ###human: Name the D 42 √ for when it has D 49 √ of r 12 ###assistant: SELECT d_42_√ FROM table_name_58 WHERE d_49_√ = "r 12"
###context:CREATE TABLE table_name_5 (goals VARCHAR, score VARCHAR) ###human: What were the goals in the game with the 26-28 final score? ###assistant: SELECT goals FROM table_name_5 WHERE score = "26-28"
###context:CREATE TABLE table_name_60 (score VARCHAR, date VARCHAR) ###human: What was the score of the game on 19/3/00? ###assistant: SELECT score FROM table_name_60 WHERE date = "19/3/00"
###context:CREATE TABLE table_name_47 (competition VARCHAR, date VARCHAR) ###human: Which competition was on 17/9/00? ###assistant: SELECT competition FROM table_name_47 WHERE date = "17/9/00"
###context:CREATE TABLE table_name_64 (competition VARCHAR, score VARCHAR) ###human: Which competition ended with a score of 58-4? ###assistant: SELECT competition FROM table_name_64 WHERE score = "58-4"
###context:CREATE TABLE table_name_92 (venue VARCHAR, score VARCHAR) ###human: Where was the game that had a final score of 30-20? ###assistant: SELECT venue FROM table_name_92 WHERE score = "30-20"
###context:CREATE TABLE table_name_72 (date VARCHAR, venue VARCHAR, score VARCHAR) ###human: When was the game at the boulevard that ended with an 8-8 score? ###assistant: SELECT date FROM table_name_72 WHERE venue = "the boulevard" AND score = "8-8"
###context:CREATE TABLE table_name_82 (report VARCHAR, date VARCHAR) ###human: Name the report for 6 may ###assistant: SELECT report FROM table_name_82 WHERE date = "6 may"
###context:CREATE TABLE table_name_51 (report VARCHAR, winning_driver VARCHAR) ###human: Tell me the report with winner of louis wagner ###assistant: SELECT report FROM table_name_51 WHERE winning_driver = "louis wagner"
###context:CREATE TABLE table_name_16 (report VARCHAR, name VARCHAR) ###human: Name the report with cuban race ###assistant: SELECT report FROM table_name_16 WHERE name = "cuban race"
###context:CREATE TABLE table_name_63 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR) ###human: Name the circuit for darracq and name of cuban race ###assistant: SELECT circuit FROM table_name_63 WHERE winning_constructor = "darracq" AND name = "cuban race"
###context:CREATE TABLE table_name_15 (winning_driver VARCHAR, circuit VARCHAR) ###human: Name the winning driver for havana ###assistant: SELECT winning_driver FROM table_name_15 WHERE circuit = "havana"
###context:CREATE TABLE table_name_23 (home_team VARCHAR, away_team VARCHAR) ###human: What is the home team's score when st kilda is away? ###assistant: SELECT home_team AS score FROM table_name_23 WHERE away_team = "st kilda"
###context:CREATE TABLE table_name_62 (decision VARCHAR, visitor VARCHAR) ###human: No Decision listed above has a visitor of Montreal. ###assistant: SELECT decision FROM table_name_62 WHERE visitor = "montreal"
###context:CREATE TABLE table_name_42 (record VARCHAR, home VARCHAR, date VARCHAR) ###human: On December 4, Tampa Bay has a record of 12-13-2. ###assistant: SELECT record FROM table_name_42 WHERE home = "tampa bay" AND date = "december 4"
###context:CREATE TABLE table_name_23 (remarks VARCHAR, rank VARCHAR, alliance VARCHAR) ###human: What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance? ###assistant: SELECT remarks FROM table_name_23 WHERE rank > 2 AND alliance = "skyteam (2012)"
###context:CREATE TABLE table_name_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR) ###human: How many airlines have the star alliance and are in brazil? ###assistant: SELECT COUNT(rank) FROM table_name_13 WHERE alliance = "star alliance" AND country = "brazil"
###context:CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR) ###human: What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991? ###assistant: SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.1%"
###context:CREATE TABLE table_name_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR) ###human: What was Rut's Slovenes percentage in 1991? ###assistant: SELECT percent_of_slovenes_1991 FROM table_name_76 WHERE village__slovenian_ = "rut"
###context:CREATE TABLE table_name_33 (status VARCHAR, unit VARCHAR) ###human: What is the status of the Hamaoka-3 unit? ###assistant: SELECT status FROM table_name_33 WHERE unit = "hamaoka-3"
###context:CREATE TABLE table_name_17 (gross_capacity VARCHAR, commercial_operation VARCHAR) ###human: What is the gross capacity of the unit that started commercial operation on August 28, 1987? ###assistant: SELECT gross_capacity FROM table_name_17 WHERE commercial_operation = "august 28, 1987"
###context:CREATE TABLE table_name_27 (commercial_operation VARCHAR, construction_start VARCHAR) ###human: When was commercial operation where construction started June 10, 1971? ###assistant: SELECT commercial_operation FROM table_name_27 WHERE construction_start = "june 10, 1971"
###context:CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR) ###human: What is the gross capacity where the reactor is ABWR type? ###assistant: SELECT gross_capacity FROM table_name_54 WHERE reactor_type = "abwr"
###context:CREATE TABLE table_name_42 (commercial_operation VARCHAR, unit VARCHAR) ###human: When was the Hamaoka-4 unit commercial operation date? ###assistant: SELECT commercial_operation FROM table_name_42 WHERE unit = "hamaoka-4"
###context:CREATE TABLE table_name_50 (status VARCHAR, net_capacity VARCHAR) ###human: What is the status of the unit with a net capacity of 1212 MW? ###assistant: SELECT status FROM table_name_50 WHERE net_capacity = "1212 mw"
###context:CREATE TABLE table_name_32 (school VARCHAR, player VARCHAR) ###human: Which school did player Rodney Purvis belong to? ###assistant: SELECT school FROM table_name_32 WHERE player = "rodney purvis"
###context:CREATE TABLE table_name_7 (nba_draft VARCHAR, school VARCHAR) ###human: What was the NBA draft status for Northeast High School? ###assistant: SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school"
###context:CREATE TABLE table_name_82 (player VARCHAR, college VARCHAR) ###human: Which players college was Baylor? ###assistant: SELECT player FROM table_name_82 WHERE college = "baylor"
###context:CREATE TABLE table_name_64 (college VARCHAR, player VARCHAR) ###human: What was the college for Alex Poythress? ###assistant: SELECT college FROM table_name_64 WHERE player = "alex poythress"
###context:CREATE TABLE table_name_78 (height VARCHAR, player VARCHAR) ###human: What is Alex Poythress height? ###assistant: SELECT height FROM table_name_78 WHERE player = "alex poythress"
###context:CREATE TABLE table_name_62 (winning_score VARCHAR, year VARCHAR, champion VARCHAR) ###human: What was Allison Fouch score in the year larger than 2000? ###assistant: SELECT winning_score FROM table_name_62 WHERE year > 2000 AND champion = "allison fouch"
###context:CREATE TABLE table_name_89 (release_date VARCHAR, country VARCHAR, release_format VARCHAR) ###human: How many release dates have a Country of west germany, and a Release format of vinyl? ###assistant: SELECT COUNT(release_date) FROM table_name_89 WHERE country = "west germany" AND release_format = "vinyl"
###context:CREATE TABLE table_name_31 (label VARCHAR, country VARCHAR) ###human: Which label is from Spain? ###assistant: SELECT label FROM table_name_31 WHERE country = "spain"
###context:CREATE TABLE table_name_76 (save VARCHAR, loss VARCHAR) ###human: What's the save when the loss was santiago (2–2)? ###assistant: SELECT save FROM table_name_76 WHERE loss = "santiago (2–2)"
###context:CREATE TABLE table_name_84 (season VARCHAR, position VARCHAR) ###human: Which season was 2nd position? ###assistant: SELECT season FROM table_name_84 WHERE position = "2nd"
###context:CREATE TABLE table_name_51 (played VARCHAR, division VARCHAR, position VARCHAR) ###human: What's the value for played when the division is nbl div2 with 12th position? ###assistant: SELECT played FROM table_name_51 WHERE division = "nbl div2" AND position = "12th"
###context:CREATE TABLE table_name_68 (points VARCHAR, division VARCHAR, played VARCHAR) ###human: What's the points when the division is ebl div1 with 22 played? ###assistant: SELECT points FROM table_name_68 WHERE division = "ebl div1" AND played = "22"
###context:CREATE TABLE table_name_2 (played VARCHAR, position VARCHAR, points VARCHAR) ###human: What's the value for played when points is 8 and position is 11th? ###assistant: SELECT played FROM table_name_2 WHERE position = "11th" AND points = "8"
###context:CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR) ###human: Who was driving with a Grid of 13? ###assistant: SELECT driver FROM table_name_45 WHERE grid = 13
###context:CREATE TABLE table_name_5 (grid INTEGER, laps INTEGER) ###human: For Laps smaller than 6, what does the Grid add up to? ###assistant: SELECT SUM(grid) FROM table_name_5 WHERE laps < 6
###context:CREATE TABLE table_name_5 (report VARCHAR, circuit VARCHAR) ###human: What is the report status of Hockenheimring circuit? ###assistant: SELECT report FROM table_name_5 WHERE circuit = "hockenheimring"
###context:CREATE TABLE table_name_29 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) ###human: Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position? ###assistant: SELECT winning_driver FROM table_name_29 WHERE fastest_lap = "clay regazzoni" AND pole_position = "jackie stewart"
###context:CREATE TABLE table_name_53 (race VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR) ###human: Which race had Jacky Ickx as the winner and Clay Regazzoni with the fastest lap? ###assistant: SELECT race FROM table_name_53 WHERE winning_driver = "jacky ickx" AND fastest_lap = "clay regazzoni"
###context:CREATE TABLE table_name_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) ###human: How much time does it take for jean alesi and grids lesser than 5? ###assistant: SELECT time_retired FROM table_name_53 WHERE grid < 5 AND driver = "jean alesi"
###context:CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR) ###human: What is the low grid for gerhard berger for laps over 56? ###assistant: SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56
###context:CREATE TABLE table_name_42 (driver VARCHAR, grid VARCHAR) ###human: If the grid is 13 who is driving? ###assistant: SELECT driver FROM table_name_42 WHERE grid = 13
###context:CREATE TABLE table_name_5 (purse__ INTEGER, tournament VARCHAR) ###human: What is the purse total for the royal caribbean golf classic? ###assistant: SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic"
###context:CREATE TABLE table_name_52 (title VARCHAR, length VARCHAR) ###human: Which title is 3:38 long? ###assistant: SELECT title FROM table_name_52 WHERE length = "3:38"
###context:CREATE TABLE table_name_37 (title VARCHAR, length VARCHAR) ###human: Which title is 3:43 long? ###assistant: SELECT title FROM table_name_37 WHERE length = "3:43"
###context:CREATE TABLE table_name_28 (dance VARCHAR, visual_arts VARCHAR) ###human: What Dance has the Visual Arts of Bryon Kim? ###assistant: SELECT dance FROM table_name_28 WHERE visual_arts = "bryon kim"
###context:CREATE TABLE table_name_55 (dance VARCHAR, year VARCHAR) ###human: In 2004, what is the Dance? ###assistant: SELECT dance FROM table_name_55 WHERE year = 2004
###context:CREATE TABLE table_name_52 (artist VARCHAR, draw VARCHAR) ###human: What artist had 1 draw? ###assistant: SELECT artist FROM table_name_52 WHERE draw = 1
###context:CREATE TABLE table_name_28 (iata VARCHAR, city VARCHAR) ###human: Name the IATA for jeddah ###assistant: SELECT iata FROM table_name_28 WHERE city = "jeddah"
###context:CREATE TABLE table_name_80 (iata VARCHAR, city VARCHAR) ###human: Name the IATA for jessore ###assistant: SELECT iata FROM table_name_80 WHERE city = "jessore"
###context:CREATE TABLE table_name_97 (city VARCHAR, country VARCHAR) ###human: Name the city for thailand ###assistant: SELECT city FROM table_name_97 WHERE country = "thailand"
###context:CREATE TABLE table_name_20 (iata VARCHAR, icao VARCHAR) ###human: Name the IATA of wmkk ###assistant: SELECT iata FROM table_name_20 WHERE icao = "wmkk"
###context:CREATE TABLE table_name_88 (date VARCHAR, away_team VARCHAR) ###human: When did the away team carlton play? ###assistant: SELECT date FROM table_name_88 WHERE away_team = "carlton"
###context:CREATE TABLE table_name_20 (constructor VARCHAR, country VARCHAR, rank VARCHAR) ###human: Which constructor is from ITA with a rank less than 13? ###assistant: SELECT constructor FROM table_name_20 WHERE country = "ita" AND rank < 13
###context:CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR) ###human: Who was the opponent in the Week 4 game? ###assistant: SELECT opponent FROM table_name_25 WHERE week = 4
###context:CREATE TABLE table_name_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR) ###human: Who are the co-drivers before 2010 with under 326 laps? ###assistant: SELECT co_drivers FROM table_name_76 WHERE year < 2010 AND laps < 326
###context:CREATE TABLE table_name_45 (co_drivers VARCHAR, pos VARCHAR, team VARCHAR, laps VARCHAR, class VARCHAR) ###human: Who are the co-drivers the risi competizione gt2 class that went under 329 laps and recorded a DNF? ###assistant: SELECT co_drivers FROM table_name_45 WHERE laps < 329 AND class = "gt2" AND team = "risi competizione" AND pos = "dnf"
###context:CREATE TABLE table_name_24 (laps INTEGER, time_retired VARCHAR, driver VARCHAR) ###human: Tell me the highest laps for time/retired of +2 laps and driver of felice bonetto ###assistant: SELECT MAX(laps) FROM table_name_24 WHERE time_retired = "+2 laps" AND driver = "felice bonetto"
###context:CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) ###human: I want to know the driver when grid is greater than 13 and laps is less than 60 with time/retired of accident ###assistant: SELECT driver FROM table_name_41 WHERE grid > 13 AND laps < 60 AND time_retired = "accident"