answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT result FROM table_name_87 WHERE week < 11 AND attendance = "17,568" | Which Result has a Week smaller than 11, and Attendance of 17,568? | CREATE TABLE table_name_87 (result VARCHAR, week VARCHAR, attendance VARCHAR) |
SELECT number FROM table_name_38 WHERE season = "2008" | What number has 2008 as the season? | CREATE TABLE table_name_38 (number VARCHAR, season VARCHAR) |
SELECT date FROM table_name_66 WHERE result = "w20-0" | On which date was the result w20-0? | CREATE TABLE table_name_66 (date VARCHAR, result VARCHAR) |
SELECT japanese_title FROM table_name_24 WHERE romaji_title = "atsu-hime" | What's the Japanese title when the Romaji Title was Atsu-Hime? | CREATE TABLE table_name_24 (japanese_title VARCHAR, romaji_title VARCHAR) |
SELECT COUNT(points) FROM table_name_18 WHERE losses < 9 AND games > 24 AND team_name = "vancouver burrards" | What's the total number of points when the vancouver burrards have fewer than 9 losses and more than 24 games? | CREATE TABLE table_name_18 (points VARCHAR, team_name VARCHAR, losses VARCHAR, games VARCHAR) |
SELECT extra_points FROM table_14342592_8 WHERE position = "Left guard" | Name the extra points for left guard | CREATE TABLE table_14342592_8 (extra_points VARCHAR, position VARCHAR) |
SELECT programming FROM table_name_18 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv" | Name the Programming which has an Aspect of 4:3, and a PSIP Short Name of ibc-tv? | CREATE TABLE table_name_18 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR) |
SELECT away_captain FROM table_name_21 WHERE venue = "melbourne cricket ground" AND home_captain = "joe darling" | Who was the Away Captain when the Home Captain was Joe Darling at Melbourne Cricket Ground? | CREATE TABLE table_name_21 (away_captain VARCHAR, venue VARCHAR, home_captain VARCHAR) |
SELECT COUNT(population__glengallan_) FROM table_12584173_1 WHERE population__region_total_ = 30554 | How many population figures are given for Glengallen for the year when the region's total is 30554? | CREATE TABLE table_12584173_1 (population__glengallan_ VARCHAR, population__region_total_ VARCHAR) |
SELECT length FROM table_15905399_1 WHERE iin_ranges = "51-55" | What is the length for iin range 51-55? | CREATE TABLE table_15905399_1 (length VARCHAR, iin_ranges VARCHAR) |
SELECT MIN(games) FROM table_name_4 WHERE rank > 1 AND rebounds > 212 | How few games are there for a rank more than 1 and more than 212 rebounds? | CREATE TABLE table_name_4 (games INTEGER, rank VARCHAR, rebounds VARCHAR) |
SELECT regional_county_municipality FROM table_name_90 WHERE type = "m" AND code < 91015 | what is the regional county municipality when the type is m and the code is less than 91015? | CREATE TABLE table_name_90 (regional_county_municipality VARCHAR, type VARCHAR, code VARCHAR) |
SELECT MIN(year) FROM table_name_86 WHERE tournament = "european indoor championships" AND result = "3rd" | Name the least year for european indoor championships result of 3rd | CREATE TABLE table_name_86 (year INTEGER, tournament VARCHAR, result VARCHAR) |
SELECT high_assists FROM table_name_64 WHERE record = "28–40" | What is the High assists when the record was 28–40? | CREATE TABLE table_name_64 (high_assists VARCHAR, record VARCHAR) |
SELECT tournament FROM table_name_34 WHERE winning_score = –4(71 - 72 - 72 - 69 = 284) | What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)? | CREATE TABLE table_name_34 (tournament VARCHAR, winning_score VARCHAR) |
SELECT proto_austronesian FROM table_15568886_14 WHERE kinship = "father" | Name the ptor-austronesian for father | CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, kinship VARCHAR) |
SELECT COUNT(*) FROM participants WHERE participant_type_code = 'Organizer' | How many participants belong to the type 'Organizer'? | CREATE TABLE participants (participant_type_code VARCHAR) |
SELECT roomname FROM rooms WHERE baseprice BETWEEN 120 AND 150 | Find the name of rooms whose base price is between 120 and 150. | CREATE TABLE rooms (roomname VARCHAR, baseprice INTEGER) |
SELECT country FROM table_name_99 WHERE to_par = "+1" AND score = 72 - 71 = 143 | What is the Country of the Player with a To par of +1 and a Score of 72-71=143? | CREATE TABLE table_name_99 (country VARCHAR, to_par VARCHAR, score VARCHAR) |
SELECT part_1 FROM table_1745843_10 WHERE class = "7b" | What is part 1 of the verb in class 7b | CREATE TABLE table_1745843_10 (part_1 VARCHAR, class VARCHAR) |
SELECT Name FROM ship ORDER BY Tonnage DESC LIMIT 1 | What is the name of the ship with the largest tonnage? | CREATE TABLE ship (Name VARCHAR, Tonnage VARCHAR) |
SELECT venue FROM table_name_55 WHERE sport = "soccer" AND club = "pennsylvania stoners" | What venue does the soccer team Pennsylvania Stoners play in? | CREATE TABLE table_name_55 (venue VARCHAR, sport VARCHAR, club VARCHAR) |
SELECT release_date FROM table_name_59 WHERE required_os = "windows" AND type = "2d" AND developer_s_ = "zeonix" | Which Release date has a Required OS of windows, a Type of 2d, and a Developer(s) of zeonix? | CREATE TABLE table_name_59 (release_date VARCHAR, developer_s_ VARCHAR, required_os VARCHAR, type VARCHAR) |
SELECT MAX(points) FROM table_name_94 WHERE november = 7 | How many points are there on november 7? | CREATE TABLE table_name_94 (points INTEGER, november VARCHAR) |
SELECT week FROM table_name_92 WHERE attendance = "25,000" | In what week was the attendance 25,000? | CREATE TABLE table_name_92 (week VARCHAR, attendance VARCHAR) |
SELECT SUM(year) FROM table_name_46 WHERE version = "mother's live remix" | What year was Mother's Live remix created? | CREATE TABLE table_name_46 (year INTEGER, version VARCHAR) |
SELECT hadeda_ibis FROM table_20042805_2 WHERE knobbilled_duck = "Pied Crow" | What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow? | CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, knobbilled_duck VARCHAR) |
SELECT team FROM table_name_88 WHERE week_1 = "28" | Name the team for week 1 of 28 | CREATE TABLE table_name_88 (team VARCHAR, week_1 VARCHAR) |
SELECT COUNT(2009) FROM table_name_49 WHERE 1999 < 1 AND 2006 > 0 AND 1997 < 0 | How many countries in 2009 have fewer than 1 in 1999, more than 0 in 2006 and none in 1997? | CREATE TABLE table_name_49 (Id VARCHAR) |
SELECT constructor FROM table_1140088_6 WHERE race_name = "I Italian Republic Grand Prix" | Who constructed the I Italian Republic Grand Prix? | CREATE TABLE table_1140088_6 (constructor VARCHAR, race_name VARCHAR) |
SELECT race FROM table_name_48 WHERE jockey = "frankie dettori" AND margin > 3 AND course = "yarmouth" | what is the race when the jockey is frankie dettori, the margin is more than 3 and the course is yarmouth? | CREATE TABLE table_name_48 (race VARCHAR, course VARCHAR, jockey VARCHAR, margin VARCHAR) |
SELECT MAX(sinclair_total) FROM table_name_5 WHERE rank = 3 AND world_record__kg_ < 217 | What was the highest Sinclair Total that had a rank of 3, but a World Record smaller than 217? | CREATE TABLE table_name_5 (sinclair_total INTEGER, rank VARCHAR, world_record__kg_ VARCHAR) |
SELECT class FROM table_25695027_1 WHERE years_built = "1906-08" | What was the engine class that was built on 1906-08? | CREATE TABLE table_25695027_1 (class VARCHAR, years_built VARCHAR) |
SELECT country FROM table_name_96 WHERE builder = "palmers shipbuilding and iron company" | What is the country of Palmers Shipbuilding and Iron Company? | CREATE TABLE table_name_96 (country VARCHAR, builder VARCHAR) |
SELECT venue FROM table_name_35 WHERE date = "january 6, 1995" | What is Venue, when Date is "January 6, 1995"? | CREATE TABLE table_name_35 (venue VARCHAR, date VARCHAR) |
SELECT horse FROM table_name_5 WHERE rank = "69" | what is the horse that ranked 69? | CREATE TABLE table_name_5 (horse VARCHAR, rank VARCHAR) |
SELECT SUM(draw) FROM table_name_2 WHERE lost = 11 AND played < 18 | How many total draws was played less than 18 with 11 losts? | CREATE TABLE table_name_2 (draw INTEGER, lost VARCHAR, played VARCHAR) |
SELECT tries_for FROM table_name_38 WHERE points_against = "479" | How many tries for were there while having 479 points against? | CREATE TABLE table_name_38 (tries_for VARCHAR, points_against VARCHAR) |
SELECT to_par FROM table_name_72 WHERE country = "united states" AND score = 67 - 71 - 73 = 211 | What is the to par for the United States with a 67-71-73=211 score? | CREATE TABLE table_name_72 (to_par VARCHAR, country VARCHAR, score VARCHAR) |
SELECT StuID FROM Student WHERE Advisor = 1121 | Show ids for all students who have advisor 1121. | CREATE TABLE Student (StuID VARCHAR, Advisor VARCHAR) |
SELECT event FROM table_name_15 WHERE opponent = "bernard ackah" | Which Event has the Opponent, Bernard Ackah? | CREATE TABLE table_name_15 (event VARCHAR, opponent VARCHAR) |
SELECT MIN(renewable_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE rank = 36 | How much was the minimum renewable electricity (GW-h) that is ranked 36? | CREATE TABLE table_25244412_2 (renewable_electricity__gw INTEGER, rank VARCHAR) |
SELECT bowl_game FROM table_name_77 WHERE conference_matchups = "ohio state vs. texas" | Which bowl game had a conference matchup of Ohio State vs. Texas? | CREATE TABLE table_name_77 (bowl_game VARCHAR, conference_matchups VARCHAR) |
SELECT record FROM table_name_63 WHERE visitor = "florida" | What was the flyers' record when the visitors were florida? | CREATE TABLE table_name_63 (record VARCHAR, visitor VARCHAR) |
SELECT station FROM table_12271718_1 WHERE network_affiliation = "Univision" | What station has a univision network affiliation? | CREATE TABLE table_12271718_1 (station VARCHAR, network_affiliation VARCHAR) |
SELECT COUNT(year) FROM table_name_54 WHERE hmos = "27%" AND pos_plans = "18%" | How many years have HMOs been 27% and POS plans 18%? | CREATE TABLE table_name_54 (year VARCHAR, hmos VARCHAR, pos_plans VARCHAR) |
SELECT candidates FROM table_1341598_11 WHERE incumbent = "George Darden" | Who are shown as candidates when George Darden is the incumbent? | CREATE TABLE table_1341598_11 (candidates VARCHAR, incumbent VARCHAR) |
SELECT result FROM table_name_39 WHERE competition = "2007 gulf cup of nations" | What was the result of the 2007 gulf cup of nations? | CREATE TABLE table_name_39 (result VARCHAR, competition VARCHAR) |
SELECT position FROM table_name_31 WHERE class = "sophomore" | Which position has a sophomore class? | CREATE TABLE table_name_31 (position VARCHAR, class VARCHAR) |
SELECT province FROM table_name_11 WHERE city = "pamplona" | Which province is Pamplona located in? | CREATE TABLE table_name_11 (province VARCHAR, city VARCHAR) |
SELECT title FROM table_18054886_1 WHERE viewers__millions_ = "3.7" AND directed_by = "David Kendall" | Which title, directed by David Kendall, had 3.7 million viewers? | CREATE TABLE table_18054886_1 (title VARCHAR, viewers__millions_ VARCHAR, directed_by VARCHAR) |
SELECT result FROM table_name_47 WHERE opponent = "texas longhorns" | What result has texas longhorns as the opponent? | CREATE TABLE table_name_47 (result VARCHAR, opponent VARCHAR) |
SELECT show FROM table_name_45 WHERE year < 2011 AND episode_title = "part 3" | Which show had a part 3 before 2011? | CREATE TABLE table_name_45 (show VARCHAR, year VARCHAR, episode_title VARCHAR) |
SELECT opponent FROM table_name_99 WHERE date = "sat. feb. 23" | Who played against the Celtics on Sat. Feb. 23? | CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR) |
SELECT Name, Other_Details FROM Staff | Show the names and details of all the staff members. | CREATE TABLE Staff (Name VARCHAR, Other_Details VARCHAR) |
SELECT work FROM table_name_36 WHERE result = "won" AND year < 2003 | what is the work when the result is won and the year is before 2003? | CREATE TABLE table_name_36 (work VARCHAR, result VARCHAR, year VARCHAR) |
SELECT high_assists FROM table_name_61 WHERE date = "january 2" | What were the high assist on january 2? | CREATE TABLE table_name_61 (high_assists VARCHAR, date VARCHAR) |
SELECT MIN(rank) FROM table_name_91 WHERE gold = 3 AND bronze = 4 AND total > 8 | Which Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8? | CREATE TABLE table_name_91 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR) |
SELECT AVG(Attendance) FROM SHOW | What is the average attendance of shows? | CREATE TABLE SHOW (Attendance INTEGER) |
SELECT date FROM table_name_3 WHERE attendance > 342 AND opponent = "inverurie loco works" | What date was the game against inverurie loco works when more than 342 attend? | CREATE TABLE table_name_3 (date VARCHAR, attendance VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_61 WHERE venue = "a" AND opponent = "stoke city" | Which date has an A venue with an Opponent of stoke city? | CREATE TABLE table_name_61 (date VARCHAR, venue VARCHAR, opponent VARCHAR) |
SELECT label FROM table_name_96 WHERE catalog__number = "83061-2" | What is the label for the album with a catalog number of 83061-2? | CREATE TABLE table_name_96 (label VARCHAR, catalog__number VARCHAR) |
SELECT score FROM table_27723228_7 WHERE team = "Miami" | Name the score for miami | CREATE TABLE table_27723228_7 (score VARCHAR, team VARCHAR) |
SELECT date FROM table_name_55 WHERE record = "41-46" | Which date has a Record of 41-46? | CREATE TABLE table_name_55 (date VARCHAR, record VARCHAR) |
SELECT MAX(game) FROM table_name_25 WHERE result = "new zealand by 4 wickets" | what is the game when the result is new zealand by 4 wickets? | CREATE TABLE table_name_25 (game INTEGER, result VARCHAR) |
SELECT MAX(elected) FROM table_13618584_2 WHERE district = "14th" | What was the last year someone was elected to the 14th district? | CREATE TABLE table_13618584_2 (elected INTEGER, district VARCHAR) |
SELECT material FROM table_name_36 WHERE completed < 1966 AND location = "st. paul, minnesota" | What was the statue in st. paul, minnesota constructed before 1966 made out of? | CREATE TABLE table_name_36 (material VARCHAR, completed VARCHAR, location VARCHAR) |
SELECT player FROM table_name_66 WHERE height = "6-10" AND college = "lsu" | Which Player has a height of 6-10, and went to College at LSU? | CREATE TABLE table_name_66 (player VARCHAR, height VARCHAR, college VARCHAR) |
SELECT duration FROM table_name_68 WHERE wins < 53 | What is the Duration for less than 53 consecutive wins? | CREATE TABLE table_name_68 (duration VARCHAR, wins INTEGER) |
SELECT weight FROM table_name_96 WHERE club = "pvk jadran" | What is the weight of the player from pvk jadran club? | CREATE TABLE table_name_96 (weight VARCHAR, club VARCHAR) |
SELECT COUNT(rank) FROM table_name_77 WHERE athlete = "jin di" AND total < 118 | how many times is the athlete jin di and the total less than 118? | CREATE TABLE table_name_77 (rank VARCHAR, athlete VARCHAR, total VARCHAR) |
SELECT player FROM table_name_21 WHERE to_par < 15 AND total = 149 | What Player has a To par less than 15 and a Total of 149? | CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, total VARCHAR) |
SELECT MAX(first_elected) FROM table_1342270_24 | what was the maxiumum for the first elected? | CREATE TABLE table_1342270_24 (first_elected INTEGER) |
SELECT population_under_1_year_old_censo_2007_hab_ FROM table_name_91 WHERE population_censo_2007_hab_ = "112.054*" | What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*? | CREATE TABLE table_name_91 (population_under_1_year_old_censo_2007_hab_ VARCHAR, population_censo_2007_hab_ VARCHAR) |
SELECT MIN(gfr_2006) FROM table_name_64 WHERE whites_as__percentage_of_pop = "95.80%" AND tfr_2006 > 2.14 | What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006? | CREATE TABLE table_name_64 (gfr_2006 INTEGER, whites_as__percentage_of_pop VARCHAR, tfr_2006 VARCHAR) |
SELECT third FROM table_name_6 WHERE nation = "hungary" | Which Third has a Nation of hungary? | CREATE TABLE table_name_6 (third VARCHAR, nation VARCHAR) |
SELECT military_expenditures__2011, _us$_millions_ FROM table_17971449_2 WHERE country = "Romania" | Name the military expenditures for 2011 for romania | CREATE TABLE table_17971449_2 (military_expenditures__2011 VARCHAR, _us$_millions_ VARCHAR, country VARCHAR) |
SELECT frequency FROM table_name_4 WHERE order_part_number = "tmn550dcr23gm" | what is the frequency of part number tmn550dcr23gm? | CREATE TABLE table_name_4 (frequency VARCHAR, order_part_number VARCHAR) |
SELECT rider FROM table_25220821_4 WHERE rank = 2 | Who is ranked 2? | CREATE TABLE table_25220821_4 (rider VARCHAR, rank VARCHAR) |
SELECT MIN(place) FROM table_name_52 WHERE total = 16 AND average < 16 | What is the smallest place number when the total is 16 and average is less than 16? | CREATE TABLE table_name_52 (place INTEGER, total VARCHAR, average VARCHAR) |
SELECT surface FROM table_name_3 WHERE date = "12 september 2006" | Name the surface for 12 september 2006 | CREATE TABLE table_name_3 (surface VARCHAR, date VARCHAR) |
SELECT T1.first_name, T1.last_name, T1.customer_id FROM customer AS T1 JOIN payment AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY SUM(amount) LIMIT 1 | Which customer, who has made at least one payment, has spent the least money? List his or her first name, last name, and the id. | CREATE TABLE payment (customer_id VARCHAR); CREATE TABLE customer (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR) |
SELECT home_team FROM table_name_71 WHERE away_team = "southampton" | What home team has Southampton as the away team? | CREATE TABLE table_name_71 (home_team VARCHAR, away_team VARCHAR) |
SELECT movie_album FROM table_2528382_5 WHERE co_stars = "VijayaLaxmi" AND lyricist = "Shakeel Badayuni" | What movie did Vijayalaxmi Co-star in and Shakeel Badayuni write the lyrics? | CREATE TABLE table_2528382_5 (movie_album VARCHAR, co_stars VARCHAR, lyricist VARCHAR) |
SELECT number_of_candidates FROM table_19698421_1 WHERE year = "1987" | How many candidates were there in the year of 1987? | CREATE TABLE table_19698421_1 (number_of_candidates VARCHAR, year VARCHAR) |
SELECT MAX(service) FROM table_23477312_1 WHERE train_name = "Jammu Duronto" | What's the service number of the Jammu Duronto train? | CREATE TABLE table_23477312_1 (service INTEGER, train_name VARCHAR) |
SELECT runner_up FROM table_name_40 WHERE tournament = "algarve" | Name the runner-up for algarve tournament | CREATE TABLE table_name_40 (runner_up VARCHAR, tournament VARCHAR) |
SELECT gpu_frequency FROM table_name_50 WHERE part_number_s_ = "cw8064701470702" | what is the gpu frequency when the part number is cw8064701470702? | CREATE TABLE table_name_50 (gpu_frequency VARCHAR, part_number_s_ VARCHAR) |
SELECT tournament FROM table_name_64 WHERE runner_s__up = "gil morgan" | In which tournament was Gil Morgan the runner-up? | CREATE TABLE table_name_64 (tournament VARCHAR, runner_s__up VARCHAR) |
SELECT COUNT(womens_doubles) FROM table_14903999_1 WHERE mixed_doubles = "Broddi Kristjánsson Drífa Harðardóttir" | How many womens doubles had champions the years broddi kristjánsson drífa harðardóttir won mixed doubles | CREATE TABLE table_14903999_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR) |
SELECT lineup FROM table_name_33 WHERE match = "2" | What was her place in the lineup on match 2? | CREATE TABLE table_name_33 (lineup VARCHAR, match VARCHAR) |
SELECT COUNT(goal_ratio) FROM table_name_46 WHERE rank = 2 AND games > 44 | How many goal ratios have rank of 2 with more than 44 games? | CREATE TABLE table_name_46 (goal_ratio VARCHAR, rank VARCHAR, games VARCHAR) |
SELECT coding FROM table_14332822_1 WHERE genbank_id = "HQ021442" | What is the coding for hq021442 genbankid? | CREATE TABLE table_14332822_1 (coding VARCHAR, genbank_id VARCHAR) |
SELECT saka_era FROM table_name_77 WHERE months_in_malayalam_era = "medam" | WHAT IS THE SAKA ERA WITH MONTHS IN MEDAM? | CREATE TABLE table_name_77 (saka_era VARCHAR, months_in_malayalam_era VARCHAR) |
SELECT venue FROM table_name_12 WHERE nationality = "ukraine" | Which venue is with Ukraine? | CREATE TABLE table_name_12 (venue VARCHAR, nationality VARCHAR) |
SELECT MIN(pick__number) FROM table_name_45 WHERE name = "john scully" | What is the lowest pick number of John Scully? | CREATE TABLE table_name_45 (pick__number INTEGER, name VARCHAR) |
SELECT division FROM table_15475116_1 WHERE nickname = "Silver Eagles" | In what division will you find the team nicknamed the Silver Eagles | CREATE TABLE table_15475116_1 (division VARCHAR, nickname VARCHAR) |
SELECT city_of_license FROM table_name_71 WHERE callsign = "kgns-dt3" | In which city is the network with the callsign kgns-dt3 licensed? | CREATE TABLE table_name_71 (city_of_license VARCHAR, callsign VARCHAR) |
SELECT rider FROM table_name_51 WHERE time_retired = "+19.909" | Which rider had a time/retired od +19.909? | CREATE TABLE table_name_51 (rider VARCHAR, time_retired VARCHAR) |
SELECT common_of FROM table_1449176_1 WHERE rank = "9th" | What is the name of the 9th ranked common? | CREATE TABLE table_1449176_1 (common_of VARCHAR, rank VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.