answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT date_³ FROM table_name_88 WHERE korean_name_² = "청명 (清明) cheongmyeong" | When has a Korean name ² of 청명 (清明) cheongmyeong? | CREATE TABLE table_name_88 (date_³ VARCHAR, korean_name_² VARCHAR) |
SELECT nfl_club FROM table_name_34 WHERE pick > 63 AND position = "cornerback" | What is the NFL club of the cornerback player with a pick greater than 63? | CREATE TABLE table_name_34 (nfl_club VARCHAR, pick VARCHAR, position VARCHAR) |
SELECT MAX(week) FROM table_name_69 WHERE game_site = "verizon wireless arena" AND result = "w 59–42" | What is the highest week when the game site was Verizon Wireless Arena, and the result was w 59–42? | CREATE TABLE table_name_69 (week INTEGER, game_site VARCHAR, result VARCHAR) |
SELECT class FROM table_name_4 WHERE frequency_mhz = 93.7 | Frequency MHz of 93.7 has what class? | CREATE TABLE table_name_4 (class VARCHAR, frequency_mhz VARCHAR) |
SELECT competition FROM table_name_88 WHERE venue = "away" AND opponent = "bracknell bees" | When the venue is away and the opponents are the bracknell bees, what is the competition? | CREATE TABLE table_name_88 (competition VARCHAR, venue VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_23 WHERE country = "indonesia" | What was the date of the tournament held in Indonesia? | CREATE TABLE table_name_23 (date VARCHAR, country VARCHAR) |
SELECT overall_place FROM table_name_57 WHERE yacht_name = "lg flatron" | Which Overall place has a Yacht name of lg flatron? | CREATE TABLE table_name_57 (overall_place VARCHAR, yacht_name VARCHAR) |
SELECT COUNT(rank) FROM table_26375386_16 WHERE vote_percentage = "9.5%" | How many couples had a vote percentage of 9.5%? | CREATE TABLE table_26375386_16 (rank VARCHAR, vote_percentage VARCHAR) |
SELECT circuit FROM table_name_69 WHERE length = "2 hours" | On what circuit is there a race that lasts 2 hours? | CREATE TABLE table_name_69 (circuit VARCHAR, length VARCHAR) |
SELECT COUNT(club_world_cup) FROM table_19764939_1 WHERE player = "Djibril Cisse" | Name the total number of club worl cup for djibril cisse | CREATE TABLE table_19764939_1 (club_world_cup VARCHAR, player VARCHAR) |
SELECT result FROM table_1341598_22 WHERE incumbent = "Barney Frank" | What is the result for barney frank? | CREATE TABLE table_1341598_22 (result VARCHAR, incumbent VARCHAR) |
SELECT driver FROM table_name_79 WHERE grid = 9 | What driver has a 9 grid total? | CREATE TABLE table_name_79 (driver VARCHAR, grid VARCHAR) |
SELECT winner FROM table_name_43 WHERE year < 1956 AND date = "october 21" | Who was the winning team before 1956 on October 21? | CREATE TABLE table_name_43 (winner VARCHAR, year VARCHAR, date VARCHAR) |
SELECT area__acres__ FROM table_30121082_1 WHERE townland = "Kilnahera East" | What are the areas (in acres) of the Kilnahera East townland? | CREATE TABLE table_30121082_1 (area__acres__ VARCHAR, townland VARCHAR) |
SELECT date FROM table_name_79 WHERE set_3 = "12–25" | What date was the Set 3 of 12–25? | CREATE TABLE table_name_79 (date VARCHAR, set_3 VARCHAR) |
SELECT us_viewers__million_ FROM table_25668962_1 WHERE production_code = "1ARC03" | How many million U.S. viewers watched the episode with a production code of 1arc03? | CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, production_code VARCHAR) |
SELECT opponents_in_the_final FROM table_name_51 WHERE date = "june 10, 1996" | Which Opponents in the final have a Date of june 10, 1996? | CREATE TABLE table_name_51 (opponents_in_the_final VARCHAR, date VARCHAR) |
SELECT MAX(drawn) FROM table_name_79 WHERE played > 14 | what is the highest drawn when played is more than 14? | CREATE TABLE table_name_79 (drawn INTEGER, played INTEGER) |
SELECT AVG(laps) FROM table_name_6 WHERE pos = "dnf" | What is the average number of laps with a dnf pos.? | CREATE TABLE table_name_6 (laps INTEGER, pos VARCHAR) |
SELECT score FROM table_name_71 WHERE date = "27 jan 1990" AND away_team = "queens park rangers" | What is the Score on 27 Jan 1990 with an Away Team of Queens Park Rangers? | CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR, away_team VARCHAR) |
SELECT tournament FROM table_name_25 WHERE 2012 = "a" AND 2011 = "2r" | Which tournament had a 2012 of a and a 2011 of 2r? | CREATE TABLE table_name_25 (tournament VARCHAR) |
SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE numer_of_jamaicans_granted_british_citizenship = 3165 | what's the naturalisation by marriage with numer of jamaicans granted british citizenship being 3165 | CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, numer_of_jamaicans_granted_british_citizenship VARCHAR) |
SELECT name FROM table_name_65 WHERE area = "makarewa" | Which name has an Area of makarewa? | CREATE TABLE table_name_65 (name VARCHAR, area VARCHAR) |
SELECT COUNT(*) FROM visitor WHERE NOT id IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010) | Find the number of visitors who did not visit any museum opened after 2010. | CREATE TABLE museum (Museum_ID VARCHAR, open_year INTEGER); CREATE TABLE visitor (id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, Museum_ID VARCHAR) |
SELECT AVG(interview) FROM table_name_27 WHERE state = "kentucky" | What is the average interview score from Kentucky? | CREATE TABLE table_name_27 (interview INTEGER, state VARCHAR) |
SELECT weight FROM table_24850630_4 WHERE venue = "Sandown Park" | What was the weight of the jockey at Sandown Park? | CREATE TABLE table_24850630_4 (weight VARCHAR, venue VARCHAR) |
SELECT COUNT(candidates) FROM table_1341718_14 WHERE district = "Illinois 18" | how many times was it the district illinois 18? | CREATE TABLE table_1341718_14 (candidates VARCHAR, district VARCHAR) |
SELECT theme_song_s_ FROM table_name_5 WHERE japanese_title = "働きマン" | What is the Theme Song of 働きマン? | CREATE TABLE table_name_5 (theme_song_s_ VARCHAR, japanese_title VARCHAR) |
SELECT MAX(capacity) FROM table_name_90 WHERE average < 489 AND highest > 778 | What is the high capacity that has an average under 489 and a highest over 778? | CREATE TABLE table_name_90 (capacity INTEGER, average VARCHAR, highest VARCHAR) |
SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1 | Find all the forenames of distinct drivers who was in position 1 as standing and won? | CREATE TABLE driverstandings (driverid VARCHAR, position VARCHAR, wins VARCHAR); CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR) |
SELECT AVG(money___) AS $__ FROM table_name_94 WHERE country = "united states" AND player = "lanny wadkins" | What was the average money for United States when Lanny Wadkins played? | CREATE TABLE table_name_94 (money___ INTEGER, country VARCHAR, player VARCHAR) |
SELECT visitor FROM table_name_7 WHERE date = "april 2" | Who was the visitor on April 2? | CREATE TABLE table_name_7 (visitor VARCHAR, date VARCHAR) |
SELECT outgoing_manager FROM table_27374004_3 WHERE team = "Charleroi" | Who was the outgoing manager of Charleroi? | CREATE TABLE table_27374004_3 (outgoing_manager VARCHAR, team VARCHAR) |
SELECT SUM(drawn) FROM table_name_45 WHERE lost = 2 | What is the sum of the drawn values for teams with 2 losses? | CREATE TABLE table_name_45 (drawn INTEGER, lost VARCHAR) |
SELECT COUNT(year) FROM table_name_30 WHERE result = "2nd" AND venue = "auckland, new zealand" | How many years did the team place 2nd in Auckland, New Zealand? | CREATE TABLE table_name_30 (year VARCHAR, result VARCHAR, venue VARCHAR) |
SELECT type FROM table_name_10 WHERE nat = "por" | What is the type of POR? | CREATE TABLE table_name_10 (type VARCHAR, nat VARCHAR) |
SELECT MAX(year) FROM table_name_11 WHERE points < 16 AND class = "500cc" | What was the last year that they had less than 16 points in class 500cc? | CREATE TABLE table_name_11 (year INTEGER, points VARCHAR, class VARCHAR) |
SELECT city FROM airports GROUP BY city HAVING COUNT(*) = 2 | Find the cities which have exactly two airports. | CREATE TABLE airports (city VARCHAR) |
SELECT prr_class FROM table_name_33 WHERE wheel_arrangement = "a1a-a1a" | What PRR class has a Wheel arrangement of a1a-a1a? | CREATE TABLE table_name_33 (prr_class VARCHAR, wheel_arrangement VARCHAR) |
SELECT score FROM table_name_39 WHERE place = "t9" AND player = "jeff sluman" | What is Score, when Place is "T9", and when Player is "Jeff Sluman"? | CREATE TABLE table_name_39 (score VARCHAR, place VARCHAR, player VARCHAR) |
SELECT tie_no FROM table_name_13 WHERE away_team = "barnet" | What is the Tie no listed for the Away team of Barnet? | CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR) |
SELECT provider FROM table_name_90 WHERE free_or_pay = "pay" AND years = "2006–" AND transmission = "iptv and digital terrestrial" | Name the Provider that has a pay in 2006–, and a Transmission of iptv and digital terrestrial? | CREATE TABLE table_name_90 (provider VARCHAR, transmission VARCHAR, free_or_pay VARCHAR, years VARCHAR) |
SELECT COUNT(directed_by) FROM table_25716397_1 WHERE written_by = "Joe Toplyn" | How many people directed the episode that Joe Toplyn wrote? | CREATE TABLE table_25716397_1 (directed_by VARCHAR, written_by VARCHAR) |
SELECT opponent FROM table_16864968_8 WHERE attendance = 19041 | Who was the opponent in the game where 19041 people attended? | CREATE TABLE table_16864968_8 (opponent VARCHAR, attendance VARCHAR) |
SELECT MAX(average) FROM table_name_75 WHERE swimsuit = 9.4 AND evening_gown < 9.486 | Which is the largest average number when the swimsuit is 9.4 and the evening gown stat is less than 9.486? | CREATE TABLE table_name_75 (average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR) |
SELECT MAX(byes) FROM table_name_37 WHERE draws > 0 | What is the highest number of byes when draws are larger than 0? | CREATE TABLE table_name_37 (byes INTEGER, draws INTEGER) |
SELECT chief_judge FROM table_name_2 WHERE appointed_by = "clinton" | Who did Clinton appoint as a Chief Judge? | CREATE TABLE table_name_2 (chief_judge VARCHAR, appointed_by VARCHAR) |
SELECT abbr FROM table_name_43 WHERE name = "university of tartu" | What is the abbreviation for the University of Tartu? | CREATE TABLE table_name_43 (abbr VARCHAR, name VARCHAR) |
SELECT AVG(week) FROM table_name_94 WHERE record = "0–1" | What week that shows a game record of 0–1? | CREATE TABLE table_name_94 (week INTEGER, record VARCHAR) |
SELECT pinyin FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Kɵkyar K̡irƣiz yezisi" | Name the pinyin for kɵkyar k̡irƣiz yezisi | CREATE TABLE table_2008069_2 (pinyin VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR) |
SELECT place FROM table_name_83 WHERE to_par = "–8" AND score = 67 - 74 - 67 = 208 | What is the Place of the Player with a To par of –8 and a Score of 67-74-67=208? | CREATE TABLE table_name_83 (place VARCHAR, to_par VARCHAR, score VARCHAR) |
SELECT MIN(games) FROM table_name_25 WHERE team = "partizan belgrade" AND name = "nikola peković" AND rank > 4 | What is the number of Games for Partizan Belgrade player Nikola Peković with a Rank of more than 4? | CREATE TABLE table_name_25 (games INTEGER, rank VARCHAR, team VARCHAR, name VARCHAR) |
SELECT MAX(contestants) FROM table_25214321_1 WHERE runner_up = "Sérgio Abreu" | How many contestants were there when the runner-up was Sérgio Abreu? | CREATE TABLE table_25214321_1 (contestants INTEGER, runner_up VARCHAR) |
SELECT school_club_team FROM table_name_25 WHERE player = "tim kempton" | What school/club team has tim kempton as the player? | CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR) |
SELECT title FROM table_name_5 WHERE pages > 128 AND vol__number = 5 | What is the title of the edition with more than 128 pages and a volume # of 5? | CREATE TABLE table_name_5 (title VARCHAR, pages VARCHAR, vol__number VARCHAR) |
SELECT MIN(wins) FROM table_name_13 WHERE events = 9 | What is the fewest wins for Thomas in events he had entered exactly 9 times? | CREATE TABLE table_name_13 (wins INTEGER, events VARCHAR) |
SELECT burglary FROM table_26060884_2 WHERE forcible_rape = 1233 | How many burglary crimes were committed if the forcible rapes were 1233? | CREATE TABLE table_26060884_2 (burglary VARCHAR, forcible_rape VARCHAR) |
SELECT country FROM airlines WHERE name LIKE 'Orbit%' | Find the country of the airlines whose name starts with 'Orbit'. | CREATE TABLE airlines (country VARCHAR, name VARCHAR) |
SELECT date FROM table_2015453_1 WHERE attendance = 22000 | What date was the attendance 22000? | CREATE TABLE table_2015453_1 (date VARCHAR, attendance VARCHAR) |
SELECT MIN(round) FROM table_name_26 WHERE player = "neil colzie" AND pick < 24 | What was the earliest round with Neil Colzie and a pick smaller than 24? | CREATE TABLE table_name_26 (round INTEGER, player VARCHAR, pick VARCHAR) |
SELECT score FROM table_name_63 WHERE to_par = "–2" AND country = "spain" | What is the Score that has a To standard of –2, and a Country of Spain? | CREATE TABLE table_name_63 (score VARCHAR, to_par VARCHAR, country VARCHAR) |
SELECT SUM(round) FROM table_name_73 WHERE opponent = "brett chism" | What is the sum of the rounds of the match with brett chism as the opponent? | CREATE TABLE table_name_73 (round INTEGER, opponent VARCHAR) |
SELECT record FROM table_name_86 WHERE streak = "win 7" | What was the record in the win 7 streak? | CREATE TABLE table_name_86 (record VARCHAR, streak VARCHAR) |
SELECT location_attendance FROM table_11959669_3 WHERE date = "November 24" | What was the attendance of the game November 24 | CREATE TABLE table_11959669_3 (location_attendance VARCHAR, date VARCHAR) |
SELECT opponent FROM table_name_35 WHERE date = "april 19" | What is the opponent from April 19? | CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR) |
SELECT release_date FROM table_1893815_1 WHERE album_number = "2nd" | Name the release date for album # 2nd | CREATE TABLE table_1893815_1 (release_date VARCHAR, album_number VARCHAR) |
SELECT mascot FROM table_name_51 WHERE year_opened = "1970" | What is the mascot whose school opened in 1970? | CREATE TABLE table_name_51 (mascot VARCHAR, year_opened VARCHAR) |
SELECT SUM(pick__number) FROM table_name_59 WHERE player = "joe germanese" | How many picks involved the player Joe Germanese? | CREATE TABLE table_name_59 (pick__number INTEGER, player VARCHAR) |
SELECT entrant FROM table_name_86 WHERE constructor = "maserati" AND tyre = "p" AND chassis = "250f a6gcm" AND driver = "luigi villoresi" | Can you say what was the entrant of maserati built item with a Tyre of p with a chassis of 250f a6gcm that was driven by Luigi Villoresi? | CREATE TABLE table_name_86 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR, constructor VARCHAR, tyre VARCHAR) |
SELECT surface FROM table_name_44 WHERE tournament = "great britain f16" | What was the playing surface for the Tournament of Great Britain F16? | CREATE TABLE table_name_44 (surface VARCHAR, tournament VARCHAR) |
SELECT SUM(attendance) FROM table_name_91 WHERE date = "december 21, 1986" AND week < 16 | What was the Attendance on December 21, 1986 before Week 16? | CREATE TABLE table_name_91 (attendance INTEGER, date VARCHAR, week VARCHAR) |
SELECT MIN(against) FROM table_name_4 WHERE played > 10 | What is the lowest Against when the played is more than 10? | CREATE TABLE table_name_4 (against INTEGER, played INTEGER) |
SELECT televote_points FROM table_name_49 WHERE jury_points = "0" AND draw = 23 | What is the televote points for 0 jury points and 23 draws? | CREATE TABLE table_name_49 (televote_points VARCHAR, jury_points VARCHAR, draw VARCHAR) |
SELECT name, job FROM Person ORDER BY name | list the name, job title of all people ordered by their names. | CREATE TABLE Person (name VARCHAR, job VARCHAR) |
SELECT rounds FROM table_name_84 WHERE engine = "opc-challenge" AND driver = "satrio hermanto" | How many rounds did satrio hermanto go with an opc-challenge engine? | CREATE TABLE table_name_84 (rounds VARCHAR, engine VARCHAR, driver VARCHAR) |
SELECT MIN(season) FROM table_name_80 WHERE position > 12 | What is the earliest season that has a position over 12? | CREATE TABLE table_name_80 (season INTEGER, position INTEGER) |
SELECT opponent FROM table_name_83 WHERE game_site = "giants stadium" | Who was the opponent for the giants stadium game? | CREATE TABLE table_name_83 (opponent VARCHAR, game_site VARCHAR) |
SELECT MAX(silver) FROM table_name_47 WHERE total = 3 AND bronze > 2 | What is the highest silver total for nations with 3 total and over 2 bronze? | CREATE TABLE table_name_47 (silver INTEGER, total VARCHAR, bronze VARCHAR) |
SELECT COUNT(standard) FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "17.04.2006" | How many standards are there, when the launch date was 17.04.2006? | CREATE TABLE table_19246_1 (standard VARCHAR, launch_date__ddmmyyyy_ VARCHAR) |
SELECT player FROM table_name_58 WHERE position = "g" AND team = "washington capitols" | What is the name of the player with position of G and the team was the Washington Capitols? | CREATE TABLE table_name_58 (player VARCHAR, position VARCHAR, team VARCHAR) |
SELECT score FROM table_name_22 WHERE date = "26 july 2010" | What is the score of the game played 26 July 2010? | CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR) |
SELECT year__ceremony_ FROM table_name_81 WHERE original_title = "el tinte de la fama" | What year has a original title of "el tinte de la fama"? | CREATE TABLE table_name_81 (year__ceremony_ VARCHAR, original_title VARCHAR) |
SELECT genre FROM table_name_41 WHERE developer_s_ = "lionhead studios" | What's the genre of developer(s) Lionhead Studios? | CREATE TABLE table_name_41 (genre VARCHAR, developer_s_ VARCHAR) |
SELECT engine FROM table_name_85 WHERE output = "ps (kw; hp) @4700 rpm" | What engine has an output of ps (kw; hp) @4700 rpm? | CREATE TABLE table_name_85 (engine VARCHAR, output VARCHAR) |
SELECT score FROM table_name_79 WHERE home = "montreal canadiens" AND date = "may 16" | What is Score, when Home is "Montreal Canadiens", and when Date is "May 16"? | CREATE TABLE table_name_79 (score VARCHAR, home VARCHAR, date VARCHAR) |
SELECT net_capacity FROM table_name_74 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-4" | What was the net capacity with a gross capacity of 1,126 mw, and a Unit of tianwan-4? | CREATE TABLE table_name_74 (net_capacity VARCHAR, gross_capacity VARCHAR, unit VARCHAR) |
SELECT channel FROM table_182410_10 WHERE digital_terrestrial_channel = "10" | What is the channel that is on digital terrestrial channel 10? | CREATE TABLE table_182410_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR) |
SELECT iata FROM table_name_5 WHERE airport = "hamburg airport" | What kind of IATA has an Airport of hamburg airport? | CREATE TABLE table_name_5 (iata VARCHAR, airport VARCHAR) |
SELECT 2013 AS _profit__mil_usd__ FROM table_24307126_3 WHERE assets_2013__bil$_ = "11.2" | Name the 2013 profit for assets being 11.2 | CREATE TABLE table_24307126_3 (assets_2013__bil$_ VARCHAR) |
SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0 | Name the average concacaf for merconorte larger than 0 and player of jared borgetti | CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR) |
SELECT finish FROM table_name_18 WHERE to_par = "+18" | What is the finish when the to par is +18? | CREATE TABLE table_name_18 (finish VARCHAR, to_par VARCHAR) |
SELECT afghan FROM table_24807774_1 WHERE bangladeshi = "Hungarian" | how many afghan in banglash is hungarian | CREATE TABLE table_24807774_1 (afghan VARCHAR, bangladeshi VARCHAR) |
SELECT MAX(years) FROM table_20630462_1 WHERE tournament = "Rome" | What is the most years that tournaments held in Rome have lasted? | CREATE TABLE table_20630462_1 (years INTEGER, tournament VARCHAR) |
SELECT LOCATION FROM performance WHERE Attendance > 2000 INTERSECT SELECT LOCATION FROM performance WHERE Attendance < 1000 | Show the locations that have both performances with more than 2000 attendees and performances with less than 1000 attendees. | CREATE TABLE performance (LOCATION VARCHAR, Attendance INTEGER) |
SELECT attendance FROM table_name_40 WHERE date = "october 14" | Where Date is october 14 what is the attendance? | CREATE TABLE table_name_40 (attendance VARCHAR, date VARCHAR) |
SELECT COUNT(per) AS centage FROM table_177766_1 WHERE rank = 51 | This constellation with a ranking of 51 has how many percentages on record? | CREATE TABLE table_177766_1 (per VARCHAR, rank VARCHAR) |
SELECT COUNT(number_of_people_1991) FROM table_name_72 WHERE village__german_ = "rupertiberg" | How many people in 1991 have a Village (German) of rupertiberg? | CREATE TABLE table_name_72 (number_of_people_1991 VARCHAR, village__german_ VARCHAR) |
SELECT candidates FROM table_25030512_12 WHERE first_elected = "None (New seat)" | When none (new seat) is the first elected who are the candidates? | CREATE TABLE table_25030512_12 (candidates VARCHAR, first_elected VARCHAR) |
SELECT finish FROM table_name_20 WHERE total = 273 | What is the Finish of the Player with a Total of 273? | CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR) |
SELECT athlete FROM table_name_44 WHERE country = "norway" | Which athlete is from Norway? | CREATE TABLE table_name_44 (athlete VARCHAR, country VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.