answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MIN(penalty_points) FROM table_name_30 WHERE judge_e = "72.22"
CREATE TABLE table_name_30 (penalty_points INTEGER, judge_e VARCHAR)
what is the least penalty points when the judge e is 72.22?
SELECT judge_e FROM table_name_80 WHERE judge_c = "56.67" AND rider = "dag albert"
CREATE TABLE table_name_80 (judge_e VARCHAR, judge_c VARCHAR, rider VARCHAR)
what is the judge e when judge c is 56.67 and the rider is dag albert?
SELECT nation FROM table_name_30 WHERE penalty_points < 40.2 AND judge_e = "82.22"
CREATE TABLE table_name_30 (nation VARCHAR, penalty_points VARCHAR, judge_e VARCHAR)
what is the nation when the penalty points is less than 40.2 and judge e is 82.22?
SELECT rank FROM table_name_67 WHERE judge_m = "65.93" AND judge_e = "65.56"
CREATE TABLE table_name_67 (rank VARCHAR, judge_m VARCHAR, judge_e VARCHAR)
what is the rank when judge m is 65.93 and judge e is 65.56?
SELECT horse FROM table_name_5 WHERE rank = "69"
CREATE TABLE table_name_5 (horse VARCHAR, rank VARCHAR)
what is the horse that ranked 69?
SELECT production_number FROM table_name_52 WHERE director = "friz freleng" AND title = "wacky worm, the"
CREATE TABLE table_name_52 (production_number VARCHAR, director VARCHAR, title VARCHAR)
Name the Production Number with a Director of friz freleng, and a Title of wacky worm, the?
SELECT series FROM table_name_2 WHERE production_number = "95, br 1254"
CREATE TABLE table_name_2 (series VARCHAR, production_number VARCHAR)
Name the Series with Production Number of 95, br 1254?
SELECT series FROM table_name_96 WHERE title = "elmer's pet rabbit"
CREATE TABLE table_name_96 (series VARCHAR, title VARCHAR)
Name the Series with a Title of elmer's pet rabbit?
SELECT boarding_day FROM table_name_36 WHERE type = "old" AND house = "saunderites"
CREATE TABLE table_name_36 (boarding_day VARCHAR, type VARCHAR, house VARCHAR)
What is the Boarding/Day value for a type of old and house of Saunderites?
SELECT house FROM table_name_60 WHERE abbr = "g"
CREATE TABLE table_name_60 (house VARCHAR, abbr VARCHAR)
Which house has an abbreviation of G?
SELECT house FROM table_name_31 WHERE boarding_day = "day"
CREATE TABLE table_name_31 (house VARCHAR, boarding_day VARCHAR)
Which house has a Boarding/Day value of Day?
SELECT house FROM table_name_24 WHERE abbr = "d"
CREATE TABLE table_name_24 (house VARCHAR, abbr VARCHAR)
Which house has an abbreviation of D?
SELECT type FROM table_name_91 WHERE colour = "dark blue"
CREATE TABLE table_name_91 (type VARCHAR, colour VARCHAR)
Which type has a color of Dark Blue?
SELECT total_tackles FROM table_name_9 WHERE games = "16" AND solo = "88"
CREATE TABLE table_name_9 (total_tackles VARCHAR, games VARCHAR, solo VARCHAR)
what is the total tackles when the games is 16 and solo is 88?
SELECT team FROM table_name_90 WHERE sacks = "0" AND season < 1998
CREATE TABLE table_name_90 (team VARCHAR, sacks VARCHAR, season VARCHAR)
what is the team when sacks is 0 and the season is earlier than 1998?
SELECT solo FROM table_name_82 WHERE total_tackles = "6"
CREATE TABLE table_name_82 (solo VARCHAR, total_tackles VARCHAR)
what is solo when total tackles is 6?
SELECT MIN(fa_cup_goals) FROM table_name_10 WHERE name = "dick taylor" AND league_goals < 0
CREATE TABLE table_name_10 (fa_cup_goals INTEGER, name VARCHAR, league_goals VARCHAR)
How many FA cup goals did dick taylor score in the year that he had 0 league goals?
SELECT COUNT(total_goals) FROM table_name_64 WHERE league_cup_apps = "2" AND fa_cup_goals < 0
CREATE TABLE table_name_64 (total_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR)
What is the goals number of goals for the player who had 2 league cup apps and 0 FA cup goals?
SELECT result FROM table_name_76 WHERE week = 11
CREATE TABLE table_name_76 (result VARCHAR, week VARCHAR)
What was the result of week 11?
SELECT COUNT(time) FROM table_name_32 WHERE name = "lisbeth trickett"
CREATE TABLE table_name_32 (time VARCHAR, name VARCHAR)
What is Lisbeth Trickett's time?
SELECT AVG(rank) FROM table_name_61 WHERE time < 57.05
CREATE TABLE table_name_61 (rank INTEGER, time INTEGER)
What is the average rank for 57.05 time?
SELECT COUNT(lane) FROM table_name_95 WHERE nationality = "great britain" AND time > 57.78
CREATE TABLE table_name_95 (lane VARCHAR, nationality VARCHAR, time VARCHAR)
What lane is from Great Britain and a 57.78 time?
SELECT owner FROM table_name_33 WHERE broadcasting_area = "sanam pao"
CREATE TABLE table_name_33 (owner VARCHAR, broadcasting_area VARCHAR)
Who's the owner of Sanam Pao as the broadcasting area?
SELECT owner FROM table_name_89 WHERE broadcasting_hours = "24-hours" AND channel___bkk__ = "3/32 (vhf/uhf)"
CREATE TABLE table_name_89 (owner VARCHAR, broadcasting_hours VARCHAR, channel___bkk__ VARCHAR)
Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours?
SELECT owner FROM table_name_28 WHERE name = "thai pbs"
CREATE TABLE table_name_28 (owner VARCHAR, name VARCHAR)
Who's the owner of Thai PBS?
SELECT network FROM table_name_99 WHERE name = "bbtv channel 7"
CREATE TABLE table_name_99 (network VARCHAR, name VARCHAR)
What's the network of BBTV Channel 7?
SELECT name FROM table_name_65 WHERE channel___bkk__ = "29 (uhf)"
CREATE TABLE table_name_65 (name VARCHAR, channel___bkk__ VARCHAR)
What's the name of Channel 29 (UHF)?
SELECT broadcasting_hours FROM table_name_47 WHERE network = "nbt"
CREATE TABLE table_name_47 (broadcasting_hours VARCHAR, network VARCHAR)
What's the broadcasting hours of NBT?
SELECT runner_s__up FROM table_name_93 WHERE date = "may 26, 1996"
CREATE TABLE table_name_93 (runner_s__up VARCHAR, date VARCHAR)
Who were the runners-up in the tournament on May 26, 1996?
SELECT tournament FROM table_name_20 WHERE runner_s__up = "val skinner"
CREATE TABLE table_name_20 (tournament VARCHAR, runner_s__up VARCHAR)
Which tournament had a runner-up of Val Skinner?
SELECT winning_score FROM table_name_39 WHERE date = "apr 29, 2001"
CREATE TABLE table_name_39 (winning_score VARCHAR, date VARCHAR)
What was Rosie's winning score on Apr 29, 2001?
SELECT release_date FROM table_name_14 WHERE production_number = "1018, br 1352"
CREATE TABLE table_name_14 (release_date VARCHAR, production_number VARCHAR)
What was the release date of the feature with a production number of 1018, BR 1352?
SELECT name FROM table_name_70 WHERE constituency_number = "150"
CREATE TABLE table_name_70 (name VARCHAR, constituency_number VARCHAR)
what is the name when the constituency number is 150?
SELECT COUNT(number_of_electorates__2009_) FROM table_name_97 WHERE name = "govindpura"
CREATE TABLE table_name_97 (number_of_electorates__2009_ VARCHAR, name VARCHAR)
what is the total number of electorates (2009) when the name is govindpura?
SELECT COUNT(rank) FROM table_name_85 WHERE province = "si sa ket" AND bronze < 14
CREATE TABLE table_name_85 (rank VARCHAR, province VARCHAR, bronze VARCHAR)
What is the rank of Si Sa Ket province with less than 14 bronze medals?
SELECT MAX(total) FROM table_name_86 WHERE silver < 40 AND rank = 3
CREATE TABLE table_name_86 (total INTEGER, silver VARCHAR, rank VARCHAR)
How many total medals does rank 3 with less than 40 silver medals?
SELECT AVG(gold) FROM table_name_26 WHERE bronze = 25 AND rank < 9
CREATE TABLE table_name_26 (gold INTEGER, bronze VARCHAR, rank VARCHAR)
How many average gold medals for provinces higher than rank 9 with 25 bronzes?
SELECT engine_code FROM table_name_76 WHERE model = "xdrive25i"
CREATE TABLE table_name_76 (engine_code VARCHAR, model VARCHAR)
What is the engine code for the Xdrive25i?
SELECT torque FROM table_name_80 WHERE power = "hp (kw; ps)@5800"
CREATE TABLE table_name_80 (torque VARCHAR, power VARCHAR)
What is the torque on the model with power of hp (kw; ps)@5800?
SELECT torque FROM table_name_97 WHERE engine_code = "n46b20" AND power = "ps (kw; hp)@6400"
CREATE TABLE table_name_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR)
What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400?
SELECT power FROM table_name_18 WHERE model = "xdrive28i sdrive28i"
CREATE TABLE table_name_18 (power VARCHAR, model VARCHAR)
What is the power for the model xdrive28i sdrive28i?
SELECT model FROM table_name_27 WHERE years = "2011 2012-"
CREATE TABLE table_name_27 (model VARCHAR, years VARCHAR)
What is the model that was made in the years 2011 2012-?
SELECT engine_code FROM table_name_9 WHERE model = "xdrive35i"
CREATE TABLE table_name_9 (engine_code VARCHAR, model VARCHAR)
What is the engine code for the model xdrive35i?
SELECT athlete FROM table_name_25 WHERE school = "burbank high school"
CREATE TABLE table_name_25 (athlete VARCHAR, school VARCHAR)
What is the Athlete from Burbank High School?
SELECT date FROM table_name_17 WHERE school = "ferris high school"
CREATE TABLE table_name_17 (date VARCHAR, school VARCHAR)
What is the Date of the Athlete from Ferris High School?
SELECT athlete FROM table_name_67 WHERE city = "riverbank, california"
CREATE TABLE table_name_67 (athlete VARCHAR, city VARCHAR)
What is the Athlete from Riverbank, California?
SELECT date FROM table_name_63 WHERE school = "marshfield high school"
CREATE TABLE table_name_63 (date VARCHAR, school VARCHAR)
What is the Date of the Player from Marshfield High School?
SELECT school FROM table_name_72 WHERE date = "june 4, 2011"
CREATE TABLE table_name_72 (school VARCHAR, date VARCHAR)
What is the School of the Player with a Date of June 4, 2011?
SELECT episodes FROM table_name_62 WHERE tv_station = "tbs" AND japanese_title = "クロサギ"
CREATE TABLE table_name_62 (episodes VARCHAR, tv_station VARCHAR, japanese_title VARCHAR)
What episodes was the show クロサギ shown on TBS?
SELECT romaji_title FROM table_name_43 WHERE tv_station = "tbs" AND episodes < 11
CREATE TABLE table_name_43 (romaji_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)
What is the Romanji Title of a show on TBS with less than 11 episodes?
SELECT COUNT(episodes) FROM table_name_13 WHERE japanese_title = "クロサギ"
CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR)
What is the total number of episodes for クロサギ?
SELECT average_ratings FROM table_name_24 WHERE japanese_title = "プリマダム"
CREATE TABLE table_name_24 (average_ratings VARCHAR, japanese_title VARCHAR)
What are the average ratings for プリマダム?
SELECT SUM(score_final) FROM table_name_42 WHERE rank_final = 2 AND year < 2008
CREATE TABLE table_name_42 (score_final INTEGER, rank_final VARCHAR, year VARCHAR)
Which Score-Final has a Rank-Final of 2, and a Year smaller than 2008?
SELECT SUM(year) FROM table_name_22 WHERE rank_final < 7 AND competition_description = "olympic games" AND score_final < 186.525
CREATE TABLE table_name_22 (year INTEGER, score_final VARCHAR, rank_final VARCHAR, competition_description VARCHAR)
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?
SELECT MAX(score_final) FROM table_name_61 WHERE apparatus = "floor exercise"
CREATE TABLE table_name_61 (score_final INTEGER, apparatus VARCHAR)
Which Score-Final has an Apparatus of floor exercise?
SELECT MIN(year) FROM table_name_15 WHERE apparatus = "uneven bars" AND rank_final < 3
CREATE TABLE table_name_15 (year INTEGER, apparatus VARCHAR, rank_final VARCHAR)
Which Year is the first one that has an Apparatus of uneven bars, and a Rank-Final smaller than 3?
SELECT name FROM table_name_62 WHERE constituency_number = "84"
CREATE TABLE table_name_62 (name VARCHAR, constituency_number VARCHAR)
Who has a constituency of 84?
SELECT AVG(round) FROM table_name_99 WHERE time = "1:15"
CREATE TABLE table_name_99 (round INTEGER, time VARCHAR)
What the round with the time 1:15?
SELECT location FROM table_name_15 WHERE opponent = "lyoto machida"
CREATE TABLE table_name_15 (location VARCHAR, opponent VARCHAR)
What's the location when the opponent was Lyoto Machida?
SELECT 2007 FROM table_name_91 WHERE 2010 = "2r" AND tournament = "us open"
CREATE TABLE table_name_91 (tournament VARCHAR)
What is the 2007 result when the 2010 result was 2r, at the US Open?
SELECT MAX(a_score) FROM table_name_38 WHERE total < 15.95 AND position < 7 AND b_score > 8.225
CREATE TABLE table_name_38 (a_score INTEGER, b_score VARCHAR, total VARCHAR, position VARCHAR)
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?
SELECT AVG(b_score) FROM table_name_85 WHERE total = 16.325 AND a_score > 7.3
CREATE TABLE table_name_85 (b_score INTEGER, total VARCHAR, a_score VARCHAR)
What is the B score for the person with a total of 16.325 and an A score of more than 7.3?
SELECT MIN(position) FROM table_name_40 WHERE total < 16.65 AND a_score = 7.4
CREATE TABLE table_name_40 (position INTEGER, total VARCHAR, a_score VARCHAR)
What is the Position of the person with a total less than 16.65 and an A score of 7.4?
SELECT network FROM table_name_14 WHERE city_of_license = "pachuca, hidalgo"
CREATE TABLE table_name_14 (network VARCHAR, city_of_license VARCHAR)
What's the network in Pachuca, Hidalgo?
SELECT network FROM table_name_1 WHERE d_erp = "•" AND callsign = "xhtm"
CREATE TABLE table_name_1 (network VARCHAR, d_erp VARCHAR, callsign VARCHAR)
What's the network that has a callsign of XHTM and a D ERP of •?
SELECT city_of_license FROM table_name_21 WHERE d_erp = "100kw"
CREATE TABLE table_name_21 (city_of_license VARCHAR, d_erp VARCHAR)
What's the city of license having a D ERP of 100kw?
SELECT d_erp FROM table_name_12 WHERE city_of_license = "san martin texmelucan, puebla"
CREATE TABLE table_name_12 (d_erp VARCHAR, city_of_license VARCHAR)
What's the D ERP in San Martin Texmelucan, Puebla?
SELECT district FROM table_name_54 WHERE constituency_number = "98"
CREATE TABLE table_name_54 (district VARCHAR, constituency_number VARCHAR)
What district has 98 constituencies?
SELECT MAX(points) FROM table_name_70 WHERE year = "2012"
CREATE TABLE table_name_70 (points INTEGER, year VARCHAR)
What are the highest points with 2012 as the year?
SELECT MAX(matches) FROM table_name_55 WHERE points < 88 AND goals < 0
CREATE TABLE table_name_55 (matches INTEGER, points VARCHAR, goals VARCHAR)
What are the highest matches that have points less than 88, and goals less than 0?
SELECT SUM(tries) FROM table_name_33 WHERE goals > 0
CREATE TABLE table_name_33 (tries INTEGER, goals INTEGER)
How many tries have goals greater than 0?
SELECT MIN(points) FROM table_name_48 WHERE year = "2013" AND goals < 0
CREATE TABLE table_name_48 (points INTEGER, year VARCHAR, goals VARCHAR)
What are the lowest points with 2013 as the year, and goals less than 0?
SELECT COUNT(goals) FROM table_name_56 WHERE points = 28 AND matches > 11
CREATE TABLE table_name_56 (goals VARCHAR, points VARCHAR, matches VARCHAR)
How many goals have 28 as the points, and matches greater than 11?
SELECT MAX(laps) FROM table_name_54 WHERE rider = "russell holland" AND grid < 10
CREATE TABLE table_name_54 (laps INTEGER, rider VARCHAR, grid VARCHAR)
Which Laps have a Rider of russell holland, and a Grid smaller than 10?
SELECT MIN(laps) FROM table_name_14 WHERE bike = "kawasaki zx-6r" AND time = "+26.891"
CREATE TABLE table_name_14 (laps INTEGER, bike VARCHAR, time VARCHAR)
Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891?
SELECT rider FROM table_name_61 WHERE time = "retirement" AND grid > 5
CREATE TABLE table_name_61 (rider VARCHAR, time VARCHAR, grid VARCHAR)
Which Rider has a Time of retirement, and a Grid larger than 5?
SELECT rider FROM table_name_73 WHERE laps < 18 AND grid = 24
CREATE TABLE table_name_73 (rider VARCHAR, laps VARCHAR, grid VARCHAR)
Which Rider has less than 18 laps, and a Grid of 24?
SELECT date FROM table_name_63 WHERE round = "2nd round 2nd leg"
CREATE TABLE table_name_63 (date VARCHAR, round VARCHAR)
What is the date of the 2nd round 2nd leg?
SELECT round FROM table_name_40 WHERE opposing_team = "gillingham" AND against < 3
CREATE TABLE table_name_40 (round VARCHAR, opposing_team VARCHAR, against VARCHAR)
What is the Round against Gillingham with an Against smaller than 3?
SELECT AVG(draw) FROM table_name_15 WHERE points = 42 AND played < 36
CREATE TABLE table_name_15 (draw INTEGER, points VARCHAR, played VARCHAR)
What's the draw that's played less than 36 and has 42 points?
SELECT SUM(lost) FROM table_name_21 WHERE goals_scored < 38 AND points < 10
CREATE TABLE table_name_21 (lost INTEGER, goals_scored VARCHAR, points VARCHAR)
What the lost that has less than 10 points and less than 38 goals scored?
SELECT MAX(lost) FROM table_name_26 WHERE team = "alianza" AND draw < 6
CREATE TABLE table_name_26 (lost INTEGER, team VARCHAR, draw VARCHAR)
what the most lost for Alianza with a draw less than 6?
SELECT SUM(lost) FROM table_name_87 WHERE goals_scored > 63 AND place < 3
CREATE TABLE table_name_87 (lost INTEGER, goals_scored VARCHAR, place VARCHAR)
What the lost in place less than 3 and having more than 63 goals scored?
SELECT SUM(rank) FROM table_name_15 WHERE apps > 39 AND player = "ümit karan" AND rate > 0.58
CREATE TABLE table_name_15 (rank INTEGER, rate VARCHAR, apps VARCHAR, player VARCHAR)
What is the total Rank for ümit karan when Apps is more than 39 and Rate is more than 0.58?
SELECT SUM(rate) FROM table_name_43 WHERE rank > 10
CREATE TABLE table_name_43 (rate INTEGER, rank INTEGER)
When rank is more than 10, what is the total rate?
SELECT winning_amount FROM table_name_51 WHERE contestant_name = "himesh reshammiya"
CREATE TABLE table_name_51 (winning_amount VARCHAR, contestant_name VARCHAR)
What winning amount has himesh reshammiya as the contestant name?
SELECT eliminated_contestant FROM table_name_25 WHERE date_premiered__2009_ = "october 10"
CREATE TABLE table_name_25 (eliminated_contestant VARCHAR, date_premiered__2009_ VARCHAR)
What eliminated contestant has October 10, 2009 as the date premiered?
SELECT date_premiered__2009_ FROM table_name_40 WHERE contestant_name = "kareena kapoor"
CREATE TABLE table_name_40 (date_premiered__2009_ VARCHAR, contestant_name VARCHAR)
What date premiered (2009) has kareena kapoor as the contestant name?
SELECT episode__number FROM table_name_66 WHERE eliminated_contestant = "govinda & david dhawan"
CREATE TABLE table_name_66 (episode__number VARCHAR, eliminated_contestant VARCHAR)
What episode # has govinda & david dhawan as the eliminated contestant?
SELECT winning_amount FROM table_name_2 WHERE date_premiered__2009_ = "may 30"
CREATE TABLE table_name_2 (winning_amount VARCHAR, date_premiered__2009_ VARCHAR)
What is the winning amount that has May 30, 2009 as the date premiered?
SELECT reserved_for___sc___st__none_ FROM table_name_39 WHERE name = "lahar"
CREATE TABLE table_name_39 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
What is the Reserved For of Lahar?
SELECT MIN(clock_speed__mhz_) FROM table_name_75 WHERE introduced = "january 1986"
CREATE TABLE table_name_75 (clock_speed__mhz_ INTEGER, introduced VARCHAR)
What is the least clock speed (MHz) with January 1986 as introduced?
SELECT MIN(clock_speed__mhz_) FROM table_name_36 WHERE introduced = "april 1986"
CREATE TABLE table_name_36 (clock_speed__mhz_ INTEGER, introduced VARCHAR)
With April 1986 as the introduced, what is the least clock speed (MHz)?
SELECT processor FROM table_name_58 WHERE model = "powerbook 100"
CREATE TABLE table_name_58 (processor VARCHAR, model VARCHAR)
The Powerbook 100 model has what processor?
SELECT discontinued FROM table_name_45 WHERE model = "lisa 2"
CREATE TABLE table_name_45 (discontinued VARCHAR, model VARCHAR)
When was the Lisa 2 model discontinued?
SELECT rowers FROM table_name_33 WHERE notes = "fa" AND time = "6:41.45"
CREATE TABLE table_name_33 (rowers VARCHAR, notes VARCHAR, time VARCHAR)
Who are the rowers with a time of 6:41.45 and notes of FA?
SELECT rowers FROM table_name_6 WHERE country = "united states"
CREATE TABLE table_name_6 (rowers VARCHAR, country VARCHAR)
Who are the rowers from the United States?
SELECT time FROM table_name_76 WHERE country = "ukraine"
CREATE TABLE table_name_76 (time VARCHAR, country VARCHAR)
What time did the team from Ukraine have?
SELECT SUM(rank) FROM table_name_26 WHERE notes = "fa" AND time = "6:41.45"
CREATE TABLE table_name_26 (rank INTEGER, notes VARCHAR, time VARCHAR)
What is the rank for the team that had a time of 6:41.45 and note FA?
SELECT COUNT(rank) FROM table_name_77 WHERE country = "australia"
CREATE TABLE table_name_77 (rank VARCHAR, country VARCHAR)
What rank was the team from Australia?