answer
stringlengths
28
316
question
stringlengths
21
201
context
stringlengths
33
286
SELECT hot_digital_songs_reaction FROM table_name_89 WHERE hot_100_reaction = "2 (+1)"
What digital reaction has hot 100 reaction of 2 (+1)?
CREATE TABLE table_name_89 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)
SELECT MIN(absorb__nm_) FROM table_26428602_1 WHERE color = "orange"
How much absorption in nm does the orange dye have?
CREATE TABLE table_26428602_1 (absorb__nm_ INTEGER, color VARCHAR)
SELECT championship FROM table_26202847_6 WHERE score_in_the_final = "6–1, 3–6, 3–6"
Where is the championship where 6–1, 3–6, 3–6 is the score in the final?
CREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR)
SELECT date FROM table_name_29 WHERE set_2 = "25-13"
What is Date, when Set 2 is 25-13?
CREATE TABLE table_name_29 (date VARCHAR, set_2 VARCHAR)
SELECT province_region FROM table_name_42 WHERE home_campus = "holy cross of davao college"
Where is the Holy Cross of Davao College campus located?
CREATE TABLE table_name_42 (province_region VARCHAR, home_campus VARCHAR)
SELECT mar_3 FROM table_name_35 WHERE poll = "baseball america (top 25)"
Which March 3 has a Poll of baseball america (top 25)?
CREATE TABLE table_name_35 (mar_3 VARCHAR, poll VARCHAR)
SELECT COUNT(grid) FROM table_name_12 WHERE laps = 61 AND driver = "heinz-harald frentzen"
How many grids for heinz-harald frentzen with 61 laps?
CREATE TABLE table_name_12 (grid VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT score FROM table_name_5 WHERE record = "37–26–9"
What was the score of the game with a record of 37–26–9?
CREATE TABLE table_name_5 (score VARCHAR, record VARCHAR)
SELECT score FROM table_17288825_7 WHERE date = "January 25"
What is the score for the game played on January 25?
CREATE TABLE table_17288825_7 (score VARCHAR, date VARCHAR)
SELECT name FROM table_name_86 WHERE score > 22 AND song = "林俊杰 - 木乃伊"
Wjat score is greater than 22 with this song: 林俊杰 - 木乃伊?
CREATE TABLE table_name_86 (name VARCHAR, score VARCHAR, song VARCHAR)
SELECT round FROM table_name_45 WHERE time = "2:30"
Which round was 2:30?
CREATE TABLE table_name_45 (round VARCHAR, time VARCHAR)
SELECT date FROM table_name_56 WHERE competition = "2012 afc challenge cup" AND venue = "dasarath rangasala stadium, kathmandu"
What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue?
CREATE TABLE table_name_56 (date VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT tournament_venue__city_ FROM table_21091982_3 WHERE conference = "Ivy League"
Where was the Ivy League conference tournament?
CREATE TABLE table_21091982_3 (tournament_venue__city_ VARCHAR, conference VARCHAR)
SELECT team FROM table_name_79 WHERE game = 34
Who was the team for game 34?
CREATE TABLE table_name_79 (team VARCHAR, game VARCHAR)
SELECT year_s__won FROM table_name_30 WHERE country = "new zealand"
What years did New Zealand win?
CREATE TABLE table_name_30 (year_s__won VARCHAR, country VARCHAR)
SELECT score FROM table_name_87 WHERE tournament = "canada f7, toronto"
What was the score for the match at the tournament in canada f7, toronto?
CREATE TABLE table_name_87 (score VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_44 WHERE course = "rome to florence"
What is the date of the Rome to Florence course?
CREATE TABLE table_name_44 (date VARCHAR, course VARCHAR)
SELECT name FROM table_name_28 WHERE location = "nigeria"
What is the name of a location in Nigeria?
CREATE TABLE table_name_28 (name VARCHAR, location VARCHAR)
SELECT MAX(loses) FROM table_name_49 WHERE draws < 3 AND points = 51
What is the highest number of losses for teams with under 3 draws and 51 points?
CREATE TABLE table_name_49 (loses INTEGER, draws VARCHAR, points VARCHAR)
SELECT MIN(start) FROM table_name_93 WHERE span = "1990-2005" AND conv < 2
In 1990-2005 what is the lowest Start with Convs smaller than 2?
CREATE TABLE table_name_93 (start INTEGER, span VARCHAR, conv VARCHAR)
SELECT MIN(rank) FROM table_name_91 WHERE rider = "darren gilpin"
What is the lowest rank of rider darren gilpin?
CREATE TABLE table_name_91 (rank INTEGER, rider VARCHAR)
SELECT home_team AS score FROM table_name_11 WHERE venue = "victoria park"
When the VFL played Victoria Park what was the home team score?
CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR)
SELECT rank FROM table_name_97 WHERE silver > 0 AND bronze = 38
What is the rank of the nation with more than 0 silver medals and 38 bronze medals?
CREATE TABLE table_name_97 (rank VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT length_duration FROM table_name_85 WHERE date = "april 19"
What is the length and duration of the race on April 19?
CREATE TABLE table_name_85 (length_duration VARCHAR, date VARCHAR)
SELECT friday FROM table_18173916_8 WHERE tuesday = "414 Insanely Twisted Shadow Planet"
which episode was Transmitted on friday if the episode of "414 insanely twisted shadow planet" was transmitted on tuesday?
CREATE TABLE table_18173916_8 (friday VARCHAR, tuesday VARCHAR)
SELECT COUNT(location_attendance) FROM table_17058116_5 WHERE game = 13
In how many locations did Game 13 take place?
CREATE TABLE table_17058116_5 (location_attendance VARCHAR, game VARCHAR)
SELECT player FROM table_name_72 WHERE score = 74 - 74 - 73 - 70 = 291
Which player has a score of 74-74-73-70=291?
CREATE TABLE table_name_72 (player VARCHAR, score VARCHAR)
SELECT date FROM table_1506950_4 WHERE rounds = "66-67-70-67"
What days were the rounds of 66-67-70-67 recorded?
CREATE TABLE table_1506950_4 (date VARCHAR, rounds VARCHAR)
SELECT MIN(pd_per_game) FROM table_name_49 WHERE rank < 4 AND winning__percentage = "78.6%" AND streak = "w1" AND pa_per_game < 81.5
Which PD per game has a Rank smaller than 4, a Winning % of 78.6%, a Streak of w1, and a PA per game smaller than 81.5?
CREATE TABLE table_name_49 (pd_per_game INTEGER, pa_per_game VARCHAR, streak VARCHAR, rank VARCHAR, winning__percentage VARCHAR)
SELECT joined_acc FROM table_28744929_1 WHERE location = "Chapel Hill, North Carolina"
when did the institution at chapel hill, North carolina join acc?
CREATE TABLE table_28744929_1 (joined_acc VARCHAR, location VARCHAR)
SELECT teams FROM table_name_95 WHERE third__points_ = "season cancelled"
Name the teams for third points of season cancelled
CREATE TABLE table_name_95 (teams VARCHAR, third__points_ VARCHAR)
SELECT pick FROM table_name_72 WHERE round = "8" AND nationality = "usa" AND draft = 2000
What is the pick for round 8 with a USA nationality in the 2000 draft?
CREATE TABLE table_name_72 (pick VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT tyre FROM table_name_40 WHERE engine_† = "peugeot a20"
What is the tyre for the peugeot a20 engine?
CREATE TABLE table_name_40 (tyre VARCHAR, engine_† VARCHAR)
SELECT MIN(played) FROM table_name_6 WHERE position = 2 AND goals_against > 53
Which lowest played has a Position of 2, and Goals against larger than 53?
CREATE TABLE table_name_6 (played INTEGER, position VARCHAR, goals_against VARCHAR)
SELECT elector FROM table_name_5 WHERE nationality = "roman" AND elevator = "urban iv" AND elevated = "1261, december 17"
What is the Elector with a Nationality with roman, and an Elevator of urban iv, and an Elevated with 1261, december 17?
CREATE TABLE table_name_5 (elector VARCHAR, elevated VARCHAR, nationality VARCHAR, elevator VARCHAR)
SELECT silver FROM table_name_53 WHERE year = 2000
Who won Silver in 2000?
CREATE TABLE table_name_53 (silver VARCHAR, year VARCHAR)
SELECT ship_types_delivered FROM table_name_21 WHERE total_vessels_built_for_usmc = "13 ships for usmc (plus 37 more for usn)"
what is the ship types delivered when the total vessels built for usmc is 13 ships for usmc (plus 37 more for usn)?
CREATE TABLE table_name_21 (ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR)
SELECT no_in_season FROM table_2182654_3 WHERE no_in_series = 24
What episode number in the season is episode 24 in the series?
CREATE TABLE table_2182654_3 (no_in_season VARCHAR, no_in_series VARCHAR)
SELECT writer_s_ FROM table_13403120_1 WHERE prodcode = "30-17"
who is the writer of the episode with prod.code 30-17
CREATE TABLE table_13403120_1 (writer_s_ VARCHAR, prodcode VARCHAR)
SELECT player FROM table_2897457_4 WHERE pick__number = 64
Which player is pick 64?
CREATE TABLE table_2897457_4 (player VARCHAR, pick__number VARCHAR)
SELECT home FROM table_name_95 WHERE date = "april 20"
What is the home team of the game on April 20?
CREATE TABLE table_name_95 (home VARCHAR, date VARCHAR)
SELECT MIN(crowd) FROM table_name_94 WHERE venue = "victoria park"
What is the smallest crowd at the Victoria Park Venue?
CREATE TABLE table_name_94 (crowd INTEGER, venue VARCHAR)
SELECT finish FROM table_name_2 WHERE laps > 192 AND qual = "135.736"
What is the finish when there was more than 192 laps and a qual of 135.736?
CREATE TABLE table_name_2 (finish VARCHAR, laps VARCHAR, qual VARCHAR)
SELECT driver FROM table_name_34 WHERE constructor = "maserati" AND laps < 18 AND grid < 14 AND time_retired = "oil leak"
Who drove the maserati under 18 laps with an oil leak that had a grid of under 14?
CREATE TABLE table_name_34 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)
SELECT surface FROM table_name_76 WHERE partner = "remi tezuka"
What surface was used when she played with Remi Tezuka?
CREATE TABLE table_name_76 (surface VARCHAR, partner VARCHAR)
SELECT COUNT(high_rebounds) FROM table_13619027_9 WHERE date = "March 13"
How many different values if the number is high rebounds can be found for the game on March 13?
CREATE TABLE table_13619027_9 (high_rebounds VARCHAR, date VARCHAR)
SELECT Weekly_Rank FROM TV_series WHERE Episode = "A Love of a Lifetime"
What is Weekly Rank of TV series with Episode "A Love of a Lifetime"?
CREATE TABLE TV_series (Weekly_Rank VARCHAR, Episode VARCHAR)
SELECT mens_45 FROM table_16724844_1 WHERE mens_40 = "SunWest Razorbacks def Sydney Mets"
What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets?
CREATE TABLE table_16724844_1 (mens_45 VARCHAR, mens_40 VARCHAR)
SELECT admits_boys_girls FROM table_104858_1 WHERE name_of_member_organization = "The Scout Association of Hong Kong"
Does the Scout Association of Hong Kong admit boys, girls, or both?
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, name_of_member_organization VARCHAR)
SELECT name, salary FROM instructor WHERE salary < (SELECT AVG(salary) FROM instructor WHERE dept_name = 'Physics')
Find the name and salary of instructors whose salary is below the average salary of the instructors in the Physics department.
CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)
SELECT nhl_team FROM table_1473672_2 WHERE player = "Dwight Bialowas"
What nhl team does dwight bialowas play for?
CREATE TABLE table_1473672_2 (nhl_team VARCHAR, player VARCHAR)
SELECT COUNT(crowd) FROM table_name_62 WHERE home_team = "wollongong hawks"
how many times is the home team wollongong hawks?
CREATE TABLE table_name_62 (crowd VARCHAR, home_team VARCHAR)
SELECT MIN(year) FROM table_name_13 WHERE start = "17th"
Name the least year for start of 17th
CREATE TABLE table_name_13 (year INTEGER, start VARCHAR)
SELECT winner FROM table_22917458_15 WHERE stage = 1
Who was the Stage 1 winner?
CREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR)
SELECT country FROM table_name_31 WHERE year = 1993
What country had a film in 1993?
CREATE TABLE table_name_31 (country VARCHAR, year VARCHAR)
SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)"
Which name is 51.89 (2.043) long?
CREATE TABLE table_name_57 (name VARCHAR, length VARCHAR)
SELECT publisher FROM table_20193855_2 WHERE book_title = "Daughters of an Emerald Dusk"
Who is the publisher of the book titled daughters of an emerald dusk?
CREATE TABLE table_20193855_2 (publisher VARCHAR, book_title VARCHAR)
SELECT bp FROM table_19179465_1 WHERE club = "Halifax"
What was the B.P. of club Halifax?
CREATE TABLE table_19179465_1 (bp VARCHAR, club VARCHAR)
SELECT fcc_info FROM table_name_68 WHERE frequency_mhz = "104.5 fm"
What is the FCC information of 104.5 fm frequency?
CREATE TABLE table_name_68 (fcc_info VARCHAR, frequency_mhz VARCHAR)
SELECT strike_rate FROM table_19662262_6 WHERE wickets = 17
What is the strike rate when there are 17 wickets?
CREATE TABLE table_19662262_6 (strike_rate VARCHAR, wickets VARCHAR)
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins > 37
What is the highest earnings for the golfer who has more than 37 wins?
CREATE TABLE table_name_90 (earnings___ INTEGER, wins INTEGER)
SELECT COUNT(average) FROM table_12094609_1 WHERE evening_gown = "8.988"
what is the total number of average where evening gown is 8.988
CREATE TABLE table_12094609_1 (average VARCHAR, evening_gown VARCHAR)
SELECT COUNT(result) FROM table_22020724_1 WHERE title_in_the_original_language = "Joki"
What are the results for the film titled 'Joki'?
CREATE TABLE table_22020724_1 (result VARCHAR, title_in_the_original_language VARCHAR)
SELECT location_attendance FROM table_name_24 WHERE game > 35 AND date = "january 30"
What is the loaction attendance that has a game greater than 35, with January 30 as the date?
CREATE TABLE table_name_24 (location_attendance VARCHAR, game VARCHAR, date VARCHAR)
SELECT market_rank FROM table_10333757_1 WHERE calls = "WCRN"
Which Market/Rank is associated with WCRN calls?
CREATE TABLE table_10333757_1 (market_rank VARCHAR, calls VARCHAR)
SELECT MAX(Account_details) FROM Accounts UNION SELECT Account_details FROM Accounts WHERE Account_details LIKE "%5%"
What are the account details with the largest value or with value having char '5' in it?
CREATE TABLE Accounts (Account_details INTEGER)
SELECT county FROM table_157826_1 WHERE city_town = "Halden"
In which county is the city/town of Halden located?
CREATE TABLE table_157826_1 (county VARCHAR, city_town VARCHAR)
SELECT accreditation_level FROM table_name_72 WHERE date = "approved (awarded 05.12.12)"
What is the accreditation level for the approved (awarded 05.12.12) date?
CREATE TABLE table_name_72 (accreditation_level VARCHAR, date VARCHAR)
SELECT year FROM table_name_59 WHERE laps < 64 AND finish = "25"
In what year were laps less than 64 and the finish at 25?
CREATE TABLE table_name_59 (year VARCHAR, laps VARCHAR, finish VARCHAR)
SELECT MAX(female_life_expectancy) FROM table_2701625_1 WHERE country = "Djibouti"
Name the most female life expectancy for djibouti
CREATE TABLE table_2701625_1 (female_life_expectancy INTEGER, country VARCHAR)
SELECT name FROM table_name_32 WHERE location = "ljubljana"
Which Name has a Location of ljubljana?
CREATE TABLE table_name_32 (name VARCHAR, location VARCHAR)
SELECT date FROM table_name_8 WHERE high_points = "suns" AND record = "33–13"
On what date did the Suns have high points with a record of 33–13?
CREATE TABLE table_name_8 (date VARCHAR, high_points VARCHAR, record VARCHAR)
SELECT T1.product_name, T2.color_description, T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code = T2.color_code WHERE product_category_code = "Herbs"
List the names, color descriptions and product descriptions of products with category "Herbs".
CREATE TABLE Ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_name VARCHAR, product_description VARCHAR, color_code VARCHAR)
SELECT studio FROM table_name_95 WHERE director = "david fincher"
What studio is director David Fincher from?
CREATE TABLE table_name_95 (studio VARCHAR, director VARCHAR)
SELECT SUM(attendance) FROM table_name_58 WHERE opponent = "oxford united"
How much Attendance has an Opponent of oxford united?
CREATE TABLE table_name_58 (attendance INTEGER, opponent VARCHAR)
SELECT operator FROM table_name_99 WHERE region = "yorkshire"
What is the operator of the ensemble from Yorkshire?
CREATE TABLE table_name_99 (operator VARCHAR, region VARCHAR)
SELECT T1.staff_name, T2.job_title_code FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id ORDER BY T2.date_assigned_to DESC LIMIT 1
What is the name and job title of the staff who was assigned the latest?
CREATE TABLE staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (job_title_code VARCHAR, staff_id VARCHAR, date_assigned_to VARCHAR)
SELECT MIN(top_25) FROM table_name_63 WHERE events = 12 AND top_5 = 1 AND cuts_made < 11
What is the lowest Top-25 when events shows 12, the top-5 is 1, and less than 11 cuts?
CREATE TABLE table_name_63 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR)
SELECT COUNT(season) FROM table_23338693_1 WHERE team = "Motopark"
How many seasons have motopark team?
CREATE TABLE table_23338693_1 (season VARCHAR, team VARCHAR)
SELECT college_junior_club_team FROM table_2850912_4 WHERE nhl_team = "Buffalo Sabres"
Which junior team is associated with an NHL pick by the Buffalo Sabres?
CREATE TABLE table_2850912_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
SELECT COUNT(age) FROM table_24501530_1 WHERE candidate = "Amy Cato"
How many ages for player Amy Cato?
CREATE TABLE table_24501530_1 (age VARCHAR, candidate VARCHAR)
SELECT median_household_income FROM table_name_56 WHERE median_family_income = "$46,616"
What is the Median household income associated with a median family income of $46,616?
CREATE TABLE table_name_56 (median_household_income VARCHAR, median_family_income VARCHAR)
SELECT college FROM table_name_19 WHERE position = "defensive back" AND school = "ridge community high school"
What is the college for the player that went to ridge community high school and is defensive back?
CREATE TABLE table_name_19 (college VARCHAR, position VARCHAR, school VARCHAR)
SELECT mascot FROM table_name_62 WHERE school = "hamilton community"
What is the mascot at Hamilton Community?
CREATE TABLE table_name_62 (mascot VARCHAR, school VARCHAR)
SELECT MIN(edition) FROM table_name_64 WHERE year > 2003 AND third = "tikveš" AND runner_up = "sileks"
What was the edition after 2003 when the Third was Tikveš and Sileks was the runner-up?
CREATE TABLE table_name_64 (edition INTEGER, runner_up VARCHAR, year VARCHAR, third VARCHAR)
SELECT score FROM table_name_12 WHERE record = "58–47"
What was the score of the game when the record was 58–47?
CREATE TABLE table_name_12 (score VARCHAR, record VARCHAR)
SELECT captain FROM table_18461635_1 WHERE location = "Southampton"
Who is the captain of the team in Southampton?
CREATE TABLE table_18461635_1 (captain VARCHAR, location VARCHAR)
SELECT loss FROM table_name_68 WHERE date = "may 20"
Who did they lose to on May 20?
CREATE TABLE table_name_68 (loss VARCHAR, date VARCHAR)
SELECT verb_meaning FROM table_1745843_8 WHERE part_3 = "sufun"
What is the verb meaning of the word with part 3 "sufun"?
CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_3 VARCHAR)
SELECT MAX(round) FROM table_name_7 WHERE position = "cornerback"
During which round was the final cornerback drafted for the New England Patriots in 2005?
CREATE TABLE table_name_7 (round INTEGER, position VARCHAR)
SELECT nationality FROM table_name_36 WHERE lane = 5 AND time = "7:08.04"
Which Nationality has a Lane of 5, and a Time of 7:08.04?
CREATE TABLE table_name_36 (nationality VARCHAR, lane VARCHAR, time VARCHAR)
SELECT player FROM table_name_99 WHERE club_province = "direito" AND caps < 21 AND position = "lock"
Which player has a Club/province of direito, less than 21 caps, and a Position of lock?
CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, club_province VARCHAR, caps VARCHAR)
SELECT player FROM table_name_57 WHERE place = "t8" AND country = "united states"
What United States player holds the place of t8?`
CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT AVG(round) FROM table_name_18 WHERE opponent = "klas akesson"
What is the average round against opponent Klas Akesson?
CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR)
SELECT SUM(year) FROM table_name_75 WHERE player_name = "ronnie bull"
How many years have a Player name of ronnie bull?
CREATE TABLE table_name_75 (year INTEGER, player_name VARCHAR)
SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar"
What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar?
CREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR)
SELECT opponent FROM table_name_34 WHERE location = "boston garden" AND record = "58-23"
Location of boston garden, and a Record of 58-23 involved what opponent?
CREATE TABLE table_name_34 (opponent VARCHAR, location VARCHAR, record VARCHAR)
SELECT date FROM table_20849830_1 WHERE record = "2-1"
What was the date of the game with the record of 2-1?
CREATE TABLE table_20849830_1 (date VARCHAR, record VARCHAR)
SELECT studio_host FROM table_name_19 WHERE play_by_play = "paul sunderland" AND studio_analysts = "jack haley"
Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst?
CREATE TABLE table_name_19 (studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR)
SELECT year_s__won FROM table_name_5 WHERE to_par = "+2" AND finish = "t22"
What year (s) won was +2 the To par, and t22 the finish?
CREATE TABLE table_name_5 (year_s__won VARCHAR, to_par VARCHAR, finish VARCHAR)