answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT market_income_per_capita FROM table_22815568_13 WHERE county = "Hancock"
CREATE TABLE table_22815568_13 (market_income_per_capita VARCHAR, county VARCHAR)
what is the market income per capita where the county is hancock?
SELECT county FROM table_22815568_13 WHERE market_income_per_capita = "$25,006"
CREATE TABLE table_22815568_13 (county VARCHAR, market_income_per_capita VARCHAR)
what is the county where the market income per capita is $25,006?
SELECT unemployment_rate FROM table_22815568_13 WHERE market_income_per_capita = "$16,406"
CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR)
what is the unemployment rate where the market income per capita is $16,406?
SELECT unemployment_rate FROM table_22815568_13 WHERE county = "Wayne"
CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, county VARCHAR)
what is the unemployment rate for wayne county?
SELECT original_air_date FROM table_22815870_1 WHERE prod_code = 105
CREATE TABLE table_22815870_1 (original_air_date VARCHAR, prod_code VARCHAR)
What is the original air date of the episode with a production code of 105?
SELECT COUNT(county) FROM table_22815568_3 WHERE population = 2266
CREATE TABLE table_22815568_3 (county VARCHAR, population VARCHAR)
How many counties have a population of 2266?
SELECT COUNT(status) FROM table_22815568_3 WHERE county = "Wayne"
CREATE TABLE table_22815568_3 (status VARCHAR, county VARCHAR)
How many statuses are listed for Wayne county?
SELECT market_income_per_capita FROM table_22815568_3 WHERE status = "Distressed" AND unemployment_rate = "10.5%"
CREATE TABLE table_22815568_3 (market_income_per_capita VARCHAR, status VARCHAR, unemployment_rate VARCHAR)
What is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%?
SELECT status FROM table_22815568_3 WHERE poverty_rate = "36.6%"
CREATE TABLE table_22815568_3 (status VARCHAR, poverty_rate VARCHAR)
What is the status for all the counties that have a poverty rate of 36.6%?
SELECT status FROM table_22815568_6 WHERE poverty_rate = "11.4%"
CREATE TABLE table_22815568_6 (status VARCHAR, poverty_rate VARCHAR)
What is the status if the poverty rate is 11.4%?
SELECT county FROM table_22815568_6 WHERE poverty_rate = "12.9%"
CREATE TABLE table_22815568_6 (county VARCHAR, poverty_rate VARCHAR)
If the poverty rate is 12.9%, what is the county?
SELECT MAX(population) FROM table_22815568_6
CREATE TABLE table_22815568_6 (population INTEGER)
What is the population maximum?
SELECT county FROM table_22815568_6 WHERE unemployment_rate = "4.8%"
CREATE TABLE table_22815568_6 (county VARCHAR, unemployment_rate VARCHAR)
What county is the unemployment rate 4.8%?
SELECT market_income_per_capita FROM table_22815568_6 WHERE poverty_rate = "12.9%"
CREATE TABLE table_22815568_6 (market_income_per_capita VARCHAR, poverty_rate VARCHAR)
If the poverty rate is 12.9%, what is the market income per capita?
SELECT viewers__millions_ FROM table_22822468_2 WHERE rating = "2.1"
CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)
Name the viewers for 2.1 rating
SELECT MAX(share) FROM table_22822468_2 WHERE viewers__millions_ = "2.76"
CREATE TABLE table_22822468_2 (share INTEGER, viewers__millions_ VARCHAR)
Name the most share for 2.76 million viewers
SELECT viewers__millions_ FROM table_22822468_2 WHERE rating / SHARE(18 AS –49) = 1.2 / 4
CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)
Name the viewers for 1.2/4 rating
SELECT rating / SHARE(18 AS –49) FROM table_22822468_2 WHERE viewers__millions_ = "3.79"
CREATE TABLE table_22822468_2 (rating VARCHAR, viewers__millions_ VARCHAR)
Name the rating for 3.79 viewers
SELECT MIN(europa_league) FROM table
CREATE TABLE table (europa_league INTEGER)
Name the least europa league
SELECT COUNT(high_rebounds) FROM table_22822559_4 WHERE date = "November 27"
CREATE TABLE table_22822559_4 (high_rebounds VARCHAR, date VARCHAR)
What was the total number of rebounds on november 27?
SELECT date FROM table_22822559_4 WHERE team = "@ Toronto"
CREATE TABLE table_22822559_4 (date VARCHAR, team VARCHAR)
On what date did the Pistons play @ toronto?
SELECT COUNT(location_attendance) FROM table_22822559_4 WHERE game = 7
CREATE TABLE table_22822559_4 (location_attendance VARCHAR, game VARCHAR)
List the location and number of fans in attendance for game 7/
SELECT steals FROM table_22824302_3 WHERE games_played = 31
CREATE TABLE table_22824302_3 (steals VARCHAR, games_played VARCHAR)
How many interceptions for the team who played 31 games?
SELECT MIN(steals) FROM table_22824302_3 WHERE rebounds = 121
CREATE TABLE table_22824302_3 (steals INTEGER, rebounds VARCHAR)
How many steals for the player who had 121 rebounds?
SELECT date FROM table_22822559_8 WHERE record = "23-47"
CREATE TABLE table_22822559_8 (date VARCHAR, record VARCHAR)
What date was the Piston's record at 23-47?
SELECT high_rebounds FROM table_22822559_8 WHERE record = "23-47"
CREATE TABLE table_22822559_8 (high_rebounds VARCHAR, record VARCHAR)
Who had the highest rebounds during the game with a record of 23-47?
SELECT COUNT(rebounds) FROM table_22824199_1 WHERE points = 147
CREATE TABLE table_22824199_1 (rebounds VARCHAR, points VARCHAR)
How many rebound did the person who scored 147 points have?
SELECT MIN(three_pointers) FROM table_22824199_1 WHERE free_throws = 50
CREATE TABLE table_22824199_1 (three_pointers INTEGER, free_throws VARCHAR)
Of the players with 50 free throws, what is the lowest number of three pointers?
SELECT player FROM table_22824199_1 WHERE rebounds = 156
CREATE TABLE table_22824199_1 (player VARCHAR, rebounds VARCHAR)
Who are all the players with 156 rebounds?
SELECT MAX(games_played) FROM table_22824199_1 WHERE three_pointers = 5
CREATE TABLE table_22824199_1 (games_played INTEGER, three_pointers VARCHAR)
Of the players who scored 5 three pointers, what is the highest number of games played?
SELECT no FROM table_22824297_1 WHERE hometown = "Canton, Illinois"
CREATE TABLE table_22824297_1 (no VARCHAR, hometown VARCHAR)
What is every number for the hometown of Canton, Illinois?
SELECT player FROM table_22824297_1 WHERE height = "6-5"
CREATE TABLE table_22824297_1 (player VARCHAR, height VARCHAR)
Who is every player with a height of 6-5?
SELECT player FROM table_22824297_1 WHERE hometown = "Carbondale, Illinois"
CREATE TABLE table_22824297_1 (player VARCHAR, hometown VARCHAR)
Who are all players from hometown of Carbondale, Illinois?
SELECT class FROM table_22824297_1 WHERE position = "Guard" AND player = "Tal Brody"
CREATE TABLE table_22824297_1 (class VARCHAR, position VARCHAR, player VARCHAR)
What is every class with a position of guard and Tal Brody as the player?
SELECT COUNT(no) FROM table_22824297_1 WHERE hometown = "Canton, Illinois"
CREATE TABLE table_22824297_1 (no VARCHAR, hometown VARCHAR)
How many values for number occur with the hometown of Canton, Illinois?
SELECT class FROM table_22824312_1 WHERE player = "Ren Alde"
CREATE TABLE table_22824312_1 (class VARCHAR, player VARCHAR)
What class was ren alde?
SELECT player FROM table_22824312_1 WHERE weight = 170
CREATE TABLE table_22824312_1 (player VARCHAR, weight VARCHAR)
Who are the player's who weighed 170?
SELECT hometown FROM table_22824312_1 WHERE player = "Jim Dutcher"
CREATE TABLE table_22824312_1 (hometown VARCHAR, player VARCHAR)
What is jim dutcher's hometown?
SELECT COUNT(player) FROM table_22824319_3 WHERE points = 51
CREATE TABLE table_22824319_3 (player VARCHAR, points VARCHAR)
Name the total number of player for 51 points
SELECT MAX(rebounds) FROM table_22824319_3 WHERE player = "Larry Smith"
CREATE TABLE table_22824319_3 (rebounds INTEGER, player VARCHAR)
Name the most rebounds for larry smith
SELECT steals FROM table_22824319_3 WHERE blocks = 5
CREATE TABLE table_22824319_3 (steals VARCHAR, blocks VARCHAR)
Name the steals for 5 blocks
SELECT MIN(points) FROM table_22824319_3
CREATE TABLE table_22824319_3 (points INTEGER)
Name the least points
SELECT h_ci__ka_m_ FROM table_2282444_1 WHERE b_r__t_ = "0.6–1.4"
CREATE TABLE table_2282444_1 (h_ci__ka_m_ VARCHAR, b_r__t_ VARCHAR)
When 0.6–1.4 is the b r (t) what is the h ci (ka/m)?
SELECT COUNT(t_c__) AS Β°c_ FROM table_2282444_1 WHERE magnet = "Nd 2 Fe 14 B (bonded)"
CREATE TABLE table_2282444_1 (t_c__ VARCHAR, magnet VARCHAR)
When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc (Β°c)?
SELECT h_ci__ka_m_ FROM table_2282444_1 WHERE t_c__Β°c_ = "720"
CREATE TABLE table_2282444_1 (h_ci__ka_m_ VARCHAR, t_c__Β°c_ VARCHAR)
When 720 is the t c (Β°c) what is the h ci (ka/m)?
SELECT sec_wins FROM table_22825679_1 WHERE percentage = ".357" AND home_record = "4-3"
CREATE TABLE table_22825679_1 (sec_wins VARCHAR, percentage VARCHAR, home_record VARCHAR)
Name the sec wins for .357 percentage and 4-3 home record
SELECT percentage FROM table_22825679_1 WHERE team = "Georgia"
CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR)
Name the percentage for georgia
SELECT overall_record FROM table_22825679_1 WHERE road_record = "4-3"
CREATE TABLE table_22825679_1 (overall_record VARCHAR, road_record VARCHAR)
Name the overall record for road record being 4-3
SELECT COUNT(road_record) FROM table_22825679_1 WHERE team = "Ole Miss"
CREATE TABLE table_22825679_1 (road_record VARCHAR, team VARCHAR)
Name the number of road record for team ole miss
SELECT percentage FROM table_22825679_1 WHERE team = "Ole Miss"
CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR)
Name the percentage for ole miss
SELECT MAX(blocks) FROM table_22824324_2 WHERE player = "Kendall Gill"
CREATE TABLE table_22824324_2 (blocks INTEGER, player VARCHAR)
What is the most number of blocks kendall gill had?
SELECT MIN(three_pointers) FROM table_22824324_2 WHERE rebounds = 178
CREATE TABLE table_22824324_2 (three_pointers INTEGER, rebounds VARCHAR)
What is the lowest number of three pointers in games where the number of rebounds was 178?
SELECT COUNT(steals) FROM table_22824324_2 WHERE player = "Andy Kaufmann"
CREATE TABLE table_22824324_2 (steals VARCHAR, player VARCHAR)
How many steals were the in games that andy kaufmann played?
SELECT MIN(three_pointers) FROM table_22824324_2 WHERE player = "Kendall Gill"
CREATE TABLE table_22824324_2 (three_pointers INTEGER, player VARCHAR)
What is the lowest number of three pointers in games that kendall gill played?
SELECT COUNT(three_pointers) FROM table_22824324_2 WHERE points = 581
CREATE TABLE table_22824324_2 (three_pointers VARCHAR, points VARCHAR)
How many games had three pointers where the number of points was 581?
SELECT MAX(episodes) FROM table_22837363_1 WHERE viewers__in_millions_ = "5.74"
CREATE TABLE table_22837363_1 (episodes INTEGER, viewers__in_millions_ VARCHAR)
What was the highest amount of episodes for the season with 5.74 million viewers?
SELECT surface FROM table_22834834_3 WHERE score_in_the_final = "6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)"
CREATE TABLE table_22834834_3 (surface VARCHAR, score_in_the_final VARCHAR)
Which surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)?
SELECT COUNT(outcome) FROM table_22834834_3 WHERE score_in_the_final = "7–6 (9–7) , 6–3"
CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)
How many outcome have a score of 7–6 (9–7) , 6–3?
SELECT outcome FROM table_22834834_3 WHERE score_in_the_final = "6–3, 6–2"
CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)
Which outcomes have a final score of 6–3, 6–2?
SELECT MAX(year) FROM table_22834834_3 WHERE opponent_in_the_final = "Andre Agassi"
CREATE TABLE table_22834834_3 (year INTEGER, opponent_in_the_final VARCHAR)
What is the last year that Andre Agassi was the final opponent?
SELECT COUNT(year) FROM table_22834834_3 WHERE score_in_the_final = "6–3, 6–2"
CREATE TABLE table_22834834_3 (year VARCHAR, score_in_the_final VARCHAR)
How many years have a final score of 6–3, 6–2?
SELECT championship FROM table_22834834_3 WHERE score_in_the_final = "6–7 (9–11) , 6–4, 7–5, 4–6, 4–6"
CREATE TABLE table_22834834_3 (championship VARCHAR, score_in_the_final VARCHAR)
Which championship has a final score of 6–7 (9–11) , 6–4, 7–5, 4–6, 4–6?
SELECT COUNT(year) FROM table_22834834_12 WHERE earnings__$_ = 2254598
CREATE TABLE table_22834834_12 (year VARCHAR, earnings__$_ VARCHAR)
How many years had a total earnings amount of 2254598?
SELECT MAX(year) FROM table_22834834_12
CREATE TABLE table_22834834_12 (year INTEGER)
What is the latest year that data is available for?
SELECT score_in_the_final FROM table_22834834_2 WHERE year = 1994
CREATE TABLE table_22834834_2 (score_in_the_final VARCHAR, year VARCHAR)
What is the score in the final in the year 1994?
SELECT championship FROM table_22834834_2 WHERE year = 1993
CREATE TABLE table_22834834_2 (championship VARCHAR, year VARCHAR)
Who is the championship for the year of 1993?
SELECT opponent_in_the_final FROM table_22834834_2 WHERE championship = "Frankfurt" AND year < 1993.0
CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR)
Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0?
SELECT MIN(year) FROM table_22839669_12 WHERE money_list_rank = 3
CREATE TABLE table_22839669_12 (year INTEGER, money_list_rank VARCHAR)
In what year was his money list rank 3?
SELECT MIN(money_list_rank) FROM table_22839669_12 WHERE year = 2001
CREATE TABLE table_22839669_12 (money_list_rank INTEGER, year VARCHAR)
What was his money list rank in 2001?
SELECT MAX(atp_wins) FROM table_22839669_12 WHERE money_list_rank = 4
CREATE TABLE table_22839669_12 (atp_wins INTEGER, money_list_rank VARCHAR)
How many atp wins did he have when his money list rank was 4?
SELECT MAX(total_wins) FROM table_22839669_12
CREATE TABLE table_22839669_12 (total_wins INTEGER)
What is the maximum total wins he had for any year?
SELECT district FROM table_228439_4 WHERE successor = "Samuel A. Bridges ( D )"
CREATE TABLE table_228439_4 (district VARCHAR, successor VARCHAR)
What district is Samuel A. Bridges ( D ) assigned to as a successor?
SELECT reason_for_change FROM table_228439_4 WHERE successor = "Richard K. Meade ( D )"
CREATE TABLE table_228439_4 (reason_for_change VARCHAR, successor VARCHAR)
what was the reason Richard K. Meade ( d ) became a successor?
SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 8th"
CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR)
Who is the successor for massachusetts 8th?
SELECT opponent FROM table_22847880_2 WHERE record = "11-1"
CREATE TABLE table_22847880_2 (opponent VARCHAR, record VARCHAR)
Name the opponent for 11-1
SELECT record FROM table_22847880_2 WHERE opponent = "Kentucky"
CREATE TABLE table_22847880_2 (record VARCHAR, opponent VARCHAR)
Name the record for kentucky
SELECT opponent_in_the_final FROM table_22839669_1 WHERE score_in_the_final = "3–6, 4–6, 7–5, 4–6"
CREATE TABLE table_22839669_1 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
Who is the opponent in the match with final score 3–6, 4–6, 7–5, 4–6?
SELECT outcome FROM table_22839669_1 WHERE score_in_the_final = "4–6, 3–6, 2–6"
CREATE TABLE table_22839669_1 (outcome VARCHAR, score_in_the_final VARCHAR)
What was the outcome of the match with score 4–6, 3–6, 2–6?
SELECT MAX(year) FROM table_22839669_1 WHERE score_in_the_final = "4–6, 3–6, 6–4, 5–7"
CREATE TABLE table_22839669_1 (year INTEGER, score_in_the_final VARCHAR)
What is the most recent year where the final score is 4–6, 3–6, 6–4, 5–7?
SELECT championship FROM table_22839669_1 WHERE score_in_the_final = "6–4, 6–2, 6–2"
CREATE TABLE table_22839669_1 (championship VARCHAR, score_in_the_final VARCHAR)
What championship had a final score of 6–4, 6–2, 6–2?
SELECT top_10s FROM table_22838521_3 WHERE year = 2007
CREATE TABLE table_22838521_3 (top_10s VARCHAR, year VARCHAR)
If the year is 2007, what is the top ten?
SELECT MAX(money_list_rank) FROM table_22838521_3
CREATE TABLE table_22838521_3 (money_list_rank INTEGER)
What is the possible maximum money list rank?
SELECT best_finish FROM table_22838521_3 WHERE scoring_average = "72.46"
CREATE TABLE table_22838521_3 (best_finish VARCHAR, scoring_average VARCHAR)
If the scoring average is 72.46, what is the best finish?
SELECT result FROM table_22853654_9 WHERE opponent = "Wesley Moodie"
CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR)
Name the result for wesley moodie
SELECT surface FROM table_22853654_9 WHERE against = "Monaco"
CREATE TABLE table_22853654_9 (surface VARCHAR, against VARCHAR)
Name the surface against monaco
SELECT result FROM table_22853654_9 WHERE opponent = "Alexander Shvec"
CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR)
Name the result for alexander shvec
SELECT opponent FROM table_22853654_9 WHERE result = "3–6, 4–6, 6–1, 6–7 (7–9)"
CREATE TABLE table_22853654_9 (opponent VARCHAR, result VARCHAR)
Name the opponent for 3–6, 4–6, 6–1, 6–7 (7–9)
SELECT average_annual_rainfall__mm_ FROM table_22854436_1 WHERE population__2002_census_data_ = 493984
CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR)
Name the annual rainfail for 2002 population being 493984
SELECT MAX(population__2002_census_data_) FROM table_22854436_1
CREATE TABLE table_22854436_1 (population__2002_census_data_ INTEGER)
Name the most population 2002
SELECT COUNT(per_capita_average_annual_renewable_water_resources_m_3) FROM table_22854436_1 WHERE average_annual_rainfall__mm_ = "650"
CREATE TABLE table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 VARCHAR, average_annual_rainfall__mm_ VARCHAR)
Name the total water resources m3 for rainfall being 650
SELECT carpet_w_l FROM table_22860698_8 WHERE year = 1993
CREATE TABLE table_22860698_8 (carpet_w_l VARCHAR, year VARCHAR)
What were the carpet w-l in 1993?
SELECT COUNT(score_in_final) FROM table_22858557_1 WHERE championship = "US Open" AND outcome = "Runner-up"
CREATE TABLE table_22858557_1 (score_in_final VARCHAR, championship VARCHAR, outcome VARCHAR)
What is the amount of US open runner-up score?
SELECT MIN(year) FROM table_22858557_1 WHERE outcome = "Runner-up"
CREATE TABLE table_22858557_1 (year INTEGER, outcome VARCHAR)
What is the year where the runner-up outcome was at its basic minimum?
SELECT championship FROM table_22858557_1 WHERE opponent_in_final = "Steffi Graf"
CREATE TABLE table_22858557_1 (championship VARCHAR, opponent_in_final VARCHAR)
How many championships have there been with Steffi Graf?
SELECT COUNT(opponents) FROM table_22860698_2 WHERE championship = "Wimbledon (2)"
CREATE TABLE table_22860698_2 (opponents VARCHAR, championship VARCHAR)
How many opponents have wimbledon (2) as the championship?
SELECT surface FROM table_22860698_2 WHERE championship = "US Open" AND year = 1979
CREATE TABLE table_22860698_2 (surface VARCHAR, championship VARCHAR, year VARCHAR)
What is the surface when the us open is the championship in the year 1979?
SELECT _number FROM table_22871239_5 WHERE date = "November 27"
CREATE TABLE table_22871239_5 (_number VARCHAR, date VARCHAR)
What is the game number that was on November 27?
SELECT score FROM table_22871239_5 WHERE team = "@ New Jersey"
CREATE TABLE table_22871239_5 (score VARCHAR, team VARCHAR)
What was the score when the team was @ New Jersey?
SELECT COUNT(high_rebounds) FROM table_22871239_5 WHERE _number = 5
CREATE TABLE table_22871239_5 (high_rebounds VARCHAR, _number VARCHAR)
How many high rebound catagories are listed for game number 5?
SELECT opponent FROM table_22862203_2 WHERE record = "11-2"
CREATE TABLE table_22862203_2 (opponent VARCHAR, record VARCHAR)
Who were the opponents when the record was 11-2?