answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT venue FROM table_name_28 WHERE date = "9 february 2011" | What venue was the game played on 9 February 2011 played at? | CREATE TABLE table_name_28 (venue VARCHAR, date VARCHAR) |
SELECT SUM(floors) FROM table_name_52 WHERE name = "st. joseph church" | What is the sum of Floors at st. joseph church? | CREATE TABLE table_name_52 (floors INTEGER, name VARCHAR) |
SELECT males FROM table_name_82 WHERE percentage___percentage_ = "80.62" | How many males have a percentage of 80.62? | CREATE TABLE table_name_82 (males VARCHAR, percentage___percentage_ VARCHAR) |
SELECT MIN(pd_per_game) FROM table_name_49 WHERE rank < 4 AND winning__percentage = "78.6%" AND streak = "w1" AND pa_per_game < 81.5 | Which PD per game has a Rank smaller than 4, a Winning % of 78.6%, a Streak of w1, and a PA per game smaller than 81.5? | CREATE TABLE table_name_49 (pd_per_game INTEGER, pa_per_game VARCHAR, streak VARCHAR, rank VARCHAR, winning__percentage VARCHAR) |
SELECT Name FROM wrestler WHERE Days_held < 100 | What are the names of wrestlers days held less than 100? | CREATE TABLE wrestler (Name VARCHAR, Days_held INTEGER) |
SELECT d_43_√ FROM table_name_58 WHERE d_42_√ = "d 42 √" | What is the value of D 43 √ when the value of D 42 √ is d 42 √? | CREATE TABLE table_name_58 (d_43_√ VARCHAR, d_42_√ VARCHAR) |
SELECT venue FROM table_name_21 WHERE result = "22-12" | Where did they play that the score was 22-12? | CREATE TABLE table_name_21 (venue VARCHAR, result VARCHAR) |
SELECT largest_ethnic_group__2002_ FROM table_2562572_33 WHERE settlement = "Doline" | What is the largest ethnic group in doline? | CREATE TABLE table_2562572_33 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR) |
SELECT cfl_team FROM table_25085059_3 WHERE college = "McGill" | What team got a draft pick player from McGill? | CREATE TABLE table_25085059_3 (cfl_team VARCHAR, college VARCHAR) |
SELECT format FROM table_18710512_3 WHERE other_details = "2000 copies" | What format for the release that had 2000 copies? | CREATE TABLE table_18710512_3 (format VARCHAR, other_details VARCHAR) |
SELECT MAX(round) FROM table_18095719_2 WHERE circuit = "AVUS" | What round was circuit Avus? | CREATE TABLE table_18095719_2 (round INTEGER, circuit VARCHAR) |
SELECT school FROM table_2076595_1 WHERE founded = 1791 | What school was founded in 1791? | CREATE TABLE table_2076595_1 (school VARCHAR, founded VARCHAR) |
SELECT district FROM table_1341568_24 WHERE elected = 1980 | What are the locations where the year of election is 1980? | CREATE TABLE table_1341568_24 (district VARCHAR, elected VARCHAR) |
SELECT yellow_jersey FROM table_275506_1 WHERE distance__km_ = "125" | What is every yellow jersey entry for the distance 125? | CREATE TABLE table_275506_1 (yellow_jersey VARCHAR, distance__km_ VARCHAR) |
SELECT position FROM table_name_15 WHERE school_club_team = "stanford" | Which Position has a School/Club Team of stanford? | CREATE TABLE table_name_15 (position VARCHAR, school_club_team VARCHAR) |
SELECT LNER AS class FROM table_name_86 WHERE class = "3" | What LNER Class has a Class of 3? | CREATE TABLE table_name_86 (LNER VARCHAR, class VARCHAR) |
SELECT DISTINCT donator_name FROM endowment | Show all donor names. | CREATE TABLE endowment (donator_name VARCHAR) |
SELECT score FROM table_name_12 WHERE place = "t2" AND player = "dow finsterwald" | What is the Score of T2 Place Player Dow Finsterwald? | CREATE TABLE table_name_12 (score VARCHAR, place VARCHAR, player VARCHAR) |
SELECT future_stock FROM table_17839_1 WHERE map_colour = "Green" | When green is the map colour what is the future stock? | CREATE TABLE table_17839_1 (future_stock VARCHAR, map_colour VARCHAR) |
SELECT launched FROM table_24496403_1 WHERE disposition = "Stokers' training ship" | When was the stokers' training ship launched? | CREATE TABLE table_24496403_1 (launched VARCHAR, disposition VARCHAR) |
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*) > 1 | Show names of shops that have more than one kind of device in stock. | CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Shop_ID VARCHAR) |
SELECT game_site FROM table_name_23 WHERE attendance = "54,040" | What is the site of the game that had an attendance of 54,040? | CREATE TABLE table_name_23 (game_site VARCHAR, attendance VARCHAR) |
SELECT score FROM table_name_54 WHERE to_par = "+1" AND country = "spain" | What is the score of the player with a To Par of +1 from Spain? | CREATE TABLE table_name_54 (score VARCHAR, to_par VARCHAR, country VARCHAR) |
SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1 | How many episodes have a share of 16.2% and an episode number of less than 1? | CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR) |
SELECT product_details FROM products WHERE product_details LIKE "%Latte%" OR product_details LIKE "%Americano%" | Find the detail of products whose detail contains the word "Latte" or the word "Americano" | CREATE TABLE products (product_details VARCHAR) |
SELECT round FROM table_name_84 WHERE time = "2:32" | Which round lasted 2:32? | CREATE TABLE table_name_84 (round VARCHAR, time VARCHAR) |
SELECT COUNT(peak) FROM table_10942714_1 WHERE chinese_title = "潮爆大狀" | How many are listed under 潮爆大狀 | CREATE TABLE table_10942714_1 (peak VARCHAR, chinese_title VARCHAR) |
SELECT AVG(launches) FROM table_name_3 WHERE failures = 0 AND rocket = "soyuz" AND successes < 12 | What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes? | CREATE TABLE table_name_3 (launches INTEGER, successes VARCHAR, failures VARCHAR, rocket VARCHAR) |
SELECT COUNT(tie_no) FROM table_24887326_7 WHERE away_team = "Millwall" | When the away team is Millwall, what is the total possible amount of tie numbers? | CREATE TABLE table_24887326_7 (tie_no VARCHAR, away_team VARCHAR) |
SELECT towns_represented FROM table_name_65 WHERE district = "31" | Which towns are represented in district 31? | CREATE TABLE table_name_65 (towns_represented VARCHAR, district VARCHAR) |
SELECT director FROM table_26555737_1 WHERE english_title = "Salt of this Sea" | When salt of this sea is the english title who is the director? | CREATE TABLE table_26555737_1 (director VARCHAR, english_title VARCHAR) |
SELECT high_assists FROM table_name_93 WHERE date = "march 10" | What is High Assists, when Date is "March 10"? | CREATE TABLE table_name_93 (high_assists VARCHAR, date VARCHAR) |
SELECT final_score FROM table_name_46 WHERE week = 3 | What was the final score in week 3 ? | CREATE TABLE table_name_46 (final_score VARCHAR, week VARCHAR) |
SELECT COUNT(tenant) FROM table_10601843_2 WHERE city = "Samsun" | How many tenants are there in the city of Samsun? | CREATE TABLE table_10601843_2 (tenant VARCHAR, city VARCHAR) |
SELECT date FROM table_name_47 WHERE opponent = "tennessee titans" | On what Date was the Opponent the Tennessee Titans? | CREATE TABLE table_name_47 (date VARCHAR, opponent VARCHAR) |
SELECT us_viewers__in_millions_ FROM table_24223834_3 WHERE directed_by = "Daniel H. Forer" | How many million U.S. viewers watched the episode that Daniel H. Forer directed? | CREATE TABLE table_24223834_3 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR) |
SELECT format FROM table_2709_4 WHERE owner = "Dakota Broadcasting" | What is the format for the station owned by Dakota Broadcasting? | CREATE TABLE table_2709_4 (format VARCHAR, owner VARCHAR) |
SELECT laps FROM table_name_73 WHERE time_retired = "+1:00.003" | How many laps were there when the Time/Retired was +1:00.003? | CREATE TABLE table_name_73 (laps VARCHAR, time_retired VARCHAR) |
SELECT Nominee FROM musical GROUP BY Nominee HAVING COUNT(*) > 2 | List the nominees that have been nominated more than two musicals. | CREATE TABLE musical (Nominee VARCHAR) |
SELECT position FROM table_name_44 WHERE a_score > 7 | what is the position for the competitor that has a score more than 7 | CREATE TABLE table_name_44 (position VARCHAR, a_score INTEGER) |
SELECT nationality FROM table_name_97 WHERE pick = 100 | What country is Pick 100? | CREATE TABLE table_name_97 (nationality VARCHAR, pick VARCHAR) |
SELECT written_by FROM table_25679312_2 WHERE prod_code = 5 | Who wrote the episode with production code 5? | CREATE TABLE table_25679312_2 (written_by VARCHAR, prod_code VARCHAR) |
SELECT location FROM table_28253870_1 WHERE team_nickname = "Yellow Jackets" | Name the location for yellow jackets | CREATE TABLE table_28253870_1 (location VARCHAR, team_nickname VARCHAR) |
SELECT MAX(series__number) FROM table_25800134_1 WHERE airdate = "February 16, 1957" | What is largest series number for the episode that aired February 16, 1957? | CREATE TABLE table_25800134_1 (series__number INTEGER, airdate VARCHAR) |
SELECT AVG(campusfee) FROM csu_fees WHERE YEAR = 1996 | Find the average fee on a CSU campus in 1996 | CREATE TABLE csu_fees (campusfee INTEGER, YEAR VARCHAR) |
SELECT MIN(finish) FROM table_24004949_1 WHERE driver = "Larry Dickson" | Name the least finish for larry dickson | CREATE TABLE table_24004949_1 (finish INTEGER, driver VARCHAR) |
SELECT COUNT(pick__number) FROM table_25085059_3 WHERE cfl_team = "Winnipeg Blue Bombers" | How many draft picks were for Winnipeg blue bombers? | CREATE TABLE table_25085059_3 (pick__number VARCHAR, cfl_team VARCHAR) |
SELECT 2005 FROM table_name_82 WHERE 2003 = "a" AND 2011 = "3r" | Name the 2005 for 2003 of a and 2011 of 3r | CREATE TABLE table_name_82 (Id VARCHAR) |
SELECT AVG(goal) FROM table_name_81 WHERE venue = "stade roi baudouin, brussels" | What was the Goal in Stade Roi Baudouin, Brussels? | CREATE TABLE table_name_81 (goal INTEGER, venue VARCHAR) |
SELECT 2004 FROM table_name_7 WHERE 2005 = "3r" AND 2000 = "lq" AND 2002 = "3r" | 2005 of 3r, and a 2000 of lq, and a 2002 of 3r is in what 2004? | CREATE TABLE table_name_7 (Id VARCHAR) |
SELECT home_team AS score FROM table_name_91 WHERE away_team = "fitzroy" | What is the home team score with Fitzroy as away team? | CREATE TABLE table_name_91 (home_team VARCHAR, away_team VARCHAR) |
SELECT away_team FROM table_14312471_1 WHERE home_team = "Carlton" | Who was the away team when Carlton was the home team? | CREATE TABLE table_14312471_1 (away_team VARCHAR, home_team VARCHAR) |
SELECT country FROM table_name_91 WHERE margin_of_victory = "2 strokes" | Which Country has a Margin of victory of 2 strokes? | CREATE TABLE table_name_91 (country VARCHAR, margin_of_victory VARCHAR) |
SELECT SUM(placings) FROM table_name_22 WHERE rank < 7 AND points = 514.55 | What is the Place of the couple with a Rank smaller than 7 and 514.55 Points? | CREATE TABLE table_name_22 (placings INTEGER, rank VARCHAR, points VARCHAR) |
SELECT location_attendance FROM table_17288825_7 WHERE high_assists = "Rafer Alston (10)" | At what location and what was the attendance when Rafer Alston (10) achieved high assists? | CREATE TABLE table_17288825_7 (location_attendance VARCHAR, high_assists VARCHAR) |
SELECT district FROM table_1342393_10 WHERE incumbent = "Frank Park" | what section did frank park run in | CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR) |
SELECT MIN(game) FROM table_17102076_10 WHERE location_attendance = "ARCO Arena 13,330" | Name the least game for arco arena 13,330 | CREATE TABLE table_17102076_10 (game INTEGER, location_attendance VARCHAR) |
SELECT tonnage FROM table_name_54 WHERE u_boats_destroyed__kuk_ = "2" AND ships_sunk__pola_ = "(not recorded)" | What is the listed Tonnage that has U-boats destroyed (KuK) of 2 and Ships sunk (Pola) of (not recorded)? | CREATE TABLE table_name_54 (tonnage VARCHAR, u_boats_destroyed__kuk_ VARCHAR, ships_sunk__pola_ VARCHAR) |
SELECT AVG(money___) AS $__ FROM table_name_53 WHERE place = "t8" AND score = 68 - 71 - 69 - 72 = 280 | What is the average amount of money of players in t8 place with a 68-71-69-72=280 score? | CREATE TABLE table_name_53 (money___ INTEGER, place VARCHAR, score VARCHAR) |
SELECT fastest_lap FROM table_name_82 WHERE location = "estoril" | What is the fastest lap at estoril? | CREATE TABLE table_name_82 (fastest_lap VARCHAR, location VARCHAR) |
SELECT 110 AS _m_h FROM table_name_85 WHERE overall_points = "7835 (sb)" | What is the 110m H number when the overall points are 7835 (sb)? | CREATE TABLE table_name_85 (overall_points VARCHAR) |
SELECT controller FROM table_name_67 WHERE nand_type = "25nm mlc-het" AND seq_read_write_mb_s = "270/210" | Which controller is NAND type 25nm mlc-het with sequential read/write MB/s of 270/210? | CREATE TABLE table_name_67 (controller VARCHAR, nand_type VARCHAR, seq_read_write_mb_s VARCHAR) |
SELECT MAX(release_date) FROM table_27932399_1 WHERE catalogue_number = "DW023" | What is the release date of catalogue number DW023? | CREATE TABLE table_27932399_1 (release_date INTEGER, catalogue_number VARCHAR) |
SELECT _percentage_of_all FROM table_name_52 WHERE dennis_kucinich = "5%" | What is % of All, when Dennis Kucinich is "5%"? | CREATE TABLE table_name_52 (_percentage_of_all VARCHAR, dennis_kucinich VARCHAR) |
SELECT place FROM table_name_6 WHERE score = 70 - 69 - 68 = 207 | What place was the player who scored 70-69-68=207? | CREATE TABLE table_name_6 (place VARCHAR, score VARCHAR) |
SELECT MIN(laps) FROM table_name_82 WHERE position = "dnf" AND number < 25 AND year < 2001 | What is the fewest laps for a team with a position of DNF and a number smaller than 25 before 2001? | CREATE TABLE table_name_82 (laps INTEGER, year VARCHAR, position VARCHAR, number VARCHAR) |
SELECT COUNT(january) FROM table_name_30 WHERE opponent = "philadelphia flyers" | What is the number in January for Philadelphia Flyers as opponents? | CREATE TABLE table_name_30 (january VARCHAR, opponent VARCHAR) |
SELECT away_team AS score FROM table_name_20 WHERE away_team = "melbourne" | What was Melbourne's away team score? | CREATE TABLE table_name_20 (away_team VARCHAR) |
SELECT tournament FROM table_name_15 WHERE semi_finalists = "mary pierce elena dementieva" | Which Tournament has a Semi finalists of mary pierce elena dementieva? | CREATE TABLE table_name_15 (tournament VARCHAR, semi_finalists VARCHAR) |
SELECT location FROM table_name_26 WHERE owner = "johnson c. smith university" | What is the location of the venue owned by johnson c. smith university? | CREATE TABLE table_name_26 (location VARCHAR, owner VARCHAR) |
SELECT title FROM table_27776266_1 WHERE production_code = "3X6404" | What was the title of the episode with a production code of 3x6404? | CREATE TABLE table_27776266_1 (title VARCHAR, production_code VARCHAR) |
SELECT city FROM table_name_48 WHERE county = "40 jennings" AND school = "north vernon" | Which city has a school of North Vernon and a county of 40 Jennings? | CREATE TABLE table_name_48 (city VARCHAR, county VARCHAR, school VARCHAR) |
SELECT country FROM table_name_60 WHERE year_s__won = "1977" | Which Country has a Year(s) won of 1977? | CREATE TABLE table_name_60 (country VARCHAR, year_s__won VARCHAR) |
SELECT other_local_sources FROM table_11608735_3 WHERE state_ & _federal = "12,929,489" | What is the number of local sources for state and federal 12,929,489 | CREATE TABLE table_11608735_3 (other_local_sources VARCHAR, state_ VARCHAR, _federal VARCHAR) |
SELECT location FROM table_name_23 WHERE individual = "josé maria cañizares" | What is the Location when the individual was josé maria cañizares? | CREATE TABLE table_name_23 (location VARCHAR, individual VARCHAR) |
SELECT event FROM table_name_41 WHERE meet = "world championships" AND time = "20.51" | What is Event, when Meet is "World Championships", and when Time is "20.51"? | CREATE TABLE table_name_41 (event VARCHAR, meet VARCHAR, time VARCHAR) |
SELECT AVG(total) FROM table_name_98 WHERE a_score < 6.9 | What's the total when A Score was less than 6.9? | CREATE TABLE table_name_98 (total INTEGER, a_score INTEGER) |
SELECT official_name FROM table_170958_2 WHERE area_km_2 = "276.84" | What is the official name of the land with an area of 276.84 km2? | CREATE TABLE table_170958_2 (official_name VARCHAR, area_km_2 VARCHAR) |
SELECT length___ft__ FROM table_name_7 WHERE name = "jiangzhou arch" | What is the length in feet of the Jiangzhou arch? | CREATE TABLE table_name_7 (length___ft__ VARCHAR, name VARCHAR) |
SELECT MAX(killed), MIN(killed) FROM death | What is maximum and minimum death toll caused each time? | CREATE TABLE death (killed INTEGER) |
SELECT MIN(podiums) FROM table_2725949_6 WHERE season = 2009 | Name the least podiums for 2009 | CREATE TABLE table_2725949_6 (podiums INTEGER, season VARCHAR) |
SELECT production_code FROM table_28195898_1 WHERE us_viewers__millions_ = "5.5" | What is the production code for the episode with 5.5 million u.s. viewers? | CREATE TABLE table_28195898_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT role FROM table_name_55 WHERE direction = "thulasidas" | Which role had thulasidas direction? | CREATE TABLE table_name_55 (role VARCHAR, direction VARCHAR) |
SELECT MAX(population) FROM table_name_17 WHERE location = "scalloway islands" AND island = "trondra" | What is the highest population of Trondra Island in the Scalloway Islands? | CREATE TABLE table_name_17 (population INTEGER, location VARCHAR, island VARCHAR) |
SELECT hangul FROM table_name_96 WHERE greek = "ϝ, υ" | What is the Hangul equivalent of the Greek ϝ, υ? | CREATE TABLE table_name_96 (hangul VARCHAR, greek VARCHAR) |
SELECT junior_high_school__12_15_yrs_ FROM table_name_15 WHERE university_students_and_adults__18yrs + _ = "26mm" | Which junior high school has university students and adults of 26mm? | CREATE TABLE table_name_15 (junior_high_school__12_15_yrs_ VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR) |
SELECT COUNT(position) FROM table_27067379_1 WHERE building = "Costanera Center Torre 1" | How many positions does building Costanera Center Torre 1 have? | CREATE TABLE table_27067379_1 (position VARCHAR, building VARCHAR) |
SELECT date FROM table_name_69 WHERE runner_s__up = "jerry steelsmith" | What is the Date with a Runner(s)-up that is jerry steelsmith? | CREATE TABLE table_name_69 (date VARCHAR, runner_s__up VARCHAR) |
SELECT charleston_southerns_head_coach FROM table_26240481_1 WHERE result = "L, 56-6" | Who is Charleston Southerns head coach where the result is L, 56-6?- | CREATE TABLE table_26240481_1 (charleston_southerns_head_coach VARCHAR, result VARCHAR) |
SELECT season FROM table_name_34 WHERE goals > 0 AND apps < 33 | What Season has Goals greater than 0 and less than 33 Apps? | CREATE TABLE table_name_34 (season VARCHAR, goals VARCHAR, apps VARCHAR) |
SELECT tv_season FROM table_10120207_8 WHERE rank = "39" | What is the season year where the rank is 39? | CREATE TABLE table_10120207_8 (tv_season VARCHAR, rank VARCHAR) |
SELECT longest_span_in_s_metre___feet__ FROM table_name_40 WHERE location = "villeneuve-sur-lot" | How long is the bridge in Villeneuve-sur-Lot? | CREATE TABLE table_name_40 (longest_span_in_s_metre___feet__ VARCHAR, location VARCHAR) |
SELECT boat_builder FROM table_name_42 WHERE year_built = "1910/11" AND number = 39 | What is the boat builder for a boat built in 1910/11 and a number of 39? | CREATE TABLE table_name_42 (boat_builder VARCHAR, year_built VARCHAR, number VARCHAR) |
SELECT proto_slavic FROM table_26757_4 WHERE polish = "gniazdo" | When gniazdo is polish what is proto-slavic? | CREATE TABLE table_26757_4 (proto_slavic VARCHAR, polish VARCHAR) |
SELECT date FROM table_2260452_1 WHERE driver = "Robert Pressley" | What was the date if the driver was Robert Pressley? | CREATE TABLE table_2260452_1 (date VARCHAR, driver VARCHAR) |
SELECT number_ & _name FROM table_name_65 WHERE date = "undergoing overhaul, restoration or repairs" | What is the number & name with an Undergoing overhaul, restoration or repairs date? | CREATE TABLE table_name_65 (number_ VARCHAR, _name VARCHAR, date VARCHAR) |
SELECT height_in_ft FROM table_name_80 WHERE school_club_team_country = "valparaiso" | Name the height in feet for the player from valparaiso | CREATE TABLE table_name_80 (height_in_ft VARCHAR, school_club_team_country VARCHAR) |
SELECT home FROM table_name_94 WHERE visitor = "california" | What was the home who had California visiting? | CREATE TABLE table_name_94 (home VARCHAR, visitor VARCHAR) |
SELECT loss FROM table_name_51 WHERE record = "27-32" | What was the score of the game that put the team at 27-32? | CREATE TABLE table_name_51 (loss VARCHAR, record VARCHAR) |
SELECT SUM(losses) FROM table_name_11 WHERE wins = 12 AND points = "40-4" AND goals_for > 57 | How many losses altogether were had by teams that won 12 times, had 40-4 points, and more than 57 goals? | CREATE TABLE table_name_11 (losses INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.