answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT country FROM table_name_13 WHERE score = 75 - 70 - 74 = 219 | What is the Country of the Player with a Score of 75-70-74=219? | CREATE TABLE table_name_13 (country VARCHAR, score VARCHAR) |
SELECT name_first, name_last FROM player WHERE death_year = '' | Find all the players' first name and last name who have empty death record. | CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, death_year VARCHAR) |
SELECT number_ & _name FROM table_name_61 WHERE date = 1967 | What's Number & Name listed for the Date 1967? | CREATE TABLE table_name_61 (number_ VARCHAR, _name VARCHAR, date VARCHAR) |
SELECT location FROM table_name_93 WHERE previous_champion_s_ = "mike webb and nick fahrenheit" | Which location had previous champions of Mike Webb and Nick Fahrenheit? | CREATE TABLE table_name_93 (location VARCHAR, previous_champion_s_ VARCHAR) |
SELECT COUNT(successes) FROM table_name_92 WHERE launches > 3 AND country = "russia" AND type = "soyuz" AND rocket = "soyuz-u" | What is the number of successes for rockets that have more than 3 launches, were based in Russia, are type soyuz and a rocket type of soyuz-u? | CREATE TABLE table_name_92 (successes VARCHAR, rocket VARCHAR, type VARCHAR, launches VARCHAR, country VARCHAR) |
SELECT recorded FROM table_name_83 WHERE track > 7 AND translation = "death" | Name the song that has a track larger than 7 and means death. | CREATE TABLE table_name_83 (recorded VARCHAR, track VARCHAR, translation VARCHAR) |
SELECT fastest_laps FROM table_name_99 WHERE season < 1979 | What is the fastest lap for a season smaller than 1979? | CREATE TABLE table_name_99 (fastest_laps VARCHAR, season INTEGER) |
SELECT outcome FROM table_name_73 WHERE opponent_in_the_final = "çağla büyükakçay" | What is the Outcome when çağla büyükakçay was the opponent in the final? | CREATE TABLE table_name_73 (outcome VARCHAR, opponent_in_the_final VARCHAR) |
SELECT MAX(earnings__) AS $__ FROM table_name_41 WHERE player = "dave stockton" | How much has dave stockton earned? | CREATE TABLE table_name_41 (earnings__ INTEGER, player VARCHAR) |
SELECT record FROM table_name_49 WHERE date = "january 27" | What record has January 27 for the date? | CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR) |
SELECT opponents FROM table_name_73 WHERE record = "3-0" | Who are the opponents with a record of 3-0? | CREATE TABLE table_name_73 (opponents VARCHAR, record VARCHAR) |
SELECT MAX(position) FROM table_name_97 WHERE goals_against = 24 AND played < 30 | Which Position has 24 Goals against, and a Played smaller than 30? | CREATE TABLE table_name_97 (position INTEGER, goals_against VARCHAR, played VARCHAR) |
SELECT weight FROM table_name_86 WHERE club = "maadi" | What is Weight, when Club is "Maadi"? | CREATE TABLE table_name_86 (weight VARCHAR, club VARCHAR) |
SELECT place FROM table_name_60 WHERE player = "jim thorpe" | What is the place of player jim thorpe? | CREATE TABLE table_name_60 (place VARCHAR, player VARCHAR) |
SELECT runner_up FROM table_name_25 WHERE year = 1915 | who was the runner-up in the 1915 competition for 'Articles with HCards'? | CREATE TABLE table_name_25 (runner_up VARCHAR, year VARCHAR) |
SELECT race_name FROM table_name_16 WHERE winning_team = "mi-jack conquest racing" AND pole_position = "andreas wirth" | What race did the team Mi-Jack Conquest racing win with a pole position of andreas wirth? | CREATE TABLE table_name_16 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR) |
SELECT SUM(bronze) FROM table_name_69 WHERE silver = 15 AND gold < 20 | Which Bronze has a Silver of 15, and a Gold smaller than 20? | CREATE TABLE table_name_69 (bronze INTEGER, silver VARCHAR, gold VARCHAR) |
SELECT userpics_free FROM table_name_18 WHERE registration = "open" AND yearly_cost_for_paid_account = "unknown" AND name = "kraslan" | What is Userpics Free, when Registration is Open, when Yearly Cost For Paid Account is "unknown", and when Name is Kraslan? | CREATE TABLE table_name_18 (userpics_free VARCHAR, name VARCHAR, registration VARCHAR, yearly_cost_for_paid_account VARCHAR) |
SELECT MIN(best) FROM table_name_13 WHERE qual_2 = "49.887" | Who had the lowest Best time that also had a Qual 2 of 49.887? | CREATE TABLE table_name_13 (best INTEGER, qual_2 VARCHAR) |
SELECT record FROM table_name_55 WHERE date = "december 18" | Which Record has a Date on december 18? | CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR) |
SELECT MAX(event) FROM table_30060356_3 | What is the highest numbered event? | CREATE TABLE table_30060356_3 (event INTEGER) |
SELECT COUNT(number_of_hus__approximate_) FROM table_name_66 WHERE digits > 2 AND level = 6 | What's the approximate number of HUs when there are more than 2 digits, and 6 levels? | CREATE TABLE table_name_66 (number_of_hus__approximate_ VARCHAR, digits VARCHAR, level VARCHAR) |
SELECT result FROM table_11449311_2 WHERE record = "2-13" | Find all the result(s) with the record of 2-13. | CREATE TABLE table_11449311_2 (result VARCHAR, record VARCHAR) |
SELECT COUNT(original_air_date) FROM table_29196086_4 WHERE written_by = "Harold Hayes Jr. & Craig S. Phillips" | on how many days did the episode written by harold hayes jr. & craig s. phillips originally air | CREATE TABLE table_29196086_4 (original_air_date VARCHAR, written_by VARCHAR) |
SELECT AVG(against) FROM table_name_74 WHERE losses < 10 AND draws > 0 AND wins > 7 | What is the average number of against with less than 10 losses, more than 0 draws, and more than 7 wins? | CREATE TABLE table_name_74 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR) |
SELECT opponent_in_the_final FROM table_name_36 WHERE year = 1888 | Name the opponent in the final for year of 1888 | CREATE TABLE table_name_36 (opponent_in_the_final VARCHAR, year VARCHAR) |
SELECT date FROM table_name_6 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "carole charbonnier" | On what Date was Carole Charbonnier a Runner(s)-up with a 1 stroke Margin of victory? | CREATE TABLE table_name_6 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR) |
SELECT tournament FROM table_name_92 WHERE opponent = "meike babel" | Which Tournament has an Opponent of meike babel? | CREATE TABLE table_name_92 (tournament VARCHAR, opponent VARCHAR) |
SELECT year FROM table_2516282_3 WHERE score = "7–5, 7–6 (7–5)" | In what year was the score 7–5, 7–6 (7–5)? | CREATE TABLE table_2516282_3 (year VARCHAR, score VARCHAR) |
SELECT power_kw FROM table_27914076_1 WHERE callsign = "DYMD-FM" | Name the power for dymd-fm | CREATE TABLE table_27914076_1 (power_kw VARCHAR, callsign VARCHAR) |
SELECT MIN(opp_points) FROM table_22860990_3 WHERE record = "6-2" | How many points did the opponents with a 6-2 record against the Spartans score? | CREATE TABLE table_22860990_3 (opp_points INTEGER, record VARCHAR) |
SELECT manager FROM table_27409644_1 WHERE club = "Lootos Põlva" | Who is the manager for lootos põlva? | CREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR) |
SELECT overs FROM table_18914438_1 WHERE career = "1993-2007" | What was the Overs score of the career played from 1993-2007? | CREATE TABLE table_18914438_1 (overs VARCHAR, career VARCHAR) |
SELECT COUNT(DISTINCT temporary_acting) FROM management | How many acting statuses are there? | CREATE TABLE management (temporary_acting VARCHAR) |
SELECT Policy_Type_Code FROM Customer_Policies GROUP BY Policy_Type_Code ORDER BY COUNT(*) DESC LIMIT 1 | Which kind of policy type was chosen by the most customers? | CREATE TABLE Customer_Policies (Policy_Type_Code VARCHAR) |
SELECT MIN(Shared) AS titles FROM table_2869837_1 WHERE last_final = 2006 | What is the minimum number of shared titles for the club whose last final was in 2006? | CREATE TABLE table_2869837_1 (Shared INTEGER, last_final VARCHAR) |
SELECT status FROM table_name_31 WHERE name = "norris" | What is the status of Norris? | CREATE TABLE table_name_31 (status VARCHAR, name VARCHAR) |
SELECT tie_no FROM table_name_75 WHERE score = "2–2" AND away_team = "swansea city" | What is the Tie no when Swansea City is the Away team with a Score of 2–2? | CREATE TABLE table_name_75 (tie_no VARCHAR, score VARCHAR, away_team VARCHAR) |
SELECT winner FROM table_name_9 WHERE team = "peter jackson racing" AND circuit = "mallala motor sport park" | Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park? | CREATE TABLE table_name_9 (winner VARCHAR, team VARCHAR, circuit VARCHAR) |
SELECT MAX(others_number) FROM table_name_69 WHERE kerry_percentage = "52.1%" | What percentage of other candidates did the county which voted 52.1% for Kerry vote for? | CREATE TABLE table_name_69 (others_number INTEGER, kerry_percentage VARCHAR) |
SELECT district FROM table_name_69 WHERE party = "democratic" AND incumbent = "francis c. le blond" | What district is the democratic Francis C. Le Blond from? | CREATE TABLE table_name_69 (district VARCHAR, party VARCHAR, incumbent VARCHAR) |
SELECT institution FROM table_262527_1 WHERE location = "North Newton, Kansas" | what is the institution located in north newton, kansas? | CREATE TABLE table_262527_1 (institution VARCHAR, location VARCHAR) |
SELECT machine FROM table_name_75 WHERE trophy = "susan jenness trophy" | What machine did susan jenness trophy earn the trophy? | CREATE TABLE table_name_75 (machine VARCHAR, trophy VARCHAR) |
SELECT years_for_grizzlies FROM table_16494599_5 WHERE no = 32 | when did no. 32 play for grizzles | CREATE TABLE table_16494599_5 (years_for_grizzlies VARCHAR, no VARCHAR) |
SELECT written_by FROM table_name_58 WHERE directed_by = "terry ingram" | Who wrote the episode that was directed by Terry Ingram? | CREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR) |
SELECT school_club_team FROM table_15463188_1 WHERE position = "Guard" | Name the school/club for guard | CREATE TABLE table_15463188_1 (school_club_team VARCHAR, position VARCHAR) |
SELECT tie_no FROM table_name_36 WHERE home_team = "exeter city" | What is the tie no of the game where exeter city was the home team? | CREATE TABLE table_name_36 (tie_no VARCHAR, home_team VARCHAR) |
SELECT institution FROM table_name_87 WHERE founded > 1883 AND current_conference = "american southwest" | What American Southwest Conference school was founded in 1883? | CREATE TABLE table_name_87 (institution VARCHAR, founded VARCHAR, current_conference VARCHAR) |
SELECT team_d FROM table_name_61 WHERE team_c = "carmen ada" | Who is Team D when Carmen Ada is team C? | CREATE TABLE table_name_61 (team_d VARCHAR, team_c VARCHAR) |
SELECT country FROM table_name_2 WHERE to_par = "e" AND player = "chi-chi rodríguez" | What is the country of player chi-chi rodríguez, who has an e to par? | CREATE TABLE table_name_2 (country VARCHAR, to_par VARCHAR, player VARCHAR) |
SELECT party FROM table_25030512_41 WHERE district = "Pennsylvania 10" | Name the party for pennsylvania 10 | CREATE TABLE table_25030512_41 (party VARCHAR, district VARCHAR) |
SELECT womens_doubles FROM table_12171145_1 WHERE mixed_doubles = "Jacco Arends Selena Piek" | Who was the womens doubles when the mixed doubles is jacco arends selena piek? | CREATE TABLE table_12171145_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR) |
SELECT drawn FROM table_name_12 WHERE points_difference = "-210" | What is the number of draws for the team with a points difference of -210? | CREATE TABLE table_name_12 (drawn VARCHAR, points_difference VARCHAR) |
SELECT date FROM table_name_31 WHERE home_team = "collingwood" | What is the date of the game where Collingwood was the home team? | CREATE TABLE table_name_31 (date VARCHAR, home_team VARCHAR) |
SELECT original_airdate FROM table_19517621_4 WHERE written_by = "Michelle Offen" | What was the original air date of the episode written by Michelle Offen? | CREATE TABLE table_19517621_4 (original_airdate VARCHAR, written_by VARCHAR) |
SELECT date FROM table_name_47 WHERE attendance > 20 OFFSET 268 | Name the date for attendance more than 20,268 | CREATE TABLE table_name_47 (date VARCHAR, attendance INTEGER) |
SELECT COUNT(goals_for) FROM table_name_48 WHERE ties > 0 AND goals_against > 35 AND wins < 2 | what is the total number of goals for when the ties is more than 0, the goals against is more than 35 and the wins is less than 2? | CREATE TABLE table_name_48 (goals_for VARCHAR, wins VARCHAR, ties VARCHAR, goals_against VARCHAR) |
SELECT points FROM table_name_99 WHERE laps = "88" AND grid = "14" | How many points have 88 laps and a grid of 14? | CREATE TABLE table_name_99 (points VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT place_of_birth FROM table_name_31 WHERE elector = "soffredo" | What is listed as the Place of birth for the Elector of Soffredo? | CREATE TABLE table_name_31 (place_of_birth VARCHAR, elector VARCHAR) |
SELECT surname FROM table_name_63 WHERE throws = "l" AND dob = "5/02/79" | Which Surname has Throws of l, and a DOB of 5/02/79? | CREATE TABLE table_name_63 (surname VARCHAR, throws VARCHAR, dob VARCHAR) |
SELECT losing_bonus FROM table_name_78 WHERE try_bonus = "10" | When the try bonus was 10 what was the losing bonus? | CREATE TABLE table_name_78 (losing_bonus VARCHAR, try_bonus VARCHAR) |
SELECT result FROM table_name_79 WHERE competition = "friendly" AND date = "9 october 2010" | Name the result for friendly competition on 9 october 2010 | CREATE TABLE table_name_79 (result VARCHAR, competition VARCHAR, date VARCHAR) |
SELECT engine FROM table_name_68 WHERE finish = "21" | What Engine has a Finish of 21? | CREATE TABLE table_name_68 (engine VARCHAR, finish VARCHAR) |
SELECT bbc_two_rank FROM table_name_53 WHERE year = "2005" | What was the rank of BBC 2 in 2005? | CREATE TABLE table_name_53 (bbc_two_rank VARCHAR, year VARCHAR) |
SELECT SUM(year) FROM table_name_26 WHERE position = "center" AND player = "ann wauters" | What year is center Ann Wauters? | CREATE TABLE table_name_26 (year INTEGER, position VARCHAR, player VARCHAR) |
SELECT player FROM table_27268238_4 WHERE average = "50.16" | If the average is 50.16, who is the player? | CREATE TABLE table_27268238_4 (player VARCHAR, average VARCHAR) |
SELECT MIN(silver) FROM table_name_83 WHERE nation = "italy" AND total < 5 | What is the least amount of silver for Italy with a total less than 5? | CREATE TABLE table_name_83 (silver INTEGER, nation VARCHAR, total VARCHAR) |
SELECT COUNT(episode_number) FROM table_17257687_1 WHERE event_4 = "The Wall" AND event_1 = "Pendulum" | On which episode number is event 4 The Wall and event 1 the Pendulum? | CREATE TABLE table_17257687_1 (episode_number VARCHAR, event_4 VARCHAR, event_1 VARCHAR) |
SELECT written_by FROM table_28348757_6 WHERE production_code = "XLE05012" | Who wrote the episode with the code xle05012? | CREATE TABLE table_28348757_6 (written_by VARCHAR, production_code VARCHAR) |
SELECT COUNT(attendance) FROM table_name_66 WHERE week = 15 | For week 15, what was the total number of attendance recorded? | CREATE TABLE table_name_66 (attendance VARCHAR, week VARCHAR) |
SELECT away_team FROM table_name_64 WHERE attendance = "7,891" | Who was the away team when the attendance was 7,891? | CREATE TABLE table_name_64 (away_team VARCHAR, attendance VARCHAR) |
SELECT COUNT(week) FROM table_name_40 WHERE attendance = "64,116" | How many weeks have an attendance of 64,116? | CREATE TABLE table_name_40 (week VARCHAR, attendance VARCHAR) |
SELECT product_name, product_category_code FROM products ORDER BY product_price DESC LIMIT 1 | Find the name and category of the most expensive product. | CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR, product_price VARCHAR) |
SELECT COUNT(mountains_classification) FROM table_25999087_2 WHERE winner = "Rui Costa" | How many mountains classifications when Rui Costa is the winner? | CREATE TABLE table_25999087_2 (mountains_classification VARCHAR, winner VARCHAR) |
SELECT outcome FROM table_name_85 WHERE opponent = "jelena janković" | What is the Outcome with an Opponent that is jelena janković? | CREATE TABLE table_name_85 (outcome VARCHAR, opponent VARCHAR) |
SELECT scrapped_sold FROM table_name_11 WHERE name_as_rebuilt = "trostan" | Which Scrapped/Sold has a Name as rebuilt of trostan? | CREATE TABLE table_name_11 (scrapped_sold VARCHAR, name_as_rebuilt VARCHAR) |
SELECT points FROM table_20107762_1 WHERE rebounds = "4.4" | What is the points number when rebounds is 4.4? | CREATE TABLE table_20107762_1 (points VARCHAR, rebounds VARCHAR) |
SELECT COUNT(episode) FROM table_2105721_1 WHERE run_time = "24:11" | Name the total episode for runtime of 24:11 | CREATE TABLE table_2105721_1 (episode VARCHAR, run_time VARCHAR) |
SELECT original_air_date FROM table_11694832_1 WHERE us_viewers__millions_ = "3.57" | When was the show first aired that was viewed by 3.57 million U.S. viewers? | CREATE TABLE table_11694832_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT MAX(to_par) FROM table_name_89 WHERE total < 148 | Which To par is the highest one that has a Total smaller than 148? | CREATE TABLE table_name_89 (to_par INTEGER, total INTEGER) |
SELECT SUM(crowd) FROM table_name_58 WHERE home_team = "south melbourne" | How many people attended the home game for South Melbourne? | CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR) |
SELECT venue FROM table_name_49 WHERE away_team = "south melbourne" | At what venue was the game played where the away team was South Melbourne | CREATE TABLE table_name_49 (venue VARCHAR, away_team VARCHAR) |
SELECT nationality FROM table_1213511_6 WHERE position = "Goaltender" | What country does the goaltender come from? | CREATE TABLE table_1213511_6 (nationality VARCHAR, position VARCHAR) |
SELECT home_team AS score FROM table_name_74 WHERE home_team = "geelong" | What is the score of the Home team of geelong? | CREATE TABLE table_name_74 (home_team VARCHAR) |
SELECT mountain_range FROM table_name_64 WHERE mountain_peak = "mount hubbard" | Which mountain range includes Mount Hubbard? | CREATE TABLE table_name_64 (mountain_range VARCHAR, mountain_peak VARCHAR) |
SELECT vacator FROM table_2417330_4 WHERE district = "Kentucky 2nd" | Name the vacator for kentucky 2nd | CREATE TABLE table_2417330_4 (vacator VARCHAR, district VARCHAR) |
SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 6 | Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold? | CREATE TABLE table_name_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) |
SELECT score FROM table_name_16 WHERE 2012 = "15.0%" | What score has 15.0% as the 2012? | CREATE TABLE table_name_16 (score VARCHAR) |
SELECT COUNT(country) FROM table_11690135_1 WHERE swimsuit = "9.87" | Who had a swimsuit score of 9.87? | CREATE TABLE table_11690135_1 (country VARCHAR, swimsuit VARCHAR) |
SELECT visitor FROM table_name_39 WHERE record = "2-4" | Which visitor has a record of 2-4? | CREATE TABLE table_name_39 (visitor VARCHAR, record VARCHAR) |
SELECT district FROM table_name_13 WHERE constituency_number = "79" | What is the district with 79 constituency number? | CREATE TABLE table_name_13 (district VARCHAR, constituency_number VARCHAR) |
SELECT T1.Name, T2.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING COUNT(*) >= 2 | Show the names and ids of tourist attractions that are visited at least two times. | CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR) |
SELECT date FROM table_name_74 WHERE home_team = "geelong" | On which date did Geelong play at home? | CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR) |
SELECT date FROM table_name_32 WHERE venue = "bourda" | What dates contained matches at the venue Bourda? | CREATE TABLE table_name_32 (date VARCHAR, venue VARCHAR) |
SELECT SUM(enrollment), MIN(enrollment) FROM university | What is the total and minimum enrollment of all schools? | CREATE TABLE university (enrollment INTEGER) |
SELECT pick FROM table_name_94 WHERE college = "georgia tech" | What's the pick for Georgia tech? | CREATE TABLE table_name_94 (pick VARCHAR, college VARCHAR) |
SELECT MAX(number_of_selections) FROM table_26130295_3 WHERE season_mvp > 1.0 | when season mvp is larger than 1.0 what is the maximum number of selection | CREATE TABLE table_26130295_3 (number_of_selections INTEGER, season_mvp INTEGER) |
SELECT english_version FROM table_25173505_13 WHERE buena_vista_edition = "Daisuke Gouri" | what is the english version that is buena vista edition is daisuke gouri? | CREATE TABLE table_25173505_13 (english_version VARCHAR, buena_vista_edition VARCHAR) |
SELECT location FROM table_name_55 WHERE event = "rip curl pro mademoiselle" | The event rip curl pro mademoiselle is in which location? | CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR) |
SELECT drying_shrinkage___percentage_ FROM table_24969173_1 WHERE dry_density__kg_m3_ = 800 | If the dry density is 800, what is the drying shrinkage %? | CREATE TABLE table_24969173_1 (drying_shrinkage___percentage_ VARCHAR, dry_density__kg_m3_ VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.