training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_71 (total INTEGER, rank VARCHAR, bronze VARCHAR, years VARCHAR, silver VARCHAR) ###human: What is the total in 2000–2012, with more than 2 silver, 0 Bronze, and a Rank smaller than 70? ###assistant: SELECT SUM(total) FROM table_name_71 WHERE years = "2000–2012" AND silver > 2 AND bronze = 0 AND rank < 70
###context:CREATE TABLE table_name_39 (nation VARCHAR, years VARCHAR, sport VARCHAR, total VARCHAR) ###human: What nation scored 7 in shooting in 1920? ###assistant: SELECT nation FROM table_name_39 WHERE sport = "shooting" AND total = 7 AND years = "1920"
###context:CREATE TABLE table_name_59 (round INTEGER, player VARCHAR) ###human: What's the average Round of Pete Laframboise? ###assistant: SELECT AVG(round) FROM table_name_59 WHERE player = "pete laframboise"
###context:CREATE TABLE table_name_97 (nationality VARCHAR, pick VARCHAR) ###human: What country is Pick 100? ###assistant: SELECT nationality FROM table_name_97 WHERE pick = 100
###context:CREATE TABLE table_name_50 (rowers VARCHAR, country VARCHAR) ###human: Who were the rowers for Great britain? ###assistant: SELECT rowers FROM table_name_50 WHERE country = "great britain"
###context:CREATE TABLE table_name_27 (country VARCHAR, rank VARCHAR, time VARCHAR) ###human: What country has a time of 7:28.66 and a rank less than 3? ###assistant: SELECT country FROM table_name_27 WHERE rank < 3 AND time = "7:28.66"
###context:CREATE TABLE table_name_65 (notes VARCHAR, rank VARCHAR, time VARCHAR) ###human: What are the notes when the time was 7:42.92 and the rank is more than 1? ###assistant: SELECT notes FROM table_name_65 WHERE rank > 1 AND time = "7:42.92"
###context:CREATE TABLE table_name_48 (score VARCHAR, tie_no VARCHAR) ###human: What's the score of Tie number 11? ###assistant: SELECT score FROM table_name_48 WHERE tie_no = "11"
###context:CREATE TABLE table_name_3 (tie_no VARCHAR, away_team VARCHAR) ###human: What's the tie number when the away team was Mansfield Town? ###assistant: SELECT tie_no FROM table_name_3 WHERE away_team = "mansfield town"
###context:CREATE TABLE table_name_42 (date VARCHAR, away_team VARCHAR) ###human: What date was Newcastle United the away team? ###assistant: SELECT date FROM table_name_42 WHERE away_team = "newcastle united"
###context:CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) ###human: Who was the away team when Brighton & Hove Albion was home? ###assistant: SELECT away_team FROM table_name_95 WHERE home_team = "brighton & hove albion"
###context:CREATE TABLE table_name_96 (tie_no VARCHAR, home_team VARCHAR) ###human: What's the tie number of Chelsea when they were home? ###assistant: SELECT tie_no FROM table_name_96 WHERE home_team = "chelsea"
###context:CREATE TABLE table_name_10 (score VARCHAR, home_team VARCHAR) ###human: What's the score when Orient was home? ###assistant: SELECT score FROM table_name_10 WHERE home_team = "orient"
###context:CREATE TABLE table_name_42 (designer VARCHAR, restaurant_name VARCHAR) ###human: What designer has a restaurant named The Citizen? ###assistant: SELECT designer FROM table_name_42 WHERE restaurant_name = "the citizen"
###context:CREATE TABLE table_name_4 (original_name VARCHAR, designer VARCHAR, location VARCHAR) ###human: What is the original name of the place by designer Glen Peloso with a Location of n/a? ###assistant: SELECT original_name FROM table_name_4 WHERE designer = "glen peloso" AND location = "n/a"
###context:CREATE TABLE table_name_6 (chef VARCHAR, restaurant_name VARCHAR, location VARCHAR, original_name VARCHAR) ###human: What chef that has a location in Toronto, ON, that has n/a as the original name, and a Restaurant Name of Bagel World? ###assistant: SELECT chef FROM table_name_6 WHERE location = "toronto, on" AND original_name = "n/a" AND restaurant_name = "bagel world"
###context:CREATE TABLE table_name_93 (restaurant_name VARCHAR, original_name VARCHAR) ###human: What is the name of the restaurant originally named Essence? ###assistant: SELECT restaurant_name FROM table_name_93 WHERE original_name = "essence"
###context:CREATE TABLE table_name_53 (designer VARCHAR, restaurant_name VARCHAR) ###human: What designer has a restaurant named of Cork & Cabbage? ###assistant: SELECT designer FROM table_name_53 WHERE restaurant_name = "cork & cabbage"
###context:CREATE TABLE table_name_55 (athlete VARCHAR, punishment VARCHAR) ###human: Which athlete had a six month suspension from IIHF? ###assistant: SELECT athlete FROM table_name_55 WHERE punishment = "six month suspension from iihf"
###context:CREATE TABLE table_name_4 (bronze VARCHAR, total VARCHAR, silver VARCHAR) ###human: How many bronze medals did the team have with 0 total silver and less than 3 total medals? ###assistant: SELECT bronze FROM table_name_4 WHERE total < 3 AND silver > 0
###context:CREATE TABLE table_name_41 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR) ###human: What is the total number of bronze medals for the team with more than 4 silver and less than 30 gold medals? ###assistant: SELECT COUNT(bronze) FROM table_name_41 WHERE silver > 4 AND nation = "total" AND gold < 30
###context:CREATE TABLE table_name_30 (penalty_points INTEGER, judge_e VARCHAR) ###human: what is the least penalty points when the judge e is 72.22? ###assistant: SELECT MIN(penalty_points) FROM table_name_30 WHERE judge_e = "72.22"
###context:CREATE TABLE table_name_80 (judge_e VARCHAR, judge_c VARCHAR, rider VARCHAR) ###human: what is the judge e when judge c is 56.67 and the rider is dag albert? ###assistant: SELECT judge_e FROM table_name_80 WHERE judge_c = "56.67" AND rider = "dag albert"
###context:CREATE TABLE table_name_30 (nation VARCHAR, penalty_points VARCHAR, judge_e VARCHAR) ###human: what is the nation when the penalty points is less than 40.2 and judge e is 82.22? ###assistant: SELECT nation FROM table_name_30 WHERE penalty_points < 40.2 AND judge_e = "82.22"
###context:CREATE TABLE table_name_67 (rank VARCHAR, judge_m VARCHAR, judge_e VARCHAR) ###human: what is the rank when judge m is 65.93 and judge e is 65.56? ###assistant: SELECT rank FROM table_name_67 WHERE judge_m = "65.93" AND judge_e = "65.56"
###context:CREATE TABLE table_name_5 (horse VARCHAR, rank VARCHAR) ###human: what is the horse that ranked 69? ###assistant: SELECT horse FROM table_name_5 WHERE rank = "69"
###context:CREATE TABLE table_name_52 (production_number VARCHAR, director VARCHAR, title VARCHAR) ###human: Name the Production Number with a Director of friz freleng, and a Title of wacky worm, the? ###assistant: SELECT production_number FROM table_name_52 WHERE director = "friz freleng" AND title = "wacky worm, the"
###context:CREATE TABLE table_name_2 (series VARCHAR, production_number VARCHAR) ###human: Name the Series with Production Number of 95, br 1254? ###assistant: SELECT series FROM table_name_2 WHERE production_number = "95, br 1254"
###context:CREATE TABLE table_name_96 (series VARCHAR, title VARCHAR) ###human: Name the Series with a Title of elmer's pet rabbit? ###assistant: SELECT series FROM table_name_96 WHERE title = "elmer's pet rabbit"
###context:CREATE TABLE table_name_36 (boarding_day VARCHAR, type VARCHAR, house VARCHAR) ###human: What is the Boarding/Day value for a type of old and house of Saunderites? ###assistant: SELECT boarding_day FROM table_name_36 WHERE type = "old" AND house = "saunderites"
###context:CREATE TABLE table_name_60 (house VARCHAR, abbr VARCHAR) ###human: Which house has an abbreviation of G? ###assistant: SELECT house FROM table_name_60 WHERE abbr = "g"
###context:CREATE TABLE table_name_31 (house VARCHAR, boarding_day VARCHAR) ###human: Which house has a Boarding/Day value of Day? ###assistant: SELECT house FROM table_name_31 WHERE boarding_day = "day"
###context:CREATE TABLE table_name_24 (house VARCHAR, abbr VARCHAR) ###human: Which house has an abbreviation of D? ###assistant: SELECT house FROM table_name_24 WHERE abbr = "d"
###context:CREATE TABLE table_name_91 (type VARCHAR, colour VARCHAR) ###human: Which type has a color of Dark Blue? ###assistant: SELECT type FROM table_name_91 WHERE colour = "dark blue"
###context:CREATE TABLE table_name_9 (total_tackles VARCHAR, games VARCHAR, solo VARCHAR) ###human: what is the total tackles when the games is 16 and solo is 88? ###assistant: SELECT total_tackles FROM table_name_9 WHERE games = "16" AND solo = "88"
###context:CREATE TABLE table_name_90 (team VARCHAR, sacks VARCHAR, season VARCHAR) ###human: what is the team when sacks is 0 and the season is earlier than 1998? ###assistant: SELECT team FROM table_name_90 WHERE sacks = "0" AND season < 1998
###context:CREATE TABLE table_name_82 (solo VARCHAR, total_tackles VARCHAR) ###human: what is solo when total tackles is 6? ###assistant: SELECT solo FROM table_name_82 WHERE total_tackles = "6"
###context:CREATE TABLE table_name_10 (fa_cup_goals INTEGER, name VARCHAR, league_goals VARCHAR) ###human: How many FA cup goals did dick taylor score in the year that he had 0 league goals? ###assistant: SELECT MIN(fa_cup_goals) FROM table_name_10 WHERE name = "dick taylor" AND league_goals < 0
###context:CREATE TABLE table_name_64 (total_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR) ###human: What is the goals number of goals for the player who had 2 league cup apps and 0 FA cup goals? ###assistant: SELECT COUNT(total_goals) FROM table_name_64 WHERE league_cup_apps = "2" AND fa_cup_goals < 0
###context:CREATE TABLE table_name_76 (result VARCHAR, week VARCHAR) ###human: What was the result of week 11? ###assistant: SELECT result FROM table_name_76 WHERE week = 11
###context:CREATE TABLE table_name_32 (time VARCHAR, name VARCHAR) ###human: What is Lisbeth Trickett's time? ###assistant: SELECT COUNT(time) FROM table_name_32 WHERE name = "lisbeth trickett"
###context:CREATE TABLE table_name_61 (rank INTEGER, time INTEGER) ###human: What is the average rank for 57.05 time? ###assistant: SELECT AVG(rank) FROM table_name_61 WHERE time < 57.05
###context:CREATE TABLE table_name_95 (lane VARCHAR, nationality VARCHAR, time VARCHAR) ###human: What lane is from Great Britain and a 57.78 time? ###assistant: SELECT COUNT(lane) FROM table_name_95 WHERE nationality = "great britain" AND time > 57.78
###context:CREATE TABLE table_name_33 (owner VARCHAR, broadcasting_area VARCHAR) ###human: Who's the owner of Sanam Pao as the broadcasting area? ###assistant: SELECT owner FROM table_name_33 WHERE broadcasting_area = "sanam pao"
###context:CREATE TABLE table_name_89 (owner VARCHAR, broadcasting_hours VARCHAR, channel___bkk__ VARCHAR) ###human: Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours? ###assistant: SELECT owner FROM table_name_89 WHERE broadcasting_hours = "24-hours" AND channel___bkk__ = "3/32 (vhf/uhf)"
###context:CREATE TABLE table_name_28 (owner VARCHAR, name VARCHAR) ###human: Who's the owner of Thai PBS? ###assistant: SELECT owner FROM table_name_28 WHERE name = "thai pbs"
###context:CREATE TABLE table_name_99 (network VARCHAR, name VARCHAR) ###human: What's the network of BBTV Channel 7? ###assistant: SELECT network FROM table_name_99 WHERE name = "bbtv channel 7"
###context:CREATE TABLE table_name_65 (name VARCHAR, channel___bkk__ VARCHAR) ###human: What's the name of Channel 29 (UHF)? ###assistant: SELECT name FROM table_name_65 WHERE channel___bkk__ = "29 (uhf)"
###context:CREATE TABLE table_name_47 (broadcasting_hours VARCHAR, network VARCHAR) ###human: What's the broadcasting hours of NBT? ###assistant: SELECT broadcasting_hours FROM table_name_47 WHERE network = "nbt"
###context:CREATE TABLE table_name_93 (runner_s__up VARCHAR, date VARCHAR) ###human: Who were the runners-up in the tournament on May 26, 1996? ###assistant: SELECT runner_s__up FROM table_name_93 WHERE date = "may 26, 1996"
###context:CREATE TABLE table_name_20 (tournament VARCHAR, runner_s__up VARCHAR) ###human: Which tournament had a runner-up of Val Skinner? ###assistant: SELECT tournament FROM table_name_20 WHERE runner_s__up = "val skinner"
###context:CREATE TABLE table_name_39 (winning_score VARCHAR, date VARCHAR) ###human: What was Rosie's winning score on Apr 29, 2001? ###assistant: SELECT winning_score FROM table_name_39 WHERE date = "apr 29, 2001"
###context:CREATE TABLE table_name_14 (release_date VARCHAR, production_number VARCHAR) ###human: What was the release date of the feature with a production number of 1018, BR 1352? ###assistant: SELECT release_date FROM table_name_14 WHERE production_number = "1018, br 1352"
###context:CREATE TABLE table_name_70 (name VARCHAR, constituency_number VARCHAR) ###human: what is the name when the constituency number is 150? ###assistant: SELECT name FROM table_name_70 WHERE constituency_number = "150"
###context:CREATE TABLE table_name_97 (number_of_electorates__2009_ VARCHAR, name VARCHAR) ###human: what is the total number of electorates (2009) when the name is govindpura? ###assistant: SELECT COUNT(number_of_electorates__2009_) FROM table_name_97 WHERE name = "govindpura"
###context:CREATE TABLE table_name_85 (rank VARCHAR, province VARCHAR, bronze VARCHAR) ###human: What is the rank of Si Sa Ket province with less than 14 bronze medals? ###assistant: SELECT COUNT(rank) FROM table_name_85 WHERE province = "si sa ket" AND bronze < 14
###context:CREATE TABLE table_name_86 (total INTEGER, silver VARCHAR, rank VARCHAR) ###human: How many total medals does rank 3 with less than 40 silver medals? ###assistant: SELECT MAX(total) FROM table_name_86 WHERE silver < 40 AND rank = 3
###context:CREATE TABLE table_name_26 (gold INTEGER, bronze VARCHAR, rank VARCHAR) ###human: How many average gold medals for provinces higher than rank 9 with 25 bronzes? ###assistant: SELECT AVG(gold) FROM table_name_26 WHERE bronze = 25 AND rank < 9
###context:CREATE TABLE table_name_76 (engine_code VARCHAR, model VARCHAR) ###human: What is the engine code for the Xdrive25i? ###assistant: SELECT engine_code FROM table_name_76 WHERE model = "xdrive25i"
###context:CREATE TABLE table_name_80 (torque VARCHAR, power VARCHAR) ###human: What is the torque on the model with power of hp (kw; ps)@5800? ###assistant: SELECT torque FROM table_name_80 WHERE power = "hp (kw; ps)@5800"
###context:CREATE TABLE table_name_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR) ###human: What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400? ###assistant: SELECT torque FROM table_name_97 WHERE engine_code = "n46b20" AND power = "ps (kw; hp)@6400"
###context:CREATE TABLE table_name_18 (power VARCHAR, model VARCHAR) ###human: What is the power for the model xdrive28i sdrive28i? ###assistant: SELECT power FROM table_name_18 WHERE model = "xdrive28i sdrive28i"
###context:CREATE TABLE table_name_27 (model VARCHAR, years VARCHAR) ###human: What is the model that was made in the years 2011 2012-? ###assistant: SELECT model FROM table_name_27 WHERE years = "2011 2012-"
###context:CREATE TABLE table_name_9 (engine_code VARCHAR, model VARCHAR) ###human: What is the engine code for the model xdrive35i? ###assistant: SELECT engine_code FROM table_name_9 WHERE model = "xdrive35i"
###context:CREATE TABLE table_name_25 (athlete VARCHAR, school VARCHAR) ###human: What is the Athlete from Burbank High School? ###assistant: SELECT athlete FROM table_name_25 WHERE school = "burbank high school"
###context:CREATE TABLE table_name_17 (date VARCHAR, school VARCHAR) ###human: What is the Date of the Athlete from Ferris High School? ###assistant: SELECT date FROM table_name_17 WHERE school = "ferris high school"
###context:CREATE TABLE table_name_67 (athlete VARCHAR, city VARCHAR) ###human: What is the Athlete from Riverbank, California? ###assistant: SELECT athlete FROM table_name_67 WHERE city = "riverbank, california"
###context:CREATE TABLE table_name_63 (date VARCHAR, school VARCHAR) ###human: What is the Date of the Player from Marshfield High School? ###assistant: SELECT date FROM table_name_63 WHERE school = "marshfield high school"
###context:CREATE TABLE table_name_72 (school VARCHAR, date VARCHAR) ###human: What is the School of the Player with a Date of June 4, 2011? ###assistant: SELECT school FROM table_name_72 WHERE date = "june 4, 2011"
###context:CREATE TABLE table_name_62 (episodes VARCHAR, tv_station VARCHAR, japanese_title VARCHAR) ###human: What episodes was the show クロサギ shown on TBS? ###assistant: SELECT episodes FROM table_name_62 WHERE tv_station = "tbs" AND japanese_title = "クロサギ"
###context:CREATE TABLE table_name_43 (romaji_title VARCHAR, tv_station VARCHAR, episodes VARCHAR) ###human: What is the Romanji Title of a show on TBS with less than 11 episodes? ###assistant: SELECT romaji_title FROM table_name_43 WHERE tv_station = "tbs" AND episodes < 11
###context:CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR) ###human: What is the total number of episodes for クロサギ? ###assistant: SELECT COUNT(episodes) FROM table_name_13 WHERE japanese_title = "クロサギ"
###context:CREATE TABLE table_name_24 (average_ratings VARCHAR, japanese_title VARCHAR) ###human: What are the average ratings for プリマダム? ###assistant: SELECT average_ratings FROM table_name_24 WHERE japanese_title = "プリマダム"
###context:CREATE TABLE table_name_42 (score_final INTEGER, rank_final VARCHAR, year VARCHAR) ###human: Which Score-Final has a Rank-Final of 2, and a Year smaller than 2008? ###assistant: SELECT SUM(score_final) FROM table_name_42 WHERE rank_final = 2 AND year < 2008
###context:CREATE TABLE table_name_22 (year INTEGER, score_final VARCHAR, rank_final VARCHAR, competition_description VARCHAR) ###human: How many years have a Rank-Final smaller than 7, and a Competition Description of olympic games, and a Score-Final smaller than 186.525? ###assistant: SELECT SUM(year) FROM table_name_22 WHERE rank_final < 7 AND competition_description = "olympic games" AND score_final < 186.525
###context:CREATE TABLE table_name_61 (score_final INTEGER, apparatus VARCHAR) ###human: Which Score-Final has an Apparatus of floor exercise? ###assistant: SELECT MAX(score_final) FROM table_name_61 WHERE apparatus = "floor exercise"
###context:CREATE TABLE table_name_15 (year INTEGER, apparatus VARCHAR, rank_final VARCHAR) ###human: Which Year is the first one that has an Apparatus of uneven bars, and a Rank-Final smaller than 3? ###assistant: SELECT MIN(year) FROM table_name_15 WHERE apparatus = "uneven bars" AND rank_final < 3
###context:CREATE TABLE table_name_62 (name VARCHAR, constituency_number VARCHAR) ###human: Who has a constituency of 84? ###assistant: SELECT name FROM table_name_62 WHERE constituency_number = "84"
###context:CREATE TABLE table_name_99 (round INTEGER, time VARCHAR) ###human: What the round with the time 1:15? ###assistant: SELECT AVG(round) FROM table_name_99 WHERE time = "1:15"
###context:CREATE TABLE table_name_15 (location VARCHAR, opponent VARCHAR) ###human: What's the location when the opponent was Lyoto Machida? ###assistant: SELECT location FROM table_name_15 WHERE opponent = "lyoto machida"
###context:CREATE TABLE table_name_91 (tournament VARCHAR) ###human: What is the 2007 result when the 2010 result was 2r, at the US Open? ###assistant: SELECT 2007 FROM table_name_91 WHERE 2010 = "2r" AND tournament = "us open"
###context:CREATE TABLE table_name_38 (a_score INTEGER, b_score VARCHAR, total VARCHAR, position VARCHAR) ###human: What is the A score for the person with a total less than 15.95, position less than 7, and B score more than 8.225? ###assistant: SELECT MAX(a_score) FROM table_name_38 WHERE total < 15.95 AND position < 7 AND b_score > 8.225
###context:CREATE TABLE table_name_85 (b_score INTEGER, total VARCHAR, a_score VARCHAR) ###human: What is the B score for the person with a total of 16.325 and an A score of more than 7.3? ###assistant: SELECT AVG(b_score) FROM table_name_85 WHERE total = 16.325 AND a_score > 7.3
###context:CREATE TABLE table_name_40 (position INTEGER, total VARCHAR, a_score VARCHAR) ###human: What is the Position of the person with a total less than 16.65 and an A score of 7.4? ###assistant: SELECT MIN(position) FROM table_name_40 WHERE total < 16.65 AND a_score = 7.4
###context:CREATE TABLE table_name_14 (network VARCHAR, city_of_license VARCHAR) ###human: What's the network in Pachuca, Hidalgo? ###assistant: SELECT network FROM table_name_14 WHERE city_of_license = "pachuca, hidalgo"
###context:CREATE TABLE table_name_1 (network VARCHAR, d_erp VARCHAR, callsign VARCHAR) ###human: What's the network that has a callsign of XHTM and a D ERP of •? ###assistant: SELECT network FROM table_name_1 WHERE d_erp = "•" AND callsign = "xhtm"
###context:CREATE TABLE table_name_21 (city_of_license VARCHAR, d_erp VARCHAR) ###human: What's the city of license having a D ERP of 100kw? ###assistant: SELECT city_of_license FROM table_name_21 WHERE d_erp = "100kw"
###context:CREATE TABLE table_name_12 (d_erp VARCHAR, city_of_license VARCHAR) ###human: What's the D ERP in San Martin Texmelucan, Puebla? ###assistant: SELECT d_erp FROM table_name_12 WHERE city_of_license = "san martin texmelucan, puebla"
###context:CREATE TABLE table_name_54 (district VARCHAR, constituency_number VARCHAR) ###human: What district has 98 constituencies? ###assistant: SELECT district FROM table_name_54 WHERE constituency_number = "98"
###context:CREATE TABLE table_name_70 (points INTEGER, year VARCHAR) ###human: What are the highest points with 2012 as the year? ###assistant: SELECT MAX(points) FROM table_name_70 WHERE year = "2012"
###context:CREATE TABLE table_name_55 (matches INTEGER, points VARCHAR, goals VARCHAR) ###human: What are the highest matches that have points less than 88, and goals less than 0? ###assistant: SELECT MAX(matches) FROM table_name_55 WHERE points < 88 AND goals < 0
###context:CREATE TABLE table_name_33 (tries INTEGER, goals INTEGER) ###human: How many tries have goals greater than 0? ###assistant: SELECT SUM(tries) FROM table_name_33 WHERE goals > 0
###context:CREATE TABLE table_name_48 (points INTEGER, year VARCHAR, goals VARCHAR) ###human: What are the lowest points with 2013 as the year, and goals less than 0? ###assistant: SELECT MIN(points) FROM table_name_48 WHERE year = "2013" AND goals < 0
###context:CREATE TABLE table_name_56 (goals VARCHAR, points VARCHAR, matches VARCHAR) ###human: How many goals have 28 as the points, and matches greater than 11? ###assistant: SELECT COUNT(goals) FROM table_name_56 WHERE points = 28 AND matches > 11
###context:CREATE TABLE table_name_54 (laps INTEGER, rider VARCHAR, grid VARCHAR) ###human: Which Laps have a Rider of russell holland, and a Grid smaller than 10? ###assistant: SELECT MAX(laps) FROM table_name_54 WHERE rider = "russell holland" AND grid < 10
###context:CREATE TABLE table_name_14 (laps INTEGER, bike VARCHAR, time VARCHAR) ###human: Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891? ###assistant: SELECT MIN(laps) FROM table_name_14 WHERE bike = "kawasaki zx-6r" AND time = "+26.891"
###context:CREATE TABLE table_name_61 (rider VARCHAR, time VARCHAR, grid VARCHAR) ###human: Which Rider has a Time of retirement, and a Grid larger than 5? ###assistant: SELECT rider FROM table_name_61 WHERE time = "retirement" AND grid > 5
###context:CREATE TABLE table_name_73 (rider VARCHAR, laps VARCHAR, grid VARCHAR) ###human: Which Rider has less than 18 laps, and a Grid of 24? ###assistant: SELECT rider FROM table_name_73 WHERE laps < 18 AND grid = 24
###context:CREATE TABLE table_name_63 (date VARCHAR, round VARCHAR) ###human: What is the date of the 2nd round 2nd leg? ###assistant: SELECT date FROM table_name_63 WHERE round = "2nd round 2nd leg"
###context:CREATE TABLE table_name_40 (round VARCHAR, opposing_team VARCHAR, against VARCHAR) ###human: What is the Round against Gillingham with an Against smaller than 3? ###assistant: SELECT round FROM table_name_40 WHERE opposing_team = "gillingham" AND against < 3