context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_21 (lost INTEGER, goals_conceded VARCHAR, team VARCHAR, place VARCHAR, points VARCHAR) | What is the average of lost for place less than 10, less than 23 points, and goals conceded less than 26 for the Chorrillo team? | SELECT AVG(lost) FROM table_name_21 WHERE place < 10 AND points < 23 AND team = "chorrillo" AND goals_conceded < 26 |
CREATE TABLE table_name_28 (eliminated VARCHAR, entered VARCHAR, wrestler VARCHAR) | What is the Eliminated when there are less than 4 entered and the wrestler was shawn michaels? | SELECT eliminated FROM table_name_28 WHERE entered < 4 AND wrestler = "shawn michaels" |
CREATE TABLE table_name_56 (rank INTEGER, nation VARCHAR, bronze VARCHAR) | What is the total rank for New Zealand, when less than 1 bronze medals were won? | SELECT SUM(rank) FROM table_name_56 WHERE nation = "new zealand" AND bronze < 1 |
CREATE TABLE table_name_8 (rank VARCHAR, nation VARCHAR, silver VARCHAR) | What is the total rank for the Netherlands when more than 2 silver medals were won? | SELECT COUNT(rank) FROM table_name_8 WHERE nation = "netherlands" AND silver > 2 |
CREATE TABLE table_name_49 (poll_wins INTEGER, ties VARCHAR, poll_losses VARCHAR, advocate VARCHAR) | What is the highest poll of the advocate Andy Kindler with poll losses greater than 2 and ties less than 0? | SELECT MAX(poll_wins) FROM table_name_49 WHERE poll_losses > 2 AND advocate = "andy kindler" AND ties < 0 |
CREATE TABLE table_name_51 (losses VARCHAR, conference VARCHAR, season VARCHAR) | What is the Losses at the western conference and the 2004–05 season? | SELECT losses FROM table_name_51 WHERE conference = "western" AND season = "2004–05" |
CREATE TABLE table_name_87 (current_club VARCHAR, height VARCHAR, position VARCHAR) | What is the Current Club of the PG/SG player with a Height of less than 1.9500000000000002? | SELECT current_club FROM table_name_87 WHERE height < 1.9500000000000002 AND position = "pg/sg" |
CREATE TABLE table_name_20 (round VARCHAR, event VARCHAR) | What is the Round for the jiu-jitsu vs martial arts? | SELECT round FROM table_name_20 WHERE event = "jiu-jitsu vs martial arts" |
CREATE TABLE table_name_70 (year INTEGER, winning_team VARCHAR, losing_team VARCHAR) | What was the latest year that the Atlanta Braves won and the St. Louis Cardinals lost? | SELECT MAX(year) FROM table_name_70 WHERE winning_team = "atlanta braves" AND losing_team = "st. louis cardinals" |
CREATE TABLE table_name_92 (winning_team VARCHAR, losing_team VARCHAR) | Who won the series when the San Francisco Giants lost? | SELECT winning_team FROM table_name_92 WHERE losing_team = "san francisco giants" |
CREATE TABLE table_name_2 (third_member VARCHAR, second_member VARCHAR, second_party VARCHAR, third_party VARCHAR) | Who is the third member of the Liberal Party, a third party conservative, the second member Humphrey Mildmay? | SELECT third_member FROM table_name_2 WHERE second_party = "liberal" AND third_party = "conservative" AND second_member = "humphrey mildmay" |
CREATE TABLE table_name_42 (to_par VARCHAR, country VARCHAR, player VARCHAR) | which To par has a Country of united states, and a Player of dave stockton? | SELECT to_par FROM table_name_42 WHERE country = "united states" AND player = "dave stockton" |
CREATE TABLE table_name_81 (total INTEGER, finish VARCHAR) | Which Total has a Finish of t59? | SELECT MIN(total) FROM table_name_81 WHERE finish = "t59" |
CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR) | What was the highest election with third party member Sir Robert Price, BT, and first party member conservative? | SELECT MAX(election) FROM table_name_97 WHERE third_member = "sir robert price, bt" AND first_party = "conservative" |
CREATE TABLE table_name_64 (place VARCHAR, money___$__ VARCHAR, player VARCHAR) | Which ranking has money of $82 and Al Watrous as the player? | SELECT place FROM table_name_64 WHERE money___$__ = 82 AND player = "al watrous" |
CREATE TABLE table_name_3 (english VARCHAR) | What English word has the same meaning as the German word "german"? | SELECT english FROM table_name_3 WHERE "german" = "german" |
CREATE TABLE table_name_99 (year INTEGER, rank VARCHAR, name VARCHAR) | Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richness? | SELECT MIN(year) FROM table_name_99 WHERE rank < 132 AND name = "biodiversity richness" |
CREATE TABLE table_name_31 (out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR) | Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003? | SELECT out_of FROM table_name_31 WHERE source = "united nations" AND rank > 47 AND year < 2003 |
CREATE TABLE table_name_32 (Id VARCHAR) | What is the 2007 that has a grand slam tournaments in 2006. | SELECT 2007 FROM table_name_32 WHERE 2006 = "grand slam tournaments" |
CREATE TABLE table_name_4 (fate VARCHAR, nationality VARCHAR, tonnage VARCHAR) | Which Fate has a Nationality of united kingdom, and a Tonnage of 1,809? | SELECT fate FROM table_name_4 WHERE nationality = "united kingdom" AND tonnage = "1,809" |
CREATE TABLE table_name_51 (pos VARCHAR, driver VARCHAR, race_1 VARCHAR, points VARCHAR, qualifying VARCHAR) | What is the total number of positions with less than 10 points, more than 7 qualifying, ret value in Race 1, and Jonathan Grant driving? | SELECT COUNT(pos) FROM table_name_51 WHERE points < 10 AND qualifying > 7 AND race_1 = "ret" AND driver = "jonathan grant" |
CREATE TABLE table_name_31 (points INTEGER, played INTEGER) | What points average has a played greater than 20? | SELECT AVG(points) FROM table_name_31 WHERE played > 20 |
CREATE TABLE table_name_75 (population VARCHAR, status VARCHAR) | What is the Population of the Rural Community | SELECT population FROM table_name_75 WHERE status = "rural community" |
CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR) | What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2? | SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle lock)" AND location = "tokyo, japan" AND record = "13-5-2" |
CREATE TABLE table_name_77 (nation VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR) | Which Nation has Silver smaller than 16, Bronze larger than 6, and Gold of 2? | SELECT nation FROM table_name_77 WHERE silver < 16 AND bronze > 6 AND gold = 2 |
CREATE TABLE table_name_64 (position VARCHAR, competition VARCHAR, year VARCHAR) | Which position was the World Indoor Championships in a year later than 2008? | SELECT position FROM table_name_64 WHERE competition = "world indoor championships" AND year > 2008 |
CREATE TABLE table_name_29 (assists VARCHAR, team VARCHAR, total_points VARCHAR) | What is the assists for the Team of Florida and the total points of 75? | SELECT assists FROM table_name_29 WHERE team = "florida" AND total_points = "75" |
CREATE TABLE table_name_91 (score VARCHAR, competition VARCHAR) | What was the score of the 2014 World Cup Qualification? | SELECT score FROM table_name_91 WHERE competition = "2014 world cup qualification" |
CREATE TABLE table_name_7 (winning_driver VARCHAR, fastest_lap VARCHAR, most_laps_led VARCHAR) | What is Winning Driver, when Fastest Lap is Ryan Hunter-Reay, and when Most Laps Led is Ryan Briscoe? | SELECT winning_driver FROM table_name_7 WHERE fastest_lap = "ryan hunter-reay" AND most_laps_led = "ryan briscoe" |
CREATE TABLE table_name_91 (race VARCHAR, most_laps_led VARCHAR, winning_team VARCHAR, pole_position VARCHAR) | What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott Dixon? | SELECT race FROM table_name_91 WHERE winning_team = "chip ganassi racing" AND pole_position = "ryan briscoe" AND most_laps_led = "scott dixon" |
CREATE TABLE table_name_9 (bronze INTEGER, rank VARCHAR, gold VARCHAR) | How many bronzes had a rank of 10 and 0 gold? | SELECT SUM(bronze) FROM table_name_9 WHERE rank = "10" AND gold < 0 |
CREATE TABLE table_name_95 (cuts_made INTEGER, events INTEGER) | What is the sum of Cuts made when there were more than 72 events? | SELECT SUM(cuts_made) FROM table_name_95 WHERE events > 72 |
CREATE TABLE table_name_98 (top_5 INTEGER, tournament VARCHAR, top_10 VARCHAR) | What is the average Top-5 for the open championship, and a Top-10 smaller than 2? | SELECT AVG(top_5) FROM table_name_98 WHERE tournament = "the open championship" AND top_10 < 2 |
CREATE TABLE table_name_2 (water__sqmi_ INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR, township VARCHAR) | What is the smallest amount of water having landmass over 34.864 sqmi, in Pierce township, with a GEO ID over 3800362460? | SELECT MIN(water__sqmi_) FROM table_name_2 WHERE land___sqmi__ > 34.864 AND township = "pierce" AND geo_id > 3800362460 |
CREATE TABLE table_name_21 (total VARCHAR, silver VARCHAR, gold VARCHAR) | How many totals have a Silver of 40, and a Gold smaller than 39? | SELECT COUNT(total) FROM table_name_21 WHERE silver = 40 AND gold < 39 |
CREATE TABLE table_name_32 (opponent VARCHAR, time VARCHAR) | Who's the opponent with a time of 3:24? | SELECT opponent FROM table_name_32 WHERE time = "3:24" |
CREATE TABLE table_name_64 (record VARCHAR, time VARCHAR, opponent VARCHAR) | What's the record that had an opponent of Krzysztof Soszynski and a time of 4:00? | SELECT record FROM table_name_64 WHERE time = "4:00" AND opponent = "krzysztof soszynski" |
CREATE TABLE table_name_66 (rank INTEGER, name VARCHAR, out_of VARCHAR) | What is the lowest Rank for the Name, "area of permanent crops", Out of a number smaller than 181? | SELECT MIN(rank) FROM table_name_66 WHERE name = "area of permanent crops" AND out_of < 181 |
CREATE TABLE table_name_90 (authors VARCHAR, name VARCHAR, novelty VARCHAR, location VARCHAR) | What is Authors, when Novelty is Gen Nov, when Location is South Africa, and when Name is Criocephalosaurus? | SELECT authors FROM table_name_90 WHERE novelty = "gen nov" AND location = "south africa" AND name = "criocephalosaurus" |
CREATE TABLE table_name_13 (authors VARCHAR, novelty VARCHAR, name VARCHAR) | What is Authors, when Novelty is Gen Et Sp Nov, and when Name is Lanthanocephalus? | SELECT authors FROM table_name_13 WHERE novelty = "gen et sp nov" AND name = "lanthanocephalus" |
CREATE TABLE table_name_44 (voltage__kv_ VARCHAR, supply_point VARCHAR, country VARCHAR, power__mw_ VARCHAR) | How much Voltage (kV) has a Country of argentina, and a Power (MW) larger than 30, and a Supply point of yacyretá? | SELECT COUNT(voltage__kv_) FROM table_name_44 WHERE country = "argentina" AND power__mw_ > 30 AND supply_point = "yacyretá" |
CREATE TABLE table_name_24 (name VARCHAR, novelty VARCHAR, location VARCHAR, status VARCHAR, authors VARCHAR) | What is Name, when Status is Valid, when Authors is Maisch, when Location is Tanzania, and when Novelty is Gen Et Sp Nov? | SELECT name FROM table_name_24 WHERE status = "valid" AND authors = "maisch" AND location = "tanzania" AND novelty = "gen et sp nov" |
CREATE TABLE table_name_53 (date VARCHAR, opponent VARCHAR) | What is the Date with an Opponent that is flavia pennetta? | SELECT date FROM table_name_53 WHERE opponent = "flavia pennetta" |
CREATE TABLE table_name_6 (debut_year INTEGER, goals VARCHAR, games VARCHAR, years_at_club VARCHAR) | What is the debut year for the player with fewer than 54 games, fewer than 8 goals and 1989 at club? | SELECT AVG(debut_year) FROM table_name_6 WHERE games < 54 AND years_at_club = "1989" AND goals < 8 |
CREATE TABLE table_name_41 (name VARCHAR, indication VARCHAR) | Which study included autoimmune disease and inflammation? | SELECT name FROM table_name_41 WHERE indication = "autoimmune disease and inflammation" |
CREATE TABLE table_name_8 (water__sqmi_ INTEGER, longitude VARCHAR, pop__2010_ VARCHAR, township VARCHAR) | what is the average water sqmi with a population (2010) more than 47 in the Brenna Township with Longitude less than -97.171507 | SELECT AVG(water__sqmi_) FROM table_name_8 WHERE pop__2010_ > 47 AND township = "brenna" AND longitude < -97.171507 |
CREATE TABLE table_name_98 (ansi_code INTEGER, longitude VARCHAR, land___sqmi__ VARCHAR, latitude VARCHAR, geo_id VARCHAR) | what is the highest ANSI code with a latitude more than 47.623288 and a geo id more than 3805508060 with land (sqmi) more than 35.66 and a longitude less than -102.054248 | SELECT MAX(ansi_code) FROM table_name_98 WHERE latitude > 47.623288 AND geo_id > 3805508060 AND land___sqmi__ > 35.66 AND longitude < -102.054248 |
CREATE TABLE table_name_16 (class_to_1928 VARCHAR, quantity VARCHAR, seats VARCHAR) | What Class to 1928 has the Quantity smaller than 440 and Seats of 29/29? | SELECT class_to_1928 FROM table_name_16 WHERE quantity < 440 AND seats = "29/29" |
CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR) | How many goals on average had 644 matches and a rank bigger than 3? | SELECT AVG(goals) FROM table_name_94 WHERE matches = 644 AND rank > 3 |
CREATE TABLE table_name_86 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number? | SELECT constituency_number FROM table_name_86 WHERE reserved_for___sc___st__none_ = "none" AND name = "badnawar" |
CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR) | What is the average attendance for the New York Jets? | SELECT AVG(attendance) FROM table_name_98 WHERE opponent = "new york jets" |
CREATE TABLE table_name_95 (party VARCHAR, position VARCHAR, name VARCHAR) | What Party is Member Alicia Hughes from? | SELECT party FROM table_name_95 WHERE position = "member" AND name = "alicia hughes" |
CREATE TABLE table_name_25 (champion VARCHAR, year VARCHAR, runner_up__average_in_final_ VARCHAR) | who is the champion when the year is earlier than 2012, the runner-up (average in final) is steve beaton (97.16)? | SELECT champion FROM table_name_25 WHERE year < 2012 AND runner_up__average_in_final_ = "steve beaton (97.16)" |
CREATE TABLE table_name_99 (location VARCHAR, country VARCHAR, event VARCHAR) | What was the location of the Havaianas Beachley Classic, held in Australia? | SELECT location FROM table_name_99 WHERE country = "australia" AND event = "havaianas beachley classic" |
CREATE TABLE table_name_6 (venue VARCHAR, runner_up__average_in_final_ VARCHAR) | what is the venue when the runner-up (average in final) is wayne jones (94.64)? | SELECT venue FROM table_name_6 WHERE runner_up__average_in_final_ = "wayne jones (94.64)" |
CREATE TABLE table_name_10 (city VARCHAR, region VARCHAR, venue VARCHAR) | What city is east region venue University Hall (University of Virginia) in? | SELECT city FROM table_name_10 WHERE region = "east" AND venue = "university hall (university of virginia)" |
CREATE TABLE table_name_92 (record VARCHAR, attendance VARCHAR) | What is the Record of the game with an Attendance of 70,604? | SELECT record FROM table_name_92 WHERE attendance = "70,604" |
CREATE TABLE table_name_55 (margin_of_victory VARCHAR, tournament VARCHAR) | What's the margin of victory during the Pocono Northeast Classic? | SELECT margin_of_victory FROM table_name_55 WHERE tournament = "pocono northeast classic" |
CREATE TABLE table_name_9 (name VARCHAR, year VARCHAR, length VARCHAR) | Which Name has a Year larger than 2001, and a Length of 52 x 20 mins? | SELECT name FROM table_name_9 WHERE year > 2001 AND length = "52 x 20 mins" |
CREATE TABLE table_name_83 (consistency_ VARCHAR, _participation VARCHAR, pareto_efficiency VARCHAR, condorcet VARCHAR) | what is the consistency & participation when pareto efficiency is yes and condorcet is no? | SELECT consistency_ & _participation FROM table_name_83 WHERE pareto_efficiency = "yes" AND condorcet = "no" |
CREATE TABLE table_name_1 (reversal_symmetry VARCHAR, clone_independence VARCHAR, non_dictatorship VARCHAR, consistency_ VARCHAR, _participation VARCHAR) | what is the reversal symmetry when non-dictatorship is yes, consistency & participation is no, and clone independence is yes? | SELECT reversal_symmetry FROM table_name_1 WHERE non_dictatorship = "yes" AND consistency_ & _participation = "no" AND clone_independence = "yes" |
CREATE TABLE table_name_39 (military_and_or_civilian_wounded VARCHAR, civilian_deaths VARCHAR, total_deaths__not_including_foreigners_ VARCHAR) | How many military or civilians were wounded in the conflict that had an unknown number of civilian and total deaths? | SELECT military_and_or_civilian_wounded FROM table_name_39 WHERE civilian_deaths = "unknown" AND total_deaths__not_including_foreigners_ = "unknown" |
CREATE TABLE table_name_1 (servedby VARCHAR, station VARCHAR, local_authority_ VARCHAR, a_ VARCHAR) | Which Servedby has a Local authority [a ] of thurrock, and a Station of ockendon? | SELECT servedby FROM table_name_1 WHERE local_authority_[a_] = "thurrock" AND station = "ockendon" |
CREATE TABLE table_name_44 (opponents_in_the_final VARCHAR, tournament VARCHAR) | What is the Opponents from the final with a Tournament that is puebla? | SELECT opponents_in_the_final FROM table_name_44 WHERE tournament = "puebla" |
CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR) | What is the total bronze medals when the silver medals is 0, and 1 is the rank, Brazil (BRA) is the nation, and the gold medals is less than 2? | SELECT SUM(bronze) FROM table_name_28 WHERE silver = 0 AND rank = "1" AND nation = "brazil (bra)" AND gold < 2 |
CREATE TABLE table_name_94 (content VARCHAR, country VARCHAR, television_service VARCHAR) | What is the content of the television service ewtn in the United Kingdom? | SELECT content FROM table_name_94 WHERE country = "united kingdom" AND television_service = "ewtn" |
CREATE TABLE table_name_42 (japanese_title VARCHAR, tv_station VARCHAR, romaji_title VARCHAR) | What is the Japanese Title of the Episode on NTV Station with a Romaji Title of Kuitan 2? | SELECT japanese_title FROM table_name_42 WHERE tv_station = "ntv" AND romaji_title = "kuitan 2" |
CREATE TABLE table_name_68 (package_option VARCHAR, content VARCHAR, country VARCHAR) | What is the package/option in Italy when the content is religione? | SELECT package_option FROM table_name_68 WHERE content = "religione" AND country = "italy" |
CREATE TABLE table_name_32 (average_ratings VARCHAR, japanese_title VARCHAR, episodes VARCHAR, tv_station VARCHAR) | What are the Ratings of Japanese Title プロポーズ大作戦 episode 11 on Fuji TV station? | SELECT average_ratings FROM table_name_32 WHERE episodes = "11" AND tv_station = "fuji tv" AND japanese_title = "プロポーズ大作戦" |
CREATE TABLE table_name_78 (bronze INTEGER, nation VARCHAR, gold VARCHAR, rank VARCHAR) | Which Bronze has a Gold smaller than 1, and a Rank of 17, and a Nation of china? | SELECT MAX(bronze) FROM table_name_78 WHERE gold < 1 AND rank = "17" AND nation = "china" |
CREATE TABLE table_name_22 (manufacturer VARCHAR, year_made VARCHAR) | Which manufacturer has a year made of 4-6-0 — ooooo — ten-wheeler? | SELECT manufacturer FROM table_name_22 WHERE year_made = "4-6-0 — ooooo — ten-wheeler" |
CREATE TABLE table_name_72 (player VARCHAR, country VARCHAR, score VARCHAR, place VARCHAR) | What player has a score less than 66, and a Place of t2, in the United States? | SELECT player FROM table_name_72 WHERE score < 66 AND place = "t2" AND country = "united states" |
CREATE TABLE table_name_64 (season INTEGER, venue VARCHAR, drivers VARCHAR) | What is the average Season when the venue was circuit de nevers magny-cours, and Drivers was more than 30? | SELECT AVG(season) FROM table_name_64 WHERE venue = "circuit de nevers magny-cours" AND drivers > 30 |
CREATE TABLE table_name_80 (percentage INTEGER, points_for VARCHAR, losses VARCHAR, wins VARCHAR, points_against VARCHAR) | What is the average Percentage when there are more than 0 wins, Points Against is more than 481, Losses of 8, and a Points For larger than 826? | SELECT AVG(percentage) FROM table_name_80 WHERE wins > 0 AND points_against > 481 AND losses = 8 AND points_for > 826 |
CREATE TABLE table_name_49 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR) | What is the most number of Bronze medals won among the countries that have won more than 1 medal, more than 1 gold medal, and have a rank bigger than 1? | SELECT MAX(bronze) FROM table_name_49 WHERE total > 1 AND rank > 1 AND gold > 1 |
CREATE TABLE table_name_74 (county VARCHAR, geo_id VARCHAR, latitude VARCHAR, ansi_code VARCHAR) | what is the county when the latitude is more than 48.581299, ansi code is more than 1037103 and the geo id is 3801985060? | SELECT county FROM table_name_74 WHERE latitude > 48.581299 AND ansi_code > 1037103 AND geo_id = 3801985060 |
CREATE TABLE table_name_40 (result VARCHAR, competition VARCHAR, date VARCHAR) | What was the score for the South American Championship dated December 13, 1925? | SELECT result FROM table_name_40 WHERE competition = "south american championship" AND date = "december 13, 1925" |
CREATE TABLE table_name_88 (l3_cache VARCHAR, sspec_number VARCHAR) | What is the l3 cache when the sspec number is sr0r2(l1)sr0t6(l1)? | SELECT l3_cache FROM table_name_88 WHERE sspec_number = "sr0r2(l1)sr0t6(l1)" |
CREATE TABLE table_name_53 (proto_austronesian VARCHAR, proto_polynesian VARCHAR) | What is the Proto-Austronesian word for the Proto-Polynesian word *tui? | SELECT proto_austronesian FROM table_name_53 WHERE proto_polynesian = "*tui" |
CREATE TABLE table_name_63 (year_joined VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR) | What year joined had an enrollment less than 438 and an AA as the IHSAA Class? | SELECT year_joined FROM table_name_63 WHERE enrollment < 438 AND ihsaa_class = "aa" |
CREATE TABLE table_name_65 (coverage_area VARCHAR, genre VARCHAR, station VARCHAR) | What is the coverage area of muzik fm station, which has a music genre? | SELECT coverage_area FROM table_name_65 WHERE genre = "music" AND station = "muzik fm" |
CREATE TABLE table_name_39 (date VARCHAR, week VARCHAR, attendance VARCHAR) | What is the Date when the week is more than 3 and the attendance shows bye? | SELECT date FROM table_name_39 WHERE week > 3 AND attendance = "bye" |
CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR, attendance VARCHAR) | What is the Result when the week is later than 9, and there are 65,858 people in attendance? | SELECT result FROM table_name_33 WHERE week > 9 AND attendance = "65,858" |
CREATE TABLE table_name_15 (record VARCHAR, event VARCHAR) | What is the Record of the 3000 M? | SELECT record FROM table_name_15 WHERE event = "3000 m" |
CREATE TABLE table_name_44 (club_province VARCHAR, caps VARCHAR, player VARCHAR) | Which club/province has more than 9 caps and Ben Franks as a player? | SELECT club_province FROM table_name_44 WHERE caps > 9 AND player = "ben franks" |
CREATE TABLE table_name_4 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) | what is the date of vacancy when the manner of departure is contract terminated, the position in table is 23rd and the date of appointment is 31 december 2008? | SELECT date_of_vacancy FROM table_name_4 WHERE manner_of_departure = "contract terminated" AND position_in_table = "23rd" AND date_of_appointment = "31 december 2008" |
CREATE TABLE table_name_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) | What is the highest Population that has a Median household income of $32,902 with a number of households less than 11,125 | SELECT MAX(population) FROM table_name_34 WHERE median_household_income = "$32,902" AND number_of_households < 11 OFFSET 125 |
CREATE TABLE table_name_17 (genre VARCHAR, game_modes VARCHAR, chinese_title VARCHAR) | What is the genre of the Chinese title 摸摸瓦力欧制造, which has a single-player game mode? | SELECT genre FROM table_name_17 WHERE game_modes = "single-player" AND chinese_title = "摸摸瓦力欧制造" |
CREATE TABLE table_name_56 (western_title VARCHAR, genre VARCHAR) | What is the western title for the puzzle genre? | SELECT western_title FROM table_name_56 WHERE genre = "puzzle" |
CREATE TABLE table_name_99 (stage VARCHAR, yellow_jersey VARCHAR) | Who was the stage winner when the stage was more than 10 and yellow jersey was Joseph Planckaert? | SELECT stage AS winner FROM table_name_99 WHERE stage > 10 AND yellow_jersey = "joseph planckaert" |
CREATE TABLE table_name_32 (republican_ticket VARCHAR, communist_ticket VARCHAR) | Who's the Republican ticket with a Communist ticket of elizabeth gurley flynn? | SELECT republican_ticket FROM table_name_32 WHERE communist_ticket = "elizabeth gurley flynn" |
CREATE TABLE table_name_62 (republican_ticket VARCHAR, democratic_ticket VARCHAR) | Who's the Republican ticket with a Democratic ticket of flora d. johnson? | SELECT republican_ticket FROM table_name_62 WHERE democratic_ticket = "flora d. johnson" |
CREATE TABLE table_name_8 (republican_ticket VARCHAR, communist_ticket VARCHAR, socialist_ticket VARCHAR) | Who's the Republican ticket with a Communist ticket of (none), and a Socialist ticket of joseph g. glass? | SELECT republican_ticket FROM table_name_8 WHERE communist_ticket = "(none)" AND socialist_ticket = "joseph g. glass" |
CREATE TABLE table_name_21 (to_par VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR) | What is the To par of the United States, when the Total was 145, in 2004? | SELECT to_par FROM table_name_21 WHERE country = "united states" AND total = 145 AND year_s__won = "2004" |
CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR) | If the radio stations is radio nou si radio radio nou música; what were the total number of television channels? | SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = "Radio Nou Si Radio Radio Nou Música" |
CREATE TABLE table_name_9 (tally INTEGER, venue VARCHAR) | What is the fewest tally for the game played at Vasil Levski National Stadium, Sofia, Bulgaria? | SELECT MIN(tally) FROM table_name_9 WHERE venue = "vasil levski national stadium, sofia, bulgaria" |
CREATE TABLE table_name_45 (date VARCHAR, athlete VARCHAR, record VARCHAR) | What is the Date when yelena isinbayeva was the Athlete, with a Record of 4.90m(16ft0¾in)? | SELECT date FROM table_name_45 WHERE athlete = "yelena isinbayeva" AND record = "4.90m(16ft0¾in)" |
CREATE TABLE table_name_67 (vuelta_wins VARCHAR, name VARCHAR, points VARCHAR, country VARCHAR) | How many times is vuelta wins when points is more than 0, country is spain and the name is josé pérez-francés? | SELECT COUNT(vuelta_wins) FROM table_name_67 WHERE points > 0 AND country = "spain" AND name = "josé pérez-francés" |
CREATE TABLE table_name_76 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | What is the reserved for value for constituency number 132? | SELECT reserved_for___sc___st__none_ FROM table_name_76 WHERE constituency_number = "132" |
CREATE TABLE table_name_62 (against INTEGER, difference VARCHAR, played VARCHAR) | What was the highest number of against when the difference was 58 and the total played was more than 22? | SELECT MAX(against) FROM table_name_62 WHERE difference = "58" AND played > 22 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.