answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT new_returning_same_network FROM table_169766_13 WHERE show = "This Week in Baseball"
What is the new/returning/same network name for This Week in Baseball?
CREATE TABLE table_169766_13 (new_returning_same_network VARCHAR, show VARCHAR)
SELECT position FROM table_25017530_6 WHERE player = "Michael Warner"
Name the position for michael warner
CREATE TABLE table_25017530_6 (position VARCHAR, player VARCHAR)
SELECT authority FROM table_name_82 WHERE area = "tirau" AND name = "kuranui primary school"
What is the Authority for Kuranui Primary School that is located in the Area of Tirau?
CREATE TABLE table_name_82 (authority VARCHAR, area VARCHAR, name VARCHAR)
SELECT notes FROM table_name_39 WHERE position = "8th"
What notes have the 8th position?
CREATE TABLE table_name_39 (notes VARCHAR, position VARCHAR)
SELECT points FROM table_10705060_1 WHERE team_name = "DAMS"
what is the score for the dams?
CREATE TABLE table_10705060_1 (points VARCHAR, team_name VARCHAR)
SELECT series FROM table_name_58 WHERE game = "game 6"
Name the series with game of game 6
CREATE TABLE table_name_58 (series VARCHAR, game VARCHAR)
SELECT socket FROM table_name_5 WHERE part_number_s_ = "rk80530pz001256"
What is the Socket when the Part Number(s) is rk80530pz001256?
CREATE TABLE table_name_5 (socket VARCHAR, part_number_s_ VARCHAR)
SELECT year_made FROM table_name_44 WHERE wheel_arrangement = "4-6-2" AND quantity_made = "11"
What year had a quantity made of 11 and a wheel arrangement of 4-6-2?
CREATE TABLE table_name_44 (year_made VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)
SELECT away_team FROM table_16388506_1 WHERE ground = "Subiaco Oval"
Who are the away teams when subiaco oval was the grounds?
CREATE TABLE table_16388506_1 (away_team VARCHAR, ground VARCHAR)
SELECT MAX(round) FROM table_name_35 WHERE position = "d" AND nationality = "united states" AND player = "ian cole"
What is the highest round of Ian Cole, who played position d from the United States?
CREATE TABLE table_name_35 (round INTEGER, player VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT score FROM table_name_20 WHERE place = "t6" AND country = "paraguay"
Which Score has a Place of t6, and a Country of paraguay?
CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, country VARCHAR)
SELECT opponent FROM table_name_39 WHERE date = "april 1"
Which opponent has april 1 as the date?
CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR)
SELECT AVG(laps) FROM table_name_60 WHERE time_retired = "spun off" AND driver = "nick heidfeld"
What is the mean number of laps when time/retired was spun off and the driver was Nick Heidfeld?
CREATE TABLE table_name_60 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
SELECT _percentage_of_total_vote FROM table_28819393_1 WHERE year = "1997"
What was the percentage of total votes in 1997?
CREATE TABLE table_28819393_1 (_percentage_of_total_vote VARCHAR, year VARCHAR)
SELECT latitude FROM table_16799784_3 WHERE longitude = "321.9E"
At a longitude of 321.9e, what is the latitude of the features found?
CREATE TABLE table_16799784_3 (latitude VARCHAR, longitude VARCHAR)
SELECT result FROM table_name_11 WHERE year__ceremony_ = "2010 (83rd)"
What is the Result of the 2010 (83rd) Ceremony?
CREATE TABLE table_name_11 (result VARCHAR, year__ceremony_ VARCHAR)
SELECT location FROM table_name_54 WHERE result = "24-21"
What was the location with the 24-21 result?
CREATE TABLE table_name_54 (location VARCHAR, result VARCHAR)
SELECT date FROM table_13258851_2 WHERE opponent = "San Diego Chargers"
On what date was the game against San Diego Chargers played?
CREATE TABLE table_13258851_2 (date VARCHAR, opponent VARCHAR)
SELECT stadium FROM table_15190346_2 WHERE bowl_game = "1994 Gator Bowl"
What stadium was the 1994 Gator Bowl in?
CREATE TABLE table_15190346_2 (stadium VARCHAR, bowl_game VARCHAR)
SELECT AVG(year) FROM table_name_93 WHERE competition = "olympic games" AND venue = "atlanta, united states"
Which Year has a Competition of olympic games, and a Venue of atlanta, united states?
CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, venue VARCHAR)
SELECT opponent FROM table_name_25 WHERE time = "1:22"
Who was the opponent in the match that lasted 1:22?
CREATE TABLE table_name_25 (opponent VARCHAR, time VARCHAR)
SELECT fastest_lap FROM table_name_50 WHERE winning_driver = "adam christodoulou" AND pole_position = "adam christodoulou"
Who had the fastest lap when adam christodoulou was the winning driver and had the pole position?
CREATE TABLE table_name_50 (fastest_lap VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
SELECT tournament FROM table_name_88 WHERE date = "12 november 2006"
What tournament happened on 12 november 2006?
CREATE TABLE table_name_88 (tournament VARCHAR, date VARCHAR)
SELECT length FROM table_name_37 WHERE stage = "9"
Which length has a Stage of 9?
CREATE TABLE table_name_37 (length VARCHAR, stage VARCHAR)
SELECT result FROM table_name_24 WHERE award = "best feature film" AND organization = "macabro film festival"
What was the Best Feature Film at the Macabro Film Festival?
CREATE TABLE table_name_24 (result VARCHAR, award VARCHAR, organization VARCHAR)
SELECT license FROM table_name_18 WHERE actual_version = "9.0"
Which License has an Actual Vaersion of 9.0?
CREATE TABLE table_name_18 (license VARCHAR, actual_version VARCHAR)
SELECT competition FROM table_29728596_2 WHERE away_team = "FK Kozara Gradiska"
What were the competitions when the away team was fk kozara gradiska?
CREATE TABLE table_29728596_2 (competition VARCHAR, away_team VARCHAR)
SELECT minutes FROM table_22993636_5 WHERE player = "Jordan Coleman"
For how long did Jordan Coleman play?
CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR)
SELECT team FROM table_name_64 WHERE stadium = "vikings stadium"
Who is the team at vikings stadium?
CREATE TABLE table_name_64 (team VARCHAR, stadium VARCHAR)
SELECT Category, COUNT(*) FROM music_festival GROUP BY Category
Please show the categories of the music festivals and the count.
CREATE TABLE music_festival (Category VARCHAR)
SELECT MIN(week) FROM table_name_46 WHERE date = "december 4, 1976" AND attendance < 57 OFFSET 366
Which December 4, 1976 week has an attendance less than 57,366?
CREATE TABLE table_name_46 (week INTEGER, date VARCHAR, attendance VARCHAR)
SELECT COUNT(*) FROM claims_processing_stages
How many claim processing stages are there in total?
CREATE TABLE claims_processing_stages (Id VARCHAR)
SELECT MAX(number_in_series) FROM table_1231892_4 WHERE broadcast_order = "S04 E07"
What's the series number of the episode with a broadcast order s04 e07?
CREATE TABLE table_1231892_4 (number_in_series INTEGER, broadcast_order VARCHAR)
SELECT song_choice FROM table_29756040_1 WHERE week__number = "Audition"
Which song was chosen during the audition week?
CREATE TABLE table_29756040_1 (song_choice VARCHAR, week__number VARCHAR)
SELECT date FROM table_name_96 WHERE score = "1-8"
What date was the score 1-8?
CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR)
SELECT SUM(year) FROM table_name_40 WHERE position = "2nd" AND event = "junior race"
Name the sum of year for 2nd position for junior race
CREATE TABLE table_name_40 (year INTEGER, position VARCHAR, event VARCHAR)
SELECT city FROM table_name_42 WHERE type_of_game = "friendly" AND opponent = "tunisia"
what city has a game of friendly and an opponent of tunisia?
CREATE TABLE table_name_42 (city VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
SELECT MIN(pf_per_game) FROM table_name_22 WHERE rank = 5
Which PF per game has a Rank of 5?
CREATE TABLE table_name_22 (pf_per_game INTEGER, rank VARCHAR)
SELECT quantity_preserved FROM table_name_76 WHERE quantity_made = "4" AND class = "f-21"
What is the quantity preserved when 4 were made of class F-21?
CREATE TABLE table_name_76 (quantity_preserved VARCHAR, quantity_made VARCHAR, class VARCHAR)
SELECT league FROM table_name_96 WHERE sport = "baseball"
What is the name of a league in the sport of baseball?
CREATE TABLE table_name_96 (league VARCHAR, sport VARCHAR)
SELECT competition FROM table_name_46 WHERE event = "50km" AND year < 2010 AND position = "3rd"
Which Competition has an Event of 50km, a Year earlier than 2010 and a Position of 3rd?
CREATE TABLE table_name_46 (competition VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)
SELECT fifth_district FROM table_15442974_1 WHERE third_district = "William Womer"
Name the fifth district for william womer
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)
SELECT us_viewers__millions_ FROM table_21313327_1 WHERE written_by = "Brad Kern"
when the writer is Brad Kern, how many u.s viewers (in millions) had the episode?
CREATE TABLE table_21313327_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = "centre" AND points < 54
Tell me the lowest tries for goals more than 0 with centre position and points less than 54
CREATE TABLE table_name_40 (tries INTEGER, points VARCHAR, goals VARCHAR, position 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 icao FROM table_name_72 WHERE commenced_operations > 2011
Which ICAO has a Commenced operations larger than 2011?
CREATE TABLE table_name_72 (icao VARCHAR, commenced_operations INTEGER)
SELECT score FROM table_name_60 WHERE date = "may 16"
What is the score on may 16?
CREATE TABLE table_name_60 (score VARCHAR, date VARCHAR)
SELECT MIN(crowd) FROM table_name_78 WHERE away_team = "essendon"
What is the lowest crowd when essendon is the away team?
CREATE TABLE table_name_78 (crowd INTEGER, away_team VARCHAR)
SELECT opening_date FROM table_name_6 WHERE classification = "musical" AND theatre = "adelphi theatre"
What is the opening date of the musical at the adelphi theatre?
CREATE TABLE table_name_6 (opening_date VARCHAR, classification VARCHAR, theatre VARCHAR)
SELECT city FROM table_name_70 WHERE province = "saskatchewan"
What city is in Saskatchewan?
CREATE TABLE table_name_70 (city VARCHAR, province VARCHAR)
SELECT round FROM table_name_36 WHERE pick = 63
What is the round of pick 63?
CREATE TABLE table_name_36 (round VARCHAR, pick VARCHAR)
SELECT author FROM table_name_22 WHERE company = "semeio theatre"
Which author has a company of the Semeio Theatre?
CREATE TABLE table_name_22 (author VARCHAR, company VARCHAR)
SELECT AVG(wins) FROM table_name_51 WHERE against < 1786 AND losses < 4 AND byes < 2
What is the average Wins, when Against is less than 1786, when Losses is less than 4, and when Byes is less than 2?
CREATE TABLE table_name_51 (wins INTEGER, byes VARCHAR, against VARCHAR, losses VARCHAR)
SELECT 1845 AS _disposal FROM table_1184344_1 WHERE name = "Sussex"
What was the 1845 disposal for sussex?
CREATE TABLE table_1184344_1 (name VARCHAR)
SELECT MIN(length__aa_) FROM table_26957063_3 WHERE ncbi_accession_number = "CAM15594.1"
What is the length (AA) of the animal whose NCBI accession number is CAM15594.1?
CREATE TABLE table_26957063_3 (length__aa_ INTEGER, ncbi_accession_number VARCHAR)
SELECT MAX(attendance) FROM table_23466021_4
What is the attendance?
CREATE TABLE table_23466021_4 (attendance INTEGER)
SELECT set_5 FROM table_name_46 WHERE date = "jun 26" AND set_2 = "25-22"
What is Set 5, when Date is Jun 26, and when Set 2 is 25-22?
CREATE TABLE table_name_46 (set_5 VARCHAR, date VARCHAR, set_2 VARCHAR)
SELECT MIN(opponents) FROM table_22815265_1 WHERE opponent = "Arizona State"
How many opponents were there when the opponent was Arizona State?
CREATE TABLE table_22815265_1 (opponents INTEGER, opponent VARCHAR)
SELECT release_date FROM table_name_27 WHERE model_number = "core i7-940"
What's the release date of model number CORE I7-940?
CREATE TABLE table_name_27 (release_date VARCHAR, model_number VARCHAR)
SELECT moving_from FROM table_name_53 WHERE type = "transfer" AND nat = "esp" AND name = "de la red"
What's the moving of the Esp with a transfer and named De La Red?
CREATE TABLE table_name_53 (moving_from VARCHAR, name VARCHAR, type VARCHAR, nat VARCHAR)
SELECT pole_position FROM table_name_39 WHERE location = "jerez"
What was the pole position for jerez?
CREATE TABLE table_name_39 (pole_position VARCHAR, location VARCHAR)
SELECT MAX(first_elected) FROM table_1342331_43 WHERE incumbent = "Fritz G. Lanham"
What year was the first election when Fritz G. Lanham was elected?
CREATE TABLE table_1342331_43 (first_elected INTEGER, incumbent VARCHAR)
SELECT audience FROM table_name_36 WHERE episode = "21"
What was the audience for Episode 21?
CREATE TABLE table_name_36 (audience VARCHAR, episode VARCHAR)
SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 22
How many picks have charley sanders as the name, with a round greater than 22?
CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR)
SELECT liberal FROM table_name_36 WHERE polling_firm = "corporate research associates" AND prog_cons = "32%" AND dates = "august 2007"
According to the August 2007 poll by the Corporate Research Associates that reported 32% Prog. Cons., what percentage aligned with the Liberal party?
CREATE TABLE table_name_36 (liberal VARCHAR, dates VARCHAR, polling_firm VARCHAR, prog_cons VARCHAR)
SELECT publisher FROM table_name_19 WHERE name = "spec ops: stealth patrol"
Which publisher is responsible for spec ops: stealth patrol?
CREATE TABLE table_name_19 (publisher VARCHAR, name VARCHAR)
SELECT SUM(round) FROM table_name_79 WHERE pick < 220 AND player = "alford turner"
How many rounds have picked smaller than 220, with Alford Turner as a player?
CREATE TABLE table_name_79 (round INTEGER, pick VARCHAR, player VARCHAR)
SELECT railway FROM table_name_69 WHERE built = "1920"
Which railway was built in 1920?
CREATE TABLE table_name_69 (railway VARCHAR, built VARCHAR)
SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY COUNT(*) DESC LIMIT 1
Which model has the most version(make) of cars?
CREATE TABLE CAR_NAMES (Model VARCHAR)
SELECT location FROM table_name_79 WHERE school = "indian creek"
Where is Indian Creek school located?
CREATE TABLE table_name_79 (location VARCHAR, school VARCHAR)
SELECT MIN(total_population) FROM table_1389609_3 WHERE region = "Southeast Asia"
What is the entire inhabitants in Southeast Asia?
CREATE TABLE table_1389609_3 (total_population INTEGER, region VARCHAR)
SELECT premiere_air_dates FROM table_1949994_8 WHERE start_date = "June 16"
What were the television air dates for the series that had a production start date of June 16?
CREATE TABLE table_1949994_8 (premiere_air_dates VARCHAR, start_date VARCHAR)
SELECT previous_conference FROM table_name_88 WHERE size > 287 AND location = "fountain city"
What's the previous conference of Fountain City with a size more than 287?
CREATE TABLE table_name_88 (previous_conference VARCHAR, size VARCHAR, location VARCHAR)
SELECT COUNT(series__number) FROM table_27720737_1 WHERE production_code = 120
How many episodes had a production code 120?
CREATE TABLE table_27720737_1 (series__number VARCHAR, production_code VARCHAR)
SELECT incumbent FROM table_1341897_45 WHERE first_elected = 1936
Which incumbent was first elected in 1936?
CREATE TABLE table_1341897_45 (incumbent VARCHAR, first_elected VARCHAR)
SELECT MAX(attendance) FROM table_24481478_1 WHERE opponent = "Raleigh-Durham Skyhawks"
How man fans showed up to watch the game versus the raleigh-durham skyhawks?
CREATE TABLE table_24481478_1 (attendance INTEGER, opponent VARCHAR)
SELECT film_name FROM table_10236830_6 WHERE actors_name = "Alla Sergiyko"
Which films does the actor Alla Sergiyko star in?
CREATE TABLE table_10236830_6 (film_name VARCHAR, actors_name VARCHAR)
SELECT date FROM table_name_54 WHERE week = 1
What Date is Week 1?
CREATE TABLE table_name_54 (date VARCHAR, week VARCHAR)
SELECT type FROM table_name_35 WHERE name = "kevin muscat"
What type is Kevin Muscat?
CREATE TABLE table_name_35 (type VARCHAR, name VARCHAR)
SELECT SUM(noof_settlements) FROM table_name_76 WHERE district = "český krumlov (ck)" AND pop_dens > 38
How many settlements are in český krumlov (ck) with a population density higher than 38?
CREATE TABLE table_name_76 (noof_settlements INTEGER, district VARCHAR, pop_dens VARCHAR)
SELECT release_price___usd__ FROM table_name_90 WHERE release_date = "april 2012" AND part_number_s_ = "cm8063701211900bx80637i73770s"
Which Release price (USD ) that has a Release date on april 2012 and a Part number(s) of cm8063701211900bx80637i73770s?
CREATE TABLE table_name_90 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)
SELECT AVG(cuts_made) FROM table_name_5 WHERE top_25 > 13 AND top_5 < 11
Name the average cuts for top-25 more than 13 and top-5 less than 11
CREATE TABLE table_name_5 (cuts_made INTEGER, top_25 VARCHAR, top_5 VARCHAR)
SELECT champion FROM table_name_36 WHERE year = 2005 AND semi_finalist__number1 = "western carolina"
Who was champion in 2005 where the semi-finalist was #1 in western Carolina?
CREATE TABLE table_name_36 (champion VARCHAR, year VARCHAR, semi_finalist__number1 VARCHAR)
SELECT MIN(league_goals) FROM table_name_14 WHERE position = "fw" AND fa_cup_apps = "0" AND playoff_goals > 0
How many goals for the FW with 0 FA cup appearances and over 0 playoff goals?
CREATE TABLE table_name_14 (league_goals INTEGER, playoff_goals VARCHAR, position VARCHAR, fa_cup_apps VARCHAR)
SELECT circuit FROM table_name_79 WHERE winning_car = "ensign n180" AND round = 5
What circuit had an ensign n180 as the winning car in round 5?
CREATE TABLE table_name_79 (circuit VARCHAR, winning_car VARCHAR, round VARCHAR)
SELECT candidates FROM table_1342198_38 WHERE incumbent = "Hardie Scott"
What was the candidates for hardie scott
CREATE TABLE table_1342198_38 (candidates VARCHAR, incumbent VARCHAR)
SELECT COUNT(DISTINCT Artist_ID) FROM volume
How many distinct artists do the volumes associate to?
CREATE TABLE volume (Artist_ID VARCHAR)
SELECT term_end FROM table_name_74 WHERE party = "united australia" AND term_in_office = "184 days"
What is the Term end that has a Party of united australia and 184 days in office?
CREATE TABLE table_name_74 (term_end VARCHAR, party VARCHAR, term_in_office VARCHAR)
SELECT release_date FROM table_name_19 WHERE isbn = 0 AND year = 1992
What was release date in 1992 with the ISBN #0?
CREATE TABLE table_name_19 (release_date VARCHAR, isbn VARCHAR, year VARCHAR)
SELECT kosal FROM table_name_94 WHERE sambalpuri_cinema = "hatibandha"
What is the kosal with hatibandha as the sambalpuri cinema?
CREATE TABLE table_name_94 (kosal VARCHAR, sambalpuri_cinema VARCHAR)
SELECT SUM(average) FROM table_name_64 WHERE 2006 = "36/40" AND played > 126
What is the sum of Average, when 2006 is "36/40", and when Played is greater than 126?
CREATE TABLE table_name_64 (average INTEGER, played VARCHAR)
SELECT opponent FROM table_12944805_15 WHERE game_site = "Veterans Stadium"
What is the opponent of the veterans stadium
CREATE TABLE table_12944805_15 (opponent VARCHAR, game_site VARCHAR)
SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833
When the A Score was larger than 5.933 with a total of 19.833, what nation was this?
CREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR)
SELECT program FROM table_name_35 WHERE duration__years_ = 3.5
Which program has 3.5 years?
CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR)
SELECT AVG(played) FROM table_name_81 WHERE club = "rayo vallecano" AND wins < 12
What's the average number of played games from Rayo Vallecano with less than 12 wins?
CREATE TABLE table_name_81 (played INTEGER, club VARCHAR, wins VARCHAR)
SELECT grand_prix FROM table_18303274_1 WHERE pole_position = "Daijiro Hiura" AND round = 5
Which round 5 Grand Prix had Daijiro Hiura at pole position?
CREATE TABLE table_18303274_1 (grand_prix VARCHAR, pole_position VARCHAR, round VARCHAR)
SELECT pole_position FROM table_name_71 WHERE circuit = "adelaide street circuit" AND winning_team = "piccola scuderia corse"
What is Pole Position, when Circuit is Adelaide Street Circuit, and when Winning Team is Piccola Scuderia Corse?
CREATE TABLE table_name_71 (pole_position VARCHAR, circuit VARCHAR, winning_team VARCHAR)
SELECT opponent FROM table_name_11 WHERE decision = "w" AND season = "2011"
Who is the opponent for the 2011 season with a decision of W?
CREATE TABLE table_name_11 (opponent VARCHAR, decision VARCHAR, season VARCHAR)
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Country = "China" OR T2.Country = "Japan"
What are the names of perpetrators in country "China" or "Japan"?
CREATE TABLE perpetrator (People_ID VARCHAR, Country VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
SELECT MAX(wins) FROM table_name_63 WHERE season < 1995 AND team = "central district" AND draws < 0
What is the highest number of wins for the team, Central District, who had less than 0 draws and took place during a season before 1995?
CREATE TABLE table_name_63 (wins INTEGER, draws VARCHAR, season VARCHAR, team VARCHAR)