question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
In what district was the incumbent Steve Chabot? | CREATE TABLE table_1341395_36 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341395_36 WHERE incumbent = "Steve Chabot" |
What is the average frequency mhz of the loomis, south dakota city license? | CREATE TABLE table_name_83 (frequency_mhz INTEGER, city_of_license VARCHAR) | SELECT AVG(frequency_mhz) FROM table_name_83 WHERE city_of_license = "loomis, south dakota" |
How big was the crowd at the game the away team geelong played at? | CREATE TABLE table_name_31 (crowd INTEGER, away_team VARCHAR) | SELECT SUM(crowd) FROM table_name_31 WHERE away_team = "geelong" |
Name the vacator for tennessee 1st | CREATE TABLE table_1802522_4 (vacator VARCHAR, district VARCHAR) | SELECT vacator FROM table_1802522_4 WHERE district = "Tennessee 1st" |
Which home team played against Los Angeles in game 1? | CREATE TABLE table_name_26 (home_team VARCHAR, road_team VARCHAR, game VARCHAR) | SELECT home_team FROM table_name_26 WHERE road_team = "los angeles" AND game = "game 1" |
What is the fate for the Bremen ship? | CREATE TABLE table_name_26 (fate VARCHAR, ship VARCHAR) | SELECT fate FROM table_name_26 WHERE ship = "bremen" |
What is the power that belongs to Class A with an Identifier of CBOC-FM? | CREATE TABLE table_name_90 (power VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT power FROM table_name_90 WHERE class = "a" AND identifier = "cboc-fm" |
What's the airing date for the show with 62 episodes? | CREATE TABLE table_name_1 (airing_date VARCHAR, number_of_episodes VARCHAR) | SELECT airing_date FROM table_name_1 WHERE number_of_episodes = 62 |
Please show the most common citizenship of singers. | CREATE TABLE singer (Citizenship VARCHAR) | SELECT Citizenship FROM singer GROUP BY Citizenship ORDER BY COUNT(*) DESC LIMIT 1 |
Name the Place which has a Score of 67-71=138, united states? | CREATE TABLE table_name_17 (place VARCHAR, country VARCHAR, score VARCHAR) | SELECT place FROM table_name_17 WHERE country = "united states" AND score = 67 - 71 = 138 |
find the name of driver who is driving the school bus with the longest working history. | CREATE TABLE school_bus (driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR) | SELECT t1.name FROM driver AS t1 JOIN school_bus AS t2 ON t1.driver_id = t2.driver_id ORDER BY years_working DESC LIMIT 1 |
What was the largest amount of spectators when St Kilda was the away team? | CREATE TABLE table_name_36 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_36 WHERE away_team = "st kilda" |
What are the unique block codes that have available rooms? | CREATE TABLE room (blockcode VARCHAR, unavailable VARCHAR) | SELECT DISTINCT blockcode FROM room WHERE unavailable = 0 |
How many games was game 43? | CREATE TABLE table_17058151_7 (record VARCHAR, game VARCHAR) | SELECT COUNT(record) FROM table_17058151_7 WHERE game = 43 |
Which awards happened more recently than 2005? | CREATE TABLE table_name_33 (awards VARCHAR, year INTEGER) | SELECT awards FROM table_name_33 WHERE year > 2005 |
What's the total amount of Bulgaria that has more than 13 bronze? | CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT SUM(total) FROM table_name_2 WHERE nation = "bulgaria" AND bronze > 13 |
What is the result of the 2005 (78th) year ceremony? | CREATE TABLE table_22073745_1 (result VARCHAR, year__ceremony_ VARCHAR) | SELECT result FROM table_22073745_1 WHERE year__ceremony_ = "2005 (78th)" |
What was the outcome for the India Open? | CREATE TABLE table_name_34 (outcome VARCHAR, venue VARCHAR) | SELECT outcome FROM table_name_34 WHERE venue = "india open" |
Which Rank has a Tally of 4-0? | CREATE TABLE table_name_36 (rank INTEGER, tally VARCHAR) | SELECT AVG(rank) FROM table_name_36 WHERE tally = "4-0" |
WHAT IS THE VALE ROYAL WITH THE JEWISH RELIGION? | CREATE TABLE table_name_20 (vale_royal VARCHAR, religion VARCHAR) | SELECT vale_royal FROM table_name_20 WHERE religion = "jewish" |
What were the high points on March 25? | CREATE TABLE table_27755603_10 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_27755603_10 WHERE date = "March 25" |
Which Position did Ruzic play? | CREATE TABLE table_name_30 (position VARCHAR, surname VARCHAR) | SELECT position FROM table_name_30 WHERE surname = "ruzic" |
What is the 1st prize at the U.S. Open? | CREATE TABLE table_name_69 (tournament VARCHAR) | SELECT 1 AS st_prize___$__ FROM table_name_69 WHERE tournament = "u.s. open" |
Who was the winner when the time was 1:24.00? | CREATE TABLE table_1360997_2 (winner_2nd VARCHAR, time VARCHAR) | SELECT winner_2nd FROM table_1360997_2 WHERE time = "1:24.00" |
How many paragraphs in total? | CREATE TABLE Paragraphs (Id VARCHAR) | SELECT COUNT(*) FROM Paragraphs |
What opponent has a week less than 12, with November 25, 1965 as the date? | CREATE TABLE table_name_29 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_29 WHERE week < 12 AND date = "november 25, 1965" |
What is the sitalsasthi carnival with sonepur as kosal? | CREATE TABLE table_name_97 (sitalsasthi_carnival VARCHAR, kosal VARCHAR) | SELECT sitalsasthi_carnival FROM table_name_97 WHERE kosal = "sonepur" |
Which date had the catalog designation of ha-m 2230? | CREATE TABLE table_name_37 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_37 WHERE catalog = "ha-m 2230" |
What is Home, when Ground is Humber College North, and when Time is 15:00? | CREATE TABLE table_name_58 (home VARCHAR, ground VARCHAR, time VARCHAR) | SELECT home FROM table_name_58 WHERE ground = "humber college north" AND time = "15:00" |
What country got accolades in 2002? | CREATE TABLE table_name_46 (country VARCHAR, year VARCHAR) | SELECT country FROM table_name_46 WHERE year = 2002 |
I want the greatest attendance when the opponent is the chicago bears | CREATE TABLE table_name_64 (attendance INTEGER, opponent VARCHAR) | SELECT MAX(attendance) FROM table_name_64 WHERE opponent = "chicago bears" |
What ist the Away Leg with an Opposition that is aarhus gymnastik forening? | CREATE TABLE table_name_60 (away_leg VARCHAR, opposition VARCHAR) | SELECT away_leg FROM table_name_60 WHERE opposition = "aarhus gymnastik forening" |
Which Tournament has a Location of texas, and a Winner of tom watson (39)? | CREATE TABLE table_name_15 (tournament VARCHAR, location VARCHAR, winner VARCHAR) | SELECT tournament FROM table_name_15 WHERE location = "texas" AND winner = "tom watson (39)" |
Find the distinct number of president votes. | CREATE TABLE VOTING_RECORD (President_Vote VARCHAR) | SELECT COUNT(DISTINCT President_Vote) FROM VOTING_RECORD |
What is the percentage of Atheism associated with an other percentage of 0.08%? | CREATE TABLE table_name_90 (atheism VARCHAR, other VARCHAR) | SELECT atheism FROM table_name_90 WHERE other = "0.08%" |
What is the average grid with brm and under 63 laps? | CREATE TABLE table_name_33 (grid INTEGER, constructor VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_33 WHERE constructor = "brm" AND laps < 63 |
Please list all album titles in alphabetical order. | CREATE TABLE ALBUM (Title VARCHAR) | SELECT Title FROM ALBUM ORDER BY Title |
Show publishers with a book published in 1989 and a book in 1990. | CREATE TABLE book_club (publisher VARCHAR, YEAR VARCHAR) | SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990 |
Concerning protestantism by country, the ranking is out of how many total? | CREATE TABLE table_name_62 (out_of VARCHAR, source VARCHAR) | SELECT out_of FROM table_name_62 WHERE source = "protestantism by country" |
Who attended the school in 2008, that Brikajdri Wilson attended in 2006? | CREATE TABLE table_name_42 (Id VARCHAR) | SELECT 2008 FROM table_name_42 WHERE 2006 = "brikajdri wilson" |
What is Type, when Newspaper/Magazine is Telecoms & It Magazine? | CREATE TABLE table_name_97 (type VARCHAR, newspaper_magazine VARCHAR) | SELECT type FROM table_name_97 WHERE newspaper_magazine = "telecoms & it magazine" |
How many colleges provided players with positions LB? | CREATE TABLE table_25085059_3 (college VARCHAR, position VARCHAR) | SELECT COUNT(college) FROM table_25085059_3 WHERE position = "LB" |
In what year was the republican incumbent from Kentucky 2 district first elected? | CREATE TABLE table_name_37 (first_elected INTEGER, party VARCHAR, district VARCHAR) | SELECT SUM(first_elected) FROM table_name_37 WHERE party = "republican" AND district = "kentucky 2" |
What is the Championship with Vitas Gerulaitis as Opponent in the final in a match on Clay Surface? | CREATE TABLE table_name_3 (championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT championship FROM table_name_3 WHERE surface = "clay" AND opponent_in_the_final = "vitas gerulaitis" |
What is the lowest Round, when College is "Washington State", and when Pick is less than 48? | CREATE TABLE table_name_25 (round INTEGER, college VARCHAR, pick VARCHAR) | SELECT MIN(round) FROM table_name_25 WHERE college = "washington state" AND pick < 48 |
Name the land where geo id is 3807717980 | CREATE TABLE table_18600760_4 (land___sqmi__ VARCHAR, geo_id VARCHAR) | SELECT land___sqmi__ FROM table_18600760_4 WHERE geo_id = 3807717980 |
What District has a Location of villupuram? | CREATE TABLE table_name_53 (district VARCHAR, location VARCHAR) | SELECT district FROM table_name_53 WHERE location = "villupuram" |
What was the time of sportfight 10? | CREATE TABLE table_name_45 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_45 WHERE event = "sportfight 10" |
List the distinct ranges of the mountains with the top 3 prominence. | CREATE TABLE mountain (Range VARCHAR, Prominence VARCHAR) | SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3 |
what is the result when the rank is 12? | CREATE TABLE table_name_13 (result VARCHAR, rank VARCHAR) | SELECT result FROM table_name_13 WHERE rank = 12 |
What school in 72 Scott county has an enrollment more than 473 with an AAA IHSAA Class? | CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR) | SELECT school FROM table_name_11 WHERE enrollment > 473 AND ihsaa_class = "aaa" AND _number___county = "72 scott" |
who is the player when the pick is 15 and the year [A] is 2000? | CREATE TABLE table_name_75 (player_name VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR) | SELECT player_name FROM table_name_75 WHERE pick = "15" AND year_[a_] = 2000 |
Which player was picked for the Chicago Sky? | CREATE TABLE table_name_47 (player VARCHAR, wnba_team VARCHAR) | SELECT player FROM table_name_47 WHERE wnba_team = "chicago sky" |
Which Owner has a Name / Format of 105.3 kool fm - hot adult contemporary? | CREATE TABLE table_name_18 (owner VARCHAR, name___format VARCHAR) | SELECT owner FROM table_name_18 WHERE name___format = "105.3 kool fm - hot adult contemporary" |
How many populations have a capital of Hong Kong? | CREATE TABLE table_19605700_1 (population VARCHAR, capital VARCHAR) | SELECT COUNT(population) FROM table_19605700_1 WHERE capital = "Hong Kong" |
The Rainbow District School Board is associated with what type? | CREATE TABLE table_1506619_1 (type VARCHAR, school_board VARCHAR) | SELECT type FROM table_1506619_1 WHERE school_board = "Rainbow District school_board" |
Name the role for Feb 4, 1961 closing date | CREATE TABLE table_name_49 (role VARCHAR, closing_date VARCHAR) | SELECT role FROM table_name_49 WHERE closing_date = "feb 4, 1961" |
Which Date has a Region of france? | CREATE TABLE table_name_90 (date VARCHAR, region VARCHAR) | SELECT date FROM table_name_90 WHERE region = "france" |
Which channel has the host Art Rooijakkers? | CREATE TABLE table_178242_1 (channel VARCHAR, host_s_ VARCHAR) | SELECT channel FROM table_178242_1 WHERE host_s_ = "Art Rooijakkers" |
Who was the candidate in the Virginia 3 district election? | CREATE TABLE table_1341577_47 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341577_47 WHERE district = "Virginia 3" |
What is the D 50 √ when the D 47 √ is r 27 √? | CREATE TABLE table_name_93 (d_50_√ VARCHAR, d_47_√ VARCHAR) | SELECT d_50_√ FROM table_name_93 WHERE d_47_√ = "r 27 √" |
What was the date for the game that had a Location/Attendance of the spectrum? | CREATE TABLE table_name_92 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_name_92 WHERE location_attendance = "the spectrum" |
Who was the away team on 10 January 1979 who had a tie no of 17? | CREATE TABLE table_name_82 (away_team VARCHAR, date VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_82 WHERE date = "10 january 1979" AND tie_no = "17" |
Name the loss when the record is 76-81 | CREATE TABLE table_name_1 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_1 WHERE record = "76-81" |
What regular seasons occurred in 2011? | CREATE TABLE table_14723382_1 (regular_season VARCHAR, year VARCHAR) | SELECT regular_season FROM table_14723382_1 WHERE year = 2011 |
What is the players name in the guard position? | CREATE TABLE table_name_95 (name VARCHAR, position VARCHAR) | SELECT name FROM table_name_95 WHERE position = "guard" |
What's the Qual listed with a Rank of 27? | CREATE TABLE table_name_41 (qual VARCHAR, rank VARCHAR) | SELECT qual FROM table_name_41 WHERE rank = "27" |
Name the assets when the rank is 1435 | CREATE TABLE table_24307126_3 (assets_2013__bil$_ VARCHAR, rank_2013 VARCHAR) | SELECT assets_2013__bil$_ FROM table_24307126_3 WHERE rank_2013 = 1435 |
What is the 2012 value at the Grand Slam Tournaments? | CREATE TABLE table_name_70 (tournament VARCHAR) | SELECT 2012 FROM table_name_70 WHERE tournament = "grand slam tournaments" |
List the id, color scheme, and name for all the photos. | CREATE TABLE photos (id VARCHAR, color VARCHAR, name VARCHAR) | SELECT id, color, name FROM photos |
Which venue did Luke Blackwell serve as captain? | CREATE TABLE table_13514348_7 (venue VARCHAR, captain VARCHAR) | SELECT venue FROM table_13514348_7 WHERE captain = "Luke Blackwell" |
who is the dudley tuckey medal where leading goalkicker is scott simister (46) | CREATE TABLE table_1165048_1 (dudley_tuckey_medal VARCHAR, leading_goalkicker VARCHAR) | SELECT dudley_tuckey_medal FROM table_1165048_1 WHERE leading_goalkicker = "Scott Simister (46)" |
What is the IATA for Benghazi, Libya? | CREATE TABLE table_name_56 (iata VARCHAR, country VARCHAR, city VARCHAR) | SELECT iata FROM table_name_56 WHERE country = "libya" AND city = "benghazi" |
What's the year that Hagerstown joined? | CREATE TABLE table_name_66 (year_joined VARCHAR, school VARCHAR) | SELECT year_joined FROM table_name_66 WHERE school = "hagerstown" |
What is the position of the player who is from the United States and has 30 minutes? | CREATE TABLE table_23963781_3 (position VARCHAR, nationality VARCHAR, minutes VARCHAR) | SELECT position FROM table_23963781_3 WHERE nationality = "United States" AND minutes = 30 |
What is the Notes of the Frequency with a Format of soft adult contemporary? | CREATE TABLE table_name_46 (notes VARCHAR, format VARCHAR) | SELECT notes FROM table_name_46 WHERE format = "soft adult contemporary" |
What week number had the New York Giants as opponent? | CREATE TABLE table_name_21 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_21 WHERE opponent = "new york giants" |
Name the result for total attendance-regular season | CREATE TABLE table_21436373_11 (result_games VARCHAR, type_of_record VARCHAR) | SELECT result_games FROM table_21436373_11 WHERE type_of_record = "Total attendance-Regular season" |
How many cars used number 48? | CREATE TABLE table_15491596_1 (engine VARCHAR, no VARCHAR) | SELECT COUNT(engine) FROM table_15491596_1 WHERE no = 48 |
What is the name of the soccer stadium in NL providence? | CREATE TABLE table_27369069_1 (soccer_stadium VARCHAR, province VARCHAR) | SELECT soccer_stadium FROM table_27369069_1 WHERE province = "NL" |
What is Winning Score, when Runner(s)-up is Ted Purdy? | CREATE TABLE table_name_37 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_37 WHERE runner_s__up = "ted purdy" |
Find the average price of wines that are not produced from Sonoma county. | CREATE TABLE wine (price INTEGER, Appelation VARCHAR); CREATE TABLE APPELLATIONS (Appelation VARCHAR, County VARCHAR); CREATE TABLE WINE (Appelation VARCHAR) | SELECT AVG(price) FROM wine WHERE NOT Appelation IN (SELECT T1.Appelation FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T1.County = 'Sonoma') |
Name the number of spring enrollment for sioux falls seminary | CREATE TABLE table_2076557_2 (enrollment__spring_2012_ VARCHAR, school VARCHAR) | SELECT COUNT(enrollment__spring_2012_) FROM table_2076557_2 WHERE school = "Sioux Falls Seminary" |
What was the position for team corinthians with over 14 against? | CREATE TABLE table_name_90 (position INTEGER, team VARCHAR, against VARCHAR) | SELECT AVG(position) FROM table_name_90 WHERE team = "corinthians" AND against > 14 |
What is the death date of the archbishop who was ordained as bishop April 26, 1927? | CREATE TABLE table_1656555_1 (died VARCHAR, ordained_bishop VARCHAR) | SELECT died FROM table_1656555_1 WHERE ordained_bishop = "April 26, 1927" |
What is the total number of Losses, when Wins is "16", and when Against is less than 772? | CREATE TABLE table_name_22 (losses VARCHAR, wins VARCHAR, against VARCHAR) | SELECT COUNT(losses) FROM table_name_22 WHERE wins = 16 AND against < 772 |
Which Title has an Appointed by of Millard Fillmore? | CREATE TABLE table_name_21 (title VARCHAR, appointed_by VARCHAR) | SELECT title FROM table_name_21 WHERE appointed_by = "millard fillmore" |
When did the fourth episode of the season (4 1-04) first air? | CREATE TABLE table_24222929_3 (original_airdate VARCHAR, episode_number_production_number VARCHAR) | SELECT original_airdate FROM table_24222929_3 WHERE episode_number_production_number = "4 1-04" |
What was the qual when the rank was 2? | CREATE TABLE table_name_63 (qual VARCHAR, rank VARCHAR) | SELECT qual FROM table_name_63 WHERE rank = "2" |
Which Date has a Score of 2–2, and an Away team of aylesbury united? | CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_48 WHERE score = "2–2" AND away_team = "aylesbury united" |
What is Location Attendance, when Date is "December 30"? | CREATE TABLE table_name_63 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_63 WHERE date = "december 30" |
What are the distinct unit prices of all tracks? | CREATE TABLE TRACK (UnitPrice VARCHAR) | SELECT DISTINCT (UnitPrice) FROM TRACK |
Which 1999 has 2000 as the year-end championship? | CREATE TABLE table_name_40 (Id VARCHAR) | SELECT 1999 FROM table_name_40 WHERE 2000 = "year-end championship" |
Which team 1 has vfl gummersbach as team 2? | CREATE TABLE table_name_13 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_13 WHERE team_2 = "vfl gummersbach" |
What category is Matthew Barton? | CREATE TABLE table_name_35 (category VARCHAR, opponent VARCHAR) | SELECT category FROM table_name_35 WHERE opponent = "matthew barton" |
Which home team is ranked no. 7 by tie no.? | CREATE TABLE table_name_87 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_87 WHERE tie_no = "7" |
What is the 1998 value with 2r in 2003? | CREATE TABLE table_name_60 (Id VARCHAR) | SELECT 1998 FROM table_name_60 WHERE 2003 = "2r" |
Show statement id, statement detail, account detail for accounts. | CREATE TABLE Accounts (statement_id VARCHAR, account_details VARCHAR); CREATE TABLE Statements (statement_details VARCHAR, statement_id VARCHAR) | SELECT T1.statement_id, T2.statement_details, T1.account_details FROM Accounts AS T1 JOIN Statements AS T2 ON T1.statement_id = T2.statement_id |
How many wins did he have with carlin motorsport? | CREATE TABLE table_23128286_1 (wins VARCHAR, team_name VARCHAR) | SELECT COUNT(wins) FROM table_23128286_1 WHERE team_name = "Carlin Motorsport" |
What is the socket for microprocessors with a frequency of 1.3 ghz? | CREATE TABLE table_16729930_18 (socket VARCHAR, frequency VARCHAR) | SELECT socket FROM table_16729930_18 WHERE frequency = "1.3 GHz" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.