answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT orchestra FROM table_222198_1 WHERE year_of_recording = 1951 | Which orchestra has a recording year of 1951? | CREATE TABLE table_222198_1 (orchestra VARCHAR, year_of_recording VARCHAR) |
SELECT opponent FROM table_name_49 WHERE result = "w 13β0" | What is the Opponent of the game with a Result of w 13β0? | CREATE TABLE table_name_49 (opponent VARCHAR, result VARCHAR) |
SELECT 1987 FROM table_name_47 WHERE 1989 = "3r" AND 1986 = "f" | What is the 1987 results when the results of 1989 is 3R, and the 1986 results is F? | CREATE TABLE table_name_47 (Id VARCHAR) |
SELECT listed FROM table_name_46 WHERE built = "ca.1876" | What is the date Listed of the Bridge Built CA.1876? | CREATE TABLE table_name_46 (listed VARCHAR, built VARCHAR) |
SELECT attendance FROM table_name_53 WHERE record = "1-1" | What was the attendance for the game that has a record of 1-1? | CREATE TABLE table_name_53 (attendance VARCHAR, record VARCHAR) |
SELECT MIN(attendance) FROM table_name_5 WHERE week > 2 AND opponent = "new orleans saints" | Name the least attendance for opponent of new orleans saints and week more than 2 | CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, opponent VARCHAR) |
SELECT tournament FROM table_name_53 WHERE opponents_in_the_final = "andrei pavel rogier wassen" | Tell me the tournament for opponents of andrei pavel rogier wassen | CREATE TABLE table_name_53 (tournament VARCHAR, opponents_in_the_final VARCHAR) |
SELECT MIN(founded) FROM table_11604804_5 WHERE nickname = "ParSU Cimmarons" | What is the founding of parsu cimmarons? | CREATE TABLE table_11604804_5 (founded INTEGER, nickname VARCHAR) |
SELECT genre FROM table_name_47 WHERE country_of_origin = "united kingdom" AND artist = "queen" | What was the genre of Queen (an artist from the United Kingdom)? | CREATE TABLE table_name_47 (genre VARCHAR, country_of_origin VARCHAR, artist VARCHAR) |
SELECT nfl_team FROM table_16376436_1 WHERE college = "North Carolina" | What is the NFL team for the player who's college was North Carolina? | CREATE TABLE table_16376436_1 (nfl_team VARCHAR, college VARCHAR) |
SELECT MIN(place) FROM table_name_47 WHERE draw > 3 AND points = 8 | Name the least place for draw more than 3 and points of 8 | CREATE TABLE table_name_47 (place INTEGER, draw VARCHAR, points VARCHAR) |
SELECT MAX(free_throws) FROM table_23183195_5 WHERE steals = 4 | Name the most free throws for 4 steals | CREATE TABLE table_23183195_5 (free_throws INTEGER, steals VARCHAR) |
SELECT MAX(year) FROM table_name_22 WHERE country = "morocco" | What is the year for the country of Morocco? | CREATE TABLE table_name_22 (year INTEGER, country VARCHAR) |
SELECT tournament FROM table_name_97 WHERE opponent_team = "hungary's league selection" | At which tournament does Milan play against Hungary's league selection? | CREATE TABLE table_name_97 (tournament VARCHAR, opponent_team VARCHAR) |
SELECT original_air_date FROM table_25716399_1 WHERE us_viewers__millions_ = "5.60" | What was the original air date where there were u.s. viewers (millions) is 5.60? | CREATE TABLE table_25716399_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT title FROM table_25800134_9 WHERE airdate = "December 5, 1964" | what is the title where the airdate is december 5, 1964? | CREATE TABLE table_25800134_9 (title VARCHAR, airdate VARCHAR) |
SELECT 2007 FROM table_name_87 WHERE 2011 = "nms" | What is the 2007 value with NMS in 2011? | CREATE TABLE table_name_87 (Id VARCHAR) |
SELECT COUNT(tournament) FROM table_11622562_1 WHERE score = "204 (-12)" | How many tournaments ended with a score of 204 (-12)? | CREATE TABLE table_11622562_1 (tournament VARCHAR, score VARCHAR) |
SELECT opponent FROM table_19789597_6 WHERE date = "July 12" | Who was the game on July 12 played against? | CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR) |
SELECT AVG(rank_by_average) FROM table_name_43 WHERE total > 245 AND average = 27.1 AND number_of_dances < 15 | What is the rank by average where the total was larger than 245 and the average was 27.1 with fewer than 15 dances? | CREATE TABLE table_name_43 (rank_by_average INTEGER, number_of_dances VARCHAR, total VARCHAR, average VARCHAR) |
SELECT home_team AS score FROM table_name_57 WHERE home_team = "north melbourne" | What is the home team's score for north melbourne? | CREATE TABLE table_name_57 (home_team VARCHAR) |
SELECT result FROM table_name_66 WHERE year = 2001 AND location = "network associates coliseum" | What was the score of the 2001 game held at Network Associates Coliseum? | CREATE TABLE table_name_66 (result VARCHAR, year VARCHAR, location VARCHAR) |
SELECT pictorials FROM table_1566850_9 WHERE date = "11-98" | What is the name of the pictorial in the 11-98 issue? | CREATE TABLE table_1566850_9 (pictorials VARCHAR, date VARCHAR) |
SELECT democratic_ticket FROM table_name_43 WHERE liberal_ticket = "erastus corning 2nd" | What is the name on the Democratic ticket when the Liberal ticket is erastus corning 2nd? | CREATE TABLE table_name_43 (democratic_ticket VARCHAR, liberal_ticket VARCHAR) |
SELECT date FROM table_name_8 WHERE opponent = "bye" | When did the Texans play BYE? | CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) |
SELECT MAX(losses) FROM table_name_20 WHERE wins > 13 | What's the greatest losses for those with more than 13 wins? | CREATE TABLE table_name_20 (losses INTEGER, wins INTEGER) |
SELECT high_rebounds FROM table_name_58 WHERE game = 81 | What is the highest rebounds for game 81? | CREATE TABLE table_name_58 (high_rebounds VARCHAR, game VARCHAR) |
SELECT type FROM table_name_71 WHERE name__wade_giles_ = "kuang-hsing" | What is the type of Kuang-Hsing? | CREATE TABLE table_name_71 (type VARCHAR, name__wade_giles_ VARCHAR) |
SELECT venue FROM table_name_88 WHERE home_team = "south melbourne" | Which venue has a Home team of south melbourne? | CREATE TABLE table_name_88 (venue VARCHAR, home_team VARCHAR) |
SELECT date FROM table_name_71 WHERE where_sunk = "east china sea" AND ship_type = "hell ship" | What is the date that a hell ship sunk in the East China Sea? | CREATE TABLE table_name_71 (date VARCHAR, where_sunk VARCHAR, ship_type VARCHAR) |
SELECT callsign FROM table_name_52 WHERE area_served = "brisbane" AND freq_currently = "4rph" | What is the Callsign in Brisbane with a Freq currently of 4rph? | CREATE TABLE table_name_52 (callsign VARCHAR, area_served VARCHAR, freq_currently VARCHAR) |
SELECT transaction_type, SUM(transaction_amount) FROM Financial_transactions GROUP BY transaction_type | Show the transaction types and the total amount of transactions. | CREATE TABLE Financial_transactions (transaction_type VARCHAR, transaction_amount INTEGER) |
SELECT pba_team FROM table_name_96 WHERE college = "ateneo de manila" | What is Ateneo de Manila's PBA Team? | CREATE TABLE table_name_96 (pba_team VARCHAR, college VARCHAR) |
SELECT vacator FROM table_2417390_4 WHERE district = "Nebraska At-large" | Who was the vacator for the district of Nebraska at-large? | CREATE TABLE table_2417390_4 (vacator VARCHAR, district VARCHAR) |
SELECT type FROM table_name_15 WHERE gnis_id = 1139805 | What type has a GNIS ID of 1139805 | CREATE TABLE table_name_15 (type VARCHAR, gnis_id VARCHAR) |
SELECT fuel FROM table_name_50 WHERE output = "ps (kw; hp) @6000 rpm" | Which Fuel has an Output of ps (kw; hp) @6000 rpm? | CREATE TABLE table_name_50 (fuel VARCHAR, output VARCHAR) |
SELECT SUM(population) FROM table_name_1 WHERE town = "norton" | How many people live in Norton? | CREATE TABLE table_name_1 (population INTEGER, town VARCHAR) |
SELECT mission FROM table_name_35 WHERE local_position = "ambassador" AND resident_country = "democratic republic of congo" | What is the mission that has ambassador of local position, and a resident country of democratic republic of congo? | CREATE TABLE table_name_35 (mission VARCHAR, local_position VARCHAR, resident_country VARCHAR) |
SELECT MIN(drawn) FROM table_name_31 WHERE against = "total" | What is the lowest nuber of games drawn in the total column? | CREATE TABLE table_name_31 (drawn INTEGER, against VARCHAR) |
SELECT leading_scorer FROM table_name_5 WHERE date = "2006-11-22" | What is the name of the leading scorer on 2006-11-22? | CREATE TABLE table_name_5 (leading_scorer VARCHAR, date VARCHAR) |
SELECT game_site FROM table_name_48 WHERE kickoff = "12:00 p.m." AND record = "8-5" | Where was the game played when they kickoff was 12:00 p.m., and a Record of 8-5? | CREATE TABLE table_name_48 (game_site VARCHAR, kickoff VARCHAR, record VARCHAR) |
SELECT away_team FROM table_name_47 WHERE home_team = "essendon" | What was the opponent of the home team of essendon? | CREATE TABLE table_name_47 (away_team VARCHAR, home_team VARCHAR) |
SELECT stadium FROM table_21436373_6 WHERE date_year = "Fri 06/25/82" | Which stadium has the date/year of Fri 06/25/82? | CREATE TABLE table_21436373_6 (stadium VARCHAR, date_year VARCHAR) |
SELECT result FROM table_name_20 WHERE location = "three rivers stadium" AND record = "6β3" | What is the result of the game at three rivers stadium with a Record of 6β3? | CREATE TABLE table_name_20 (result VARCHAR, location VARCHAR, record VARCHAR) |
SELECT club FROM table_name_73 WHERE tries_for = "73" | Which of the participating clubs had 73 tries for? | CREATE TABLE table_name_73 (club VARCHAR, tries_for VARCHAR) |
SELECT COUNT(province) FROM table_16489766_2 WHERE chinese = "ιεΊ" | What province has the Chinese translation ιεΊ? | CREATE TABLE table_16489766_2 (province VARCHAR, chinese VARCHAR) |
SELECT SUM(hull_no) FROM table_name_37 WHERE destination = "italy" AND year > 1999 | Name the sum of hull number for italy and year more than 1999 | CREATE TABLE table_name_37 (hull_no INTEGER, destination VARCHAR, year VARCHAR) |
SELECT length FROM table_name_99 WHERE junctions = "ur 1472 sh 255" | What's the length of the route with junctions of ur 1472 sh 255? | CREATE TABLE table_name_99 (length VARCHAR, junctions VARCHAR) |
SELECT production_code FROM table_10935548_1 WHERE written_by = "JosΓ© Molina" AND original_air_date = "October 12, 2004" | What is the production code of the episode written by JosΓ© Molina that aired on October 12, 2004? | CREATE TABLE table_10935548_1 (production_code VARCHAR, written_by VARCHAR, original_air_date VARCHAR) |
SELECT orbit FROM table_name_14 WHERE specific_orbital_energy = "β29.8 mj/kg" | specific orbital energy of β29.8 mj/kg has what orbit? | CREATE TABLE table_name_14 (orbit VARCHAR, specific_orbital_energy VARCHAR) |
SELECT draft FROM table_name_17 WHERE round = "9" AND pick = 171 AND player = "dan wiebe category:articles with hcards" | What is Draft, when Round is "9", when Pick is "171", and when Player is "Dan Wiebe Category:Articles with hCards"? | CREATE TABLE table_name_17 (draft VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR) |
SELECT player FROM table_name_32 WHERE to_par = "e" AND score = 71 - 69 = 140 | Who had a to par of e and scored 71-69=140? | CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, score VARCHAR) |
SELECT MAX(sdlp) FROM table_28005809_2 WHERE council = "Belfast" | What is the SDLP of Belfast? | CREATE TABLE table_28005809_2 (sdlp INTEGER, council VARCHAR) |
SELECT event FROM table_name_37 WHERE position = "3rd" AND year = 2010 | What event did she finish 3rd in 2010? | CREATE TABLE table_name_37 (event VARCHAR, position VARCHAR, year VARCHAR) |
SELECT spouse FROM table_name_31 WHERE became_duchess = "31 october 1733 husband's accession" | Who is The Spouse of the Duchess that has a Became Duchess on 31 october 1733 husband's accession? | CREATE TABLE table_name_31 (spouse VARCHAR, became_duchess VARCHAR) |
SELECT park FROM table_name_48 WHERE opened = "1999" | What park opened in 1999? | CREATE TABLE table_name_48 (park VARCHAR, opened VARCHAR) |
SELECT original_title FROM table_name_25 WHERE winner_and_nominees = "secrets & lies" | What is the original title for the winner and nominees 'Secrets & Lies'? | CREATE TABLE table_name_25 (original_title VARCHAR, winner_and_nominees VARCHAR) |
SELECT l_g FROM table_19018191_5 WHERE player = "Ermengol" | Name the lg for ermengol | CREATE TABLE table_19018191_5 (l_g VARCHAR, player VARCHAR) |
SELECT MAX(points) FROM table_name_7 WHERE chassis = "reynard 91d" AND year < 1991 | For a year earlier than 1991 and a reynard 91d chassis, what's the highest points? | CREATE TABLE table_name_7 (points INTEGER, chassis VARCHAR, year VARCHAR) |
SELECT 1 AS st_prize___$__ FROM table_25938117_1 WHERE tournament = "Senior PGA Championship" | Name the 1st prize for senior pga championship | CREATE TABLE table_25938117_1 (tournament VARCHAR) |
SELECT results FROM table_name_12 WHERE district = "iowa 2" | What were the results for the incumbent from Iowa 2 district? | CREATE TABLE table_name_12 (results VARCHAR, district VARCHAR) |
SELECT country FROM table_name_71 WHERE stadium = "grandstand stadium" | What country has grandstand stadium as the stadium? | CREATE TABLE table_name_71 (country VARCHAR, stadium VARCHAR) |
SELECT SUM(attendance) FROM table_name_48 WHERE date = "august 8" | What is the total attendance for the August 8 game? | CREATE TABLE table_name_48 (attendance INTEGER, date VARCHAR) |
SELECT Major FROM STUDENT WHERE Sex = "F" GROUP BY major ORDER BY COUNT(*) DESC LIMIT 1 | What is the most common major among female (sex is F) students? | CREATE TABLE STUDENT (Major VARCHAR, major VARCHAR, Sex VARCHAR) |
SELECT time FROM table_name_34 WHERE date = "july 18" AND loss = "lilly (3-3)" | What is the Time on july 18 that has a Loss of lilly (3-3)? | CREATE TABLE table_name_34 (time VARCHAR, date VARCHAR, loss VARCHAR) |
SELECT customer_id, COUNT(*) FROM Accounts GROUP BY customer_id | Show all customer ids and the number of accounts for each customer. | CREATE TABLE Accounts (customer_id VARCHAR) |
SELECT record FROM table_name_21 WHERE date = "january 7" | What is the record for January 7? | CREATE TABLE table_name_21 (record VARCHAR, date VARCHAR) |
SELECT COUNT(opponents) FROM table_16710971_2 WHERE record = "6-4" | How many opponents were there for the game recorded as 6-4 in the Atlanta Falcons 1978 season? | CREATE TABLE table_16710971_2 (opponents VARCHAR, record VARCHAR) |
SELECT 2006 FROM table_name_76 WHERE 2012 = "a" AND 2011 = "3r" | Which 2006 has a 2012 of a, and a 2011 of 3r? | CREATE TABLE table_name_76 (Id VARCHAR) |
SELECT COUNT(patient_portrayer) FROM table_26561508_1 WHERE directed_by = "Craig Zisk" AND written_by = "Brad Falchuk" | What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk? | CREATE TABLE table_26561508_1 (patient_portrayer VARCHAR, directed_by VARCHAR, written_by VARCHAR) |
SELECT COUNT(cable_rank) FROM table_24399615_5 WHERE episode_no = 8 | How many times did episode number 8 air? | CREATE TABLE table_24399615_5 (cable_rank VARCHAR, episode_no VARCHAR) |
SELECT area FROM table_name_83 WHERE _percentage_other = "β" AND _percentage_muslim = "95%" | What area has a % Other of β, and a % Muslim of 95%? | CREATE TABLE table_name_83 (area VARCHAR, _percentage_other VARCHAR, _percentage_muslim VARCHAR) |
SELECT T3.Name FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID WHERE T2.Num_of_Audience > 200 | Show the names of people that are on affirmative side of debates with number of audience bigger than 200. | CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Debate_ID VARCHAR, Num_of_Audience INTEGER); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmative VARCHAR) |
SELECT played_by FROM table_2933761_1 WHERE occupation = "Mathematics Student" | Who played the mathematics student? | CREATE TABLE table_2933761_1 (played_by VARCHAR, occupation VARCHAR) |
SELECT result FROM table_1342149_18 WHERE incumbent = "Hale Boggs" | What was the result in the election where Hale Boggs was the incumbent? | CREATE TABLE table_1342149_18 (result VARCHAR, incumbent VARCHAR) |
SELECT COUNT(chapters) FROM table_name_86 WHERE director = "elmer clifton" | How many chapters did Elmer Clifton direct? | CREATE TABLE table_name_86 (chapters VARCHAR, director VARCHAR) |
SELECT afc_championships FROM table_1952057_5 WHERE playoff_berths = 17 | If the playoff berth is 17, what is the AFC championship number? | CREATE TABLE table_1952057_5 (afc_championships VARCHAR, playoff_berths VARCHAR) |
SELECT MAX(2009) FROM table_name_61 WHERE 2012 > 9 OFFSET 265 | Which 2009 has a 2012 larger than 9,265? | CREATE TABLE table_name_61 (Id VARCHAR) |
SELECT SUM(round) FROM table_name_38 WHERE position = "nose tackle" | What round was the nose tackle drafted? | CREATE TABLE table_name_38 (round INTEGER, position VARCHAR) |
SELECT date FROM table_name_99 WHERE home = "platense" | What is the date for the game where Platense was the home side? | CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR) |
SELECT T2.party_name, COUNT(*) FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id | Show all party names and the number of members in each party. | CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR) |
SELECT sport FROM table_name_40 WHERE established = 1935 AND league = "vsl" | What League of VSL Sport was Established in 1935? | CREATE TABLE table_name_40 (sport VARCHAR, established VARCHAR, league VARCHAR) |
SELECT year FROM table_name_90 WHERE score = "4β6, 7β6, 7β5" | What year had a score of 4β6, 7β6, 7β5? | CREATE TABLE table_name_90 (year VARCHAR, score VARCHAR) |
SELECT county FROM table_20573232_1 WHERE others_number = 5 | What county has others at 5? | CREATE TABLE table_20573232_1 (county VARCHAR, others_number VARCHAR) |
SELECT years FROM table_26476336_2 WHERE new_classification = "MCLA Division I" | What are the years that the new classification was MCLA division i? | CREATE TABLE table_26476336_2 (years VARCHAR, new_classification VARCHAR) |
SELECT attendance FROM table_17120964_6 WHERE opponent = "Swindon Wildcats" AND venue = "Home" | What was the total attendance during the home game against the Swindon Wildcats? | CREATE TABLE table_17120964_6 (attendance VARCHAR, opponent VARCHAR, venue VARCHAR) |
SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004 | Show all artist names who didn't have an exhibition in 2004. | CREATE TABLE exhibition (artist_id VARCHAR, year VARCHAR); CREATE TABLE artist (name VARCHAR); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR) |
SELECT COUNT(cuts_made) FROM table_name_79 WHERE top_5 > 3 AND events = 85 | What was the total number of Cuts made, when Top-5 was greater than 3, and when Events were 85? | CREATE TABLE table_name_79 (cuts_made VARCHAR, top_5 VARCHAR, events VARCHAR) |
SELECT gender FROM table_name_74 WHERE years = "7-15" | Which gender has 7-15 years? | CREATE TABLE table_name_74 (gender VARCHAR, years VARCHAR) |
SELECT area FROM table_name_13 WHERE _percentage_other = "3%" | What area has a percentage of other of 3%? | CREATE TABLE table_name_13 (area VARCHAR, _percentage_other VARCHAR) |
SELECT province FROM table_name_21 WHERE iata = "kix" | Which province's IATA is kix? | CREATE TABLE table_name_21 (province VARCHAR, iata VARCHAR) |
SELECT SUM(rank) FROM table_name_67 WHERE gold > 2 AND total < 31 AND silver < 5 | What is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals? | CREATE TABLE table_name_67 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) |
SELECT MIN(attendance) FROM table_name_3 WHERE week = 2 | What's the lowest Attendance for a Week of 2? | CREATE TABLE table_name_3 (attendance INTEGER, week VARCHAR) |
SELECT away_team AS score FROM table_name_96 WHERE away_team = "hawthorn" | What was Hawthorn's score as the away team? | CREATE TABLE table_name_96 (away_team VARCHAR) |
SELECT venue FROM table_name_13 WHERE date = "12 november 2005" | What is the venue for the event on 12 November 2005? | CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR) |
SELECT try_bonus FROM table_17625749_3 WHERE tries_against = "17" | What is the try bonus when the tries against are 17? | CREATE TABLE table_17625749_3 (try_bonus VARCHAR, tries_against VARCHAR) |
SELECT virtual_channel FROM table_1404984_1 WHERE network = "HSN" | What is HSN's official virtual channel in Minneapolis-St. Paul? | CREATE TABLE table_1404984_1 (virtual_channel VARCHAR, network VARCHAR) |
SELECT 3 AS rd_party FROM table_name_35 WHERE election = "1922" | What was the 3rd Party in the Election of 1922? | CREATE TABLE table_name_35 (election VARCHAR) |
SELECT name FROM program ORDER BY launch DESC LIMIT 1 | find the name of the program that was launched most recently. | CREATE TABLE program (name VARCHAR, launch VARCHAR) |
SELECT record FROM table_name_2 WHERE attendance = "19,887" | What was the score when attendance was 19,887? | CREATE TABLE table_name_2 (record VARCHAR, attendance VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.