answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT score FROM table_name_72 WHERE record = "43-13"
What was the score when the Spurs' record was 43-13?
CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR)
SELECT AVG(against) FROM table_name_93 WHERE byes < 3
What was the against were there were less than 3 byes?
CREATE TABLE table_name_93 (against INTEGER, byes INTEGER)
SELECT COUNT(date) FROM table_17382360_9 WHERE score = "W 118-112"
How many dates had a final score of w 118-112?
CREATE TABLE table_17382360_9 (date VARCHAR, score VARCHAR)
SELECT home FROM table_name_56 WHERE date = "april 1"
Which Home has a Date of april 1?
CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
SELECT round FROM table_name_24 WHERE margin = "178"
which round has a margin of 178?
CREATE TABLE table_name_24 (round VARCHAR, margin VARCHAR)
SELECT week FROM table_name_99 WHERE record = "12-2"
What week has a Record of 12-2?
CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR)
SELECT date FROM table_15346009_1 WHERE winner = "Bernhard Langer (2)"
What day did Bernhard Langer (2) win?
CREATE TABLE table_15346009_1 (date VARCHAR, winner VARCHAR)
SELECT loan_club FROM table_name_57 WHERE country = "eng" AND ended = "22 february"
What is the Loan Club from Eng that ended on 22 February?
CREATE TABLE table_name_57 (loan_club VARCHAR, country VARCHAR, ended VARCHAR)
SELECT COUNT(enrollment) FROM table_name_97 WHERE school = "laville"
What is the total enrollment at Laville?
CREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR)
SELECT frequency FROM table_name_58 WHERE branding = "the beat"
Which frequency belongs to the beat branding?
CREATE TABLE table_name_58 (frequency VARCHAR, branding VARCHAR)
SELECT sesamin FROM table_1831262_2 WHERE secoisolariciresinol = 240
what is the total number of sesamin were secoisolariciresinol is 240?
CREATE TABLE table_1831262_2 (sesamin VARCHAR, secoisolariciresinol VARCHAR)
SELECT player FROM table_name_23 WHERE nationality = "canada" AND year > 2009
After 2009, who was the player that has a nationality of Canada?
CREATE TABLE table_name_23 (player VARCHAR, nationality VARCHAR, year VARCHAR)
SELECT name FROM table_name_86 WHERE left_office = "14 november 2006"
What is the name of the minister that left office on 14 November 2006?
CREATE TABLE table_name_86 (name VARCHAR, left_office VARCHAR)
SELECT subtitles FROM table_name_85 WHERE classifaction = "15"
What subtitles have 15 as the classification?
CREATE TABLE table_name_85 (subtitles VARCHAR, classifaction VARCHAR)
SELECT hdtv FROM table_name_26 WHERE content = "general television" AND television_service = "tv 8 mont blanc"
What is the HDTV that has television service of tv 8 mont blanc and content is general television?
CREATE TABLE table_name_26 (hdtv VARCHAR, content VARCHAR, television_service VARCHAR)
SELECT home_team FROM table_name_16 WHERE venue = "kardinia park"
Who is the home team at kardinia park?
CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR)
SELECT first_us_tour_cast FROM table_name_16 WHERE original_broadway_cast = "sarah bolt"
What shows as the First US Tour Cast when the Original Broadway Cast was Sarah Bolt?
CREATE TABLE table_name_16 (first_us_tour_cast VARCHAR, original_broadway_cast VARCHAR)
SELECT japanese FROM table_name_92 WHERE korean = "상나화수 / sanahwasa"
Which JAPANESE has a KOREAN of 상나화수 / sanahwasa?
CREATE TABLE table_name_92 (japanese VARCHAR, korean VARCHAR)
SELECT date FROM table_name_8 WHERE game_site = "invesco field"
What was the date of the game held at Invesco Field?
CREATE TABLE table_name_8 (date VARCHAR, game_site VARCHAR)
SELECT SUM(crowd) FROM table_name_8 WHERE away_team = "richmond"
How many spectators were at the game where Richmond was the away team?
CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(field_goals) FROM table_14342480_5
Name the most field goals
CREATE TABLE table_14342480_5 (field_goals INTEGER)
SELECT SUM(population_112008) FROM table_name_62 WHERE urban_area = "tønsberg" AND population_112006 > 45.447
Name the sum of population 1.1.2008 for tønsberg and population 1.1.2006 more than 45.447
CREATE TABLE table_name_62 (population_112008 INTEGER, urban_area VARCHAR, population_112006 VARCHAR)
SELECT teaching_language FROM table_12591022_2 WHERE duration__years_ = "3.5"
What is the teaching language with the duration (years) 3.5?
CREATE TABLE table_12591022_2 (teaching_language VARCHAR, duration__years_ VARCHAR)
SELECT score FROM table_name_65 WHERE competition = "world cup qualifying" AND brazil_scorers = "baltazar" AND date = "march 14, 1954"
Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march 14, 1954?
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR)
SELECT time FROM table_name_67 WHERE event = "tachi palace fights 3"
What time did the even tachi palace fights 3 take place?
CREATE TABLE table_name_67 (time VARCHAR, event VARCHAR)
SELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace = "new york"
What is the 1990–1991 Team when the Birthplace shows as new york?
CREATE TABLE table_name_23 (birthplace VARCHAR)
SELECT MIN(money___) AS $__ FROM table_name_1 WHERE to_par > 26
WHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26?
CREATE TABLE table_name_1 (money___ INTEGER, to_par INTEGER)
SELECT team FROM table_22669044_9 WHERE high_assists = "Kirk Hinrich , Derrick Rose , John Salmons (6)"
Name the team for kirk hinrich , derrick rose , john salmons (6)
CREATE TABLE table_22669044_9 (team VARCHAR, high_assists VARCHAR)
SELECT place FROM table_name_79 WHERE player = "don whitt"
What place did Don Whitt finish?
CREATE TABLE table_name_79 (place VARCHAR, player VARCHAR)
SELECT COUnT AS eu FROM table_22667773_8 WHERE name = "Quinn"
Name the total number of eu for quinn
CREATE TABLE table_22667773_8 (COUnT VARCHAR, name VARCHAR)
SELECT census_ranking FROM table_170961_2 WHERE population = 1599
when the population was 1599, what was the census ranking?
CREATE TABLE table_170961_2 (census_ranking VARCHAR, population VARCHAR)
SELECT home_team FROM table_name_32 WHERE tie_no = "1"
What is the home team when the Tie no is 1?
CREATE TABLE table_name_32 (home_team VARCHAR, tie_no VARCHAR)
SELECT title FROM table_15938543_1 WHERE production_code = 109
Whats the title of the episode with production code 109
CREATE TABLE table_15938543_1 (title VARCHAR, production_code VARCHAR)
SELECT party FROM table_1342233_32 WHERE district = "New York 20"
What is the party for new york 20?
CREATE TABLE table_1342233_32 (party VARCHAR, district VARCHAR)
SELECT opponent_in_the_final FROM table_name_24 WHERE date = "19 february 2006"
Who is the opponent in the final of the match on 19 February 2006?
CREATE TABLE table_name_24 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Frederick E. O. Toye"
What was the original air date of the episode directed by frederick e. o. toye?
CREATE TABLE table_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT score FROM table_name_73 WHERE visitor = "atlanta" AND date = "november 9"
What was the score of the game on November 9 when Atlanta was the visiting team?
CREATE TABLE table_name_73 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT COUNT(yards) FROM table_19418696_3 WHERE qb_rating = "72.3"
How many yardage figures for the player with 72.3 QB rating?
CREATE TABLE table_19418696_3 (yards VARCHAR, qb_rating VARCHAR)
SELECT date FROM table_name_81 WHERE kickoff_[a_] = "1:00" AND result = "l 27-14"
What date had a kickoff of 1:00 and a result of l 27-14?
CREATE TABLE table_name_81 (date VARCHAR, result VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
SELECT time FROM table_name_27 WHERE notes = "sc/d" AND rank > 5
What is the time for the rank after 5 with sc/d notes?
CREATE TABLE table_name_27 (time VARCHAR, notes VARCHAR, rank VARCHAR)
SELECT COUNT(*) FROM ADDRESSES WHERE zip_postcode = "197"
How many addresses have zip code 197?
CREATE TABLE ADDRESSES (zip_postcode VARCHAR)
SELECT ethnic_group FROM table_name_58 WHERE muslims = "93%"
Which ehtinc group consists of 93% muslims?
CREATE TABLE table_name_58 (ethnic_group VARCHAR, muslims VARCHAR)
SELECT AVG(area__km_2__) FROM table_name_80 WHERE code = 98030 AND population > 312
What is the average area for code 98030 with population over 312?
CREATE TABLE table_name_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR)
SELECT genre FROM table_name_41 WHERE year_recorded = "1929"
What's the genre of the song recorded in 1929?
CREATE TABLE table_name_41 (genre VARCHAR, year_recorded VARCHAR)
SELECT event FROM table_name_16 WHERE placed = "bronze" AND year < 1987
What event placed bronze earlier than 1987?
CREATE TABLE table_name_16 (event VARCHAR, placed VARCHAR, year VARCHAR)
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Russel Friend & Garrett Lerner"
What was the week ranking of the episode written by Russel Friend & Garrett Lerner?
CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR)
SELECT starring FROM table_name_61 WHERE network = "vara"
Who was the star for the Vara network?
CREATE TABLE table_name_61 (starring VARCHAR, network VARCHAR)
SELECT COUNT(game) FROM table_27882867_4 WHERE score = "W 112-94"
Name the total number of games for w 112-94
CREATE TABLE table_27882867_4 (game VARCHAR, score VARCHAR)
SELECT theme FROM table_25374338_1 WHERE original_artist = "AC/DC"
What is the theme where the original artist is AC/DC?
CREATE TABLE table_25374338_1 (theme VARCHAR, original_artist VARCHAR)
SELECT COUNT(nickerie) FROM table_16886076_1 WHERE marowijne = "4.7%"
Name the nickerie for marowijne being 4.7%
CREATE TABLE table_16886076_1 (nickerie VARCHAR, marowijne VARCHAR)
SELECT AVG(pick) FROM table_name_38 WHERE nationality = "canada" AND year < 1974 AND player = "yvon bouillon"
What was the pic for Canada for player Yvon Bouillon earlier than 1974?
CREATE TABLE table_name_38 (pick INTEGER, player VARCHAR, nationality VARCHAR, year VARCHAR)
SELECT administration_of_oaths FROM table_name_43 WHERE rights_of_audience = "yes" AND reserved_instruments = "yes"
What is Administration of Oaths, when Rights of Audience is Yes, and when Reserved Instruments is Yes?
CREATE TABLE table_name_43 (administration_of_oaths VARCHAR, rights_of_audience VARCHAR, reserved_instruments VARCHAR)
SELECT frequency FROM table_name_53 WHERE callsign = "dybt"
What is the frequency for the station with DYBT as its callsign?
CREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR)
SELECT COUNT(race_name) FROM table_22673956_1 WHERE date = "October 1"
How many races took place on October 1?
CREATE TABLE table_22673956_1 (race_name VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_75 WHERE date = "31 january 1951" AND away_team = "sheffield united"
Who is the home team on 31 January 1951 when away team was Sheffield United?
CREATE TABLE table_name_75 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT game_time FROM table_name_96 WHERE record = "7-3"
What time was the game with a record of 7-3?
CREATE TABLE table_name_96 (game_time VARCHAR, record VARCHAR)
SELECT AVG(founded) FROM table_name_70 WHERE location = "east lansing, mi"
What is the average number of students in East Lansing, MI?
CREATE TABLE table_name_70 (founded INTEGER, location VARCHAR)
SELECT AVG(top_25) FROM table_name_79 WHERE cuts_made = 16 AND events < 23
What is the average of the top-25 with 16 cuts and less than 23 events?
CREATE TABLE table_name_79 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR)
SELECT thurs_3_june FROM table_25220821_4 WHERE wed_2_june = "17' 45.11 127.525mph"
What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph?
CREATE TABLE table_25220821_4 (thurs_3_june VARCHAR, wed_2_june VARCHAR)
SELECT nationality FROM table_10015132_9 WHERE school_club_team = "Fresno State"
What are the nationality of the players on the Fresno State school/club team?
CREATE TABLE table_10015132_9 (nationality VARCHAR, school_club_team VARCHAR)
SELECT date FROM table_name_73 WHERE time__seconds_ = 42.172
What Date has a time of (seconds) 42.172?
CREATE TABLE table_name_73 (date VARCHAR, time__seconds_ VARCHAR)
SELECT home_team AS score FROM table_name_73 WHERE away_team = "north melbourne"
What is the home team score that played the away team of north melbourne?
CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
SELECT AVG(tier) FROM table_name_56 WHERE postseason = "–" AND season = "2012–13"
What is the average Tier when the postseason shows -, and the season is 2012–13?
CREATE TABLE table_name_56 (tier INTEGER, postseason VARCHAR, season VARCHAR)
SELECT final_score FROM table_name_94 WHERE stadium = "texas stadium" AND visiting_team = "new orleans saints"
When the new orleans saints were visiting texas stadium, what was the final score?
CREATE TABLE table_name_94 (final_score VARCHAR, stadium VARCHAR, visiting_team VARCHAR)
SELECT score1 FROM table_name_69 WHERE match = 2
What was the score of Match 2?
CREATE TABLE table_name_69 (score1 VARCHAR, match VARCHAR)
SELECT co_artists FROM table_23379776_5 WHERE name_of_role = "Ah-Zhong 阿忠"
Who is every co-artist with name of role as Ah-Zhong 阿忠?
CREATE TABLE table_23379776_5 (co_artists VARCHAR, name_of_role VARCHAR)
SELECT result_f___a FROM table_name_22 WHERE round = "round 5"
What was the result F-A for round 5?
CREATE TABLE table_name_22 (result_f___a VARCHAR, round VARCHAR)
SELECT competition FROM table_name_50 WHERE result = "w" AND score = "2-0" AND date = "may 9, 1954"
Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1954?
CREATE TABLE table_name_50 (competition VARCHAR, date VARCHAR, result VARCHAR, score VARCHAR)
SELECT away_captain FROM table_name_65 WHERE home_captain = "hugh trumble" AND result = "aus by 32 runs"
What is the name of the away captain when Hugh Trumble was the home captain and the result was Aus by 32 runs?
CREATE TABLE table_name_65 (away_captain VARCHAR, home_captain VARCHAR, result VARCHAR)
SELECT director FROM table_name_28 WHERE film_title_used_in_nomination = "hope and pain"
WHAT IS THE DIRECTOR WITH FILM hope and pain?
CREATE TABLE table_name_28 (director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT value FROM table_name_23 WHERE british_name = "quaver"
what is the value when the british name is quaver?
CREATE TABLE table_name_23 (value VARCHAR, british_name VARCHAR)
SELECT date FROM table_name_48 WHERE time = "2:48"
What date has 2:48 as the time?
CREATE TABLE table_name_48 (date VARCHAR, time VARCHAR)
SELECT MIN(wins) FROM table_name_25 WHERE country = "new zealand" AND last_title > 1968
Which Wins has a Country of new zealand and a Last title larger than 1968?
CREATE TABLE table_name_25 (wins INTEGER, country VARCHAR, last_title VARCHAR)
SELECT player FROM table_name_4 WHERE place = "t10"
Who was the player who placed t10?
CREATE TABLE table_name_4 (player VARCHAR, place VARCHAR)
SELECT channel FROM table_name_83 WHERE country = "israel"
Which channel comes out of Israel?
CREATE TABLE table_name_83 (channel VARCHAR, country VARCHAR)
SELECT country FROM table_name_77 WHERE score = 73 - 71 - 70 = 214
The score of 73-71-70=214 belongs to what country?
CREATE TABLE table_name_77 (country VARCHAR, score VARCHAR)
SELECT week FROM table_name_17 WHERE opponent = "detroit lions"
The Detroit Lions were played against what week?
CREATE TABLE table_name_17 (week VARCHAR, opponent VARCHAR)
SELECT nickname FROM table_2293402_2 WHERE founded = 1798
Name the nickname that was founded 1798
CREATE TABLE table_2293402_2 (nickname VARCHAR, founded VARCHAR)
SELECT status FROM table_name_86 WHERE against < 22 AND opposing_teams = "australia"
What's the status for an against below 22 with an opposing team of Australia?
CREATE TABLE table_name_86 (status VARCHAR, against VARCHAR, opposing_teams VARCHAR)
SELECT home_team AS score FROM table_name_8 WHERE away_team = "footscray"
What was the score of the home team when they played footscray?
CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)
SELECT tournament FROM table_name_91 WHERE 2007 = "olympic games"
What tournament was at the 2007 Olympic Games?
CREATE TABLE table_name_91 (tournament VARCHAR)
SELECT COUNT(season) FROM table_name_30 WHERE premier = "essendon" AND score = "15.12 (102) – 9.14 (68)"
How many seasons feature essendon, and a Score of 15.12 (102) – 9.14 (68)?
CREATE TABLE table_name_30 (season VARCHAR, premier VARCHAR, score VARCHAR)
SELECT eccentricity FROM table_name_75 WHERE semimajor_axis___au__ = "20 au"
What is the eccentricity when the semimajor axis is 20 au?
CREATE TABLE table_name_75 (eccentricity VARCHAR, semimajor_axis___au__ VARCHAR)
SELECT AVG(sales__billion_) AS $_ FROM table_name_5 WHERE company = "walmart" AND profits__billion_$_ > 15.7
What is the average sales in billions of walmart, which has more than 15.7 billion in profits?
CREATE TABLE table_name_5 (sales__billion_ INTEGER, company VARCHAR, profits__billion_$_ VARCHAR)
SELECT away_team FROM table_name_88 WHERE home_team = "everton"
What is the away team playing at Everton?
CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR)
SELECT season FROM table_name_77 WHERE podiums = "0" AND races = "1" AND points = "0"
Which Season has 0 Podiums, 1 Race, and 0 Points?
CREATE TABLE table_name_77 (season VARCHAR, points VARCHAR, podiums VARCHAR, races VARCHAR)
SELECT MIN(overs) FROM table_name_29 WHERE team = "chennai super kings" AND best_bowling = "2/17" AND economy_rate < 5.92
What is the lowest overs of the Chennai Super Kings when the Economy Rate is less than 5.92 with a Best Bowling number of 2/17?
CREATE TABLE table_name_29 (overs INTEGER, economy_rate VARCHAR, team VARCHAR, best_bowling VARCHAR)
SELECT record FROM table_name_44 WHERE date = "november 14"
WHAT IS THE RECORD FOR DATE NOVEMBER 14?
CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)
SELECT series FROM table_name_28 WHERE season > 2008 AND podiums = "3" AND position = "8th"
What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Position is 8th?
CREATE TABLE table_name_28 (series VARCHAR, position VARCHAR, season VARCHAR, podiums VARCHAR)
SELECT catalog FROM table_name_91 WHERE region = "japan"
What is the Catalog number for the region of Japan?
CREATE TABLE table_name_91 (catalog VARCHAR, region VARCHAR)
SELECT nickname FROM table_name_4 WHERE institution = "post university"
Post University has what nickname?
CREATE TABLE table_name_4 (nickname VARCHAR, institution VARCHAR)
SELECT record FROM table_name_92 WHERE home = "ny rangers"
What is the record for the NY Rangers?
CREATE TABLE table_name_92 (record VARCHAR, home VARCHAR)
SELECT largest_ethnic_group__2002_ FROM table_2562572_54 WHERE cyrillic_name_other_names = "Бешка"
What is the largest ethnic group in 2002 for the cyrillic name, other name of бешка?
CREATE TABLE table_2562572_54 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
SELECT duration FROM table_name_40 WHERE spacecraft = "expedition 20 iss zvezda"
What is the duration of the Expedition 20 ISS Zvezda?
CREATE TABLE table_name_40 (duration VARCHAR, spacecraft VARCHAR)
SELECT fcc_info FROM table_name_75 WHERE call_sign = "wsja"
Which FCC info has a Call sign of wsja?
CREATE TABLE table_name_75 (fcc_info VARCHAR, call_sign VARCHAR)
SELECT COUNT(new_council) FROM table_name_14 WHERE previous_council = 19 AND seats_up_for_election < 6
Which number of New Councils had a previous council number of 19 and the seats up for election were bigger than 6?
CREATE TABLE table_name_14 (new_council VARCHAR, previous_council VARCHAR, seats_up_for_election VARCHAR)
SELECT COUNT(year) FROM table_name_51 WHERE role = "lady cecily waynflete" AND theatre = "opera house, kennedy center"
Tell me the total number of years for lady cecily waynflete and opera house, kennedy center
CREATE TABLE table_name_51 (year VARCHAR, role VARCHAR, theatre VARCHAR)
SELECT AVG(average) FROM table_name_77 WHERE rank > 4 AND player = "dean minors"
Can you tell me the average Average that has the Rank larger than 4, and the Player of dean minors?
CREATE TABLE table_name_77 (average INTEGER, rank VARCHAR, player VARCHAR)
SELECT hometown FROM table_23476629_2 WHERE province = "Huesca"
What is the hometown of contestants who are from the province of Huesca?
CREATE TABLE table_23476629_2 (hometown VARCHAR, province VARCHAR)
SELECT MIN(rank) FROM table_name_73 WHERE nationality = "poland" AND time > 55.34
What is the lowest rank with poland as the nationality and a time greater than 55.34?
CREATE TABLE table_name_73 (rank INTEGER, nationality VARCHAR, time VARCHAR)