answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT artist FROM table_name_94 WHERE spoofed_title = "miscue 911"
Which artist has the Spoofed title Miscue 911?
CREATE TABLE table_name_94 (artist VARCHAR, spoofed_title VARCHAR)
SELECT score FROM table_name_41 WHERE player = "vijay singh"
What is Score, when Player is "Vijay Singh"?
CREATE TABLE table_name_41 (score VARCHAR, player VARCHAR)
SELECT method FROM table_name_68 WHERE opponent = "travis fulton"
Which method had Travis Fulton as an opponent?
CREATE TABLE table_name_68 (method VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_65 WHERE location = "north carolina" AND tournament = "kmart greater greensboro open"
What is the date of the Kmart greater greensboro open in North Carolina?
CREATE TABLE table_name_65 (date VARCHAR, location VARCHAR, tournament VARCHAR)
SELECT year FROM table_name_21 WHERE engine_code = "m57d30"
From what year is the engine with engine code M57D30?
CREATE TABLE table_name_21 (year VARCHAR, engine_code VARCHAR)
SELECT latin FROM table_name_64 WHERE virtue = "temperance"
What is the Virtue of Temperance in Latin?
CREATE TABLE table_name_64 (latin VARCHAR, virtue VARCHAR)
SELECT year_to_april FROM table_18077713_1 WHERE revenue__us_$million_ = "434.8"
What is the year to april when the revenue is 434.8 million dollars?
CREATE TABLE table_18077713_1 (year_to_april VARCHAR, revenue__us_$million_ VARCHAR)
SELECT rank_points FROM table_name_42 WHERE score_points = "olympic silver medalist"
Which Rank points has a Score points of olympic silver medalist?
CREATE TABLE table_name_42 (rank_points VARCHAR, score_points VARCHAR)
SELECT record FROM table_name_36 WHERE date = "12 december"
What is the record for the date of 12 december?
CREATE TABLE table_name_36 (record VARCHAR, date VARCHAR)
SELECT home FROM table_name_51 WHERE points = 31 AND score = "1 - 5"
Points of 31, and a Score of 1 - 5 is what home?
CREATE TABLE table_name_51 (home VARCHAR, points VARCHAR, score VARCHAR)
SELECT home_team AS score FROM table_name_7 WHERE home_team = "fitzroy"
In fitzroy's match where they were the home team, how much did they score?
CREATE TABLE table_name_7 (home_team VARCHAR)
SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = "AHD"
What are airlines that have flights arriving at airport 'AHD'?
CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR); CREATE TABLE FLIGHTS (Airline VARCHAR, DestAirport VARCHAR)
SELECT rank FROM table_name_17 WHERE cause_of_death = "gunfire" AND badge_serial_number = "11755"
What is the Rank of the Officer with Badge/Serial Number 11755 who died in Gunfire?
CREATE TABLE table_name_17 (rank VARCHAR, cause_of_death VARCHAR, badge_serial_number VARCHAR)
SELECT SUM(cuts_made) FROM table_name_72 WHERE top_10 < 2
What are the Cuts made with a Top-10 smaller than 2?
CREATE TABLE table_name_72 (cuts_made INTEGER, top_10 INTEGER)
SELECT MIN(touchdowns) FROM table_25711913_8 WHERE position = "Fullback"
How many touchdowns did the fullback score?
CREATE TABLE table_25711913_8 (touchdowns INTEGER, position VARCHAR)
SELECT winner FROM table_20884160_1 WHERE circuit = "Barbagallo Raceway"
Who was the winner of the race at barbagallo raceway?
CREATE TABLE table_20884160_1 (winner VARCHAR, circuit VARCHAR)
SELECT SUM(attendance) FROM table_name_39 WHERE opponent = "at los angeles rams"
What is the sum of attendance for the games played at Los Angeles Rams?
CREATE TABLE table_name_39 (attendance INTEGER, opponent VARCHAR)
SELECT AVG(week) FROM table_name_17 WHERE attendance = 75 OFFSET 111
Name the average week for attendance of 75,111
CREATE TABLE table_name_17 (week INTEGER, attendance VARCHAR)
SELECT SUM(game) FROM table_name_87 WHERE opponent = "@ chicago stags"
what is the game when the opponent is @ chicago stags?
CREATE TABLE table_name_87 (game INTEGER, opponent VARCHAR)
SELECT SUM(draws) FROM table_name_61 WHERE against < 2284 AND losses = 8 AND wins > 10
What is the sum of the draws with less than 2284 against, 8 losses, and more than 10 wins?
CREATE TABLE table_name_61 (draws INTEGER, wins VARCHAR, against VARCHAR, losses VARCHAR)
SELECT opposition FROM table_name_39 WHERE stadium = "11,682 excl. exhibition match"
Who was the opposition at 11,682 excl. exhibition match?
CREATE TABLE table_name_39 (opposition VARCHAR, stadium VARCHAR)
SELECT nba_draft FROM table_name_56 WHERE player = "dwayne washington"
What is the NBA draft result of Dwayne Washington?
CREATE TABLE table_name_56 (nba_draft VARCHAR, player VARCHAR)
SELECT overall_record FROM table_name_28 WHERE school = "milford"
What is the Overall Record for the School in Milford?
CREATE TABLE table_name_28 (overall_record VARCHAR, school VARCHAR)
SELECT away_team FROM table_name_95 WHERE home_team = "brighton & hove albion"
Who was the away team when Brighton & Hove Albion was home?
CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)
SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.sex = "F"
Find all the female members of club "Bootup Baltimore". Show the first name and last name.
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
SELECT date FROM table_18904831_6 WHERE high_rebounds = "McWilliams-Franklin (8)"
When mcwilliams-franklin (8) has the highest rebounds what is the date?
CREATE TABLE table_18904831_6 (date VARCHAR, high_rebounds VARCHAR)
SELECT away_team FROM table_name_30 WHERE tie_no > 13 AND home_team = "team bath"
who is the away team when the tie no is more than 13 and the home team is team bath?
CREATE TABLE table_name_30 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR)
SELECT AVG(year) FROM table_name_22 WHERE result = "24-14"
What year was the game that ended with a score of 24-14?
CREATE TABLE table_name_22 (year INTEGER, result VARCHAR)
SELECT general_classification FROM table_name_96 WHERE stage = "4"
What general classification has 4 as the stage?
CREATE TABLE table_name_96 (general_classification VARCHAR, stage VARCHAR)
SELECT SUM(crowd) FROM table_name_46 WHERE home_team = "carlton"
I want to know the crowd with a home team of carlton
CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(points) FROM table_name_36 WHERE goals_scored < 25 AND draws = 3 AND games_played > 21
What is the most points scored for teams with under 25 goals scored, 3 draws, and more than 21 games played?
CREATE TABLE table_name_36 (points INTEGER, games_played VARCHAR, goals_scored VARCHAR, draws VARCHAR)
SELECT lead FROM table_name_39 WHERE skip = "wang bingyu" AND event = "2009 wcc"
What was the Lead for the 2009 WCC when Wang Bingyu news was the skip?
CREATE TABLE table_name_39 (lead VARCHAR, skip VARCHAR, event VARCHAR)
SELECT time FROM table_name_16 WHERE rank = 6
Rank of 6 has what time?
CREATE TABLE table_name_16 (time VARCHAR, rank VARCHAR)
SELECT colour_commentator_s_ FROM table_name_58 WHERE play_by_play = "bob cole"
Who was the colour commentator when the play-by-play announcer was Bob Cole?
CREATE TABLE table_name_58 (colour_commentator_s_ VARCHAR, play_by_play VARCHAR)
SELECT TMS AS number FROM table_1166023_1 WHERE builder = "NZR Addington" AND year_built = 1913
What tms were built nzr addington in the year 1913
CREATE TABLE table_1166023_1 (TMS VARCHAR, builder VARCHAR, year_built VARCHAR)
SELECT attendance FROM table_name_99 WHERE date = "august 15"
What is the Attendance on august 15?
CREATE TABLE table_name_99 (attendance VARCHAR, date VARCHAR)
SELECT MAX(games) FROM table_name_26 WHERE drawn < 0
Which Games is the highest one that has a Drawn smaller than 0?
CREATE TABLE table_name_26 (games INTEGER, drawn INTEGER)
SELECT official_registration_notes FROM table_1160660_1 WHERE website = "usek.edu.lb"
Are there registration notes on usek.edu.lb?
CREATE TABLE table_1160660_1 (official_registration_notes VARCHAR, website VARCHAR)
SELECT score FROM table_name_47 WHERE tournament = "dutch open" AND opponent = "wong choong hann"
What was the score of the player who played against Wong Choong Hann in the Dutch Open?
CREATE TABLE table_name_47 (score VARCHAR, tournament VARCHAR, opponent VARCHAR)
SELECT _percentage_in_seats_contested FROM table_20728138_1 WHERE party = "Revolutionary Socialist party"
What is the percentage seats contested for the revolutionary socialist party?
CREATE TABLE table_20728138_1 (_percentage_in_seats_contested VARCHAR, party VARCHAR)
SELECT away_team FROM table_name_29 WHERE venue = "corio oval"
In the match as corio oval, who was the away team?
CREATE TABLE table_name_29 (away_team VARCHAR, venue VARCHAR)
SELECT AVG(to_par) FROM table_name_22 WHERE player = "julius boros"
What is the average To Par, when Player is "Julius Boros"?
CREATE TABLE table_name_22 (to_par INTEGER, player VARCHAR)
SELECT score FROM table_name_85 WHERE competition = "2006 fifa world cup qualification"
What is the score of the 2006 Fifa World Cup Qualification?
CREATE TABLE table_name_85 (score VARCHAR, competition VARCHAR)
SELECT MAX(against) FROM table_name_19 WHERE date = "12/04/1969"
What is the highest number against on 12/04/1969?
CREATE TABLE table_name_19 (against INTEGER, date VARCHAR)
SELECT pick__number FROM table_name_15 WHERE name = "bill atessis"
Name the pick number for bill atessis
CREATE TABLE table_name_15 (pick__number VARCHAR, name VARCHAR)
SELECT to_par FROM table_name_21 WHERE player = "bert yancey"
What was Bert Yancey's finishing score to par?
CREATE TABLE table_name_21 (to_par VARCHAR, player VARCHAR)
SELECT call_sign FROM table_name_16 WHERE frequency_mhz < 95.5 AND erp_w > 10
What is the call sign when the frequency is less than 95.5 MHz, and a ERP W is higher than 10?
CREATE TABLE table_name_16 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT DISTINCT channel_code FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Tillman Ernser"
Which contact channel has been used by the customer with name "Tillman Ernser"?
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (customer_id VARCHAR)
SELECT year FROM table_name_45 WHERE tournament_venue = "richmond arena" AND record = "12–1" AND regular_season_champion_s_ = "virginia tech"
When has a Tournament venue of richmond arena, and a Record of 12–1, and a Regular Season Champion(s) of virginia tech?
CREATE TABLE table_name_45 (year VARCHAR, regular_season_champion_s_ VARCHAR, tournament_venue VARCHAR, record VARCHAR)
SELECT segment_b FROM table_name_34 WHERE netflix = "s01e21"
What was the segment b for Netflix s01e21?
CREATE TABLE table_name_34 (segment_b VARCHAR, netflix VARCHAR)
SELECT SUM(pts) FROM table_name_37 WHERE engine = "ferrari tipo 033 v6 tc" AND year > 1987
How many points have an Engine of ferrari tipo 033 v6 tc, and a Year larger than 1987?
CREATE TABLE table_name_37 (pts INTEGER, engine VARCHAR, year VARCHAR)
SELECT points_1 FROM table_name_88 WHERE lost = 22
WHAT POINTS 1 HAD A 22 LOST?
CREATE TABLE table_name_88 (points_1 VARCHAR, lost VARCHAR)
SELECT AVG(overall) FROM table_name_23 WHERE pick = 22 AND college = "rice" AND round > 10
WHAT IS THE OVERALL AVERAGE WITH A 22 PICK, FROM RICE COLLEGE, AND ROUND BIGGER THAN 10?
CREATE TABLE table_name_23 (overall INTEGER, round VARCHAR, pick VARCHAR, college VARCHAR)
SELECT MIN(attendance) FROM table_name_75 WHERE date = "may 24"
How many Attendances on may 24?
CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR)
SELECT away_captain FROM table_name_43 WHERE result = "eng by 1 wkt"
Who was the away captain with a result of Eng by 1 wkt?
CREATE TABLE table_name_43 (away_captain VARCHAR, result VARCHAR)
SELECT COUNT(shire) FROM table_17251764_1 WHERE area_in_km_2 = "27.17"
how many shire in the land of area in km 2 is 27.17
CREATE TABLE table_17251764_1 (shire VARCHAR, area_in_km_2 VARCHAR)
SELECT w__ot_so_ FROM table_20833768_4 WHERE season = "2008–09"
In season is 2008–09, how many wins did they have?
CREATE TABLE table_20833768_4 (w__ot_so_ VARCHAR, season VARCHAR)
SELECT podiums FROM table_name_65 WHERE season > 2008 AND series = "gp2 asia series"
What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asia Series?
CREATE TABLE table_name_65 (podiums VARCHAR, season VARCHAR, series VARCHAR)
SELECT surface FROM table_name_30 WHERE score = "2–6, 6–4, 7–6"
What is the Surface of the match with a Score of 2–6, 6–4, 7–6?
CREATE TABLE table_name_30 (surface VARCHAR, score VARCHAR)
SELECT percentage_lost FROM table_name_93 WHERE starting_weight__kg_ > 102 AND weight_lost__kg_ = 46.9
What is the Percentage Lost for the contestant with a starting weight above 102 kg who lost 46.9 kg?
CREATE TABLE table_name_93 (percentage_lost VARCHAR, starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR)
SELECT 1 AS st_leg FROM table_name_14 WHERE team_2 = "leeds united"
What was the 1st leg for Team 2, Leeds United?
CREATE TABLE table_name_14 (team_2 VARCHAR)
SELECT COUNT(crowd) FROM table_name_72 WHERE away_team = "hawthorn"
What is the listed crowd when hawthorn is away?
CREATE TABLE table_name_72 (crowd VARCHAR, away_team VARCHAR)
SELECT copies_sold FROM table_name_85 WHERE oricon_position > 1 AND year = 1988
How many copies were sold where the position is lager than 1 in 1988?
CREATE TABLE table_name_85 (copies_sold VARCHAR, oricon_position VARCHAR, year VARCHAR)
SELECT result FROM table_name_61 WHERE date = "2008-12-23"
Tell me the result for 2008-12-23
CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR)
SELECT tally FROM table_name_3 WHERE county = "limerick" AND rank > 1
Which Tally has a County of limerick, and a Rank larger than 1?
CREATE TABLE table_name_3 (tally VARCHAR, county VARCHAR, rank VARCHAR)
SELECT females_rank FROM table_14785903_1 WHERE states = "Karnataka"
What is the female rank in Karnataka?
CREATE TABLE table_14785903_1 (females_rank VARCHAR, states VARCHAR)
SELECT score FROM table_name_16 WHERE decision = "legace" AND home = "dallas"
What was the score of the home Dallas game that had a decision of Legace?
CREATE TABLE table_name_16 (score VARCHAR, decision VARCHAR, home VARCHAR)
SELECT notes FROM table_name_41 WHERE competition = "all-africa games" AND year < 2007
What were the notes of the All-Africa Games before 2007?
CREATE TABLE table_name_41 (notes VARCHAR, competition VARCHAR, year VARCHAR)
SELECT score FROM table_name_77 WHERE date = "june 16"
what was the score on june 16?
CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR)
SELECT coinage_metal FROM table_26336060_19 WHERE km_number = "S45"
What is the coinage metal for KM numbers of S45?
CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR)
SELECT COUNT(position) FROM table_11677691_11 WHERE player = "Greg Bryant"
How many positions does Greg Bryant play?
CREATE TABLE table_11677691_11 (position VARCHAR, player VARCHAR)
SELECT COUNT(record) FROM table_14945881_1 WHERE attendance = 44023
Name the number of record when attendance is 44023
CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR)
SELECT location_attendance FROM table_name_17 WHERE game > 54 AND date = "february 25"
Name the location attendance for game more than 54 on february 25
CREATE TABLE table_name_17 (location_attendance VARCHAR, game VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_11964047_6 WHERE _number = 26
Who was the leading scorer in Game #26?
CREATE TABLE table_11964047_6 (leading_scorer VARCHAR, _number VARCHAR)
SELECT MAX(points_1) FROM table_name_36 WHERE drawn = 5 AND goal_difference = "+58" AND lost > 4
Which Points 1 has Drawn of 5, and a Goal Difference of +58, and a Lost larger than 4?
CREATE TABLE table_name_36 (points_1 INTEGER, lost VARCHAR, drawn VARCHAR, goal_difference VARCHAR)
SELECT T1.city, COUNT(*) FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GROUP BY T1.city ORDER BY COUNT(*) DESC LIMIT 1
Which city lives most of staffs? List the city name and number of staffs.
CREATE TABLE Staff (staff_address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)
SELECT SUM(attendance) FROM table_name_96 WHERE opponent = "virginia"
What was the attendance when the opponent was virginia?
CREATE TABLE table_name_96 (attendance INTEGER, opponent VARCHAR)
SELECT AVG(year) FROM table_name_40 WHERE length = "7:42"
In what Year is the length of the Song 7:42?
CREATE TABLE table_name_40 (year INTEGER, length VARCHAR)
SELECT player FROM table_name_58 WHERE round < 13 AND pick = 74
Who is the player from a round less than 13 and has a pick of 74?
CREATE TABLE table_name_58 (player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT hawthorn_score FROM table_28211103_1 WHERE year = 2000
What is the hawthorn score at the year 2000?
CREATE TABLE table_28211103_1 (hawthorn_score VARCHAR, year VARCHAR)
SELECT directed_by FROM table_25547943_1 WHERE written_by = "Bill Lawrence"
Who directed the episode that was written by Bill Lawrence?
CREATE TABLE table_25547943_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT score FROM table_name_1 WHERE competition = "2010 world cup qualifying"
what is the score for the 2010 world cup qualifying?
CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR)
SELECT MIN(founded) FROM table_2076533_1 WHERE school = "Gutenberg College"
Name the least founded for gutenberg college
CREATE TABLE table_2076533_1 (founded INTEGER, school VARCHAR)
SELECT monday FROM table_11019212_1 WHERE tuesday = "9:00-6:00"
what's the monday time with tuesday being 9:00-6:00
CREATE TABLE table_11019212_1 (monday VARCHAR, tuesday VARCHAR)
SELECT province FROM table_name_49 WHERE period = "1941-1946"
Tell me the province of 1941-1946
CREATE TABLE table_name_49 (province VARCHAR, period VARCHAR)
SELECT product_name FROM products WHERE product_category_code = "Spices"
What are the names of products with category "Spices"?
CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR)
SELECT COUNT(enrollment) FROM table_19210115_1 WHERE founded = 1863
How many University founded in 1863?
CREATE TABLE table_19210115_1 (enrollment VARCHAR, founded VARCHAR)
SELECT COUNT(player) FROM table_10960039_6 WHERE college = "Adams State"
How many players played for adams state school?
CREATE TABLE table_10960039_6 (player VARCHAR, college VARCHAR)
SELECT entrant FROM table_name_50 WHERE year > 1990 AND engine = "ford v8" AND points = 8 AND chassis = "jordan 191"
Who used Ford v8 and Jordan 191 after 1990 and got 8 points?
CREATE TABLE table_name_50 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR, engine VARCHAR)
SELECT original_air_date FROM table_23705843_1 WHERE ratings__millions_ = "1.92"
What is the original air date if the ratings is 1.92 million?
CREATE TABLE table_23705843_1 (original_air_date VARCHAR, ratings__millions_ VARCHAR)
SELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955
Show the citizenship shared by singers with birth year before 1945 and after 1955.
CREATE TABLE singer (Citizenship VARCHAR, Birth_Year INTEGER)
SELECT away_team FROM table_name_82 WHERE home_team = "hawthorn"
What team played Hawthorn?
CREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR)
SELECT status FROM table_name_48 WHERE hometown = "london" AND name = "aden theobald"
What is the status of Aden Theobald from the hometown of London?
CREATE TABLE table_name_48 (status VARCHAR, hometown VARCHAR, name VARCHAR)
SELECT 1986 AS _87 FROM table_14489821_1 WHERE average = "1.079"
list the number of matches played by the teams that got an average of 1.079
CREATE TABLE table_14489821_1 (average VARCHAR)
SELECT COUNT(*) FROM film
How many film are there?
CREATE TABLE film (Id VARCHAR)
SELECT COUNT(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = "Steve" AND T1.last_name = "Johnson"
How many customers does Steve Johnson support?
CREATE TABLE employees (id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)
SELECT laps FROM table_name_67 WHERE grid = 3
Tell me the laps for 3 grids
CREATE TABLE table_name_67 (laps VARCHAR, grid VARCHAR)
SELECT score FROM table_name_63 WHERE date = "23 january 1982" AND away_team = "queens park rangers"
What is the score of the game against away team queens park rangers on 23 january 1982?
CREATE TABLE table_name_63 (score VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT MAX(time) FROM table_name_48 WHERE heat_rank = 8 AND lane > 2
Tell me the highest time for heat rank of 8 and lane more than 2
CREATE TABLE table_name_48 (time INTEGER, heat_rank VARCHAR, lane VARCHAR)
SELECT call_sign FROM table_name_38 WHERE erp_w > 10
What is the call sign for the translator with an ERP W larger than 10?
CREATE TABLE table_name_38 (call_sign VARCHAR, erp_w INTEGER)