question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
when was the episode guest starring michael mcintyre and alex james broadcasted
CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, guest_s_ VARCHAR)
SELECT broadcast_date FROM table_29135051_3 WHERE guest_s_ = "Michael McIntyre and Alex James"
What is the U.S. air date when the U.S. viewers are 7.5 million?
CREATE TABLE table_2866503_1 (us_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT us_air_date FROM table_2866503_1 WHERE us_viewers__million_ = "7.5"
Name the total number of overall for villanova and round less than 2
CREATE TABLE table_name_20 (overall VARCHAR, college VARCHAR, round VARCHAR)
SELECT COUNT(overall) FROM table_name_20 WHERE college = "villanova" AND round < 2
How many high schoolers are there?
CREATE TABLE Highschooler (Id VARCHAR)
SELECT COUNT(*) FROM Highschooler
What was the highest vote number for Bush?
CREATE TABLE table_1756284_1 (bush_number INTEGER)
SELECT MAX(bush_number) FROM table_1756284_1
Who was the away team for the game with a score of 139-119?
CREATE TABLE table_name_75 (away_team VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_75 WHERE score = "139-119"
What building is in ljubljana, proposed in 2010, and has 15 floors?
CREATE TABLE table_name_21 (name VARCHAR, floors VARCHAR, location VARCHAR, year_proposed VARCHAR)
SELECT name FROM table_name_21 WHERE location = "ljubljana" AND year_proposed = "2010" AND floors = "15"
Show the name and location of track with 1 race.
CREATE TABLE race (track_id VARCHAR); CREATE TABLE track (name VARCHAR, location VARCHAR, track_id VARCHAR)
SELECT T2.name, T2.location FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id GROUP BY T1.track_id HAVING COUNT(*) = 1
Tell me the average bronze for rank of 43 and total less than 11
CREATE TABLE table_name_41 (bronze INTEGER, rank VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_41 WHERE rank = "43" AND total < 11
The common of Chieri has what population density?
CREATE TABLE table_1449176_1 (density__inhabitants_km_2__ VARCHAR, common_of VARCHAR)
SELECT density__inhabitants_km_2__ FROM table_1449176_1 WHERE common_of = "Chieri"
What format is catalogue 148615 in?
CREATE TABLE table_name_78 (format VARCHAR, catalogue VARCHAR)
SELECT format FROM table_name_78 WHERE catalogue = "148615"
With a score of 68-65=133 and United States as the country what is the To par?
CREATE TABLE table_name_66 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_66 WHERE country = "united states" AND score = 68 - 65 = 133
how many times did tunde abdulrahman leave the team?
CREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
SELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = "Tunde Abdulrahman"
Where was the location where justin robbins fought against billy kidd?
CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_1 WHERE opponent = "billy kidd"
What Location Attendance has an Opponent of at denver nuggets?
CREATE TABLE table_name_66 (location_attendance VARCHAR, opponent VARCHAR)
SELECT location_attendance FROM table_name_66 WHERE opponent = "at denver nuggets"
What is the total average for long 10?
CREATE TABLE table_name_25 (avg VARCHAR, long VARCHAR)
SELECT COUNT(avg) FROM table_name_25 WHERE long = 10
How many genes are in species burkholderia pseudomallei with 4,126,292 base pairs?
CREATE TABLE table_name_13 (genes VARCHAR, species VARCHAR, base_pairs VARCHAR)
SELECT genes FROM table_name_13 WHERE species = "burkholderia pseudomallei" AND base_pairs = "4,126,292"
What is the Time/Retired with more Laps than 34, a Grid smaller than 15, and Driver Damon Hill?
CREATE TABLE table_name_88 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_88 WHERE laps > 34 AND grid < 15 AND driver = "damon hill"
Find the name of tracks which are in Movies playlist but not in music playlist.
CREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR)
SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Movies' EXCEPT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Music'
What is the relationship of the woman who died at 96?
CREATE TABLE table_name_95 (relationship VARCHAR, age_at_death VARCHAR)
SELECT relationship FROM table_name_95 WHERE age_at_death = "96"
Which capacity has the class 4c3h?
CREATE TABLE table_name_37 (capacity VARCHAR, class VARCHAR)
SELECT capacity FROM table_name_37 WHERE class = "4c3h"
Which box score has a Loss of capuano (5–5)?
CREATE TABLE table_name_82 (boxscore VARCHAR, loss VARCHAR)
SELECT boxscore FROM table_name_82 WHERE loss = "capuano (5–5)"
How many people were pick #30?
CREATE TABLE table_10812403_4 (position VARCHAR, pick__number VARCHAR)
SELECT COUNT(position) FROM table_10812403_4 WHERE pick__number = 30
What is the Report for 08 jul, and a Score of 3–1?
CREATE TABLE table_name_79 (report VARCHAR, date VARCHAR, score VARCHAR)
SELECT report FROM table_name_79 WHERE date = "08 jul" AND score = "3–1"
Name who drected the episode written by george tibbles
CREATE TABLE table_2342078_6 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_2342078_6 WHERE written_by = "George Tibbles"
Who built the grid 2 car?
CREATE TABLE table_name_40 (constructor VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_40 WHERE grid = 2
How many times has the score been 6–4, 3–6, [11–13]?
CREATE TABLE table_29163303_4 (opponent VARCHAR, score VARCHAR)
SELECT COUNT(opponent) FROM table_29163303_4 WHERE score = "6–4, 3–6, [11–13]"
Which Bronze has a Rank of 4, and a Gold smaller than 0?
CREATE TABLE table_name_7 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
SELECT MAX(bronze) FROM table_name_7 WHERE rank = 4 AND gold < 0
How many f/laps did Pedro Nunes have when he was in 20th position?
CREATE TABLE table_25386974_1 (f_laps VARCHAR, position VARCHAR)
SELECT COUNT(f_laps) FROM table_25386974_1 WHERE position = "20th"
What year did Yuri Omeltchenko win Silver?
CREATE TABLE table_name_57 (year VARCHAR, silver VARCHAR)
SELECT year FROM table_name_57 WHERE silver = "yuri omeltchenko"
What is the series episode number that is larger than 262 and has a Segment A entry of Aluminium s canoe?
CREATE TABLE table_name_60 (series_ep VARCHAR, episode VARCHAR, segment_a VARCHAR)
SELECT series_ep FROM table_name_60 WHERE episode > 262 AND segment_a = "aluminium s canoe"
On what date did a streak start on November 14?
CREATE TABLE table_name_30 (streak VARCHAR, date VARCHAR)
SELECT streak FROM table_name_30 WHERE date = "november 14"
What streak start has a total less than 79, 22t as the rank, and tampa bay as the teams?
CREATE TABLE table_name_28 (streak_start VARCHAR, teams VARCHAR, total VARCHAR, rank VARCHAR)
SELECT streak_start FROM table_name_28 WHERE total < 79 AND rank = "22t" AND teams = "tampa bay"
What is the highest In service for a vessel with a listed Unit of 12th minesweeper squadron?
CREATE TABLE table_name_37 (in_service INTEGER, unit VARCHAR)
SELECT MAX(in_service) FROM table_name_37 WHERE unit = "12th minesweeper squadron"
Where was the game with a result of won 5-0?
CREATE TABLE table_name_6 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_6 WHERE result = "won 5-0"
What was the result for the dance that tonioli's scored an 8 and horwood scored a 6?
CREATE TABLE table_2803106_1 (result VARCHAR, tonioli VARCHAR, horwood VARCHAR)
SELECT result FROM table_2803106_1 WHERE tonioli = "8" AND horwood = "6"
What award is featured in 1992?
CREATE TABLE table_name_18 (award VARCHAR, year VARCHAR)
SELECT award FROM table_name_18 WHERE year = 1992
what's the won with try bonus being 8
CREATE TABLE table_13758945_3 (won VARCHAR, try_bonus VARCHAR)
SELECT won FROM table_13758945_3 WHERE try_bonus = "8"
What date has a Tie Number of 4?
CREATE TABLE table_name_92 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_92 WHERE tie_no = "4"
WHAT LABEL HAD A RELEASE DATE OF 1991?
CREATE TABLE table_name_80 (label VARCHAR, date_of_release VARCHAR)
SELECT label FROM table_name_80 WHERE date_of_release = 1991
Round 4 for larger than 19 Round 1 and a 27 Round 2?
CREATE TABLE table_name_45 (round_4 VARCHAR, round_1 VARCHAR, round_2 VARCHAR)
SELECT round_4 FROM table_name_45 WHERE round_1 > 19 AND round_2 = "27"
Find the names of departments that are either in division AS or in division EN and in Building NEB.
CREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR)
SELECT DName FROM DEPARTMENT WHERE Division = "AS" UNION SELECT DName FROM DEPARTMENT WHERE Division = "EN" AND Building = "NEB"
When roxanne and daniel are the couple what is the highest rank?
CREATE TABLE table_19744915_18 (rank INTEGER, couple VARCHAR)
SELECT MAX(rank) FROM table_19744915_18 WHERE couple = "Roxanne and Daniel"
What party is John McHugh a member of?
CREATE TABLE table_1341453_34 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341453_34 WHERE incumbent = "John McHugh"
What is listed for the Elector that also has the Cardinalatial title of Priest of S. Marco?
CREATE TABLE table_name_86 (elector VARCHAR, cardinalatial_title VARCHAR)
SELECT elector FROM table_name_86 WHERE cardinalatial_title = "priest of s. marco"
What is the year with a Kurtis Kraft 500a chassis, and less than 1.5 points?
CREATE TABLE table_name_10 (year INTEGER, chassis VARCHAR, points VARCHAR)
SELECT SUM(year) FROM table_name_10 WHERE chassis = "kurtis kraft 500a" AND points < 1.5
List the branding name for channel tv-62.
CREATE TABLE table_2523809_1 (branding VARCHAR, channel VARCHAR)
SELECT branding FROM table_2523809_1 WHERE channel = "TV-62"
who directed the movie written by is sib ventress / aydrea ten bosch
CREATE TABLE table_10269427_3 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_10269427_3 WHERE written_by = "Sib Ventress / Aydrea ten Bosch"
What is Home Team, when Date is 18 February 1956, and when Away Team is Blackburn Rovers?
CREATE TABLE table_name_59 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_59 WHERE date = "18 february 1956" AND away_team = "blackburn rovers"
Who was the opponent on June 3?
CREATE TABLE table_name_50 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_50 WHERE date = "june 3"
What is the date the Fubuki ship laid down?
CREATE TABLE table_name_76 (laid_down VARCHAR, name VARCHAR)
SELECT laid_down FROM table_name_76 WHERE name = "fubuki"
Return the country name and the numbers of languages spoken for each country that speaks at least 3 languages.
CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
SELECT COUNT(T2.Language), T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2
What country had a r3 at 72, by Larry Mize?
CREATE TABLE table_18812411_3 (country VARCHAR, r3 VARCHAR, player VARCHAR)
SELECT country FROM table_18812411_3 WHERE r3 = 72 AND player = "Larry Mize"
In what Year was the Game on September 26?
CREATE TABLE table_name_54 (year INTEGER, date VARCHAR)
SELECT SUM(year) FROM table_name_54 WHERE date = "september 26"
What 2012 has q2 as the 2010, and wimbledon as the tournament?
CREATE TABLE table_name_31 (tournament VARCHAR)
SELECT 2012 FROM table_name_31 WHERE 2010 = "q2" AND tournament = "wimbledon"
What is the low lap total for a grid of 14?
CREATE TABLE table_name_12 (laps INTEGER, grid VARCHAR)
SELECT MIN(laps) FROM table_name_12 WHERE grid = 14
What is the brand where the location is Cagayan De Oro?
CREATE TABLE table_name_54 (branding VARCHAR, location VARCHAR)
SELECT branding FROM table_name_54 WHERE location = "cagayan de oro"
How many cabins were built in the time between 1967-1987?
CREATE TABLE table_name_51 (built VARCHAR, period VARCHAR)
SELECT built FROM table_name_51 WHERE period = "1967-1987"
Who was the successor for the new seat?
CREATE TABLE table_2147588_3 (successor VARCHAR, vacator VARCHAR)
SELECT successor FROM table_2147588_3 WHERE vacator = "New seat"
How many mls teams had player jamel wallace?
CREATE TABLE table_25518547_4 (mls_team VARCHAR, player VARCHAR)
SELECT COUNT(mls_team) FROM table_25518547_4 WHERE player = "Jamel Wallace"
Which airline has most number of flights?
CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR)
SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY COUNT(*) DESC LIMIT 1
when first elected was 1900 what was the district?
CREATE TABLE table_name_4 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_name_4 WHERE first_elected = "1900"
hat is the Airline when the EASA (EU) is yes?
CREATE TABLE table_name_55 (airline VARCHAR, easa__eu_ VARCHAR)
SELECT airline FROM table_name_55 WHERE easa__eu_ = "yes"
Name the total number of dates for toshiba classic
CREATE TABLE table_25938117_1 (date VARCHAR, tournament VARCHAR)
SELECT COUNT(date) FROM table_25938117_1 WHERE tournament = "Toshiba Classic"
What was the UDMR for 18-22/04/2009?
CREATE TABLE table_name_75 (udmr VARCHAR, date VARCHAR)
SELECT udmr FROM table_name_75 WHERE date = "18-22/04/2009"
Saint-Blaise-Sur-Richelieu is smaller than 68.42 km^2, what is the population of this type M municipality?
CREATE TABLE table_name_64 (population INTEGER, area__km_2__ VARCHAR, type VARCHAR, name VARCHAR)
SELECT MIN(population) FROM table_name_64 WHERE type = "m" AND name = "saint-blaise-sur-richelieu" AND area__km_2__ < 68.42
What is the Original Team of the Clothing Company Owner Candidate?
CREATE TABLE table_name_37 (original_team VARCHAR, background VARCHAR)
SELECT original_team FROM table_name_37 WHERE background = "clothing company owner"
Who had the high assist total on january 2?
CREATE TABLE table_17340355_7 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_17340355_7 WHERE date = "January 2"
WHAT ROUND HAS A GUARD POSITION AT OHIO COLLEGE?
CREATE TABLE table_name_18 (round VARCHAR, position VARCHAR, college VARCHAR)
SELECT round FROM table_name_18 WHERE position = "guard" AND college = "ohio"
What record was reached with a score of 7 - 2?
CREATE TABLE table_name_8 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_8 WHERE score = "7 - 2"
Which character was in the sexiest female category of the British Soap Awards?
CREATE TABLE table_name_59 (character VARCHAR, category VARCHAR, award VARCHAR)
SELECT character FROM table_name_59 WHERE category = "sexiest female" AND award = "british soap awards"
For all games with los angeles as visitor, what is the highest attendance of all?
CREATE TABLE table_name_12 (attendance INTEGER, visitor VARCHAR)
SELECT MAX(attendance) FROM table_name_12 WHERE visitor = "los angeles"
Who was the opponent on the game on April 14, 2007?
CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_60 WHERE date = "april 14, 2007"
Which loss was on June 13?
CREATE TABLE table_name_23 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_23 WHERE date = "june 13"
Who were the writers when there were 27.11 million viewers?
CREATE TABLE table_18217753_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT written_by FROM table_18217753_1 WHERE us_viewers__millions_ = "27.11"
What was the result of the game in week 4?
CREATE TABLE table_name_32 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_32 WHERE week = 4
When 10 is the number who is the writer?
CREATE TABLE table_24781886_2 (writer_s_ VARCHAR, _number VARCHAR)
SELECT writer_s_ FROM table_24781886_2 WHERE _number = 10
What's the meaning of the verb whose part 1 is slapen?
CREATE TABLE table_1745843_7 (verb_meaning VARCHAR, part_1 VARCHAR)
SELECT verb_meaning FROM table_1745843_7 WHERE part_1 = "slapen"
When mark critz (d) 50.8% tim burns (r) 49.2% are the candidates what is the party?
CREATE TABLE table_19753079_41 (party VARCHAR, candidates VARCHAR)
SELECT party FROM table_19753079_41 WHERE candidates = "Mark Critz (D) 50.8% Tim Burns (R) 49.2%"
What was the run 1 for the team with a run 3 of 1:21.4 and a run 4 of 1:23.0?
CREATE TABLE table_name_9 (run_1 VARCHAR, run_3 VARCHAR, run_4 VARCHAR)
SELECT run_1 FROM table_name_9 WHERE run_3 = "1:21.4" AND run_4 = "1:23.0"
Which tournaments was Ryan Palmer in as a runner-up?
CREATE TABLE table_name_40 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT tournament FROM table_name_40 WHERE runner_s__up = "ryan palmer"
Who wrote the episode with production code 5?
CREATE TABLE table_25679312_2 (written_by VARCHAR, prod_code VARCHAR)
SELECT written_by FROM table_25679312_2 WHERE prod_code = 5
What player had a To par smaller than 9 and won in 1985?
CREATE TABLE table_name_9 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_9 WHERE to_par < 9 AND year_s__won = "1985"
High points earned by Josh Howard (19) resulted in how many high rebounds?
CREATE TABLE table_17288869_7 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT COUNT(high_rebounds) FROM table_17288869_7 WHERE high_points = "Josh Howard (19)"
What is To Par, when Place is "T9", and when Player is "Lee Trevino"?
CREATE TABLE table_name_23 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_23 WHERE place = "t9" AND player = "lee trevino"
Which date was the show aired on the RTL Televizija network?
CREATE TABLE table_name_35 (date_aired VARCHAR, network VARCHAR)
SELECT date_aired FROM table_name_35 WHERE network = "rtl televizija"
What was the attendance for the game that had the king's lynn as the home team?
CREATE TABLE table_name_53 (attendance VARCHAR, home_team VARCHAR)
SELECT attendance FROM table_name_53 WHERE home_team = "king's lynn"
In what Round was Grant Long Drafted?
CREATE TABLE table_name_6 (round INTEGER, player VARCHAR)
SELECT MIN(round) FROM table_name_6 WHERE player = "grant long"
When was the Tennessee 3 district incumbent first elected?
CREATE TABLE table_1342233_42 (first_elected INTEGER, district VARCHAR)
SELECT MAX(first_elected) FROM table_1342233_42 WHERE district = "Tennessee 3"
How many assessment notes are there in total?
CREATE TABLE ASSESSMENT_NOTES (Id VARCHAR)
SELECT COUNT(*) FROM ASSESSMENT_NOTES
Tell me the revised of mccune reischauer of yŏn (s) ryŏn (n)
CREATE TABLE table_name_48 (revised VARCHAR, mccune_reischauer VARCHAR)
SELECT revised FROM table_name_48 WHERE mccune_reischauer = "yŏn (s) ryŏn (n)"
How many placings did Jacqueline du Bief earn where her total score is greater than 131.26?
CREATE TABLE table_name_72 (placings VARCHAR, total VARCHAR, name VARCHAR)
SELECT placings FROM table_name_72 WHERE total > 131.26 AND name = "jacqueline du bief"
What was the date with a hilly stage?
CREATE TABLE table_name_16 (date VARCHAR, type VARCHAR)
SELECT date FROM table_name_16 WHERE type = "hilly stage"
Who was the visiting team that played on September 15?
CREATE TABLE table_name_41 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_41 WHERE date = "september 15"
Which Number has a Name of hill, lucius t.?
CREATE TABLE table_name_41 (number INTEGER, name VARCHAR)
SELECT MAX(number) FROM table_name_41 WHERE name = "hill, lucius t."
How many games played on june 25?
CREATE TABLE table_13710464_1 (score VARCHAR, date VARCHAR)
SELECT COUNT(score) FROM table_13710464_1 WHERE date = "June 25"
What category was the winner in?
CREATE TABLE table_name_45 (category VARCHAR, outcome VARCHAR)
SELECT category FROM table_name_45 WHERE outcome = "winner"
Tell me the scoring average for year less than 1998 and wins more than 3
CREATE TABLE table_name_92 (scoring_average VARCHAR, year VARCHAR, wins VARCHAR)
SELECT scoring_average FROM table_name_92 WHERE year < 1998 AND wins > 3
What is the ad frequency for the show named Health Matters?
CREATE TABLE table_name_58 (ad_freq VARCHAR, show_name VARCHAR)
SELECT ad_freq FROM table_name_58 WHERE show_name = "health matters"
What is the lowest earnings for a player with over 24 wins?
CREATE TABLE table_name_65 (earnings__ INTEGER, wins INTEGER)
SELECT MIN(earnings__) AS $__ FROM table_name_65 WHERE wins > 24