answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT COUNT(high_assists) FROM table_23248869_10 WHERE game = 81
CREATE TABLE table_23248869_10 (high_assists VARCHAR, game VARCHAR)
How many values for high assists when the game is 81?
SELECT COUNT(date) FROM table_23248869_8 WHERE high_points = "David Lee (30)"
CREATE TABLE table_23248869_8 (date VARCHAR, high_points VARCHAR)
How many times was the high points david lee (30)
SELECT high_assists FROM table_23248869_8 WHERE score = "L 85–118 (OT)"
CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR)
Who had the high assists when the score was l 85–118 (ot)
SELECT record FROM table_23248869_8 WHERE high_rebounds = "David Lee (8)"
CREATE TABLE table_23248869_8 (record VARCHAR, high_rebounds VARCHAR)
What was the record when the high rebounds was david lee (8)
SELECT COUNT(score) FROM table_23248869_8 WHERE record = "19–34"
CREATE TABLE table_23248869_8 (score VARCHAR, record VARCHAR)
How many times was the record 19–34
SELECT score FROM table_23248869_8 WHERE record = "19–35"
CREATE TABLE table_23248869_8 (score VARCHAR, record VARCHAR)
What was the score when the record was 19–35
SELECT MIN(game) FROM table_23248869_8 WHERE high_points = "David Lee (30)"
CREATE TABLE table_23248869_8 (game INTEGER, high_points VARCHAR)
What was the game when high points was david lee (30)
SELECT COUNT(population__2010_census_) FROM table_232458_1 WHERE pop_density__per_km²_ = "7,447.32"
CREATE TABLE table_232458_1 (population__2010_census_ VARCHAR, pop_density__per_km²_ VARCHAR)
If the population density is 7,447.32, what is the population total number?
SELECT pop_density__per_km²_ FROM table_232458_1 WHERE no_of_barangays = 19
CREATE TABLE table_232458_1 (pop_density__per_km²_ VARCHAR, no_of_barangays VARCHAR)
If the number of barangays is 19, what is the population density?
SELECT MIN(population__2010_census_) FROM table_232458_1 WHERE area__km²_ = "66.34"
CREATE TABLE table_232458_1 (population__2010_census_ INTEGER, area__km²_ VARCHAR)
If the area is 66.34, what is the minimum (2010 census) population?
SELECT city___municipality FROM table_232458_1 WHERE pop_density__per_km²_ = "1,388.88"
CREATE TABLE table_232458_1 (city___municipality VARCHAR, pop_density__per_km²_ VARCHAR)
What is the name of the city/municipality if the population is 1,388.88?
SELECT COUNT(rank) FROM table_23248420_1 WHERE country = "England" AND county = "Merseyside" AND city_town = "Birkenhead"
CREATE TABLE table_23248420_1 (rank VARCHAR, city_town VARCHAR, country VARCHAR, county VARCHAR)
When birkenhead is the city/town and merseyside is the county and england is the country how many ranks are there?
SELECT city_town FROM table_23248420_1 WHERE rank = 2
CREATE TABLE table_23248420_1 (city_town VARCHAR, rank VARCHAR)
When 2 is the rank what is the city/town?
SELECT county FROM table_23248420_1 WHERE region_province = "North West" AND rank = 20
CREATE TABLE table_23248420_1 (county VARCHAR, region_province VARCHAR, rank VARCHAR)
When 20 is the rank and north west is the region/province what is the county?
SELECT COUNT(population) FROM table_23248420_1 WHERE city_town = "Fleetwood"
CREATE TABLE table_23248420_1 (population VARCHAR, city_town VARCHAR)
When fleetwood is the city/town how many sets of population are there?
SELECT MAX(rank) FROM table_23248420_1 WHERE population = 142900
CREATE TABLE table_23248420_1 (rank INTEGER, population VARCHAR)
When 142900 is the population what is the highest rank?
SELECT county FROM table_23248420_1 WHERE population = 31901
CREATE TABLE table_23248420_1 (county VARCHAR, population VARCHAR)
When 31901 is the population what is the county?
SELECT score FROM table_23248910_5 WHERE record = "11-3"
CREATE TABLE table_23248910_5 (score VARCHAR, record VARCHAR)
What was the score against the team with an 11-3 record against the Hawks?
SELECT high_rebounds FROM table_23248910_5 WHERE record = "5-2"
CREATE TABLE table_23248910_5 (high_rebounds VARCHAR, record VARCHAR)
Who had the most rebounds in the game against the team with a 5-2 record against the Hawks?
SELECT location_attendance FROM table_23248910_6 WHERE team = "Cavaliers"
CREATE TABLE table_23248910_6 (location_attendance VARCHAR, team VARCHAR)
What location and it's attendance was the game against the cavaliers?
SELECT high_points FROM table_23248910_6 WHERE team = "Raptors"
CREATE TABLE table_23248910_6 (high_points VARCHAR, team VARCHAR)
Who scored the highest points and how much against the raptors?
SELECT location_attendance FROM table_23248910_6 WHERE team = "Nets"
CREATE TABLE table_23248910_6 (location_attendance VARCHAR, team VARCHAR)
What location and it's attendance was the game against the Nets?
SELECT high_assists FROM table_23248910_10 WHERE date = "April 2"
CREATE TABLE table_23248910_10 (high_assists VARCHAR, date VARCHAR)
List all players with highest assists from April 2.
SELECT high_points FROM table_23248910_10 WHERE date = "April 7"
CREATE TABLE table_23248910_10 (high_points VARCHAR, date VARCHAR)
List high points from the April 7 game.
SELECT team FROM table_23248910_9 WHERE date = "March 5"
CREATE TABLE table_23248910_9 (team VARCHAR, date VARCHAR)
What is every team on March 5?
SELECT high_points FROM table_23248910_9 WHERE team = "Pistons"
CREATE TABLE table_23248910_9 (high_points VARCHAR, team VARCHAR)
Who is every high points for the Pistons team?
SELECT score FROM table_23248910_9 WHERE record = "46-25"
CREATE TABLE table_23248910_9 (score VARCHAR, record VARCHAR)
What is every score with a record of 46-25?
SELECT COUNT(high_rebounds) FROM table_23248940_10 WHERE record = "34-32"
CREATE TABLE table_23248940_10 (high_rebounds VARCHAR, record VARCHAR)
How many people had high rebounds during the game with a record of 34-32?
SELECT COUNT(high_assists) FROM table_23248940_10 WHERE game = 71
CREATE TABLE table_23248940_10 (high_assists VARCHAR, game VARCHAR)
How many people led in assists on game 71?
SELECT location_attendance FROM table_23248940_10 WHERE team = "Washington"
CREATE TABLE table_23248940_10 (location_attendance VARCHAR, team VARCHAR)
What was the location and it's attendance when the Bobcats played against Washington?
SELECT record FROM table_23248940_7 WHERE team = "Milwaukee"
CREATE TABLE table_23248940_7 (record VARCHAR, team VARCHAR)
Name the record for milwaukee
SELECT location_attendance FROM table_23248940_7 WHERE record = "10-14"
CREATE TABLE table_23248940_7 (location_attendance VARCHAR, record VARCHAR)
Name the location attendance for 10-14
SELECT record FROM table_23248940_7 WHERE date = "December 8"
CREATE TABLE table_23248940_7 (record VARCHAR, date VARCHAR)
Name the record for december 8
SELECT score FROM table_23248940_9 WHERE game = 50
CREATE TABLE table_23248940_9 (score VARCHAR, game VARCHAR)
How did the game number 50 end?
SELECT COUNT(high_assists) FROM table_23248940_9 WHERE date = "February 24"
CREATE TABLE table_23248940_9 (high_assists VARCHAR, date VARCHAR)
How many different high assists results are there for the game played on February 24?
SELECT high_assists FROM table_23248940_9 WHERE date = "February 6"
CREATE TABLE table_23248940_9 (high_assists VARCHAR, date VARCHAR)
Who did the most high assists during the game played on February 6?
SELECT location_attendance FROM table_23248940_9 WHERE game = 55
CREATE TABLE table_23248940_9 (location_attendance VARCHAR, game VARCHAR)
Where was game number 55 played?
SELECT date FROM table_23248967_10 WHERE game = 78
CREATE TABLE table_23248967_10 (date VARCHAR, game VARCHAR)
What date was game 78 played on?
SELECT score FROM table_23248967_10 WHERE date = "April 9"
CREATE TABLE table_23248967_10 (score VARCHAR, date VARCHAR)
What is the final score of the game on April 9?
SELECT high_points FROM table_23248967_10 WHERE game = 78
CREATE TABLE table_23248967_10 (high_points VARCHAR, game VARCHAR)
Who scored the high points in game 78?
SELECT score FROM table_23249053_8 WHERE game > 29.0
CREATE TABLE table_23249053_8 (score VARCHAR, game INTEGER)
What is the score when the game is bigger than 29.0?
SELECT team FROM table_23249053_11 WHERE high_points = "Rashard Lewis (24)"
CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR)
When rashard lewis (24) has the highest amount of points who is the team?
SELECT COUNT(team) FROM table_23249053_11 WHERE high_points = "Vince Carter (24)"
CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR)
When vince carter (24) has the highest points how many teams are there?
SELECT championship FROM table_23259077_1 WHERE opponent_in_the_final = "Ken Rosewall"
CREATE TABLE table_23259077_1 (championship VARCHAR, opponent_in_the_final VARCHAR)
In which championship did John Newcombe play against Ken Rosewall in the final match?
SELECT score_in_the_final FROM table_23259077_1 WHERE outcome = "Runner-up" AND championship = "Wimbledon"
CREATE TABLE table_23259077_1 (score_in_the_final VARCHAR, outcome VARCHAR, championship VARCHAR)
What were the scores of the Wimbledon final matches where Newcombe was the runner-up?
SELECT MIN(year) FROM table_23259077_1 WHERE opponent_in_the_final = "Clark Graebner"
CREATE TABLE table_23259077_1 (year INTEGER, opponent_in_the_final VARCHAR)
On what year did Newcombe first face Clark Graebner in a final match?
SELECT outcome FROM table_23259077_1 WHERE opponent_in_the_final = "Jan Kodeš"
CREATE TABLE table_23259077_1 (outcome VARCHAR, opponent_in_the_final VARCHAR)
What was the outcome for Newcombe in the matches he played against Jan Kodeš?
SELECT COUNT(written_by) FROM table_23255941_1 WHERE directed_by = "Charles Haid"
CREATE TABLE table_23255941_1 (written_by VARCHAR, directed_by VARCHAR)
How many writers were there in the episode directed by Charles Haid?
SELECT title FROM table_23255941_1 WHERE written_by = "Mark Goffman"
CREATE TABLE table_23255941_1 (title VARCHAR, written_by VARCHAR)
What was the title of the episode written by Mark Goffman?
SELECT COUNT(original_air_date) FROM table_23255941_1 WHERE episode__number = 12
CREATE TABLE table_23255941_1 (original_air_date VARCHAR, episode__number VARCHAR)
How many original air dates did episode 12 have?h
SELECT viewers__in_millions_ FROM table_23255941_1 WHERE directed_by = "Christine Moore"
CREATE TABLE table_23255941_1 (viewers__in_millions_ VARCHAR, directed_by VARCHAR)
How many millions of viewers watched the episode directed by Christine Moore?
SELECT COUNT(date) FROM table_23274514_7 WHERE score = "W 107–97 (OT)"
CREATE TABLE table_23274514_7 (date VARCHAR, score VARCHAR)
Name the number of date for w 107–97 (ot)
SELECT date FROM table_23274514_7 WHERE record = "17-32"
CREATE TABLE table_23274514_7 (date VARCHAR, record VARCHAR)
Name the date for 17-32
SELECT high_rebounds FROM table_23274514_7 WHERE record = "17-33"
CREATE TABLE table_23274514_7 (high_rebounds VARCHAR, record VARCHAR)
Name the high rebounds for 17-33
SELECT team FROM table_23274514_7 WHERE record = "19-34"
CREATE TABLE table_23274514_7 (team VARCHAR, record VARCHAR)
Name the team for 19-34
SELECT COUNT(model) FROM table_2326823_2 WHERE max_power_output = "162kW (220 PS) at 6,300 rpm"
CREATE TABLE table_2326823_2 (model VARCHAR, max_power_output VARCHAR)
How many models have maximum power output is 162kw (220 ps) at 6,300 rpm?
SELECT max_power_output FROM table_2326823_2 WHERE model = "2.0 TS" AND peak_torque = "N·m (lb·ft) at 3,500 rpm"
CREATE TABLE table_2326823_2 (max_power_output VARCHAR, model VARCHAR, peak_torque VARCHAR)
List the max power produced for model 2.0 ts with peak of n·m (lb·ft) at 3,500 rpm.
SELECT high_points FROM table_23274514_4 WHERE record = "2-7"
CREATE TABLE table_23274514_4 (high_points VARCHAR, record VARCHAR)
Who had the highest points during the game with a record of 2-7?
SELECT team FROM table_23274514_4 WHERE record = "2-5"
CREATE TABLE table_23274514_4 (team VARCHAR, record VARCHAR)
What team did the Wizards play against when their record was 2-5?
SELECT high_points FROM table_23274514_4 WHERE team = "Phoenix"
CREATE TABLE table_23274514_4 (high_points VARCHAR, team VARCHAR)
Who tied in the highest point scorer when playing against Phoenix?
SELECT COUNT(season__number) FROM table_23279434_1 WHERE production_code = "AM10"
CREATE TABLE table_23279434_1 (season__number VARCHAR, production_code VARCHAR)
Which season used production code "am10"?
SELECT original_air_date FROM table_23279434_1 WHERE directed_by = "Jeremy Kagan"
CREATE TABLE table_23279434_1 (original_air_date VARCHAR, directed_by VARCHAR)
When did Jeremy Kagan's episode first air?
SELECT COUNT(season__number) FROM table_23279434_1 WHERE written_by = "David E. Kelley" AND series__number = 7
CREATE TABLE table_23279434_1 (season__number VARCHAR, written_by VARCHAR, series__number VARCHAR)
What seasons in series 7 did David E. Kelley write ?
SELECT COUNT(date) FROM table_23281862_10 WHERE score = "L 106–116 (OT)"
CREATE TABLE table_23281862_10 (date VARCHAR, score VARCHAR)
Name the total number of date for score being l 106–116 (ot)
SELECT record FROM table_23281862_10 WHERE team = "Charlotte"
CREATE TABLE table_23281862_10 (record VARCHAR, team VARCHAR)
Name the record for charlotte
SELECT MAX(game) FROM table_23281862_10 WHERE score = "W 113–96 (OT)"
CREATE TABLE table_23281862_10 (game INTEGER, score VARCHAR)
Name the most game for w 113–96 (ot)
SELECT score FROM table_23274514_9 WHERE record = "22-53"
CREATE TABLE table_23274514_9 (score VARCHAR, record VARCHAR)
What was the score when the record was 22-53?
SELECT record FROM table_23274514_9 WHERE team = "Golden State"
CREATE TABLE table_23274514_9 (record VARCHAR, team VARCHAR)
What was the record when they played golden state?
SELECT COUNT(percentage__2006_) FROM table_2328113_1 WHERE mother_tongue = "French"
CREATE TABLE table_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)
How many percentages (2006) are there for the population whose mother tongue is French?
SELECT MIN(population__2011_) FROM table_2328113_1
CREATE TABLE table_2328113_1 (population__2011_ INTEGER)
What was the minimum population in 2011?
SELECT percentage__2006_ FROM table_2328113_1 WHERE mother_tongue = "Polish"
CREATE TABLE table_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)
What was the percentage in 2006 whose natives is Polish?
SELECT location_attendance FROM table_23284271_11 WHERE high_points = "Dirk Nowitzki , Caron Butler (17)"
CREATE TABLE table_23284271_11 (location_attendance VARCHAR, high_points VARCHAR)
Name the location attendance for dirk nowitzki , caron butler (17)
SELECT location_attendance FROM table_23284271_11 WHERE game = 4
CREATE TABLE table_23284271_11 (location_attendance VARCHAR, game VARCHAR)
Name the location attendance for 4 game
SELECT date FROM table_23284271_11 WHERE score = "L 89–92 (OT)"
CREATE TABLE table_23284271_11 (date VARCHAR, score VARCHAR)
Name the date for l 89–92 (ot)
SELECT high_assists FROM table_23284271_11 WHERE series = "1-2"
CREATE TABLE table_23284271_11 (high_assists VARCHAR, series VARCHAR)
Name the high assists for 1-2 series
SELECT high_rebounds FROM table_23284271_11 WHERE location_attendance = "American Airlines Center 20,557"
CREATE TABLE table_23284271_11 (high_rebounds VARCHAR, location_attendance VARCHAR)
Name the high rebounds for american airlines center 20,557
SELECT COUNT(score) FROM table_23284271_6 WHERE date = "December 27"
CREATE TABLE table_23284271_6 (score VARCHAR, date VARCHAR)
Name the score for december 27
SELECT COUNT(high_points) FROM table_23284271_6 WHERE location_attendance = "Pepsi Center 19,756"
CREATE TABLE table_23284271_6 (high_points VARCHAR, location_attendance VARCHAR)
Name the total number of high points for pepsi center 19,756
SELECT opponent_in_the_final FROM table_23284597_3 WHERE score_in_the_final = "3–6, 1–6"
CREATE TABLE table_23284597_3 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
Name the opponent in the final for 3–6, 1–6
SELECT year FROM table_23284597_3 WHERE opponent_in_the_final = "Guillermo Cañas"
CREATE TABLE table_23284597_3 (year VARCHAR, opponent_in_the_final VARCHAR)
Name the year for guillermo cañas
SELECT score FROM table_23285761_10 WHERE team = "Houston"
CREATE TABLE table_23285761_10 (score VARCHAR, team VARCHAR)
What was the score for the game against Houston?
SELECT COUNT(record) FROM table_23285805_5 WHERE game = 30
CREATE TABLE table_23285805_5 (record VARCHAR, game VARCHAR)
Name the number of records for 30 game
SELECT team FROM table_23285805_5 WHERE date = "December 19"
CREATE TABLE table_23285805_5 (team VARCHAR, date VARCHAR)
Name the team for december 19
SELECT location_attendance FROM table_23285849_5 WHERE record = "9-4"
CREATE TABLE table_23285849_5 (location_attendance VARCHAR, record VARCHAR)
What location and how many people were in attendance where the record was 9-4 for the season?
SELECT high_points FROM table_23285849_5 WHERE record = "3-0"
CREATE TABLE table_23285849_5 (high_points VARCHAR, record VARCHAR)
How scored the most points where the record is 3-0 for the season?
SELECT score FROM table_23285849_10 WHERE high_assists = "Chauncey Billups (7)"
CREATE TABLE table_23285849_10 (score VARCHAR, high_assists VARCHAR)
When chauncey billups (7) has the highest amount of assists what is the score?
SELECT score FROM table_23285849_10 WHERE high_points = "J.R. Smith (26)"
CREATE TABLE table_23285849_10 (score VARCHAR, high_points VARCHAR)
When j.r. smith (26) has the highest amount of points what is the score?
SELECT COUNT(game) FROM table_23285849_10 WHERE team = "Clippers"
CREATE TABLE table_23285849_10 (game VARCHAR, team VARCHAR)
When the clippers are the team how many games are there?
SELECT score FROM table_23285849_10 WHERE high_rebounds = "Aaron Afflalo (9)"
CREATE TABLE table_23285849_10 (score VARCHAR, high_rebounds VARCHAR)
When aaron afflalo (9) has the highest amount of rebounds what is the score?
SELECT high_points FROM table_23285849_10 WHERE high_assists = "Chauncey Billups (4)"
CREATE TABLE table_23285849_10 (high_points VARCHAR, high_assists VARCHAR)
When chauncey billups (4) has the highest amount of assists who has the highest amount of points?
SELECT location_attendance FROM table_23285849_11 WHERE high_points = "Carmelo Anthony (39)"
CREATE TABLE table_23285849_11 (location_attendance VARCHAR, high_points VARCHAR)
When carmelo anthony (39) has the highest amount of points where is the location and what is the attendance?
SELECT COUNT(high_rebounds) FROM table_23285849_11 WHERE high_points = "Carmelo Anthony (42)"
CREATE TABLE table_23285849_11 (high_rebounds VARCHAR, high_points VARCHAR)
When carmelo anthony (42) has the highest amount of points how many measurements of highest rebounds are there?
SELECT record FROM table_23285849_8 WHERE score = "L 106–116 (OT)"
CREATE TABLE table_23285849_8 (record VARCHAR, score VARCHAR)
Name the record for l 106–116 (ot)
SELECT high_points FROM table_23285849_8 WHERE location_attendance = "Staples Center 18,997"
CREATE TABLE table_23285849_8 (high_points VARCHAR, location_attendance VARCHAR)
Name the high points for the staples center 18,997
SELECT date FROM table_23285849_7 WHERE record = "27-14"
CREATE TABLE table_23285849_7 (date VARCHAR, record VARCHAR)
What was the date of the game when the record was 27-14?
SELECT high_points FROM table_23285849_7 WHERE score = "W 97–92 (OT)"
CREATE TABLE table_23285849_7 (high_points VARCHAR, score VARCHAR)
Who had the most points in the game where the score was w 97–92 (ot)?
SELECT record FROM table_23285849_7 WHERE team = "Timberwolves"
CREATE TABLE table_23285849_7 (record VARCHAR, team VARCHAR)
What was the record when the timberwolves were played?
SELECT COUNT(high_points) FROM table_23285849_6 WHERE team = "Heat"
CREATE TABLE table_23285849_6 (high_points VARCHAR, team VARCHAR)
How many players has the highest points in the game against the Heat?
SELECT high_rebounds FROM table_23285849_6 WHERE game = 29
CREATE TABLE table_23285849_6 (high_rebounds VARCHAR, game VARCHAR)
Who tied for highest rebounds in game 29?
SELECT location_attendance FROM table_23286112_12 WHERE game = 5
CREATE TABLE table_23286112_12 (location_attendance VARCHAR, game VARCHAR)
Where was game number 5 played?