answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT save FROM table_name_49 WHERE attendance = "23,394" | What is the save of the game that 23,394 people attended? | CREATE TABLE table_name_49 (save VARCHAR, attendance VARCHAR) |
SELECT election FROM table_name_40 WHERE second_member = "charles robert colvile" AND first_party = "conservative" AND first_member = "william mundy" | Which election has second member Charles Robert Colvile, a conservative first party, and first member William Mundy? | CREATE TABLE table_name_40 (election VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR) |
SELECT title FROM table_25356350_2 WHERE written_by = "Jack Orman" | What is the title of the episode written by Jack Orman? | CREATE TABLE table_25356350_2 (title VARCHAR, written_by VARCHAR) |
SELECT position FROM table_name_55 WHERE nationality = "sweden" AND round = "2" | What position is Sweden in round 2? | CREATE TABLE table_name_55 (position VARCHAR, nationality VARCHAR, round VARCHAR) |
SELECT match FROM table_name_66 WHERE competition = "group stage" AND date = "2000-09-17" | Which Match has a Competition of Group Stage on 2000-09-17? | CREATE TABLE table_name_66 (match VARCHAR, competition VARCHAR, date VARCHAR) |
SELECT MIN(founded) FROM table_name_37 WHERE institution = "independence community college" | What is independence community college's newest campus? | CREATE TABLE table_name_37 (founded INTEGER, institution VARCHAR) |
SELECT score FROM table_name_67 WHERE location = "clemson, sc" AND winner = "clemson" AND date = "november 11, 2006" | What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006? | CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR) |
SELECT firefox FROM table_name_22 WHERE internet_explorer = "21.70%" | What percentage of users were using Firefox according to the source that reported 21.70% used Internet Explorer? | CREATE TABLE table_name_22 (firefox VARCHAR, internet_explorer VARCHAR) |
SELECT most_laps_led FROM table_25668203_2 WHERE location = "Monterey, California" AND winning_driver = "Scott Rarick" | Who had the most laps led in monterey, california when scott rarick won the race? | CREATE TABLE table_25668203_2 (most_laps_led VARCHAR, location VARCHAR, winning_driver VARCHAR) |
SELECT train_number FROM table_29301050_1 WHERE departure_pune = "13:00" | which train number departs pune at 13:00 | CREATE TABLE table_29301050_1 (train_number VARCHAR, departure_pune VARCHAR) |
SELECT COUNT(total) FROM table_name_38 WHERE silver < 0 | How much Total has a Silver smaller than 0? | CREATE TABLE table_name_38 (total VARCHAR, silver INTEGER) |
SELECT MIN(lane) FROM table_name_50 WHERE mark = "7.26" | What was the lowest lane with a mark of 7.26? | CREATE TABLE table_name_50 (lane INTEGER, mark VARCHAR) |
SELECT finish FROM table_25920798_2 WHERE vote = "4-4" | Name the finish for 4-4 | CREATE TABLE table_25920798_2 (finish VARCHAR, vote VARCHAR) |
SELECT player FROM table_name_15 WHERE pick = 6 | What is the Player with a Pick that is 6? | CREATE TABLE table_name_15 (player VARCHAR, pick VARCHAR) |
SELECT outcome FROM table_2199290_2 WHERE score_in_the_final = "7–6(9), 7–6(1)" | What was the outcome when the final score was 7–6(9), 7–6(1)? | CREATE TABLE table_2199290_2 (outcome VARCHAR, score_in_the_final VARCHAR) |
SELECT MAX(_number_runner_up) FROM table_1463332_2 WHERE years__won_in_bold_ = "1984, 2010" | What is the number of runner-up results for the years (won in bold) 1984, 2010? | CREATE TABLE table_1463332_2 (_number_runner_up INTEGER, years__won_in_bold_ VARCHAR) |
SELECT AVG(drawn) FROM table_name_76 WHERE position < 9 AND points < 22 AND lost < 9 AND against > 29 | Which Drawn is the average one that has a Position smaller than 9, and Points smaller than 22, and a Lost smaller than 9, and an Against larger than 29? | CREATE TABLE table_name_76 (drawn INTEGER, against VARCHAR, lost VARCHAR, position VARCHAR, points VARCHAR) |
SELECT format FROM table_name_84 WHERE catalog = "080 360-2" | What format has 080 360-2 as the catalog? | CREATE TABLE table_name_84 (format VARCHAR, catalog VARCHAR) |
SELECT MAX(played) FROM table_name_36 WHERE points > 11 AND lost > 7 | Can you tell me the highest Played that has the Points larger than 11, and the Lost larger than 7? | CREATE TABLE table_name_36 (played INTEGER, points VARCHAR, lost VARCHAR) |
SELECT poll_source FROM table_name_98 WHERE undecided = "5%" AND jim_demint__r_ = "58%" | Which poll source determined undecided of 5% and Jim DeMint (R) of 58%? | CREATE TABLE table_name_98 (poll_source VARCHAR, undecided VARCHAR, jim_demint__r_ VARCHAR) |
SELECT class FROM table_name_36 WHERE quantity_made = "1" AND fleet_number_s_ = "406" | What class had 1 made and fleet number of 406? | CREATE TABLE table_name_36 (class VARCHAR, quantity_made VARCHAR, fleet_number_s_ VARCHAR) |
SELECT state FROM table_name_71 WHERE frequency = "90.1 fm" AND city_of_license = "new castle" | What state is the radio station in that has a frequency of 90.1 FM and a city license in New Castle? | CREATE TABLE table_name_71 (state VARCHAR, frequency VARCHAR, city_of_license VARCHAR) |
SELECT 2007 FROM table_name_54 WHERE 2003 = "1r" | What is 2007, when 2003 is 1R? | CREATE TABLE table_name_54 (Id VARCHAR) |
SELECT dar FROM table_15887683_17 WHERE television_service = "Telenord" | Name the dar for telenord | CREATE TABLE table_15887683_17 (dar VARCHAR, television_service VARCHAR) |
SELECT MIN(draws) FROM table_name_68 WHERE south_west_dfl = "tyrendarra" AND byes > 0 | What is the lowest value for Draws, when South West DFL is "Tyrendarra", and when Byes is greater than 0? | CREATE TABLE table_name_68 (draws INTEGER, south_west_dfl VARCHAR, byes VARCHAR) |
SELECT MAX(points) FROM table_name_70 WHERE year = "2012" | What are the highest points with 2012 as the year? | CREATE TABLE table_name_70 (points INTEGER, year VARCHAR) |
SELECT result FROM table_name_61 WHERE location = "n/a" AND odds = "p + 1" | What was the score for an n/a location with the odds of p + 1? | CREATE TABLE table_name_61 (result VARCHAR, location VARCHAR, odds VARCHAR) |
SELECT proto_austronesian FROM table_name_97 WHERE proto_oceanic = "*lima" | Which Proto-Austronesian has a Proto-Oceanic of *lima? | CREATE TABLE table_name_97 (proto_austronesian VARCHAR, proto_oceanic VARCHAR) |
SELECT record FROM table_name_36 WHERE opponent = "matt serra" | What was the record for opponent Matt Serra? | CREATE TABLE table_name_36 (record VARCHAR, opponent VARCHAR) |
SELECT points FROM table_name_20 WHERE time_retired = "collision" AND car_no = "10" | How many points were scored by car number 10 that ended with a collision? | CREATE TABLE table_name_20 (points VARCHAR, time_retired VARCHAR, car_no VARCHAR) |
SELECT arrival FROM table_18365784_3 WHERE departure = "18.16" | What was the arrival time of the train that departed at 18.16? | CREATE TABLE table_18365784_3 (arrival VARCHAR, departure VARCHAR) |
SELECT COUNT(losses) FROM table_name_90 WHERE wins < 0 | How many losses when there are less than 0 wins? | CREATE TABLE table_name_90 (losses VARCHAR, wins INTEGER) |
SELECT icelandic FROM table_name_59 WHERE danish = "blåt/blå" | Which Icelandic has a Danish of blåt/blå? | CREATE TABLE table_name_59 (icelandic VARCHAR, danish VARCHAR) |
SELECT _number_of_candidates FROM table_19283982_4 WHERE _number_of_seats_won = 43 | Name the number of candidates for # of seats won being 43 | CREATE TABLE table_19283982_4 (_number_of_candidates VARCHAR, _number_of_seats_won VARCHAR) |
SELECT host_team FROM table_name_71 WHERE visiting_team = "indianapolis colts" | What is the Host team that has indianapolis colts as a Visiting team? | CREATE TABLE table_name_71 (host_team VARCHAR, visiting_team VARCHAR) |
SELECT country FROM table_name_5 WHERE city = "sendai" | Which country's city is Sendai? | CREATE TABLE table_name_5 (country VARCHAR, city VARCHAR) |
SELECT venue FROM table_name_80 WHERE competition = "euro 2012 qualifier" | Which venue held the Euro 2012 Qualifier? | CREATE TABLE table_name_80 (venue VARCHAR, competition VARCHAR) |
SELECT 意義_meaning FROM table_1912713_2 WHERE 性情_personality = "Gentle" | What is the meaning of a gentle personality? | CREATE TABLE table_1912713_2 (意義_meaning VARCHAR, 性情_personality VARCHAR) |
SELECT date FROM table_name_33 WHERE opponents = "georgie stoop emily webley-smith" | What date was georgie stoop emily webley-smith the opponent? | CREATE TABLE table_name_33 (date VARCHAR, opponents VARCHAR) |
SELECT winner FROM table_23058971_8 WHERE big_ten_team = "#4 Purdue" | What is the record for Big Ten Team #4 Purdue? | CREATE TABLE table_23058971_8 (winner VARCHAR, big_ten_team VARCHAR) |
SELECT 1321 AS _percentage FROM table_15051_4 WHERE north_carolina = "Colorado" | Name the 132.1% for where north carolina is colorado | CREATE TABLE table_15051_4 (north_carolina VARCHAR) |
SELECT MAX(insurgents) FROM table_21636599_1 WHERE total_per_period = 602 | How many insurgents have 602 as the total per period? | CREATE TABLE table_21636599_1 (insurgents INTEGER, total_per_period VARCHAR) |
SELECT secretary FROM table_name_90 WHERE internal_co = "isabel voets" | What Secretary has an Internal CO of isabel voets? | CREATE TABLE table_name_90 (secretary VARCHAR, internal_co VARCHAR) |
SELECT AVG(year_commissioned) FROM table_name_58 WHERE gross_head__metres_ < 18 | What is the Year Commissioned of the power stationo with a Gross head of less than 18? | CREATE TABLE table_name_58 (year_commissioned INTEGER, gross_head__metres_ INTEGER) |
SELECT opponent FROM table_name_91 WHERE week > 4 AND score = "42-28" | Who was the opponent at the game with a score of 42-28 after week 4? | CREATE TABLE table_name_91 (opponent VARCHAR, week VARCHAR, score VARCHAR) |
SELECT venue FROM table_14981555_3 WHERE date = "10 Mar 2007" | How many venues were used on 10 Mar 2007? | CREATE TABLE table_14981555_3 (venue VARCHAR, date VARCHAR) |
SELECT away_team AS score FROM table_name_52 WHERE home_team = "geelong" | How faced Geelong at home? | CREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR) |
SELECT MAX(gold) FROM table_name_87 WHERE bronze < 1 AND total > 4 | Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4? | CREATE TABLE table_name_87 (gold INTEGER, bronze VARCHAR, total VARCHAR) |
SELECT english_title FROM table_name_68 WHERE year = 1984 AND country = "sweden" | What is the English title for 1984 from Sweden? | CREATE TABLE table_name_68 (english_title VARCHAR, year VARCHAR, country VARCHAR) |
SELECT previous_conference FROM table_name_41 WHERE school = "portage" | The school of Portage was in what conference previous? | CREATE TABLE table_name_41 (previous_conference VARCHAR, school VARCHAR) |
SELECT place FROM table_name_28 WHERE to_par = "–10" | What place had a To par of –10? | CREATE TABLE table_name_28 (place VARCHAR, to_par VARCHAR) |
SELECT Rating FROM Restaurant WHERE ResName = "Subway" | What is the rating of the restaurant Subway? | CREATE TABLE Restaurant (Rating VARCHAR, ResName VARCHAR) |
SELECT fis_nordic_world_ski_championships FROM table_174491_2 WHERE holmenkollen = "1976" | What is the FIS Nordic World Ski Championships when holmenkollen is 1976? | CREATE TABLE table_174491_2 (fis_nordic_world_ski_championships VARCHAR, holmenkollen VARCHAR) |
SELECT record FROM table_21058836_1 WHERE game = 9 | What was the record for game 9? | CREATE TABLE table_21058836_1 (record VARCHAR, game VARCHAR) |
SELECT MAX(series__number) FROM table_14346689_1 WHERE directed_by = "Rob Bailey" | What was the series number of the episode directed by Rob Bailey? | CREATE TABLE table_14346689_1 (series__number INTEGER, directed_by VARCHAR) |
SELECT away_team FROM table_29728596_2 WHERE competition = "1st ``Republic of Srpska Football Day``" AND home_team = "U 14 Republic of Srpska" | Who were the away teams when the competition was the 1st ``republic of srpska football day`` and the home team was u 14 republic of srpska? | CREATE TABLE table_29728596_2 (away_team VARCHAR, competition VARCHAR, home_team VARCHAR) |
SELECT name FROM table_name_88 WHERE points = 124.51 | What competitors are scored 124.51 points? | CREATE TABLE table_name_88 (name VARCHAR, points VARCHAR) |
SELECT home_team AS score FROM table_name_5 WHERE home_team = "hawthorn" | How much did the home team Hawthorn score? | CREATE TABLE table_name_5 (home_team VARCHAR) |
SELECT avg_seek_time_[ms] FROM table_name_26 WHERE device < 3231 | What is the avg seek time for a device that is less than 3231? | CREATE TABLE table_name_26 (avg_seek_time_ VARCHAR, ms VARCHAR, device INTEGER) |
SELECT MAX(attendance) FROM table_name_57 WHERE week > 2 AND date = "october 29, 1961" | What is the top attendance for weeks past 2 on october 29, 1961? | CREATE TABLE table_name_57 (attendance INTEGER, week VARCHAR, date VARCHAR) |
SELECT outgoing_manager FROM table_name_80 WHERE manner_of_departure = "fc energie cottbus purchased rights" | Who was the outgoing manager who departed due to fc energie cottbus purchased rights? | CREATE TABLE table_name_80 (outgoing_manager VARCHAR, manner_of_departure VARCHAR) |
SELECT final_score FROM table_name_53 WHERE week = 14 | What was the final score on week 14 ? | CREATE TABLE table_name_53 (final_score VARCHAR, week VARCHAR) |
SELECT SUM(rank) FROM table_name_78 WHERE silver > 1 AND gold = 1 AND total < 6 | What is the sum of rank with more than 1 silver medal, 1 gold medal, and less than 6? | CREATE TABLE table_name_78 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) |
SELECT campus FROM table_name_59 WHERE location = "brgy. alangilan, batangas city" | What campus is in Brgy. Alangilan, Batangas City? | CREATE TABLE table_name_59 (campus VARCHAR, location VARCHAR) |
SELECT score1 FROM table_name_9 WHERE match = 42 | What is the Score1 of Match 42? | CREATE TABLE table_name_9 (score1 VARCHAR, match VARCHAR) |
SELECT reason_for_change FROM table_2417345_4 WHERE vacator = "George W. Greene (D)" | Name the reason for change when George W. Greene (D) was the vacator. | CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, vacator VARCHAR) |
SELECT score FROM table_name_72 WHERE date = "2 october 2011" | What is the score on 2 October 2011? | CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR) |
SELECT SUM(bronze) FROM table_name_28 WHERE silver = 0 AND rank = "1" AND nation = "brazil (bra)" AND gold < 2 | 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? | CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR) |
SELECT driver FROM table_15491596_1 WHERE no = 44 | Who drove car 44? | CREATE TABLE table_15491596_1 (driver VARCHAR, no VARCHAR) |
SELECT fourth_district FROM table_15442974_1 WHERE second_district = "Joan Runnels" | Name the fourth district for joan runnels | CREATE TABLE table_15442974_1 (fourth_district VARCHAR, second_district VARCHAR) |
SELECT party FROM table_name_66 WHERE district = "colorado 6" | In Colorado 6 district what is the party? | CREATE TABLE table_name_66 (party VARCHAR, district VARCHAR) |
SELECT first_name FROM actor GROUP BY first_name ORDER BY COUNT(*) DESC LIMIT 1 | What is the most popular first name of the actors? | CREATE TABLE actor (first_name VARCHAR) |
SELECT COUNT(written_by) FROM table_17641206_2 WHERE viewership = "6.34 million" | How many people wrote the episode that had 6.34 million viewers? | CREATE TABLE table_17641206_2 (written_by VARCHAR, viewership VARCHAR) |
SELECT frequency FROM table_name_93 WHERE call_sign = "kcse" | Which Frequency has a Call sign of kcse? | CREATE TABLE table_name_93 (frequency VARCHAR, call_sign VARCHAR) |
SELECT date FROM table_name_60 WHERE home_team = "rochdale" | Which Date has a Home team of rochdale? | CREATE TABLE table_name_60 (date VARCHAR, home_team VARCHAR) |
SELECT attendance FROM table_name_53 WHERE opponent = "jacksonville jaguars" | What is the Attendance of the game against Jacksonville Jaguars? | CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR) |
SELECT laps FROM table_name_44 WHERE grid > 22 AND time = "+1:29.001" | What is the number of laps of the grid larger than 22 with a +1:29.001 time? | CREATE TABLE table_name_44 (laps VARCHAR, grid VARCHAR, time VARCHAR) |
SELECT year FROM table_name_4 WHERE position = "linebacker" AND pick = "17" | In which year was a linebacker pick 17? | CREATE TABLE table_name_4 (year VARCHAR, position VARCHAR, pick VARCHAR) |
SELECT MIN(drawn) FROM table_name_58 WHERE played < 11 AND points > 7 AND team = "mackenzie" | What is the lowest number of Drawn games for Team Mackenzie where the Played is less and 11 and the Points are greater than 7? | CREATE TABLE table_name_58 (drawn INTEGER, team VARCHAR, played VARCHAR, points VARCHAR) |
SELECT match_report FROM table_name_83 WHERE date = "october 26, 2008" | Which Match Report has a Date of october 26, 2008? | CREATE TABLE table_name_83 (match_report VARCHAR, date VARCHAR) |
SELECT MIN(draw) FROM table_name_26 WHERE english_translation = "we the lovers" AND place > 1 | What is the lowest draw that has We The Lovers for the english translation, with a place greater than 1? | CREATE TABLE table_name_26 (draw INTEGER, english_translation VARCHAR, place VARCHAR) |
SELECT MAX(goals_for) FROM table_name_18 WHERE losses < 15 AND position > 8 AND points = "42+4" | Name the most goals with losses less than 15 and position more than 8 with points of 42+4 | CREATE TABLE table_name_18 (goals_for INTEGER, points VARCHAR, losses VARCHAR, position VARCHAR) |
SELECT chassis FROM table_name_73 WHERE engine = "ferrari" AND points = 25 | What company made the chassis when Ferrari made the engine and there were 25 points? | CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, points VARCHAR) |
SELECT COUNT(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTRIES AS T3 ON T2.Country = T3.CountryId WHERE T3.CountryName = 'usa' | How many car models are produced in the usa? | CREATE TABLE CAR_MAKERS (Id VARCHAR, Country VARCHAR); CREATE TABLE COUNTRIES (CountryId VARCHAR, CountryName VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR) |
SELECT series FROM table_name_34 WHERE production_number = 1547 | What is the Series number of the episode with a production number of 1547? | CREATE TABLE table_name_34 (series VARCHAR, production_number VARCHAR) |
SELECT semifinalists FROM table_name_58 WHERE tournament = "cincinnati" | Who are the semifinalists when the tournament is in Cincinnati? | CREATE TABLE table_name_58 (semifinalists VARCHAR, tournament VARCHAR) |
SELECT developer_s_ FROM table_name_68 WHERE game = "portal" | Who were the developers for Portal? | CREATE TABLE table_name_68 (developer_s_ VARCHAR, game VARCHAR) |
SELECT MAX(round) FROM table_name_24 WHERE position = "center" | What is the highest round in which a player was picked for the Center position? | CREATE TABLE table_name_24 (round INTEGER, position VARCHAR) |
SELECT round FROM table_name_92 WHERE res = "loss" AND event = "ufc 118" | In what round was the loss at ufc 118? | CREATE TABLE table_name_92 (round VARCHAR, res VARCHAR, event VARCHAR) |
SELECT game_site FROM table_name_29 WHERE record = "2-3" | Where is the game site for the game that had a packers record of 2-3? | CREATE TABLE table_name_29 (game_site VARCHAR, record VARCHAR) |
SELECT network FROM table_name_8 WHERE genre = "music" | Which network's genre is music? | CREATE TABLE table_name_8 (network VARCHAR, genre VARCHAR) |
SELECT entrant FROM table_name_73 WHERE year > 1980 AND pts = 8 AND chassis = "theodore ty02" | Who had 8 points, later than 1980, and a theodore ty02 chassis? | CREATE TABLE table_name_73 (entrant VARCHAR, chassis VARCHAR, year VARCHAR, pts VARCHAR) |
SELECT english_name FROM table_11390711_4 WHERE abbreviation = "MTC" | Which colleges have the english abbreviation MTC? | CREATE TABLE table_11390711_4 (english_name VARCHAR, abbreviation VARCHAR) |
SELECT SUM(to_par) FROM table_name_65 WHERE player = "bob rosburg" | What is the total of all to par with player Bob Rosburg? | CREATE TABLE table_name_65 (to_par INTEGER, player VARCHAR) |
SELECT result FROM table_name_48 WHERE couple = "kelly & alec" AND score = "22 (8, 7, 7)" | What is the Result for Couple Kelly & Alec when they have a Score of 22 (8, 7, 7)? | CREATE TABLE table_name_48 (result VARCHAR, couple VARCHAR, score VARCHAR) |
SELECT character FROM table_name_13 WHERE actor = "nadine spruß" | How long did the soap opera run in which Nadine Spruß acted in? | CREATE TABLE table_name_13 (character VARCHAR, actor VARCHAR) |
SELECT AVG(points) FROM table_name_78 WHERE year > 1966 AND wins > 1 | Which Points have a Year larger than 1966, and Wins larger than 1? | CREATE TABLE table_name_78 (points INTEGER, year VARCHAR, wins VARCHAR) |
SELECT new_entries FROM table_name_7 WHERE fixtures < 16 AND clubs = "4 → 2" | What is the value for New entries, when the value for Fixtures is less than 16, and when the value for Clubs is 4 → 2? | CREATE TABLE table_name_7 (new_entries VARCHAR, fixtures VARCHAR, clubs VARCHAR) |
SELECT wheel_arrangement FROM table_name_3 WHERE year_made = "1900" | Which wheel arrangement made in year 1900? | CREATE TABLE table_name_3 (wheel_arrangement VARCHAR, year_made VARCHAR) |
SELECT location FROM table_name_68 WHERE date = "feb 10" | What is the location of the tournament on Feb 10? | CREATE TABLE table_name_68 (location VARCHAR, date VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.