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