question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What name completed construction on 09/19/2008? | CREATE TABLE table_name_71 (name VARCHAR, construction_completed VARCHAR) | SELECT name FROM table_name_71 WHERE construction_completed = "09/19/2008" |
Name the location of statesmen | CREATE TABLE table_1974482_1 (location VARCHAR, nickname VARCHAR) | SELECT location FROM table_1974482_1 WHERE nickname = "Statesmen" |
what is the tie no, on 24 november 1971 and the away team is king's lynn? | CREATE TABLE table_name_65 (tie_no VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_65 WHERE date = "24 november 1971" AND away_team = "king's lynn" |
What are the dates of the latest logon of the students with family name "Jaskolski" or "Langosh"? | CREATE TABLE Students (date_of_latest_logon VARCHAR, family_name VARCHAR) | SELECT date_of_latest_logon FROM Students WHERE family_name = "Jaskolski" OR family_name = "Langosh" |
What is the special notes value for years under 2009? | CREATE TABLE table_name_56 (special_notes VARCHAR, year INTEGER) | SELECT special_notes FROM table_name_56 WHERE year < 2009 |
Name the host when first premiere is august 3, 2007 | CREATE TABLE table_1597866_3 (host VARCHAR, first_premiere VARCHAR) | SELECT host FROM table_1597866_3 WHERE first_premiere = "August 3, 2007" |
What was the date that ended in a record of 8-25-7? | CREATE TABLE table_name_21 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_21 WHERE record = "8-25-7" |
I want to see the result for venue of n and attendance more than 20,664 | CREATE TABLE table_name_17 (result VARCHAR, venue VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_17 WHERE venue = "n" AND attendance > 20 OFFSET 664 |
In what time period were 578 built? | CREATE TABLE table_name_93 (period VARCHAR, built VARCHAR) | SELECT period FROM table_name_93 WHERE built = "578" |
Name the womens singles for korea open super series | CREATE TABLE table_14496232_2 (womens_singles VARCHAR, tour VARCHAR) | SELECT womens_singles FROM table_14496232_2 WHERE tour = "Korea Open Super Series" |
What is the Record at School of Tom O'Brien's team? | CREATE TABLE table_28744929_2 (record_at_school VARCHAR, head_coach VARCHAR) | SELECT record_at_school FROM table_28744929_2 WHERE head_coach = "Tom O'Brien" |
What is the title of the episode that had 9.76 million U.S. viewers? | CREATE TABLE table_22181917_2 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_22181917_2 WHERE us_viewers__millions_ = "9.76" |
What college has the Chicago stags and position is G? | CREATE TABLE table_name_78 (college VARCHAR, team VARCHAR, position VARCHAR) | SELECT college FROM table_name_78 WHERE team = "chicago stags" AND position = "g" |
How many stunts have a total of 201.5? | CREATE TABLE table_21995420_6 (stunts VARCHAR, total VARCHAR) | SELECT COUNT(stunts) FROM table_21995420_6 WHERE total = "201.5" |
Which name had 6 goals? | CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR) | SELECT name FROM table_name_49 WHERE goals = 6 |
Name the episode for run time 25:05 | CREATE TABLE table_2102782_1 (episode VARCHAR, run_time VARCHAR) | SELECT episode FROM table_2102782_1 WHERE run_time = "25:05" |
What is the content for la sorgente sat 3? | CREATE TABLE table_name_20 (content VARCHAR, television_service VARCHAR) | SELECT content FROM table_name_20 WHERE television_service = "la sorgente sat 3" |
In what stage did Jaime Vergara won, Team Classification was given to EPM-Une and Mountain Classification winner was Oscar Solis? | CREATE TABLE table_28853064_15 (stage VARCHAR, winner VARCHAR, team_classification VARCHAR, mountains_classification VARCHAR) | SELECT stage FROM table_28853064_15 WHERE team_classification = "EPM-UNE" AND mountains_classification = "Oscar Solis" AND winner = "Jaime Vergara" |
What round did the match at the Golden Trophy 1999 event end? | CREATE TABLE table_name_44 (round INTEGER, event VARCHAR) | SELECT SUM(round) FROM table_name_44 WHERE event = "golden trophy 1999" |
What is Constellation, when HD Designation is "HD197076"? | CREATE TABLE table_name_82 (constellation VARCHAR, hd_designation VARCHAR) | SELECT constellation FROM table_name_82 WHERE hd_designation = "hd197076" |
How high is Macedonia's highest point? | CREATE TABLE table_name_53 (height__ft_ VARCHAR, country VARCHAR) | SELECT height__ft_ FROM table_name_53 WHERE country = "macedonia" |
If the working force of HK is 10.4%, what is the salary range? | CREATE TABLE table_27257896_2 (salary_range VARCHAR, working_force_of_hk VARCHAR) | SELECT salary_range FROM table_27257896_2 WHERE working_force_of_hk = "10.4%" |
Which was the team 1 that had a team 2 which was avigliano (basilicata)? | CREATE TABLE table_name_81 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_81 WHERE team_2 = "avigliano (basilicata)" |
What is the Name of the Quarterback with a Pick # less than 11? | CREATE TABLE table_name_90 (name VARCHAR, pick__number VARCHAR, position VARCHAR) | SELECT name FROM table_name_90 WHERE pick__number < 11 AND position = "quarterback" |
What kind of surface was the tournament at Pune played on? | CREATE TABLE table_name_56 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_56 WHERE tournament = "pune" |
What college has a position of defensive line and Grant high school? | CREATE TABLE table_name_5 (college VARCHAR, position VARCHAR, school VARCHAR) | SELECT college FROM table_name_5 WHERE position = "defensive line" AND school = "grant high school" |
Who has the highest Long with 59 Car? | CREATE TABLE table_name_91 (long INTEGER, car VARCHAR) | SELECT MAX(long) FROM table_name_91 WHERE car = 59 |
What was the winning team where Tim Macrow won the fastest lap on Queensland Raceway circuit? | CREATE TABLE table_22083044_2 (winning_team VARCHAR, circuit VARCHAR, fastest_lap VARCHAR) | SELECT winning_team FROM table_22083044_2 WHERE circuit = "Queensland Raceway" AND fastest_lap = "Tim Macrow" |
What is the lowest Pick #, when Position is REC, and when CFL Team is Hamilton Tiger-Cats? | CREATE TABLE table_name_62 (pick__number INTEGER, position VARCHAR, cfl_team VARCHAR) | SELECT MIN(pick__number) FROM table_name_62 WHERE position = "rec" AND cfl_team = "hamilton tiger-cats" |
What is the Spouse of the Duchess that has a Death on 6 april 1780? | CREATE TABLE table_name_61 (spouse VARCHAR, death VARCHAR) | SELECT spouse FROM table_name_61 WHERE death = "6 april 1780" |
show the lowest low temperature and highest wind speed in miles per hour. | CREATE TABLE weekly_weather (low_temperature INTEGER, wind_speed_mph INTEGER) | SELECT MIN(low_temperature), MAX(wind_speed_mph) FROM weekly_weather |
Which region in Saint-Simon-Les-Mines has a population smaller than 458? | CREATE TABLE table_name_9 (region INTEGER, name VARCHAR, population VARCHAR) | SELECT MAX(region) FROM table_name_9 WHERE name = "saint-simon-les-mines" AND population < 458 |
What is the mascot at Hamilton Community? | CREATE TABLE table_name_62 (mascot VARCHAR, school VARCHAR) | SELECT mascot FROM table_name_62 WHERE school = "hamilton community" |
What is the Record with a Date with 29 march 2008? | CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_27 WHERE date = "29 march 2008" |
What was the latest year that Colin Berry was the spokesperson? | CREATE TABLE table_17766232_7 (year_s_ INTEGER, spokesperson VARCHAR) | SELECT MAX(year_s_) FROM table_17766232_7 WHERE spokesperson = "Colin Berry" |
What is the average draw for 186 games? | CREATE TABLE table_name_33 (draw INTEGER, total_games VARCHAR) | SELECT AVG(draw) FROM table_name_33 WHERE total_games = 186 |
What Label released an album in August 1996? | CREATE TABLE table_name_84 (label VARCHAR, release_date VARCHAR) | SELECT label FROM table_name_84 WHERE release_date = "august 1996" |
Which player is from the United States, and played for the Bowling Green Falcons (CCHA) as their College/Junior/Club Team (League)? | CREATE TABLE table_name_38 (player VARCHAR, nationality VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT player FROM table_name_38 WHERE nationality = "united states" AND college_junior_club_team__league_ = "bowling green falcons (ccha)" |
When is a Decision of osgood, and a Score of 6 – 7? | CREATE TABLE table_name_76 (date VARCHAR, decision VARCHAR, score VARCHAR) | SELECT date FROM table_name_76 WHERE decision = "osgood" AND score = "6 – 7" |
How many bonus points did the club who had 18 losses have? | CREATE TABLE table_27293285_2 (bonus_points VARCHAR, lost VARCHAR) | SELECT bonus_points FROM table_27293285_2 WHERE lost = "18" |
In Round 6, how many winning drivers were there? | CREATE TABLE table_11056278_3 (winning_driver VARCHAR, rnd VARCHAR) | SELECT COUNT(winning_driver) FROM table_11056278_3 WHERE rnd = 6 |
Who won the match when the margin was 131 runs? | CREATE TABLE table_22384475_1 (winner VARCHAR, margin VARCHAR) | SELECT winner FROM table_22384475_1 WHERE margin = "131 runs" |
What is Country, when Year is "1994"? | CREATE TABLE table_name_93 (country VARCHAR, year VARCHAR) | SELECT country FROM table_name_93 WHERE year = 1994 |
What is every value for % 20-39 if % 0-19 is 21,11%? | CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_0_19 VARCHAR) | SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_0_19 = "21,11%" |
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 score FROM table_name_74 WHERE home_team = "ipswich town" AND tie_no = "replay" |
What nationality is pick # 89 | CREATE TABLE table_1213511_7 (nationality VARCHAR, pick__number VARCHAR) | SELECT nationality FROM table_1213511_7 WHERE pick__number = 89 |
Which Game site has 27,189 Attendances ? | CREATE TABLE table_name_99 (game_site VARCHAR, attendance VARCHAR) | SELECT game_site FROM table_name_99 WHERE attendance = "27,189" |
What rank is the title with a gross of $26,589,355? | CREATE TABLE table_name_21 (rank VARCHAR, gross VARCHAR) | SELECT rank FROM table_name_21 WHERE gross = "$26,589,355" |
What year was remark #104 us? | CREATE TABLE table_name_58 (year VARCHAR, remark VARCHAR) | SELECT year FROM table_name_58 WHERE remark = "#104 us" |
What is the average earnings ($) that has meg mallon as the player, with a rank less than 9? | CREATE TABLE table_name_58 (earnings___ INTEGER, player VARCHAR, rank VARCHAR) | SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE player = "meg mallon" AND rank < 9 |
When Cancelable of yes, and a Type of drag, what was the Category? | CREATE TABLE table_name_72 (category VARCHAR, cancelable VARCHAR, type VARCHAR) | SELECT category FROM table_name_72 WHERE cancelable = "yes" AND type = "drag" |
What race was a round smaller than 8, on 6 july? | CREATE TABLE table_name_45 (race VARCHAR, round VARCHAR, date VARCHAR) | SELECT race FROM table_name_45 WHERE round < 8 AND date = "6 july" |
who is the winners where season result is 7th | CREATE TABLE table_1139835_3 (winners VARCHAR, season_result VARCHAR) | SELECT winners FROM table_1139835_3 WHERE season_result = "7th" |
What is the name of the race held most recently? | CREATE TABLE races (name VARCHAR, date VARCHAR) | SELECT name FROM races ORDER BY date DESC LIMIT 1 |
Which circuit has a length of 45 minutes and is held on August 6? | CREATE TABLE table_name_78 (circuit VARCHAR, length VARCHAR, date VARCHAR) | SELECT circuit FROM table_name_78 WHERE length = "45 minutes" AND date = "august 6" |
What day does the team play at western oval? | CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_59 WHERE venue = "western oval" |
What was the source for the person named Cresswell? | CREATE TABLE table_name_89 (source VARCHAR, name VARCHAR) | SELECT source FROM table_name_89 WHERE name = "cresswell" |
Which venue closed in 1996? | CREATE TABLE table_name_86 (venue VARCHAR, closed VARCHAR) | SELECT venue FROM table_name_86 WHERE closed = "1996" |
What is the total population with less than 789 males? | CREATE TABLE table_name_12 (total_population VARCHAR, male INTEGER) | SELECT COUNT(total_population) FROM table_name_12 WHERE male < 789 |
Which date held the match at the City Stadium, Georgetown? | CREATE TABLE table_name_7 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_7 WHERE venue = "city stadium, georgetown" |
How many results have Jere Cooper as incumbent? | CREATE TABLE table_1342249_42 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342249_42 WHERE incumbent = "Jere Cooper" |
Name the date for moonee valley | CREATE TABLE table_2062148_4 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_2062148_4 WHERE venue = "Moonee Valley" |
Who constructed grid 14? | CREATE TABLE table_name_34 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_34 WHERE grid = 14 |
What was the result of week 11? | CREATE TABLE table_name_1 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_1 WHERE week = 11 |
What is the largest crowd at Lake Oval? | CREATE TABLE table_name_52 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_52 WHERE venue = "lake oval" |
Which Competition has a Year smaller than 2009, and Notes of 56.16 m? | CREATE TABLE table_name_13 (competition VARCHAR, year VARCHAR, notes VARCHAR) | SELECT competition FROM table_name_13 WHERE year < 2009 AND notes = "56.16 m" |
How many stages of the rally took 14:33.9 for the leader to finish? | CREATE TABLE table_21326205_2 (length VARCHAR, time VARCHAR) | SELECT COUNT(length) FROM table_21326205_2 WHERE time = "14:33.9" |
What is the sum of Events when the top-25 is more than 5, and the top-10 is less than 4, and wins is more than 2? | CREATE TABLE table_name_88 (events INTEGER, wins VARCHAR, top_25 VARCHAR, top_10 VARCHAR) | SELECT SUM(events) FROM table_name_88 WHERE top_25 > 5 AND top_10 < 4 AND wins > 2 |
How many birthdays does Earl Hanley Beshlin have? | CREATE TABLE table_10284385_1 (date_of_birth VARCHAR, representative VARCHAR) | SELECT COUNT(date_of_birth) FROM table_10284385_1 WHERE representative = "Earl Hanley Beshlin" |
Who was the away team when the home team Manchester United played? | CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_54 WHERE home_team = "manchester united" |
What are the ties for division of bafl division two south? | CREATE TABLE table_name_8 (ties VARCHAR, division VARCHAR) | SELECT ties FROM table_name_8 WHERE division = "bafl division two south" |
How many 5+/inns have tyron henderson as the player, with wickets less than 21? | CREATE TABLE table_name_40 (_inns VARCHAR, player VARCHAR, wickets VARCHAR) | SELECT COUNT(5) + _inns FROM table_name_40 WHERE player = "tyron henderson" AND wickets < 21 |
What was the final result when the viewers selected ejay? | CREATE TABLE table_15162503_1 (result VARCHAR, viewers_selection VARCHAR) | SELECT result FROM table_15162503_1 WHERE viewers_selection = "Ejay" |
What is the kickoff that has a NFL.com recap, is played before week 17, and is played at arrowhead stadium? | CREATE TABLE table_name_53 (kickoff VARCHAR, game_site VARCHAR, nflcom_recap VARCHAR, week VARCHAR) | SELECT kickoff FROM table_name_53 WHERE nflcom_recap = "recap" AND week < 17 AND game_site = "arrowhead stadium" |
What is the home city for the team whose home ground is dnb nor arena? | CREATE TABLE table_2522473_1 (home_city VARCHAR, home_ground VARCHAR) | SELECT home_city FROM table_2522473_1 WHERE home_ground = "DnB Nor Arena" |
Show names of musicals which have at least three actors. | CREATE TABLE actor (Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR) | SELECT T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID HAVING COUNT(*) >= 3 |
On what Date was the Score 105-128? | CREATE TABLE table_name_14 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_14 WHERE score = "105-128" |
In 1976, who was the reporter for the Belmont Stakes? | CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR) | SELECT reporters FROM table_22583466_5 WHERE year = 1976 |
What was the attendance for St Andrew's? | CREATE TABLE table_name_17 (attendance VARCHAR, venue VARCHAR) | SELECT attendance FROM table_name_17 WHERE venue = "st andrew's" |
What is the smallest apps in Honduras with less than 2 goals for Club Deportivo Victoria in a division over 1? | CREATE TABLE table_name_79 (apps INTEGER, division VARCHAR, team VARCHAR, country VARCHAR, goals VARCHAR) | SELECT MIN(apps) FROM table_name_79 WHERE country = "honduras" AND goals < 2 AND team = "club deportivo victoria" AND division > 1 |
Who was the winning team for round 3? | CREATE TABLE table_name_1 (winning_team VARCHAR, round VARCHAR) | SELECT winning_team FROM table_name_1 WHERE round = "3" |
When the Home team was Carlton, what was the Away team score? | CREATE TABLE table_name_90 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_90 WHERE home_team = "carlton" |
What is the average capacity that has foligno as the city? | CREATE TABLE table_name_85 (capacity INTEGER, city VARCHAR) | SELECT AVG(capacity) FROM table_name_85 WHERE city = "foligno" |
Which Winning constructor has a Winning driver of felice nazzaro? | CREATE TABLE table_name_52 (winning_constructor VARCHAR, winning_driver VARCHAR) | SELECT winning_constructor FROM table_name_52 WHERE winning_driver = "felice nazzaro" |
Which year did Ray Crawford the Kurtis Kraft 500g chassis? | CREATE TABLE table_name_70 (year VARCHAR, chassis VARCHAR) | SELECT year FROM table_name_70 WHERE chassis = "kurtis kraft 500g" |
Who was the opponent in week 14? | CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_28 WHERE week = 14 |
What is the Date, when the Record is, "track", when the Time (seconds) is longer than 43.564, and when the Sport is luge - women's singles? | CREATE TABLE table_name_66 (date VARCHAR, sport VARCHAR, record VARCHAR, time__seconds_ VARCHAR) | SELECT date FROM table_name_66 WHERE record = "track" AND time__seconds_ > 43.564 AND sport = "luge - women's singles" |
What is the date when the opponent is the New England Patriots? | CREATE TABLE table_18847736_2 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_18847736_2 WHERE opponent = "New England Patriots" |
What is the Riding, when the Rank is 4th? | CREATE TABLE table_name_47 (riding VARCHAR, rank VARCHAR) | SELECT riding FROM table_name_47 WHERE rank = "4th" |
What is the safari value with a 2.4% opera and 29.9% internet explorer? | CREATE TABLE table_name_7 (safari VARCHAR, opera VARCHAR, internet_explorer VARCHAR) | SELECT safari FROM table_name_7 WHERE opera = "2.4%" AND internet_explorer = "29.9%" |
Find the number of members living in each address. | CREATE TABLE member (address VARCHAR) | SELECT COUNT(*), address FROM member GROUP BY address |
What is the minimum Wins a team has? | CREATE TABLE table_16922657_2 (w INTEGER) | SELECT MIN(w) FROM table_16922657_2 |
what is the maximum first elected with incumbent being gus yatron | CREATE TABLE table_1341586_39 (first_elected INTEGER, incumbent VARCHAR) | SELECT MAX(first_elected) FROM table_1341586_39 WHERE incumbent = "Gus Yatron" |
What was the year for the film "Vitus"? | CREATE TABLE table_22034853_1 (year__ceremony_ VARCHAR, original_title VARCHAR) | SELECT year__ceremony_ FROM table_22034853_1 WHERE original_title = "Vitus" |
What is the team 2 with turnovo as team 1? | CREATE TABLE table_name_6 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_6 WHERE team_1 = "turnovo" |
How many civil liberties 2013 values are associated with a 2010 political rights value of 6, civil liberties 2012 values over 5, and political rights 2011 under 6? | CREATE TABLE table_name_42 (civil_liberties_2013 VARCHAR, political_rights_2011 VARCHAR, political_rights_2010 VARCHAR, civil_liberties_2012 VARCHAR) | SELECT COUNT(civil_liberties_2013) FROM table_name_42 WHERE political_rights_2010 = 6 AND civil_liberties_2012 > 5 AND political_rights_2011 < 6 |
Show details of all investors if they make any transaction with share count greater than 100. | CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR) | SELECT T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id WHERE T2.share_count > 100 |
Who is the rider with 22 laps and a +1:44.775 time/retired? | CREATE TABLE table_name_70 (rider VARCHAR, laps VARCHAR, time_retired VARCHAR) | SELECT rider FROM table_name_70 WHERE laps = "22" AND time_retired = "+1:44.775" |
What is the smallest pick for the player, brett lindros? | CREATE TABLE table_1013129_1 (pick INTEGER, player VARCHAR) | SELECT MIN(pick) FROM table_1013129_1 WHERE player = "Brett Lindros" |
Which country has a rank of 5? | CREATE TABLE table_14752049_1 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_14752049_1 WHERE rank = 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.