answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT australian FROM table_name_81 WHERE short_vowels = "e /ɛ/" | What Australian sound is equivalent to e /ɛ/? | CREATE TABLE table_name_81 (australian VARCHAR, short_vowels VARCHAR) |
SELECT episode AS Summary FROM table_2140071_7 WHERE episode = 15 | What the summary of episode 15? | CREATE TABLE table_2140071_7 (episode VARCHAR) |
SELECT comments FROM table_name_56 WHERE length_over_all = "4.5m" | Which Comments has a Length Over All of 4.5m? | CREATE TABLE table_name_56 (comments VARCHAR, length_over_all VARCHAR) |
SELECT written_by FROM table_28196105_1 WHERE _number = 18 | Who wrote episode number 18? | CREATE TABLE table_28196105_1 (written_by VARCHAR, _number VARCHAR) |
SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Changsha 長沙" | when changsha 長沙 is the commandery what is the commandery capital? | CREATE TABLE table_278229_1 (commandery VARCHAR) |
SELECT player FROM table_name_93 WHERE to_par = "–4" | Which Player has a To par of –4? | CREATE TABLE table_name_93 (player VARCHAR, to_par VARCHAR) |
SELECT COUNT(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Art" AND T2.customer_last_name = "Turcotte" | How many cards does customer Art Turcotte have? | CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR) |
SELECT citation FROM table_22901612_2 WHERE region = "Southern District of Texas" | If the region is the Southern district of Texas, what is the citation? | CREATE TABLE table_22901612_2 (citation VARCHAR, region VARCHAR) |
SELECT series FROM table_name_16 WHERE launch_date = "23 february 2013" | What is Series, when Launch Date is 23 February 2013? | CREATE TABLE table_name_16 (series VARCHAR, launch_date VARCHAR) |
SELECT junctions FROM table_11336756_6 WHERE remarks = "Replaced by BSI-35" | Which junctions have "replaced by bsi-35" listed in their remarks section? | CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR) |
SELECT MIN(d__max_) FROM table_name_47 WHERE morse_taper_number < 0 | What is the minimum D (max) when the Morse Taper number is less than 0? | CREATE TABLE table_name_47 (d__max_ INTEGER, morse_taper_number INTEGER) |
SELECT method FROM table_name_63 WHERE time = "1:46" | Which method has a 1:46 time? | CREATE TABLE table_name_63 (method VARCHAR, time VARCHAR) |
SELECT pci_express FROM table_name_11 WHERE memory = "ddr 266/333/400 registered/ecc" AND sound = "enhanced ac'97 2.3" | Which PCI-Express has a DDR 266/333/400 Registered/ECC memory and Enhanced AC'97 2.3 sound? | CREATE TABLE table_name_11 (pci_express VARCHAR, memory VARCHAR, sound VARCHAR) |
SELECT original_us_air_date FROM table_name_80 WHERE original_canadian_air_date = "december 9, 2007" | What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007? | CREATE TABLE table_name_80 (original_us_air_date VARCHAR, original_canadian_air_date VARCHAR) |
SELECT 1977 FROM table_name_65 WHERE 1974 = "a" | What is the 1977 value that has a 1974 a value? | CREATE TABLE table_name_65 (Id VARCHAR) |
SELECT loss FROM table_name_37 WHERE record = "67-51" | Which loss has a Record of 67-51? | CREATE TABLE table_name_37 (loss VARCHAR, record VARCHAR) |
SELECT vp9___webm__ FROM table_26099252_1 WHERE vp8___webm__ = "6.0" | When vp8 ( webm ) is 6.0, how much is the vp9 ( webm )? | CREATE TABLE table_26099252_1 (vp9___webm__ VARCHAR, vp8___webm__ VARCHAR) |
SELECT film_title_used_in_nomination FROM table_name_33 WHERE country = "colombia" | What title did the film from Colombia use in its nomination? | CREATE TABLE table_name_33 (film_title_used_in_nomination VARCHAR, country VARCHAR) |
SELECT AVG(wins) FROM table_name_31 WHERE teams = "lions" AND percent > 0 | What is the average wins when teams is lions and the percent is more than 0? | CREATE TABLE table_name_31 (wins INTEGER, teams VARCHAR, percent VARCHAR) |
SELECT date_departed FROM table_name_38 WHERE class = "grimsby class sloop" | What's the departed date for Grimsby Class Sloop? | CREATE TABLE table_name_38 (date_departed VARCHAR, class VARCHAR) |
SELECT country FROM table_name_46 WHERE ief_2011 = "45.3" | What country has an IEF 2011 of 45.3? | CREATE TABLE table_name_46 (country VARCHAR, ief_2011 VARCHAR) |
SELECT round FROM table_name_52 WHERE date = "26 august 1995" | What is the round on 26 August 1995? | CREATE TABLE table_name_52 (round VARCHAR, date VARCHAR) |
SELECT apps FROM table_name_81 WHERE ratio = 0.52 AND goals = 150 | What is the Apps for the player with 150 Goals and a Ratio of 0.52? | CREATE TABLE table_name_81 (apps VARCHAR, ratio VARCHAR, goals VARCHAR) |
SELECT MIN(1995) FROM table_name_14 WHERE 1990 = 441 AND 1985 < 359 | What is the 1995 GDP when 1990 GDP is 441 and 1985 GDP is less than 359? | CREATE TABLE table_name_14 (Id VARCHAR) |
SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "apoel" | What was the 1st leg when team 1 was apoel? | CREATE TABLE table_name_79 (team_1 VARCHAR) |
SELECT MIN(total) FROM table_name_23 WHERE nation = "sweden" | What is the lowest total when the nation is Sweden? | CREATE TABLE table_name_23 (total INTEGER, nation VARCHAR) |
SELECT route FROM table_name_85 WHERE elevation = "11,158 feet 3401 m" | Elevation of 11,158 feet 3401 m had what route? | CREATE TABLE table_name_85 (route VARCHAR, elevation VARCHAR) |
SELECT jockey FROM table_name_41 WHERE winner = "helioptic" | Who was the jockey for the winning horse Helioptic? | CREATE TABLE table_name_41 (jockey VARCHAR, winner VARCHAR) |
SELECT notes FROM table_name_37 WHERE type = "0-6-0t" | What are the notes for a Type of 0-6-0t? | CREATE TABLE table_name_37 (notes VARCHAR, type VARCHAR) |
SELECT COUNT(crowd) FROM table_name_58 WHERE venue = "junction oval" | What was the attendance when the VFL played Junction Oval? | CREATE TABLE table_name_58 (crowd VARCHAR, venue VARCHAR) |
SELECT COUNT(weight) FROM table_name_7 WHERE block = 340 AND spike > 353 | What is the number of weight values associated with 340 blocks and more than 353 spikes? | CREATE TABLE table_name_7 (weight VARCHAR, block VARCHAR, spike VARCHAR) |
SELECT name FROM table_name_45 WHERE pick__number > 5 AND college = "washington" | What is the name of a pick more than 5 at Washington College? | CREATE TABLE table_name_45 (name VARCHAR, pick__number VARCHAR, college VARCHAR) |
SELECT COUNT(year_named) FROM table_name_72 WHERE longitude = "36.8e" AND diameter__km_ > 697 | How many years correspond to longitude of 36.8e and diameter greater than 697? | CREATE TABLE table_name_72 (year_named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR) |
SELECT home_leg FROM table_name_82 WHERE competition = "uefa europa league" AND round = "q1" AND opponents = "motherwell" | Name the home leg for uefa europa league and round of q1 with opponents of motherwell | CREATE TABLE table_name_82 (home_leg VARCHAR, opponents VARCHAR, competition VARCHAR, round VARCHAR) |
SELECT MAX(overall_episode__number) FROM table_23982399_1 WHERE original_airdate = "November 21, 1993" | What episode number originally aired on November 21, 1993? | CREATE TABLE table_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR) |
SELECT record FROM table_name_27 WHERE date = "november 10, 1968" | What was the record on the date of november 10, 1968? | CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR) |
SELECT score FROM table_name_74 WHERE home_team = "ipswich town" AND tie_no = "replay" | What score has ipswich town as the home team, and replay as the tie no.? | CREATE TABLE table_name_74 (score VARCHAR, home_team VARCHAR, tie_no VARCHAR) |
SELECT COUNT(first_elected) FROM table_name_91 WHERE district = "washington 8" | What is the total of the first elected year of the incumbent from the washington 8 district? | CREATE TABLE table_name_91 (first_elected VARCHAR, district VARCHAR) |
SELECT SUM(tonnage___grt__) FROM table_name_83 WHERE fate = "sunk" AND flag = "great britain" AND date = "26 september 1940" AND deaths = 2 | How much tonnage has a Fate of sunk, and a Flag of great britain, and a Date of 26 september 1940, and Deaths of 2? | CREATE TABLE table_name_83 (tonnage___grt__ INTEGER, deaths VARCHAR, date VARCHAR, fate VARCHAR, flag VARCHAR) |
SELECT MAX(poles) FROM table_22737506_1 WHERE pos = "19th" | When 19th is the position what is the highest amount of poles? | CREATE TABLE table_22737506_1 (poles INTEGER, pos VARCHAR) |
SELECT MIN(season__number) FROM table_17355820_1 WHERE directed_by = "Paul McCrane" | In which season did Paul McCrane first direct an episode? | CREATE TABLE table_17355820_1 (season__number INTEGER, directed_by VARCHAR) |
SELECT premiere FROM table_29633639_1 WHERE peak = 34 | what is the number of the premiere for the 34 peak | CREATE TABLE table_29633639_1 (premiere VARCHAR, peak VARCHAR) |
SELECT opponent FROM table_name_54 WHERE tournament = "mallorca 2, spain" | Who was the opponent in the mallorca 2, spain tournament? | CREATE TABLE table_name_54 (opponent VARCHAR, tournament VARCHAR) |
SELECT DISTINCT lot_details FROM LOTS | Show all distinct lot details. | CREATE TABLE LOTS (lot_details VARCHAR) |
SELECT title FROM table_26464364_1 WHERE written_by = "Anne Cofell Saunders" | List the titles of episodes written by Anne Cofell Saunders. | CREATE TABLE table_26464364_1 (title VARCHAR, written_by VARCHAR) |
SELECT game FROM table_name_13 WHERE year = 2011 | Which game was released in 2011? | CREATE TABLE table_name_13 (game VARCHAR, year VARCHAR) |
SELECT goals FROM table_name_89 WHERE assists > 28 AND player = "steve walker" | What is Goals, when Assists is greater than 28, and when Player is Steve Walker? | CREATE TABLE table_name_89 (goals VARCHAR, assists VARCHAR, player VARCHAR) |
SELECT intergiro_classification FROM table_name_16 WHERE points_classification = "paolo bettini" AND trofeo_super_team = "davitamon-lotto" AND mountains_classification = "josé rujano" | What is the Intergiro classification when the points classification is Paolo Bettini, Trofeo Super Team is Davitamon-Lotto, and the Mountains classification is José Rujano? | CREATE TABLE table_name_16 (intergiro_classification VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR, trofeo_super_team VARCHAR) |
SELECT COUNT(bronze) FROM table_name_28 WHERE silver = 4 AND gold > 2 | What is the total number of bronze medals, and 4 silver medals, and 2 gold medals? | CREATE TABLE table_name_28 (bronze VARCHAR, silver VARCHAR, gold VARCHAR) |
SELECT MAX(frequency) FROM table_name_4 WHERE callsign = "kbdr" | What's the highest frequency of the KBDR callsign? | CREATE TABLE table_name_4 (frequency INTEGER, callsign VARCHAR) |
SELECT place FROM table_name_18 WHERE player = "lon hinkle" | What place in Lon Hinkle in? | CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR) |
SELECT MIN(total) FROM table_name_41 WHERE institution = "higher secondary school" AND aided > 14 | Which higher secondary school listing has the lowest total and an Aided amount larger than 14? | CREATE TABLE table_name_41 (total INTEGER, institution VARCHAR, aided VARCHAR) |
SELECT d_41 FROM table_name_45 WHERE d_43 = "r 18" | Name the D 41 which has a D 43 of r 18 | CREATE TABLE table_name_45 (d_41 VARCHAR, d_43 VARCHAR) |
SELECT stage FROM table_name_79 WHERE mountains_classification = "filippo savini" | Which Stage has a Mountains classification of filippo savini? | CREATE TABLE table_name_79 (stage VARCHAR, mountains_classification VARCHAR) |
SELECT MIN(points_against) FROM table_25229283_4 WHERE opponent = "Port Adelaide" | What was the minimum points against if the opponent is Port Adelaide? | CREATE TABLE table_25229283_4 (points_against INTEGER, opponent VARCHAR) |
SELECT common_english FROM table_name_50 WHERE italian = "san gallo" | What is the common English for the Italian word san gallo? | CREATE TABLE table_name_50 (common_english VARCHAR, italian VARCHAR) |
SELECT winning_driver FROM table_name_62 WHERE winning_team = "mathiasen motorsports" AND pole_position = "dane cameron" | Who drove for Mathiasen Motorsports with dane cameron as pole position? | CREATE TABLE table_name_62 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR) |
SELECT winning_boat FROM table_24673710_1 WHERE year = 2012 | When 2012 is the year what is the winning boat? | CREATE TABLE table_24673710_1 (winning_boat VARCHAR, year VARCHAR) |
SELECT retail_name FROM table_name_24 WHERE available_interface = "pci express 2.0" | What is the Retail name with an Available interface with pci express 2.0? | CREATE TABLE table_name_24 (retail_name VARCHAR, available_interface VARCHAR) |
SELECT away_team FROM table_name_46 WHERE score = "1–1" AND home_team = "merthyr tydfil" | What is the Away team of the Merthyr Tydfil Home game with a Score of 1–1? | CREATE TABLE table_name_46 (away_team VARCHAR, score VARCHAR, home_team VARCHAR) |
SELECT COUNT(voltage__kv_) FROM table_name_44 WHERE country = "argentina" AND power__mw_ > 30 AND supply_point = "yacyretá" | How much Voltage (kV) has a Country of argentina, and a Power (MW) larger than 30, and a Supply point of yacyretá? | CREATE TABLE table_name_44 (voltage__kv_ VARCHAR, supply_point VARCHAR, country VARCHAR, power__mw_ VARCHAR) |
SELECT party FROM table_22756549_1 WHERE margin = 105731 | What party won with a margin of 105731? | CREATE TABLE table_22756549_1 (party VARCHAR, margin VARCHAR) |
SELECT date_of_appointment FROM table_name_72 WHERE team = "vfl wolfsburg" | When was the appointment date for VFL Wolfsburg? | CREATE TABLE table_name_72 (date_of_appointment VARCHAR, team VARCHAR) |
SELECT scores_by_each_individual_judge FROM table_name_76 WHERE total_score_week = "51/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev" | What Scores by each individual judge has a Total score/week of 51/60, and a Co-contestant (Yaar vs. Pyaar) of tina sachdev? | CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) |
SELECT country FROM table_name_65 WHERE player = "scott hoch" | Which country is Scott Hoch from? | CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR) |
SELECT position FROM table_name_7 WHERE pick = "146" | Tell me the position for pick of 146 | CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR) |
SELECT COUNT(react) FROM table_name_78 WHERE name = "sean wroe" AND lane > 2 | What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2? | CREATE TABLE table_name_78 (react VARCHAR, name VARCHAR, lane VARCHAR) |
SELECT entrant FROM table_name_96 WHERE points < 2 | Which entrant scored less than 2 points? | CREATE TABLE table_name_96 (entrant VARCHAR, points INTEGER) |
SELECT * FROM item | List all information in the item table. | CREATE TABLE item (Id VARCHAR) |
SELECT COUNT(height_of_ground_station_m_) FROM table_name_35 WHERE name = "lutersee" AND height_of_mountain_station_m_ > 2398 | How much Height of ground station(m) has a Name of lutersee, and a Height of mountain station(m) larger than 2398? | CREATE TABLE table_name_35 (height_of_ground_station_m_ VARCHAR, name VARCHAR, height_of_mountain_station_m_ VARCHAR) |
SELECT state_country FROM table_1858574_2 WHERE position = 5 | When 5 is the position what is the state or country? | CREATE TABLE table_1858574_2 (state_country VARCHAR, position VARCHAR) |
SELECT driver FROM table_name_65 WHERE time_retired = "suspension" | Who had to retire due to suspension? | CREATE TABLE table_name_65 (driver VARCHAR, time_retired VARCHAR) |
SELECT try_bonus FROM table_13399573_3 WHERE points_against = "522" | What was the number of bonus tries when there were 522 points against? | CREATE TABLE table_13399573_3 (try_bonus VARCHAR, points_against VARCHAR) |
SELECT qual_1 FROM table_name_94 WHERE qual_2 = "no time" AND best = "1:16.776" | What is the qual 1 when the qual 2 has no time and the best is 1:16.776? | CREATE TABLE table_name_94 (qual_1 VARCHAR, qual_2 VARCHAR, best VARCHAR) |
SELECT SUM(points) FROM table_name_31 WHERE goals_for > 225 AND goals_against = 190 | What are the total number of points with more than 225 goals and a Goals against of 190? | CREATE TABLE table_name_31 (points INTEGER, goals_for VARCHAR, goals_against VARCHAR) |
SELECT team FROM table_name_13 WHERE against > 8 AND lost = 7 AND position = 5 | What team has an against more than 8, lost of 7, and the position is 5? | CREATE TABLE table_name_13 (team VARCHAR, position VARCHAR, against VARCHAR, lost VARCHAR) |
SELECT COUNT(year) FROM table_name_8 WHERE time = 14.26 AND avg_run < 4.75 | What is the total years with average runs less than 4.75 and a time of 14.26? | CREATE TABLE table_name_8 (year VARCHAR, time VARCHAR, avg_run VARCHAR) |
SELECT place FROM table_name_89 WHERE player = "greg norman" | What is Greg Norman's place? | CREATE TABLE table_name_89 (place VARCHAR, player VARCHAR) |
SELECT type FROM table_name_73 WHERE record_description = "altitude with kg (lb) payload" AND pilot = "g.v. alfyorov" | Record description of altitude with kg (lb) payload, and a Pilot of g.v. alfyorov had what type? | CREATE TABLE table_name_73 (type VARCHAR, record_description VARCHAR, pilot VARCHAR) |
SELECT surface FROM table_name_21 WHERE support_category = "jwrc/pwrc" AND round > 5 | Which Surface has a Support Category of jwrc/pwrc, and a Round larger than 5? | CREATE TABLE table_name_21 (surface VARCHAR, support_category VARCHAR, round VARCHAR) |
SELECT MAX(game) FROM table_29556461_8 WHERE high_assists = "Allen/Moore/Wyatt – 4" | When allen/moore/wyatt – 4 have the highest amount of assists what is the highest game? | CREATE TABLE table_29556461_8 (game INTEGER, high_assists VARCHAR) |
SELECT date FROM table_name_77 WHERE game_site = "candlestick park" | What day did they play at candlestick park? | CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR) |
SELECT drawn FROM table_12792876_3 WHERE tries_for = "46" | what was the drawn when the tries for was 46? | CREATE TABLE table_12792876_3 (drawn VARCHAR, tries_for VARCHAR) |
SELECT written_by FROM table_26199484_1 WHERE no = 38 | Who wrote title number 38? | CREATE TABLE table_26199484_1 (written_by VARCHAR, no VARCHAR) |
SELECT played FROM table_2208838_4 WHERE season = "1989" | How many games were played in the 1989 season? | CREATE TABLE table_2208838_4 (played VARCHAR, season VARCHAR) |
SELECT SUM(total) FROM table_name_31 WHERE league_cup < 0 | League Cup smaller than 0 is what sum of the total? | CREATE TABLE table_name_31 (total INTEGER, league_cup INTEGER) |
SELECT opponent FROM table_name_11 WHERE method = "tko (doctor stoppage)" AND res = "loss" | The tko (doctor stoppage) method was used in a loss against which opponent? | CREATE TABLE table_name_11 (opponent VARCHAR, method VARCHAR, res VARCHAR) |
SELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = "1–1–0" AND effic > 394 | Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effic larger than 394 is what total? | CREATE TABLE table_name_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR) |
SELECT length FROM table_name_13 WHERE year = 2000 | Which Length has a Year of 2000? | CREATE TABLE table_name_13 (length VARCHAR, year VARCHAR) |
SELECT iata FROM table_name_1 WHERE country = "united kingdom" AND airport = "ringway airport" | What is the IATA for Ringway Airport in the United Kingdom? | CREATE TABLE table_name_1 (iata VARCHAR, country VARCHAR, airport VARCHAR) |
SELECT MAX(against) FROM table_name_86 WHERE drawn < 1 AND lost < 5 | How many Against has a Drawn smaller than 1, and a Lost smaller than 5? | CREATE TABLE table_name_86 (against INTEGER, drawn VARCHAR, lost VARCHAR) |
SELECT directed_by FROM table_29920800_1 WHERE us_viewers__million_ = "2.97" | Who directed the episode that was watched by 2.97 million U.S. viewers? | CREATE TABLE table_29920800_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) |
SELECT qual FROM table_name_97 WHERE year = "1959" | What was the qualifying time of Jim Rathmann in 1959? | CREATE TABLE table_name_97 (qual VARCHAR, year VARCHAR) |
SELECT customer_name FROM customers WHERE payment_method = (SELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1) | What are the names of customers using the most popular payment method? | CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR) |
SELECT COUNT(DISTINCT rank) FROM captain | How many different captain ranks are there? | CREATE TABLE captain (rank VARCHAR) |
SELECT country FROM table_22667773_8 WHERE name = "Gerrard" | Name the country for gerrard | CREATE TABLE table_22667773_8 (country VARCHAR, name VARCHAR) |
SELECT label FROM table_name_17 WHERE region = "united kingdom" | Which label was in the United Kingdom region? | CREATE TABLE table_name_17 (label VARCHAR, region VARCHAR) |
SELECT athlete FROM table_name_15 WHERE run_1 > 57.37 AND run_4 < 59.05 AND run_3 = 58.08 | Which Athlete has a Run 1 larger than 57.37, and a Run 4 smaller than 59.05, and a Run 3 of 58.08? | CREATE TABLE table_name_15 (athlete VARCHAR, run_3 VARCHAR, run_1 VARCHAR, run_4 VARCHAR) |
SELECT constructor FROM table_1140111_5 WHERE circuit = "Syracuse" | Who constructed the Syracuse circuit? | CREATE TABLE table_1140111_5 (constructor VARCHAR, circuit VARCHAR) |
SELECT written_by FROM table_29436007_1 WHERE no_in_season = 23 | Who wrote episode 23 of the season? | CREATE TABLE table_29436007_1 (written_by VARCHAR, no_in_season VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.