answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT race_leader FROM table_name_66 WHERE stage = "5" | Who was the race leader for stage 5? | CREATE TABLE table_name_66 (race_leader VARCHAR, stage VARCHAR) |
SELECT to_par FROM table_name_22 WHERE country = "united states" AND player = "duffy waldorf" | Which To par has a Country of united states, and a Player of duffy waldorf? | CREATE TABLE table_name_22 (to_par VARCHAR, country VARCHAR, player VARCHAR) |
SELECT minor_version FROM table_24257833_4 WHERE release_date = "April 16, 2008" | What was the minor version released on April 16, 2008? | CREATE TABLE table_24257833_4 (minor_version VARCHAR, release_date VARCHAR) |
SELECT couple FROM table_name_8 WHERE result = "safe" AND style = "lyrical jazz" | What couple had a safe result and a lyrical jazz style? | CREATE TABLE table_name_8 (couple VARCHAR, result VARCHAR, style VARCHAR) |
SELECT tv_season FROM table_10120207_8 WHERE season = 12 | What is the year of the season that was 12? | CREATE TABLE table_10120207_8 (tv_season VARCHAR, season VARCHAR) |
SELECT distance FROM table_name_64 WHERE pilot = "stanislaw wujczak" | What is Distance, when Pilot is "Stanislaw Wujczak"? | CREATE TABLE table_name_64 (distance VARCHAR, pilot VARCHAR) |
SELECT attendance FROM table_name_22 WHERE date = "11/09/1935" | How many spectators attended the game on 11/09/1935? | CREATE TABLE table_name_22 (attendance VARCHAR, date VARCHAR) |
SELECT rank FROM table_name_15 WHERE first_quarter = "procter & gamble 138,013" | When the first quarter is procter & gamble 138,013, what is the rank? | CREATE TABLE table_name_15 (rank VARCHAR, first_quarter VARCHAR) |
SELECT blank_ends FROM table_29565673_2 WHERE w > 6.0 | What is the blank ends record when the win record is higher than 6.0? | CREATE TABLE table_29565673_2 (blank_ends VARCHAR, w INTEGER) |
SELECT record FROM table_name_86 WHERE date = "april 3" | What is the record on April 3? | CREATE TABLE table_name_86 (record VARCHAR, date VARCHAR) |
SELECT title FROM table_21146729_6 WHERE writer_s_ = "Jack Turley" | what is the title when the writer(s) is jack turley? | CREATE TABLE table_21146729_6 (title VARCHAR, writer_s_ VARCHAR) |
SELECT position FROM table_name_45 WHERE pick = 36 | What position did pick 36 play? | CREATE TABLE table_name_45 (position VARCHAR, pick VARCHAR) |
SELECT history FROM table_name_95 WHERE built > 1997 AND name = "speedrunner iv (ssc4)" | What is the history behind the vessel Speedrunner IV (SSC4) built after 1997? | CREATE TABLE table_name_95 (history VARCHAR, built VARCHAR, name VARCHAR) |
SELECT MIN(total_viewers) FROM table_12995531_3 WHERE date_of_first_broadcast = "28 January 2010" AND episode_number = 1 | what is the total viewers where the date of first broadcast is 28 january 2010 and the episode number is 1? | CREATE TABLE table_12995531_3 (total_viewers INTEGER, date_of_first_broadcast VARCHAR, episode_number VARCHAR) |
SELECT MIN(us_open) FROM table_2092557_12 WHERE player = "Shirley Fry Irvin" | When did Shirley Fry Irvin win the US Open? | CREATE TABLE table_2092557_12 (us_open INTEGER, player VARCHAR) |
SELECT details FROM table_name_9 WHERE label = "out of line" AND year = 2005 | Which details has the out of line label and the year of 2005? | CREATE TABLE table_name_9 (details VARCHAR, label VARCHAR, year VARCHAR) |
SELECT replaced_by FROM table_27091128_2 WHERE team = "Altay" | Who replaced the previous manager of Altay? | CREATE TABLE table_27091128_2 (replaced_by VARCHAR, team VARCHAR) |
SELECT constellation FROM table_name_61 WHERE right_ascension___j2000__ = "09h51m54.0s" | what is the constellation when the right ascension (j2000) is 09h51m54.0s? | CREATE TABLE table_name_61 (constellation VARCHAR, right_ascension___j2000__ VARCHAR) |
SELECT us_rap FROM table_name_15 WHERE album = "life in the concrete jungle" | What U.S. Rap has life in the concrete jungle as the album? | CREATE TABLE table_name_15 (us_rap VARCHAR, album VARCHAR) |
SELECT venue FROM table_name_92 WHERE score = "30-20" | Where was the game that had a final score of 30-20? | CREATE TABLE table_name_92 (venue VARCHAR, score VARCHAR) |
SELECT score FROM table_name_5 WHERE date = "2 july 2012" | What was the score for the final played on 2 July 2012? | CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR) |
SELECT interregnum_ended FROM table_name_69 WHERE count_palatine_of_saxony = "john george ii, elector of saxony" | What is the Interregnum ended for Count Palatine of Saxony of john george ii, elector of saxony? | CREATE TABLE table_name_69 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR) |
SELECT superlative FROM table_name_92 WHERE year > 1984 AND actress = "gloria stuart" | Which award was won by Gloria Stuart after 1984? | CREATE TABLE table_name_92 (superlative VARCHAR, year VARCHAR, actress VARCHAR) |
SELECT MIN(attendance) FROM table_23308178_6 WHERE date = "December 23" | What was the lowest attendance for games played on december 23? | CREATE TABLE table_23308178_6 (attendance INTEGER, date VARCHAR) |
SELECT AVG(size__cents_) FROM table_name_33 WHERE interval_name = "major third" AND size__steps_ > 5 | What is the average size (cents) with an interval of major third and size (steps) more than 5 | CREATE TABLE table_name_33 (size__cents_ INTEGER, interval_name VARCHAR, size__steps_ VARCHAR) |
SELECT driver FROM table_name_28 WHERE q1_order > 10 AND q1_pos = 18 | Driver at larger than 10 with a Q1 of 18. | CREATE TABLE table_name_28 (driver VARCHAR, q1_order VARCHAR, q1_pos VARCHAR) |
SELECT AVG(pick) FROM table_name_33 WHERE round > 2 | What is the average pick after Round 2? | CREATE TABLE table_name_33 (pick INTEGER, round INTEGER) |
SELECT inclination FROM table_12141496_1 WHERE alt_name = "OPS-1584" | What is the inclination when the alt name is OPS-1584? | CREATE TABLE table_12141496_1 (inclination VARCHAR, alt_name VARCHAR) |
SELECT rank FROM table_name_32 WHERE club_clubs = "hawthorn" | Which rank is Hawthorn? | CREATE TABLE table_name_32 (rank VARCHAR, club_clubs VARCHAR) |
SELECT weight FROM table_20872722_1 WHERE college = "Western Ontario" | What is the weight for western ontario college? | CREATE TABLE table_20872722_1 (weight VARCHAR, college VARCHAR) |
SELECT MIN(game) FROM table_11964154_2 WHERE high_points = "Damien Wilkins (27)" | How many games was Damien Wilkins (27) the high scorer? | CREATE TABLE table_11964154_2 (game INTEGER, high_points VARCHAR) |
SELECT 2012 AS _club FROM table_name_55 WHERE name = "billy miller category:articles with hcards" | What is the 2012 club for the Billy Miller Category:Articles with hcards (Name)? | CREATE TABLE table_name_55 (name VARCHAR) |
SELECT date FROM table_name_53 WHERE result = "w 13-10" | What is the date of the game with a result of W 13-10? | CREATE TABLE table_name_53 (date VARCHAR, result VARCHAR) |
SELECT street_address FROM table_name_74 WHERE name = "notre dame basilica" | What is the street address of Notre Dame Basilica? | CREATE TABLE table_name_74 (street_address VARCHAR, name VARCHAR) |
SELECT MAX(game) FROM table_15873014_3 | How many games were played in the season? | CREATE TABLE table_15873014_3 (game INTEGER) |
SELECT period_active FROM table_name_83 WHERE release_year_of_first_charted_record = 1973 AND genre = "rock" | What's the period of a rock album released in 1973? | CREATE TABLE table_name_83 (period_active VARCHAR, release_year_of_first_charted_record VARCHAR, genre VARCHAR) |
SELECT position FROM table_name_10 WHERE year_born > 1978 AND current_club = "cherkassy monkeys" | Which position from the Cherkassy Monkeys' club was born after 1978? | CREATE TABLE table_name_10 (position VARCHAR, year_born VARCHAR, current_club VARCHAR) |
SELECT COUNT(silver) FROM table_name_84 WHERE bronze < 1 | What is the total number of Silver medals for the Nation with less than 1 Bronze? | CREATE TABLE table_name_84 (silver VARCHAR, bronze INTEGER) |
SELECT player FROM table_20649850_1 WHERE position = "OL" | Name the player for ol | CREATE TABLE table_20649850_1 (player VARCHAR, position VARCHAR) |
SELECT control FROM table_name_36 WHERE labour_party = "12 (+6)" | Who was in control the year that Labour Party won 12 (+6) seats? | CREATE TABLE table_name_36 (control VARCHAR, labour_party VARCHAR) |
SELECT school_club_team_country FROM table_11734041_6 WHERE player = "Fitch, Gerald Gerald Fitch" | What school/club team/country did the player fitch, gerald gerald fitch play for? | CREATE TABLE table_11734041_6 (school_club_team_country VARCHAR, player VARCHAR) |
SELECT COUNT(points) FROM table_name_80 WHERE score = "3–0" | How many Points have a Score of 3–0? | CREATE TABLE table_name_80 (points VARCHAR, score VARCHAR) |
SELECT game_site FROM table_name_85 WHERE week < 11 AND date = "october 21, 1973" | What Game Site has a Week smaller than 11, and a Date of october 21, 1973? | CREATE TABLE table_name_85 (game_site VARCHAR, week VARCHAR, date VARCHAR) |
SELECT verb_meaning FROM table_name_53 WHERE part_1 = "lopen" | what is the verb meaning when the part 1 is lopen? | CREATE TABLE table_name_53 (verb_meaning VARCHAR, part_1 VARCHAR) |
SELECT template_id FROM Templates WHERE template_type_code = "PP" OR template_type_code = "PPT" | What are the ids of templates with template type code PP or PPT? | CREATE TABLE Templates (template_id VARCHAR, template_type_code VARCHAR) |
SELECT visitor FROM table_name_72 WHERE home = "calgary" AND date = "april 17" | Which Visitor has a Home of calgary, and a Date of april 17? | CREATE TABLE table_name_72 (visitor VARCHAR, home VARCHAR, date VARCHAR) |
SELECT opponent_in_the_final FROM table_22834834_2 WHERE championship = "Frankfurt" AND year < 1993.0 | Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0? | CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR) |
SELECT driver FROM table_name_57 WHERE chassis = "dallara f306" AND rounds = "8" | Which driver was in 8 rounds with a chassis of dallara f306? | CREATE TABLE table_name_57 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR) |
SELECT years FROM table_name_70 WHERE goals < 229 AND matches = 440 | What years have goals less than 229, and 440 as matches? | CREATE TABLE table_name_70 (years VARCHAR, goals VARCHAR, matches VARCHAR) |
SELECT date FROM table_name_87 WHERE winning_score = 72 - 66 - 67 - 71 = 276 | Which date was the Winning Score 72-66-67-71=276? | CREATE TABLE table_name_87 (date VARCHAR, winning_score VARCHAR) |
SELECT result FROM table_name_36 WHERE original_title = "zona sur" | What was Zona Sur's result after being considered for nomination? | CREATE TABLE table_name_36 (result VARCHAR, original_title VARCHAR) |
SELECT COUNT(reason_for_change) FROM table_225095_4 WHERE successor = "Edward Hempstead" | How many reasons for change were listed when Edward Hempstead was the successor? | CREATE TABLE table_225095_4 (reason_for_change VARCHAR, successor VARCHAR) |
SELECT COUNT(player) FROM table_28697228_4 WHERE passing_yards = 208 | How may players have a passing yard score of 208? | CREATE TABLE table_28697228_4 (player VARCHAR, passing_yards VARCHAR) |
SELECT MAX(points) FROM table_25730326_2 WHERE player = "George M. Lawton" | How many points does George M. Lawton have? | CREATE TABLE table_25730326_2 (points INTEGER, player VARCHAR) |
SELECT MIN(attendance) FROM table_name_50 WHERE week = 2 | What is the lowest attendance for week 2? | CREATE TABLE table_name_50 (attendance INTEGER, week VARCHAR) |
SELECT MIN(game) FROM table_name_42 WHERE october = 21 | Name the least game for october 21 | CREATE TABLE table_name_42 (game INTEGER, october VARCHAR) |
SELECT listed FROM table_name_77 WHERE county = "washington" AND name = "b & o bridge" | What is the date Listed of the B & O Bridge in Washington? | CREATE TABLE table_name_77 (listed VARCHAR, county VARCHAR, name VARCHAR) |
SELECT MIN(week) FROM table_name_58 WHERE attendance = "65,904" | During which week was the earliest game with an attendance of 65,904 people? | CREATE TABLE table_name_58 (week INTEGER, attendance VARCHAR) |
SELECT date FROM table_name_12 WHERE venue = "corio oval" | Which date was corio oval the venue? | CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR) |
SELECT no_2 FROM table_name_7 WHERE no_6 = "ethan" AND no_3 = "mason" | What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot? | CREATE TABLE table_name_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR) |
SELECT COUNT(silver) FROM table_name_90 WHERE rank = 3 AND bronze > 0 | How many silver medals had a rank of 3 with bronze larger than 0? | CREATE TABLE table_name_90 (silver VARCHAR, rank VARCHAR, bronze VARCHAR) |
SELECT position FROM table_name_45 WHERE name = "jamar chaney" | What position does Jamar Chaney play? | CREATE TABLE table_name_45 (position VARCHAR, name VARCHAR) |
SELECT municipality FROM table_16278673_1 WHERE population = "57" | Name the municpality for 57 populaton | CREATE TABLE table_16278673_1 (municipality VARCHAR, population VARCHAR) |
SELECT Description FROM aircraft | List the description of all aircrafts. | CREATE TABLE aircraft (Description VARCHAR) |
SELECT manchu___möllendorff__ FROM table_name_48 WHERE wu_xing_correlations = "南 south" AND wuu_wuupin = "ting44" | What's Manchu (Möllendorff) with the Wi Xing Correltation of 南 South, along with Wuu Wuupin of ting44? | CREATE TABLE table_name_48 (manchu___möllendorff__ VARCHAR, wu_xing_correlations VARCHAR, wuu_wuupin VARCHAR) |
SELECT runner_up_skip FROM table_name_51 WHERE event = "mac ice classic" | Who was the runner-up during the Mac Ice Classic? | CREATE TABLE table_name_51 (runner_up_skip VARCHAR, event VARCHAR) |
SELECT venue FROM table_name_64 WHERE opponent = "los angeles rams" | Which venue hosted the Los Angeles Rams as an opponent? | CREATE TABLE table_name_64 (venue VARCHAR, opponent VARCHAR) |
SELECT time FROM table_name_17 WHERE score = "46-82" | What is the Time with a Score that is 46-82? | CREATE TABLE table_name_17 (time VARCHAR, score VARCHAR) |
SELECT surface FROM table_name_93 WHERE partner = "sorana cîrstea" | Which Surface has a Partner of sorana cîrstea? | CREATE TABLE table_name_93 (surface VARCHAR, partner VARCHAR) |
SELECT COUNT(round) FROM table_name_6 WHERE opponent = "gina carano" | Name the total number of rounds for gina carano | CREATE TABLE table_name_6 (round VARCHAR, opponent VARCHAR) |
SELECT population__maryborough_ FROM table_12576536_1 WHERE population__woocoo_ = 2700 | Name the population of maryborough when population of woocoo is 2700 | CREATE TABLE table_12576536_1 (population__maryborough_ VARCHAR, population__woocoo_ VARCHAR) |
SELECT COUNT(points) FROM table_name_23 WHERE rank = "6th" AND draw < 5 | What is the total number of points for the song that was ranked 6th and had a draw number smaller than 5? | CREATE TABLE table_name_23 (points VARCHAR, rank VARCHAR, draw VARCHAR) |
SELECT visitor FROM table_name_48 WHERE date = "march 7" | Who is the visitor of the game on March 7? | CREATE TABLE table_name_48 (visitor VARCHAR, date VARCHAR) |
SELECT DISTINCT PRESIDENT_Vote FROM VOTING_RECORD WHERE Registration_Date = "08/30/2015" | What are the distinct president votes on 08/30/2015? | CREATE TABLE VOTING_RECORD (PRESIDENT_Vote VARCHAR, Registration_Date VARCHAR) |
SELECT date FROM table_name_40 WHERE race_title = "dhl turkish grand prix" | Which date has a Race Title of dhl turkish grand prix? | CREATE TABLE table_name_40 (date VARCHAR, race_title VARCHAR) |
SELECT attendance FROM table_name_65 WHERE date = "september 10, 1989" | On September 10, 1989 how many people attended the game? | CREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR) |
SELECT COUNT(year) FROM table_name_96 WHERE location = "san diego, california" AND defeated = "houston baptist (texas)" | what is the year when the location is san diego, california and defeated is houston baptist (texas)? | CREATE TABLE table_name_96 (year VARCHAR, location VARCHAR, defeated VARCHAR) |
SELECT loser FROM table_name_46 WHERE winner = "new england patriots" AND location = "giants stadium" AND result = "30–28" | What is the name of the Loser when the winner was new england patriots, and a Location of giants stadium, and a Result of 30–28? | CREATE TABLE table_name_46 (loser VARCHAR, result VARCHAR, winner VARCHAR, location VARCHAR) |
SELECT class FROM table_19398910_4 WHERE bout_6 = "Sanchez ( ESP ) W 5-0" | when Sanchez ( esp ) w 5-0 were the bout 6, which were the class? | CREATE TABLE table_19398910_4 (class VARCHAR, bout_6 VARCHAR) |
SELECT jockey FROM table_28750142_1 WHERE name = "Pink Gin" | What is the name of the jockey for Pink Gin? | CREATE TABLE table_28750142_1 (jockey VARCHAR, name VARCHAR) |
SELECT Model_name FROM chip_model WHERE Launch_year BETWEEN 2002 AND 2004 | the names of models that launched between 2002 and 2004. | CREATE TABLE chip_model (Model_name VARCHAR, Launch_year INTEGER) |
SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%' | Find the players whose names contain letter 'a'. | CREATE TABLE Player (pName VARCHAR) |
SELECT COUNT(exited) FROM table_14345690_3 WHERE finished = "9th" | How many people finished 9th? | CREATE TABLE table_14345690_3 (exited VARCHAR, finished VARCHAR) |
SELECT SUM(round) FROM table_name_87 WHERE name = "john o'day" AND pick < 3 | How many rounds have john o'day as the name, and a pick less than 3? | CREATE TABLE table_name_87 (round INTEGER, name VARCHAR, pick VARCHAR) |
SELECT MAX(wins) FROM table_14871601_1 WHERE team = "Nacional" | What is the highest win for the team Nacional? | CREATE TABLE table_14871601_1 (wins INTEGER, team VARCHAR) |
SELECT laps FROM table_name_35 WHERE time_retired = "+8 laps" | Tell me the Laps for time/retired of +8 laps | CREATE TABLE table_name_35 (laps VARCHAR, time_retired VARCHAR) |
SELECT title FROM table_name_83 WHERE year = 2003 AND genre = "rap" | What was the title of Ashanti's 2003 rap song? | CREATE TABLE table_name_83 (title VARCHAR, year VARCHAR, genre VARCHAR) |
SELECT away_team AS score FROM table_name_26 WHERE away_team = "collingwood" | What is the Away Team Score of the Collingwood Home Team? | CREATE TABLE table_name_26 (away_team VARCHAR) |
SELECT Name FROM member WHERE NOT Member_ID IN (SELECT Member_ID FROM member_attendance) | List the names of members who did not attend any performance. | CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Name VARCHAR, Member_ID VARCHAR) |
SELECT serial_number FROM table_name_11 WHERE function__figure_ = "space security trooper" | What is the Serial number for the Space Security Trooper Function (figure)? | CREATE TABLE table_name_11 (serial_number VARCHAR, function__figure_ VARCHAR) |
SELECT date FROM table_name_62 WHERE record = "9–6–4" | On what Date was the Record 9–6–4? | CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR) |
SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id | Show all customer ids and the number of cards owned by each customer. | CREATE TABLE Customers_cards (customer_id VARCHAR) |
SELECT year_s__won FROM table_name_70 WHERE to_par = 8 | What is the Year won for the player with a To par of 8? | CREATE TABLE table_name_70 (year_s__won VARCHAR, to_par VARCHAR) |
SELECT t2.unit_of_measure FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code WHERE t1.product_name = "cumin" | What is the unit of measurement of product named "cumin"? | CREATE TABLE ref_product_categories (unit_of_measure VARCHAR, product_category_code VARCHAR); CREATE TABLE products (product_category_code VARCHAR, product_name VARCHAR) |
SELECT AVG(goal_ratio) FROM table_name_71 WHERE goals > 1 AND games > 161 AND debut_in_europe < 1985 | What's the average goal ratio with Goals larger than 1, Games larger than 161, and a Debut in Europe smaller than 1985? | CREATE TABLE table_name_71 (goal_ratio INTEGER, debut_in_europe VARCHAR, goals VARCHAR, games VARCHAR) |
SELECT finalist FROM table_name_91 WHERE tournament = "monte carlo" | Who was the finalist in the Monte Carlo Tournament? | CREATE TABLE table_name_91 (finalist VARCHAR, tournament VARCHAR) |
SELECT tuner FROM table_name_23 WHERE team = "mrf" | Who is the turner on Team MRF? | CREATE TABLE table_name_23 (tuner VARCHAR, team VARCHAR) |
SELECT rank FROM table_name_14 WHERE definition = "province-level municipality" | What's the rank of the Province-Level Municipality? | CREATE TABLE table_name_14 (rank VARCHAR, definition VARCHAR) |
SELECT official_name FROM table_300283_1 WHERE name_in_spanish = "Vitoria" | What is the official name of the municipality whose name in Spanish is Vitoria? | CREATE TABLE table_300283_1 (official_name VARCHAR, name_in_spanish VARCHAR) |
SELECT director FROM table_10874596_1 WHERE original_title = "o.k." | Who were the directors of the film with the original title o.k.? | CREATE TABLE table_10874596_1 (director VARCHAR, original_title VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.