question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
HOW MUCH IS THE PERCENTAGE OF GLOBAL TOTAL EMISSIONS IN THE COUNTRY THAT PRODUCED 4.9 TONS PER PERSON IN 2007?
CREATE TABLE table_11251601_2 (percentage_of_global_total VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR)
SELECT percentage_of_global_total FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = "4.9"
What was the sum roll of Karaka area?
CREATE TABLE table_name_53 (roll INTEGER, area VARCHAR)
SELECT SUM(roll) FROM table_name_53 WHERE area = "karaka"
Which Pick # has a Nationality of canada, and a Team from of sudbury wolves?
CREATE TABLE table_name_44 (pick__number INTEGER, nationality VARCHAR, team_from VARCHAR)
SELECT MIN(pick__number) FROM table_name_44 WHERE nationality = "canada" AND team_from = "sudbury wolves"
A score of 71-71=142 earned what place?
CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_11 WHERE score = 71 - 71 = 142
Which home team has a crowd larger than 25,000?
CREATE TABLE table_name_42 (home_team VARCHAR, crowd INTEGER)
SELECT home_team FROM table_name_42 WHERE crowd > 25 OFFSET 000
In what place did Adam Scott, who had a to par score of +1, finish?
CREATE TABLE table_name_17 (place VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT place FROM table_name_17 WHERE to_par = "+1" AND player = "adam scott"
What series number garnered 20.64 million viewers?
CREATE TABLE table_18217750_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR)
SELECT series__number FROM table_18217750_1 WHERE us_viewers__millions_ = "20.64"
Which opponent has a save of smith (22)?
CREATE TABLE table_name_65 (opponent VARCHAR, save VARCHAR)
SELECT opponent FROM table_name_65 WHERE save = "smith (22)"
November 25, 2001 was what week of the season?
CREATE TABLE table_name_52 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_52 WHERE date = "november 25, 2001"
What is the production code of the episode before season 8, with a series number less than 31, and aired on September 21, 1995?
CREATE TABLE table_name_1 (production_code VARCHAR, original_air_date VARCHAR, season__number VARCHAR, series__number VARCHAR)
SELECT production_code FROM table_name_1 WHERE season__number < 8 AND series__number < 31 AND original_air_date = "september 21, 1995"
What was the date of the game when Hawthorn was the home team?
CREATE TABLE table_name_54 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_54 WHERE home_team = "hawthorn"
How many region 1's did back to earth have?
CREATE TABLE table_25721_4 (region_1 VARCHAR, release VARCHAR)
SELECT COUNT(region_1) FROM table_25721_4 WHERE release = "Back to Earth"
What is the status when sd is 15?
CREATE TABLE table_26218783_7 (status VARCHAR, sd VARCHAR)
SELECT status FROM table_26218783_7 WHERE sd = 15
Who wrote the episode with series number 45?
CREATE TABLE table_20046379_3 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_20046379_3 WHERE no_in_series = "45"
In what round did he play against Sergiy Stakhovsky?
CREATE TABLE table_24099476_8 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_24099476_8 WHERE opponent = "Sergiy Stakhovsky"
What is the average weeks on top of volumes associated with the artist aged 25 or younger?
CREATE TABLE volume (Weeks_on_Top INTEGER, Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR)
SELECT AVG(T2.Weeks_on_Top) FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age <= 25
What is the car number for driver Hélio Castroneves
CREATE TABLE table_17330069_1 (car_no INTEGER, driver VARCHAR)
SELECT MIN(car_no) FROM table_17330069_1 WHERE driver = "Hélio Castroneves"
What is the episode number for episode title Leave Takers?
CREATE TABLE table_2570269_2 (episode__number VARCHAR, episode_title VARCHAR)
SELECT episode__number FROM table_2570269_2 WHERE episode_title = "Leave Takers"
Name of 900 north michigan, and a Year smaller than 1989 involves what lowest floors?
CREATE TABLE table_name_39 (floors INTEGER, name VARCHAR, year VARCHAR)
SELECT MIN(floors) FROM table_name_39 WHERE name = "900 north michigan" AND year < 1989
What was the Attendance on April 28?
CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)
SELECT SUM(attendance) FROM table_name_40 WHERE date = "april 28"
What's the season number of the episode with series number 84?
CREATE TABLE table_2226817_6 (no_in_season INTEGER, no_in_series VARCHAR)
SELECT MIN(no_in_season) FROM table_2226817_6 WHERE no_in_series = 84
How many overalls have charley barnes as the name, with a pick less than 3?
CREATE TABLE table_name_90 (overall INTEGER, name VARCHAR, pick VARCHAR)
SELECT SUM(overall) FROM table_name_90 WHERE name = "charley barnes" AND pick < 3
What is the IHSAA class for Portage?
CREATE TABLE table_name_69 (ihsaa_class VARCHAR, school VARCHAR)
SELECT ihsaa_class FROM table_name_69 WHERE school = "portage"
What was hayley ericksen's score?
CREATE TABLE table_name_97 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_name_97 WHERE partner = "hayley ericksen"
What line has Junction of Huntly NIMT
CREATE TABLE table_name_7 (line_name VARCHAR, nimt_junction VARCHAR)
SELECT line_name FROM table_name_7 WHERE nimt_junction = "huntly"
If there are 28 points, what is the time/retired?
CREATE TABLE table_17330069_1 (time_retired VARCHAR, points VARCHAR)
SELECT time_retired FROM table_17330069_1 WHERE points = "28"
Who was the away team at the game at Kardinia Park?
CREATE TABLE table_name_99 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_99 WHERE venue = "kardinia park"
Which club has more than 46 goals, 10 wins, and a goal difference of -24?
CREATE TABLE table_name_25 (club VARCHAR, goal_difference VARCHAR, goals_against VARCHAR, wins VARCHAR)
SELECT club FROM table_name_25 WHERE goals_against > 46 AND wins = 10 AND goal_difference = -24
What is the Region that has a Total GDP (€ bn ) of €11,745.353?
CREATE TABLE table_name_58 (region VARCHAR, total_gdp__€_bn__ VARCHAR)
SELECT region FROM table_name_58 WHERE total_gdp__€_bn__ = "€11,745.353"
What is his low win total when he has over 3 top 25s and under 9 cuts made?
CREATE TABLE table_name_95 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR)
SELECT MIN(wins) FROM table_name_95 WHERE top_25 = 3 AND cuts_made < 9
What is the to par for Scotland?
CREATE TABLE table_name_96 (to_par VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_96 WHERE country = "scotland"
What was the record on March 27?
CREATE TABLE table_name_40 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_40 WHERE date = "march 27"
Who has greater than 8 Long and a 73 Yards?
CREATE TABLE table_name_84 (player VARCHAR, long VARCHAR, yards VARCHAR)
SELECT player FROM table_name_84 WHERE long > 8 AND yards = "73"
What is the total medal count for the nation that has 5 gold?
CREATE TABLE table_name_91 (total VARCHAR, gold VARCHAR)
SELECT total FROM table_name_91 WHERE gold = "5"
What location entered service in 1999 and had a customer of Anadarko?
CREATE TABLE table_name_5 (location VARCHAR, entered_service VARCHAR, customer VARCHAR)
SELECT location FROM table_name_5 WHERE entered_service = "1999" AND customer = "anadarko"
Which date had a year under 1988, loser of Philadelphia Eagles, location of Giants Stadium, and a result of 21-0?
CREATE TABLE table_name_68 (date VARCHAR, result VARCHAR, location VARCHAR, year VARCHAR, loser VARCHAR)
SELECT date FROM table_name_68 WHERE year < 1988 AND loser = "philadelphia eagles" AND location = "giants stadium" AND result = "21-0"
Which competition was held in Arles, France?
CREATE TABLE table_name_87 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_87 WHERE venue = "arles, france"
Find the name of all the cities and states.
CREATE TABLE addresses (town_city VARCHAR, state_province_county VARCHAR)
SELECT town_city FROM addresses UNION SELECT state_province_county FROM addresses
WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES?
CREATE TABLE table_name_76 (attendance INTEGER, opponent VARCHAR)
SELECT MAX(attendance) FROM table_name_76 WHERE opponent = "phoenix coyotes"
Which line is the Geumjeong tunnel?
CREATE TABLE table_name_82 (line VARCHAR, name VARCHAR)
SELECT line FROM table_name_82 WHERE name = "geumjeong tunnel"
HOW MANY YEARS WAS IT FOR THE SCORE (76-73-79-72=300)?
CREATE TABLE table_1507806_1 (year VARCHAR, winning_score VARCHAR)
SELECT COUNT(year) FROM table_1507806_1 WHERE winning_score = (76 - 73 - 79 - 72 = 300)
Which player is from Northern Ireland?
CREATE TABLE table_name_42 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_42 WHERE country = "northern ireland"
How many persons are not body builders?
CREATE TABLE body_builder (people_id VARCHAR, People_ID VARCHAR); CREATE TABLE people (people_id VARCHAR, People_ID VARCHAR)
SELECT COUNT(*) FROM people WHERE NOT people_id IN (SELECT People_ID FROM body_builder)
What is Away Team, when Tie No is "37"?
CREATE TABLE table_name_23 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_23 WHERE tie_no = "37"
Tell me the pick for pittsburgh penguins
CREATE TABLE table_name_12 (pick VARCHAR, nhl_team VARCHAR)
SELECT pick FROM table_name_12 WHERE nhl_team = "pittsburgh penguins"
What is the position of the player from the college of western michigan?
CREATE TABLE table_name_92 (position VARCHAR, college VARCHAR)
SELECT position FROM table_name_92 WHERE college = "western michigan"
I want the prothrombin time with a partial thromboplastin time of prolonged and unaffected bleeding time and factor xii deficiency for condition of factor
CREATE TABLE table_name_49 (prothrombin_time VARCHAR, condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)
SELECT prothrombin_time FROM table_name_49 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected" AND condition = "factor xii deficiency"
that was held in 1964?
CREATE TABLE table_name_39 (event VARCHAR, year VARCHAR)
SELECT event FROM table_name_39 WHERE year = 1964
What was the most recent year when a g-force chassis started in 1st?
CREATE TABLE table_name_35 (year INTEGER, start VARCHAR, chassis VARCHAR)
SELECT MAX(year) FROM table_name_35 WHERE start = "1st" AND chassis = "g-force"
What is the total number of the ERP W with a call sign of w242ak?
CREATE TABLE table_name_81 (erp_w VARCHAR, call_sign VARCHAR)
SELECT COUNT(erp_w) FROM table_name_81 WHERE call_sign = "w242ak"
What was the Nickname that had a No. 0, and Years in Competition of 1982-2003?
CREATE TABLE table_name_26 (nickname VARCHAR, no_of_premierships VARCHAR, years_in_competition VARCHAR)
SELECT nickname FROM table_name_26 WHERE no_of_premierships = 0 AND years_in_competition = "1982-2003"
What is the week with w 31-21 result?
CREATE TABLE table_name_7 (week VARCHAR, result VARCHAR)
SELECT week FROM table_name_7 WHERE result = "w 31-21"
What was the Result in the 2005-06 Season?
CREATE TABLE table_name_9 (result VARCHAR, season VARCHAR)
SELECT result FROM table_name_9 WHERE season = "2005-06"
What is Date, when Result is Loss, and when Method is Submission (Armbar)?
CREATE TABLE table_name_8 (date VARCHAR, result VARCHAR, method VARCHAR)
SELECT date FROM table_name_8 WHERE result = "loss" AND method = "submission (armbar)"
What is the Entered service date of the T413?
CREATE TABLE table_name_32 (entered_service VARCHAR, delivered_as VARCHAR)
SELECT entered_service FROM table_name_32 WHERE delivered_as = "t413"
When 720 is the t c (°c) what is the h ci (ka/m)?
CREATE TABLE table_2282444_1 (h_ci__ka_m_ VARCHAR, t_c__°c_ VARCHAR)
SELECT h_ci__ka_m_ FROM table_2282444_1 WHERE t_c__°c_ = "720"
Which Lead has a Skip of mike mcewen?
CREATE TABLE table_name_73 (lead VARCHAR, skip VARCHAR)
SELECT lead FROM table_name_73 WHERE skip = "mike mcewen"
Who was the 2004 color commentator?
CREATE TABLE table_name_82 (color_commentator_s_ VARCHAR, year VARCHAR)
SELECT color_commentator_s_ FROM table_name_82 WHERE year = 2004
Where was the game played when 71,060 people attended?
CREATE TABLE table_name_31 (game_site VARCHAR, attendance VARCHAR)
SELECT game_site FROM table_name_31 WHERE attendance = "71,060"
What is 2011, when 2006 is "A", when 2008 is "A", and when Tournament is "Rome"?
CREATE TABLE table_name_19 (tournament VARCHAR)
SELECT 2011 FROM table_name_19 WHERE 2006 = "a" AND 2008 = "a" AND tournament = "rome"
Which Representative had a Lifespan of 1795–1866?
CREATE TABLE table_name_71 (representative VARCHAR, lifespan VARCHAR)
SELECT representative FROM table_name_71 WHERE lifespan = "1795–1866"
How many losses did the East Division have who appeared 18 times and lost 8?
CREATE TABLE table_name_19 (wins INTEGER, appearances VARCHAR, division VARCHAR, losses VARCHAR)
SELECT MIN(wins) FROM table_name_19 WHERE division = "east" AND losses = 8 AND appearances < 18
How many tries against did Pentyrch RFC have?
CREATE TABLE table_name_92 (tries_against VARCHAR, club VARCHAR)
SELECT tries_against FROM table_name_92 WHERE club = "pentyrch rfc"
What is the title when the writer is Emily Halpern?
CREATE TABLE table_24910733_1 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_24910733_1 WHERE written_by = "Emily Halpern"
What is the Appointed by that has the Title of Ambassador Extraordinary and Plenipotentiary and has a Representative of Spruille Braden?
CREATE TABLE table_name_55 (appointed_by VARCHAR, title VARCHAR, representative VARCHAR)
SELECT appointed_by FROM table_name_55 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "spruille braden"
Name the segment d for chicken
CREATE TABLE table_15187735_3 (segment_d VARCHAR, segment_c VARCHAR)
SELECT segment_d FROM table_15187735_3 WHERE segment_c = "Chicken"
Which player's position is the shooting guard?
CREATE TABLE table_11545282_19 (player VARCHAR, position VARCHAR)
SELECT player FROM table_11545282_19 WHERE position = "Shooting guard"
What was the character name for the film with a release date of July 29, 1938?
CREATE TABLE table_name_72 (character_name VARCHAR, release_date VARCHAR)
SELECT character_name FROM table_name_72 WHERE release_date = "july 29, 1938"
What is the total rank of the celebrity with a 34.66 average and a season greater than 1?
CREATE TABLE table_name_39 (rank VARCHAR, average VARCHAR, season VARCHAR)
SELECT COUNT(rank) FROM table_name_39 WHERE average = 34.66 AND season > 1
The prize of £1,000,000 was given by an event in what city?
CREATE TABLE table_name_56 (city VARCHAR, prize VARCHAR)
SELECT city FROM table_name_56 WHERE prize = "£1,000,000"
What time was achieved on Saturday 29th August by the rider who recorded 25' 01.89 90.438mph on Friday 28th August?
CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, fri_28_aug VARCHAR)
SELECT sat_29_aug FROM table_23465864_4 WHERE fri_28_aug = "25' 01.89 90.438mph"
What's the D 44 √ when D 46 √ is d 26?
CREATE TABLE table_name_27 (d_44_√ VARCHAR, d_46_√ VARCHAR)
SELECT d_44_√ FROM table_name_27 WHERE d_46_√ = "d 26"
What was the result for the Bafta Tv award?
CREATE TABLE table_name_63 (result VARCHAR, award VARCHAR)
SELECT result FROM table_name_63 WHERE award = "bafta tv award"
How much ht does the model with 10x mult. 1 have?
CREATE TABLE table_27277284_28 (ht VARCHAR, mult_1 VARCHAR)
SELECT ht FROM table_27277284_28 WHERE mult_1 = "10x"
Which Date has a Road Team of chicago, and a Result of 88-85 (ot)?
CREATE TABLE table_name_33 (date VARCHAR, road_team VARCHAR, result VARCHAR)
SELECT date FROM table_name_33 WHERE road_team = "chicago" AND result = "88-85 (ot)"
What is the margin of victory of the tournament with a winning score of 70-67-64-71=272?
CREATE TABLE table_name_82 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_82 WHERE winning_score = 70 - 67 - 64 - 71 = 272
What date was the game against Toronto which had a game number higher than 53?
CREATE TABLE table_name_68 (date VARCHAR, game VARCHAR, team VARCHAR)
SELECT date FROM table_name_68 WHERE game > 53 AND team = "toronto"
Which Player has a Score smaller than 69, and a Place of t1?
CREATE TABLE table_name_33 (player VARCHAR, score VARCHAR, place VARCHAR)
SELECT player FROM table_name_33 WHERE score < 69 AND place = "t1"
How many incumbents were first elected in 1930?
CREATE TABLE table_1342292_45 (party VARCHAR, first_elected VARCHAR)
SELECT COUNT(party) FROM table_1342292_45 WHERE first_elected = 1930
Which opponent made it to the final round?
CREATE TABLE table_name_33 (opponents VARCHAR, round VARCHAR)
SELECT opponents FROM table_name_33 WHERE round = "final"
When 2 is the ka-band how many properties are there?
CREATE TABLE table_186468_1 (property VARCHAR, ka_band VARCHAR)
SELECT COUNT(property) FROM table_186468_1 WHERE ka_band = "2"
How many Drawn have a Position of 7, and Points larger than 18?
CREATE TABLE table_name_70 (drawn VARCHAR, position VARCHAR, points VARCHAR)
SELECT COUNT(drawn) FROM table_name_70 WHERE position = 7 AND points > 18
What is the least amount of silvers for a team with less than 4 golds and less than 5 total medals?
CREATE TABLE table_name_17 (silver INTEGER, total VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_17 WHERE total < 5 AND gold < 4
What's the total number of points when the vancouver carlings have fewer than 12 losses and more than 32 games?
CREATE TABLE table_name_1 (points VARCHAR, games VARCHAR, losses VARCHAR, team_name VARCHAR)
SELECT COUNT(points) FROM table_name_1 WHERE losses < 12 AND team_name = "vancouver carlings" AND games > 32
Can you tell me the Time that has the Opponent of phil baroni?
CREATE TABLE table_name_75 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_75 WHERE opponent = "phil baroni"
What is the sum of Altrincham's Points 2 when they had more than 52 Goals For?
CREATE TABLE table_name_98 (points_2 INTEGER, goals_for VARCHAR, team VARCHAR)
SELECT SUM(points_2) FROM table_name_98 WHERE goals_for > 52 AND team = "altrincham"
How many times did kevin love (22) have the high points?
CREATE TABLE table_27756314_8 (date VARCHAR, high_points VARCHAR)
SELECT COUNT(date) FROM table_27756314_8 WHERE high_points = "Kevin Love (22)"
what is minimum area where the largest city is bloemfontein?
CREATE TABLE table_17416221_1 (area__km_2__ INTEGER, largest_city VARCHAR)
SELECT MIN(area__km_2__) FROM table_17416221_1 WHERE largest_city = "Bloemfontein"
Name the date for turco decision and home of st. louis
CREATE TABLE table_name_5 (date VARCHAR, decision VARCHAR, home VARCHAR)
SELECT date FROM table_name_5 WHERE decision = "turco" AND home = "st. louis"
What is the average rank for Group A athlete Yanina Karolchyk, and a result higher than 18?
CREATE TABLE table_name_59 (rank INTEGER, result VARCHAR, group VARCHAR, athlete VARCHAR)
SELECT AVG(rank) FROM table_name_59 WHERE group = "a" AND athlete = "yanina karolchyk" AND result > 18
what is the average races when points is 9 and poles is less than 0?
CREATE TABLE table_name_61 (races INTEGER, points VARCHAR, poles VARCHAR)
SELECT AVG(races) FROM table_name_61 WHERE points = "9" AND poles < 0
When 5 is the number what is the japanese title?
CREATE TABLE table_2144389_9 (japanese_title VARCHAR, _number VARCHAR)
SELECT japanese_title FROM table_2144389_9 WHERE _number = 5
What was the record on the date of december 1, 1968?
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_55 WHERE date = "december 1, 1968"
When was Henry Daniel first elected?
CREATE TABLE table_2668243_8 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_2668243_8 WHERE incumbent = "Henry Daniel"
What home team plays at Windy Hill?
CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_77 WHERE venue = "windy hill"
What is the name of the constellation that has a NGC number smaller tha 5457?
CREATE TABLE table_name_19 (constellation VARCHAR, ngc_number INTEGER)
SELECT constellation FROM table_name_19 WHERE ngc_number < 5457
What is the number of the original airdate with the production code 208.
CREATE TABLE table_12451376_2 (original_airdate VARCHAR, production_code VARCHAR)
SELECT COUNT(original_airdate) FROM table_12451376_2 WHERE production_code = 208
Which record has a Date of april 25?
CREATE TABLE table_name_96 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_96 WHERE date = "april 25"
What was the high rebounds for the game that had a score of w 76-66?
CREATE TABLE table_name_83 (high_rebounds VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_name_83 WHERE score = "w 76-66"
How many fumble recoveries for scott gajos with 0 forced fubmles, 0 sacks, and under 2 solo tackles?
CREATE TABLE table_name_65 (fumble_rec INTEGER, solo VARCHAR, player VARCHAR, sacks VARCHAR, fumble_force VARCHAR)
SELECT SUM(fumble_rec) FROM table_name_65 WHERE sacks = "0" AND fumble_force = "0" AND player = "scott gajos" AND solo < 2