answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT notes FROM table_name_30 WHERE language = "hindi" AND title = "miley naa miley hum"
What is the note section for the role with a language of hindi and a title of miley naa miley hum?
CREATE TABLE table_name_30 (notes VARCHAR, language VARCHAR, title VARCHAR)
SELECT catalog FROM table_name_73 WHERE date = "june 1990"
What catalog has june 1990 as the date?
CREATE TABLE table_name_73 (catalog VARCHAR, date VARCHAR)
SELECT record_set FROM table_name_24 WHERE year > 2011 AND superlative = "youngest nominee"
After the year 2011, who was the youngest nominee?
CREATE TABLE table_name_24 (record_set VARCHAR, year VARCHAR, superlative VARCHAR)
SELECT grid FROM table_name_43 WHERE time_retired = "electrical" AND laps = 51
What is the grid for the driver with an electrical time/retired and 51 laps?
CREATE TABLE table_name_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT volleyball FROM table_name_52 WHERE golf = "2" AND indoor_track = "3"
Which Volleyball has a Golf of 2, and an Indoor track of 3?
CREATE TABLE table_name_52 (volleyball VARCHAR, golf VARCHAR, indoor_track VARCHAR)
SELECT MIN(ranking) FROM table_name_51 WHERE total = 23
What is the lowest ranking associated with a total of 23?
CREATE TABLE table_name_51 (ranking INTEGER, total VARCHAR)
SELECT competition FROM table_17120964_9 WHERE opponent = "Sheffield Scimitars"
what was the competitoin where the opponent is sheffield scimitars?
CREATE TABLE table_17120964_9 (competition VARCHAR, opponent VARCHAR)
SELECT left_office FROM table_name_83 WHERE party = "vacant (1999-2001)"
What is Left Office, when Party is Vacant (1999-2001)?
CREATE TABLE table_name_83 (left_office VARCHAR, party VARCHAR)
SELECT rufus_guest FROM table_19930660_1 WHERE episode = "1x07"
Name the rufus guest for episode 1x07
CREATE TABLE table_19930660_1 (rufus_guest VARCHAR, episode VARCHAR)
SELECT COUNT(enrollment) FROM table_name_27 WHERE location = "rockville"
What is the enrollment number for Rockville?
CREATE TABLE table_name_27 (enrollment VARCHAR, location VARCHAR)
SELECT MIN(attendance) FROM table_14945881_1 WHERE date = "September 19, 1976"
Name the attendance for september 19, 1976
CREATE TABLE table_14945881_1 (attendance INTEGER, date VARCHAR)
SELECT feature FROM table_name_46 WHERE driving_force_ex = "25cm (10-inch)"
Driving Force EX of 25cm (10-inch) involves what feature?
CREATE TABLE table_name_46 (feature VARCHAR, driving_force_ex VARCHAR)
SELECT SUM(T1.amount_payment) FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Carole" AND T2.last_name = "Bernhard"
How much in total does customer with first name as Carole and last name as Bernhard paid?
CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Customer_Payments (amount_payment INTEGER, customer_id VARCHAR)
SELECT directed_by FROM table_23403578_3 WHERE prod_code = "208"
Who directed the episode with production code 208?
CREATE TABLE table_23403578_3 (directed_by VARCHAR, prod_code VARCHAR)
SELECT wraps_per_inch__wpi_ FROM table_20297668_1 WHERE m_100g = "120-240"
Name the wraps per inch for 120-240
CREATE TABLE table_20297668_1 (wraps_per_inch__wpi_ VARCHAR, m_100g VARCHAR)
SELECT opponent FROM table_name_46 WHERE result = "l 20–17"
Who was the opponent at the Steelers game that had a result of l 20–17?
CREATE TABLE table_name_46 (opponent VARCHAR, result VARCHAR)
SELECT SUM(against) FROM table_name_11 WHERE opposing_teams = "south africa" AND status = "first test"
What is the sum of Against, when Opposing Teams is "South Africa", and when Status is "First Test"?
CREATE TABLE table_name_11 (against INTEGER, opposing_teams VARCHAR, status VARCHAR)
SELECT away_team FROM table_name_4 WHERE tie_no = "14"
Who was the away team with a tie of 14?
CREATE TABLE table_name_4 (away_team VARCHAR, tie_no VARCHAR)
SELECT record FROM table_name_64 WHERE date = "february 26"
What is the Record of the February 26 date?
CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR)
SELECT second FROM table_name_27 WHERE skip = "barbora vojtusova"
Which Second has a Skip of barbora vojtusova?
CREATE TABLE table_name_27 (second VARCHAR, skip VARCHAR)
SELECT powertrain__engine_transmission_ FROM table_10007452_3 WHERE order_year = "2000"
what is the powertrain (engine/transmission) when the order year is 2000?
CREATE TABLE table_10007452_3 (powertrain__engine_transmission_ VARCHAR, order_year VARCHAR)
SELECT date FROM table_name_96 WHERE score = "1-12"
What was the date of the Mariners game that had a score of 1-12?
CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR)
SELECT leading_scorer FROM table_name_31 WHERE date = "9 february 2008"
Who is the leading scorer of the game on 9 February 2008?
CREATE TABLE table_name_31 (leading_scorer VARCHAR, date VARCHAR)
SELECT AVG(ties) FROM table_name_73 WHERE team = "montreal victorias" AND games_played > 8
What is the average ties when the team is montreal victorias and the games played is more than 8?
CREATE TABLE table_name_73 (ties INTEGER, team VARCHAR, games_played VARCHAR)
SELECT COUNT(_percentage__1960_) FROM table_name_98 WHERE _percentage__2040_ = 3.4
What is the % (1960) of the county with a % (2040) of 3.4?
CREATE TABLE table_name_98 (_percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR)
SELECT joined FROM table_11658094_3 WHERE location = "Mars Hill, North Carolina"
What year did the school from mars hill, north carolina join?
CREATE TABLE table_11658094_3 (joined VARCHAR, location VARCHAR)
SELECT MAX(laps) FROM table_name_51 WHERE driver = "chris amon"
What is the highest number of laps for chris amon?
CREATE TABLE table_name_51 (laps INTEGER, driver VARCHAR)
SELECT place FROM table_name_1 WHERE score = 70 - 68 = 138 AND player = "andrew magee"
What is Place, when Score is "70-68=138", and when Player is "Andrew Magee"?
CREATE TABLE table_name_1 (place VARCHAR, player VARCHAR, score VARCHAR)
SELECT money___$__ FROM table_name_21 WHERE place = "t8" AND score = 74 - 72 - 75 - 71 = 292
What was the money when the place was t8 and the score was 74-72-75-71=292?
CREATE TABLE table_name_21 (money___$__ VARCHAR, place VARCHAR, score VARCHAR)
SELECT title FROM table_26464364_1 WHERE directed_by = "Christopher Petry" AND production_code = "3X6006"
What is the title of the episode directed by Christopher Petry with the production cod 3x6006?
CREATE TABLE table_26464364_1 (title VARCHAR, directed_by VARCHAR, production_code VARCHAR)
SELECT year FROM table_name_4 WHERE notes = "200 m" AND position = "3rd"
What year did Naoki Tsukahara finish 3rd in the 200 m race?
CREATE TABLE table_name_4 (year VARCHAR, notes VARCHAR, position VARCHAR)
SELECT category FROM table_name_19 WHERE year < 1995
What was the Category before 1995?
CREATE TABLE table_name_19 (category VARCHAR, year INTEGER)
SELECT COUNT(avg_trips_per_mile__) AS ×1000_ FROM table_17839_1 WHERE map_colour = "Turquoise"
When turquoise is the map colour how many avg. trips per mile (×1000) are there?
CREATE TABLE table_17839_1 (avg_trips_per_mile__ VARCHAR, map_colour VARCHAR)
SELECT album FROM table_name_83 WHERE record_label = "rca"
What album was recorded by the rca label?
CREATE TABLE table_name_83 (album VARCHAR, record_label VARCHAR)
SELECT area__km²_ FROM table_23887174_1 WHERE province__ashkharh_ = "Persarmenia"
How big (in km2) is Persarmenia?
CREATE TABLE table_23887174_1 (area__km²_ VARCHAR, province__ashkharh_ VARCHAR)
SELECT location_attendance FROM table_17104539_12 WHERE game = 32
What was the location and where did the team play game number 32?
CREATE TABLE table_17104539_12 (location_attendance VARCHAR, game VARCHAR)
SELECT athlete FROM table_name_9 WHERE time = "30:48"
What is the name of the athlete with a time of 30:48?
CREATE TABLE table_name_9 (athlete VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_31 WHERE record = "10-1"
What opponent does she fight when she is 10-1?
CREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR)
SELECT position FROM table_name_19 WHERE nationality = "united states" AND pick = 9
Which Position has a Nationality of united states, and a Pick of 9?
CREATE TABLE table_name_19 (position VARCHAR, nationality VARCHAR, pick VARCHAR)
SELECT order_id FROM orders ORDER BY date_order_placed DESC LIMIT 1
What is the id of the most recent order?
CREATE TABLE orders (order_id VARCHAR, date_order_placed VARCHAR)
SELECT time FROM table_name_72 WHERE event = "adrenaline mma 3"
How long was the fight 'adrenaline mma 3'?
CREATE TABLE table_name_72 (time VARCHAR, event VARCHAR)
SELECT launch_site FROM table_11869952_3 WHERE mission = "Test mission: war heads and Missile payload" AND results = "Partial Failure"
Where did Test Mission: War Heads and Missile Payload launch when there was a partial failure?
CREATE TABLE table_11869952_3 (launch_site VARCHAR, mission VARCHAR, results VARCHAR)
SELECT incumbent FROM table_1342233_24 WHERE first_elected = 1941
What is the incumbent from 1941?
CREATE TABLE table_1342233_24 (incumbent VARCHAR, first_elected VARCHAR)
SELECT tuner FROM table_name_23 WHERE team = "mrf"
Who is the turner on Team MRF?
CREATE TABLE table_name_23 (tuner VARCHAR, team VARCHAR)
SELECT home FROM table_name_96 WHERE score = "122-28"
What home has 122-28 as the score?
CREATE TABLE table_name_96 (home VARCHAR, score VARCHAR)
SELECT round FROM table_name_43 WHERE player = "robert deciantis"
Which round was Robert Deciantis taken in?
CREATE TABLE table_name_43 (round VARCHAR, player VARCHAR)
SELECT player FROM table_2850912_12 WHERE college_junior_club_team = "Brynäs IF (Sweden)"
List the players for team brynäs if (sweden).
CREATE TABLE table_2850912_12 (player VARCHAR, college_junior_club_team VARCHAR)
SELECT runner_up FROM table_name_93 WHERE season < 2007
Who was the runner up before 2007?
CREATE TABLE table_name_93 (runner_up VARCHAR, season INTEGER)
SELECT mintage FROM table_name_76 WHERE theme = "toronto maple leafs" AND issue_price < 24.95
What is the mintage of the coin with a Toronto Maple Leafs theme and an issue price below 24.95?
CREATE TABLE table_name_76 (mintage VARCHAR, theme VARCHAR, issue_price VARCHAR)
SELECT MIN(total_passengers__millions__2011_12) FROM table_name_32 WHERE annual_entry_exit__millions__2011_12 = 36.609
What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609?
CREATE TABLE table_name_32 (total_passengers__millions__2011_12 INTEGER, annual_entry_exit__millions__2011_12 VARCHAR)
SELECT platform FROM table_name_11 WHERE system = "various computers and consoles"
What is the name of the platform used for various computers and consoles?
CREATE TABLE table_name_11 (platform VARCHAR, system VARCHAR)
SELECT type FROM table_name_73 WHERE programming = "general" AND owner = "tv kanal 5"
What is the type for a general programming and the owner tv kanal 5?
CREATE TABLE table_name_73 (type VARCHAR, programming VARCHAR, owner VARCHAR)
SELECT COUNT(years_owned) FROM table_1553485_1 WHERE station = "KPIX"
How many years has station KPIX been owned?
CREATE TABLE table_1553485_1 (years_owned VARCHAR, station VARCHAR)
SELECT COUNT(high_rebounds) FROM table_27713030_11 WHERE location_attendance = "Philips Arena 20,024"
How many entries are shown for high rebounds for the philips arena 20,024 game?
CREATE TABLE table_27713030_11 (high_rebounds VARCHAR, location_attendance VARCHAR)
SELECT home_team AS score FROM table_name_48 WHERE away_team = "richmond"
What did the home team when they played Richmond?
CREATE TABLE table_name_48 (home_team VARCHAR, away_team VARCHAR)
SELECT MIN(sexual_abuse_1) FROM table_15652027_1 WHERE conflict = "Burundi Civil War"
What is the sexual abuse rate where the conflict is the Burundi Civil War?
CREATE TABLE table_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR)
SELECT COUNT(location) FROM table_14976504_2 WHERE institution = "California Lutheran University"
Where is California Lutheran University located?
CREATE TABLE table_14976504_2 (location VARCHAR, institution VARCHAR)
SELECT COUNT(round) FROM table_name_68 WHERE record = "15–7–1"
What is the round number when the record is 15–7–1?
CREATE TABLE table_name_68 (round VARCHAR, record VARCHAR)
SELECT DISTINCT product_name FROM products ORDER BY product_name
List the names of all distinct products in alphabetical order.
CREATE TABLE products (product_name VARCHAR)
SELECT MAX(points) FROM table_name_12 WHERE second = "4"
What was the highest points when the second was 4?
CREATE TABLE table_name_12 (points INTEGER, second VARCHAR)
SELECT status FROM table_name_20 WHERE area_km_2 < 75.35 AND official_name = "sussex"
Which status is 75.35 km2 and is named sussex?
CREATE TABLE table_name_20 (status VARCHAR, area_km_2 VARCHAR, official_name VARCHAR)
SELECT capacity FROM table_name_90 WHERE torque__nm__rpm = "n·m (lb·ft) @4150"
Name the capacity for the torque of n·m (lb·ft) @4150
CREATE TABLE table_name_90 (capacity VARCHAR, torque__nm__rpm VARCHAR)
SELECT 2011 FROM table_name_10 WHERE 2012 = "grand slam tournaments"
What is the 2011 value of the 2012 grand slam tournaments?
CREATE TABLE table_name_10 (Id VARCHAR)
SELECT regular_season FROM table_2361911_2 WHERE playoffs = "Final"
Name the regular season for final playoffs
CREATE TABLE table_2361911_2 (regular_season VARCHAR, playoffs VARCHAR)
SELECT opponent FROM table_name_52 WHERE outcome = "runner-up" AND date = "26 august 1996"
What is the Opponent when Todd Woodbridge was the runner-up, and a Date of 26 august 1996?
CREATE TABLE table_name_52 (opponent VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT mens_singles FROM table_28138035_13 WHERE womens_singles = "Yoshie Takada"
Who won in the men singles group in the year when Yoshie Takada won in the women singles?
CREATE TABLE table_28138035_13 (mens_singles VARCHAR, womens_singles VARCHAR)
SELECT year_s__won FROM table_name_11 WHERE total = 286
What years won have a total of 286?
CREATE TABLE table_name_11 (year_s__won VARCHAR, total VARCHAR)
SELECT recnet FROM table_name_68 WHERE city_of_license = "peterborough"
what is the recnet when the city of license is peterborough?
CREATE TABLE table_name_68 (recnet VARCHAR, city_of_license VARCHAR)
SELECT albedo_feature_name FROM table_name_65 WHERE name = "neruda"
What is the Albedo name for Neruda?
CREATE TABLE table_name_65 (albedo_feature_name VARCHAR, name VARCHAR)
SELECT tournament FROM table_name_5 WHERE opponent = "sergio roitman"
In what tournament did Cipolla face Sergio Roitman?
CREATE TABLE table_name_5 (tournament VARCHAR, opponent VARCHAR)
SELECT university_name FROM table_1160660_1 WHERE acronym = "USF"
What University has the acrronym of USF
CREATE TABLE table_1160660_1 (university_name VARCHAR, acronym 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 manufacturer FROM table_name_58 WHERE engine_make_capacity = "jawa 249cc" AND year = "1956-1963"
Who manufactured the car with the jawa 249cc engine that was made in the years 1956-1963?
CREATE TABLE table_name_58 (manufacturer VARCHAR, engine_make_capacity VARCHAR, year VARCHAR)
SELECT attendance FROM table_name_77 WHERE week < 17 AND record = "bye"
What was the Attendance before Week 17 with a Record of Bye?
CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR, record VARCHAR)
SELECT director FROM table_12919003_2 WHERE episode = "episode 5"
Who directed Episode 5?
CREATE TABLE table_12919003_2 (director VARCHAR, episode VARCHAR)
SELECT location FROM table_name_84 WHERE record = "10-8-1"
What is the location of the match with the record 10-8-1?
CREATE TABLE table_name_84 (location VARCHAR, record VARCHAR)
SELECT COUNT(season) FROM table_26222468_1 WHERE points = "N/A"
How many seasons have points totals of N/A?
CREATE TABLE table_26222468_1 (season VARCHAR, points VARCHAR)
SELECT season FROM table_name_34 WHERE player = "colin miller (tas)"
In what Season was Colin Miller (TAS) the Player?
CREATE TABLE table_name_34 (season VARCHAR, player VARCHAR)
SELECT AVG(2009) FROM table_name_4 WHERE 2007 > 0 OFFSET 18
What is the 2009 average when the 2007 average is more than 0,18?
CREATE TABLE table_name_4 (Id VARCHAR)
SELECT year FROM table_name_96 WHERE playoffs = "american conference semifinals"
Name the year for american conference semifinals
CREATE TABLE table_name_96 (year VARCHAR, playoffs VARCHAR)
SELECT format FROM table_name_84 WHERE catalog = "080 360-2"
What format has 080 360-2 as the catalog?
CREATE TABLE table_name_84 (format VARCHAR, catalog VARCHAR)
SELECT date_of_appointment FROM table_11190568_7 WHERE team = "Galway"
When are team Galway's dates of appointment?
CREATE TABLE table_11190568_7 (date_of_appointment VARCHAR, team VARCHAR)
SELECT SUM(crowd) FROM table_name_82 WHERE venue = "glenferrie oval"
What was the attendance when the VFL played Glenferrie Oval?
CREATE TABLE table_name_82 (crowd INTEGER, venue VARCHAR)
SELECT record FROM table_name_8 WHERE date = "august 4"
What was the team's record on August 4?
CREATE TABLE table_name_8 (record VARCHAR, date VARCHAR)
SELECT away FROM table_name_42 WHERE home = "victoria"
What is the away team whose home is Victoria?
CREATE TABLE table_name_42 (away VARCHAR, home VARCHAR)
SELECT MAX(points) FROM table_name_25 WHERE entrant = "jaguar racing" AND year < 2001
What is the most points when the entrant was Jaguar racing earlier than 2001?
CREATE TABLE table_name_25 (points INTEGER, entrant VARCHAR, year VARCHAR)
SELECT publisher_s_ FROM table_14325653_2 WHERE video_game = "Resident Evil 4"
Name the publisher for resident evil 4
CREATE TABLE table_14325653_2 (publisher_s_ VARCHAR, video_game VARCHAR)
SELECT conference_semifinals FROM table_name_57 WHERE conference_finals = "† denotes division championship"
Which Conference Semifinals has a Conference Finals of † denotes division championship?
CREATE TABLE table_name_57 (conference_semifinals VARCHAR, conference_finals VARCHAR)
SELECT COUNT(leader) FROM table_19283982_4 WHERE _percentage_of_popular_vote = "11.05%"
Name the number of leaders for % of popular vote being 11.05%
CREATE TABLE table_19283982_4 (leader VARCHAR, _percentage_of_popular_vote VARCHAR)
SELECT SUM(rank) FROM table_name_56 WHERE time = "7:30.92"
What is the Rank of the Rowers with a Time of 7:30.92?
CREATE TABLE table_name_56 (rank INTEGER, time VARCHAR)
SELECT best FROM table_name_6 WHERE qual_1 = "59.448"
What is the best time for a team with a first-qualifying time of 59.448?
CREATE TABLE table_name_6 (best VARCHAR, qual_1 VARCHAR)
SELECT role FROM table_name_61 WHERE theatre = "globe" AND music = "jerome kern"
Which Role has a Theatre of globe, and a Music of jerome kern?
CREATE TABLE table_name_61 (role VARCHAR, theatre VARCHAR, music VARCHAR)
SELECT COUNT(number) FROM table_1997759_1 WHERE last_flew = "19 April 1985"
on 19 april 1985 how many of number last flew
CREATE TABLE table_1997759_1 (number VARCHAR, last_flew VARCHAR)
SELECT MIN(population__2004_) FROM table_name_8 WHERE households = 5158
What is the lowest 2004 population when there were 5158 households?
CREATE TABLE table_name_8 (population__2004_ INTEGER, households VARCHAR)
SELECT borough FROM table_name_82 WHERE type = "history" AND name = "fairbanks community museum"
In what Borough is the History Type Fairbanks Community Museum?
CREATE TABLE table_name_82 (borough VARCHAR, type VARCHAR, name VARCHAR)
SELECT season FROM table_name_62 WHERE winner = "kanto gakuin university" AND attendance = "n/a" AND title = "37th"
What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th?
CREATE TABLE table_name_62 (season VARCHAR, title VARCHAR, winner VARCHAR, attendance VARCHAR)
SELECT AVG(silver) FROM table_name_83 WHERE bronze < 3 AND total < 2 AND gold > 1
Bronze smaller than 3, and a Total smaller than 2, and a Gold larger than 1 has how many average silvers?
CREATE TABLE table_name_83 (silver INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT location FROM table_name_77 WHERE round = "1" AND opponent = "luiz claudio das dores"
Where was the fight located that lasted 1 round against luiz claudio das dores?
CREATE TABLE table_name_77 (location VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT 2012 FROM table_name_94 WHERE 2010 = "q3"
Name the 2012 for when 2010 is q3
CREATE TABLE table_name_94 (Id VARCHAR)
SELECT model FROM table_name_37 WHERE top_speed = "231km/h (143mph)"
Which model has a top speed of 231km/h (143mph)?
CREATE TABLE table_name_37 (model VARCHAR, top_speed VARCHAR)