answer
stringlengths
37
161
context
stringlengths
40
126
question
stringlengths
15
152
SELECT COUNT(total_population) FROM table_1364343_2 WHERE catholic < 31370649.1405057 AND region = "North Africa"
CREATE TABLE table_1364343_2 (total_population VARCHAR, catholic VARCHAR, region VARCHAR)
how many total population with catholic being smaller than 31370649.1405057 and region being north africa
SELECT COUNT(date) FROM table_14418812_1 WHERE game_site = "Shea Stadium"
CREATE TABLE table_14418812_1 (date VARCHAR, game_site VARCHAR)
Name the number of date for shea stadium
SELECT general_classification FROM table_14710984_2 WHERE stage = 3
CREATE TABLE table_14710984_2 (general_classification VARCHAR, stage VARCHAR)
Who is the general classification leader for stage 3?
SELECT result FROM table_1342013_34 WHERE incumbent = "William H. Ayres"
CREATE TABLE table_1342013_34 (result VARCHAR, incumbent VARCHAR)
what's the result with incumbent being william h. ayres
SELECT MAX(top_10) FROM table_1507423_5 WHERE team_s_ = "#55/#83 Robby Gordon Motorsports"
CREATE TABLE table_1507423_5 (top_10 INTEGER, team_s_ VARCHAR)
Where does team #55/#83 robby gordon motorsports rank in the top 10?
SELECT incumbent FROM table_1342149_6 WHERE first_elected = "1946"
CREATE TABLE table_1342149_6 (incumbent VARCHAR, first_elected VARCHAR)
Who was the first elected incumbent in the 1946 election?
SELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = "25 (31)"
CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR)
What city has channel tv (dt) 25 (31)?
SELECT first_elected FROM table_1342256_40 WHERE district = "South Carolina 4"
CREATE TABLE table_1342256_40 (first_elected VARCHAR, district VARCHAR)
What is the first elected for south carolina 4?
SELECT general_election FROM table_149330_1 WHERE votes_swing = "1.84"
CREATE TABLE table_149330_1 (general_election VARCHAR, votes_swing VARCHAR)
Which general election had a vote swing of 1.84?
SELECT total_number FROM table_14330096_4 WHERE director = "Roger Goldby"
CREATE TABLE table_14330096_4 (total_number VARCHAR, director VARCHAR)
How many of the episodes have Roger Goldby as the director?
SELECT left_bloc FROM table_1463383_1 WHERE social_democratic = "28.7%"
CREATE TABLE table_1463383_1 (left_bloc VARCHAR, social_democratic VARCHAR)
What are all percentages of Left Block when there is a 28.7% Social Democratic?
SELECT COUNT(tries_against) FROM table_13564637_3 WHERE points_for = "325"
CREATE TABLE table_13564637_3 (tries_against VARCHAR, points_for VARCHAR)
what is the total amount of tries where the points were 325?
SELECT rnd FROM table_13657883_2 WHERE gto_winning_team = "#48 Greenwood Racing"
CREATE TABLE table_13657883_2 (rnd VARCHAR, gto_winning_team VARCHAR)
What round was the gto winning team #48 greenwood racing?
SELECT candidates FROM table_1341973_3 WHERE district = "Alabama 6"
CREATE TABLE table_1341973_3 (candidates VARCHAR, district VARCHAR)
Which candidates ran in the Alabama 6 district?
SELECT copa_mercosur_1998 FROM table_14962316_9 WHERE team = "Cruzeiro"
CREATE TABLE table_14962316_9 (copa_mercosur_1998 VARCHAR, team VARCHAR)
What were Cruzeiro results in the Copa Mercosur in 1998
SELECT result FROM table_1341586_19 WHERE district = "Louisiana 2"
CREATE TABLE table_1341586_19 (result VARCHAR, district VARCHAR)
what's the result with district being louisiana 2
SELECT human_development_index__2000_ FROM table_1480455_1 WHERE inegi_code = 10
CREATE TABLE table_1480455_1 (human_development_index__2000_ VARCHAR, inegi_code VARCHAR)
What is the human development index for the year 2000 where the ingei code is 10?
SELECT MIN(2 AS _credits) FROM table_148535_2 WHERE hand = "Straight"
CREATE TABLE table_148535_2 (hand VARCHAR)
Name the least 2 credits for straight hand
SELECT COUNT(team) FROM table_14310205_1 WHERE conmebol_1996 = "did not qualify"
CREATE TABLE table_14310205_1 (team VARCHAR, conmebol_1996 VARCHAR)
what is the number of teams where conmebol 1996 did not qualify?
SELECT COUNT(pick__number) FROM table_14650162_1 WHERE position = "Tight End"
CREATE TABLE table_14650162_1 (pick__number VARCHAR, position VARCHAR)
How many picks played Tight end?
SELECT COUNT(mens_singles) FROM table_13857700_1 WHERE mens_doubles = "Pontus Jantti Lasse Lindelöf"
CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR)
how many mens singles with mens doubles being pontus jantti lasse lindelöf
SELECT lost FROM table_14058433_5 WHERE club = "Colwyn Bay RFC"
CREATE TABLE table_14058433_5 (lost VARCHAR, club VARCHAR)
what's the lost with club being colwyn bay rfc
SELECT party FROM table_1342256_32 WHERE incumbent = "John J. Delaney"
CREATE TABLE table_1342256_32 (party VARCHAR, incumbent VARCHAR)
Which political party is involved where John J. Delaney is the sitting Representative?
SELECT winning_pitcher FROM table_13710464_1 WHERE losing_pitcher = "Ezequiel Astacio"
CREATE TABLE table_13710464_1 (winning_pitcher VARCHAR, losing_pitcher VARCHAR)
Who was the wenning witcher when ezequiel astacio was the losing pitcher?
SELECT head_coach FROM table_14015965_1 WHERE previous_season = "2"
CREATE TABLE table_14015965_1 (head_coach VARCHAR, previous_season VARCHAR)
Who was the head coach in season 2?
SELECT COUNT(party) FROM table_1341865_20 WHERE district = "Louisiana 5"
CREATE TABLE table_1341865_20 (party VARCHAR, district VARCHAR)
How many parties won the election in the Louisiana 5 district?
SELECT opponent FROM table_14423274_3 WHERE game_site = "Rich Stadium"
CREATE TABLE table_14423274_3 (opponent VARCHAR, game_site VARCHAR)
Which team did they play at Rich Stadium?
SELECT literate_persons___percentage_ FROM table_14598_9 WHERE females___percentage_ = "73.17"
CREATE TABLE table_14598_9 (literate_persons___percentage_ VARCHAR, females___percentage_ VARCHAR)
What is the percentage of all the literate people where females are 73.17?
SELECT COUNT(international_tourist_arrivals__2012_) FROM table_14752049_6 WHERE rank = 1
CREATE TABLE table_14752049_6 (international_tourist_arrivals__2012_ VARCHAR, rank VARCHAR)
When the 1 is the rank what is the overall amount of international tourist arrivals in 2012?
SELECT game FROM table_13480122_5 WHERE record = "29–3"
CREATE TABLE table_13480122_5 (game VARCHAR, record VARCHAR)
what's the game with record being 29–3
SELECT try_bonus FROM table_13564702_3 WHERE club = "Kenfig Hill RFC"
CREATE TABLE table_13564702_3 (try_bonus VARCHAR, club VARCHAR)
Name the try bonus for kenfig hill rfc
SELECT social_democratic FROM table_1463383_1 WHERE left_bloc = "5.5%"
CREATE TABLE table_1463383_1 (social_democratic VARCHAR, left_bloc VARCHAR)
What percentages of social democratic correspond to a 5.5% left bloc?
SELECT software_executable_space_protection FROM table_1357052_6 WHERE distribution = "Gentoo"
CREATE TABLE table_1357052_6 (software_executable_space_protection VARCHAR, distribution VARCHAR)
what's the software executable space protection with dbeingtribution being gentoo
SELECT incumbent FROM table_1341707_15 WHERE party = "Democratic" AND result = "Re-elected" AND district = "Illinois 11"
CREATE TABLE table_1341707_15 (incumbent VARCHAR, district VARCHAR, party VARCHAR, result VARCHAR)
Who was the democratic incumbent in the Illinois 11 district who was re-elected?
SELECT COUNT(incumbent) FROM table_1342331_5 WHERE first_elected = 1932
CREATE TABLE table_1342331_5 (incumbent VARCHAR, first_elected VARCHAR)
how many incumbent with first elected being 1932
SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Helen Reino Kai-Riin Saluste"
CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)
WHAT IS THE NAME OF THE MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE?
SELECT finished FROM table_14345690_2 WHERE celebrity = "Nell McAndrew"
CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR)
What position did Nell McAndrew finish?
SELECT MIN(field_goals__5_points_) FROM table_14342367_15
CREATE TABLE table_14342367_15 (field_goals__5_points_ INTEGER)
How many 5 points field goals is minimum
SELECT class_aAA FROM table_14603212_5 WHERE school_year = "2005-06"
CREATE TABLE table_14603212_5 (class_aAA VARCHAR, school_year VARCHAR)
What are all the AAA classes in the school years of 2005-06?
SELECT location FROM table_13759592_2 WHERE institution = "Interlake"
CREATE TABLE table_13759592_2 (location VARCHAR, institution VARCHAR)
Where is Interlake located?
SELECT attendance FROM table_14959246_2 WHERE date = "December 10, 1972"
CREATE TABLE table_14959246_2 (attendance VARCHAR, date VARCHAR)
What was the attendance at the game played on December 10, 1972?
SELECT opponent FROM table_14875671_1 WHERE week = 4
CREATE TABLE table_14875671_1 (opponent VARCHAR, week VARCHAR)
Who was the opponent in week 4?
SELECT character FROM table_14960574_6 WHERE french_voice_actor = "Sophie Arthuys"
CREATE TABLE table_14960574_6 (character VARCHAR, french_voice_actor VARCHAR)
Name the character for sophie arthuys
SELECT COUNT(week) FROM table_14984050_1 WHERE attendance = 50073
CREATE TABLE table_14984050_1 (week VARCHAR, attendance VARCHAR)
Name the number of weeks for 50073 attendance
SELECT gender FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "24mm"
CREATE TABLE table_13555999_1 (gender VARCHAR, junior_high_school__12_15_yrs_ VARCHAR)
What is the gender of the junior high school is 24mm?
SELECT original_air_date FROM table_15026994_3 WHERE director = "Paul Marcus"
CREATE TABLE table_15026994_3 (original_air_date VARCHAR, director VARCHAR)
What is the original air date of the episode directed by Paul Marcus?
SELECT candidates FROM table_1341884_12 WHERE incumbent = "Carl Vinson"
CREATE TABLE table_1341884_12 (candidates VARCHAR, incumbent VARCHAR)
Name the candidates where incumbent Carl Vinson is?
SELECT high_points FROM table_13619105_4 WHERE high_assists = "Dee Brown (5)"
CREATE TABLE table_13619105_4 (high_points VARCHAR, high_assists VARCHAR)
Who had the high point total when dee brown (5) had the high assist total?
SELECT title__original_ FROM table_1481865_1 WHERE number_of_season = 3
CREATE TABLE table_1481865_1 (title__original_ VARCHAR, number_of_season VARCHAR)
What is the original title of season number 3?
SELECT group FROM table_14981555_1 WHERE race = "3yo Hcp Restricted Maiden"
CREATE TABLE table_14981555_1 (group VARCHAR, race VARCHAR)
What is the group name when 3yo hcp restricted maiden was raced?
SELECT network FROM table_1404984_1 WHERE virtual_channel = "9.1"
CREATE TABLE table_1404984_1 (network VARCHAR, virtual_channel VARCHAR)
What network is virtual channel 9.1 linked to?
SELECT COUNT(party) FROM table_1341663_11 WHERE incumbent = "Dawson Mathis"
CREATE TABLE table_1341663_11 (party VARCHAR, incumbent VARCHAR)
How many parties are there in races involving Dawson Mathis?
SELECT district FROM table_1342426_5 WHERE incumbent = "William J. Driver"
CREATE TABLE table_1342426_5 (district VARCHAR, incumbent VARCHAR)
Name the district for william j. driver
SELECT MAX(total_number_of_students) FROM table_142950_1
CREATE TABLE table_142950_1 (total_number_of_students INTEGER)
What is the largest number of students?
SELECT party FROM table_1342149_43 WHERE incumbent = "Wright Patman"
CREATE TABLE table_1342149_43 (party VARCHAR, incumbent VARCHAR)
What party did incumbent Wright Patman belong to?
SELECT result FROM table_1342331_43 WHERE incumbent = "Richard M. Kleberg"
CREATE TABLE table_1342331_43 (result VARCHAR, incumbent VARCHAR)
what happened during the election for Richard M. Kleberg?
SELECT year FROM table_14903491_1 WHERE womens_doubles = "Raina Tzvetkova Emilia Dimitrova"
CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR)
Name the year for womens doubles being raina tzvetkova emilia dimitrova
SELECT MAX(first_elected) FROM table_1341930_10
CREATE TABLE table_1341930_10 (first_elected INTEGER)
What year were the latest elections?
SELECT writer_s_ FROM table_13956521_2 WHERE original_airdate = "February 7, 2001"
CREATE TABLE table_13956521_2 (writer_s_ VARCHAR, original_airdate VARCHAR)
who is the the writer(s) with original airdate being february 7, 2001
SELECT club FROM table_13564702_3 WHERE tries_for = "83"
CREATE TABLE table_13564702_3 (club VARCHAR, tries_for VARCHAR)
Name the club when tries for is 83
SELECT drawn FROM table_13564637_4 WHERE club = "Tylorstown RFC"
CREATE TABLE table_13564637_4 (drawn VARCHAR, club VARCHAR)
How many total games drawn for club tylorstown rfc?
SELECT incumbent FROM table_1342426_18 WHERE candidates = "Henry Garland Dupré (D) Unopposed"
CREATE TABLE table_1342426_18 (incumbent VARCHAR, candidates VARCHAR)
Who was the incumbent in the election of henry garland dupré (d) unopposed?
SELECT COUNT(crowd) FROM table_14425454_1 WHERE home_team = "Port Adelaide"
CREATE TABLE table_14425454_1 (crowd VARCHAR, home_team VARCHAR)
What is the total number of attendees where the home team was Port Adelaide?
SELECT candidates FROM table_1341884_19 WHERE result = "Re-elected" AND party = "Republican"
CREATE TABLE table_1341884_19 (candidates VARCHAR, result VARCHAR, party VARCHAR)
What candidates were in the election when a republican was re-elected?
SELECT COUNT(opponent) FROM table_14984126_1 WHERE date = "October 25, 1964"
CREATE TABLE table_14984126_1 (opponent VARCHAR, date VARCHAR)
how many opponent with date being october 25, 1964
SELECT COUNT(equivalent_daily_inflation_rate) FROM table_13681_2 WHERE currency_name = "Republika Srpska dinar"
CREATE TABLE table_13681_2 (equivalent_daily_inflation_rate VARCHAR, currency_name VARCHAR)
how many equivalent daily inflation rate with currency name being republika srpska dinar
SELECT nfl_team FROM table_14650373_1 WHERE player = "Keith Woodside"
CREATE TABLE table_14650373_1 (nfl_team VARCHAR, player VARCHAR)
What NFL team does player keith woodside play for?
SELECT COUNT(county) FROM table_1350350_2 WHERE per_capita_income = "$20,101"
CREATE TABLE table_1350350_2 (county VARCHAR, per_capita_income VARCHAR)
how many county with per capita income being $20,101
SELECT year_model FROM table_1444201_1 WHERE model = "1.3"
CREATE TABLE table_1444201_1 (year_model VARCHAR, model VARCHAR)
Name the year model for 1.3
SELECT COUNT(candidates) FROM table_1342198_38 WHERE district = "Pennsylvania 3"
CREATE TABLE table_1342198_38 (candidates VARCHAR, district VARCHAR)
What is the number of candidates for pennsylvania 3
SELECT COUNT(date) FROM table_14934885_1 WHERE performer_3 = "Kate Robbins"
CREATE TABLE table_14934885_1 (date VARCHAR, performer_3 VARCHAR)
How many times was performer 3 Kate Robbins?
SELECT circuit FROM table_14574130_3 WHERE gt3_winner = "Alex Mortimer Bradley Ellis"
CREATE TABLE table_14574130_3 (circuit VARCHAR, gt3_winner VARCHAR)
Name the circuit for gt3 alex mortimer bradley ellis
SELECT result FROM table_1341690_20 WHERE district = "Maryland 7"
CREATE TABLE table_1341690_20 (result VARCHAR, district VARCHAR)
List all results where the voting district is Maryland 7.
SELECT date_completed FROM table_15070195_1 WHERE nickname = "Halley"
CREATE TABLE table_15070195_1 (date_completed VARCHAR, nickname VARCHAR)
when the nickname halley is used, what are the date completed
SELECT MIN(3 AS _credits) FROM table_148535_2
CREATE TABLE table_148535_2 (Id VARCHAR)
Name the most 3 credits
SELECT notes FROM table_1414702_3 WHERE established = 1973
CREATE TABLE table_1414702_3 (notes VARCHAR, established VARCHAR)
What's the note about the school established in the year of 1973?
SELECT COUNT(primary_payload_s_) FROM table_14118521_1 WHERE shuttle = "Columbia" AND duration = "13 days, 19 hours, 30 minutes, 4 seconds"
CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR)
how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds
SELECT first_elected FROM table_1341897_6 WHERE district = "Arkansas 5"
CREATE TABLE table_1341897_6 (first_elected VARCHAR, district VARCHAR)
When was Dale Alford first elected in the Arkansas 5 district?
SELECT MIN(stage) FROM table_15088557_1 WHERE mountains_classification = "Aitor Osa" AND winner = "Aitor González"
CREATE TABLE table_15088557_1 (stage INTEGER, mountains_classification VARCHAR, winner VARCHAR)
what is the minimum stage where mountains classification is aitor osa and aitor gonzález won?
SELECT COUNT(district) FROM table_1342270_42 WHERE incumbent = "Estes Kefauver"
CREATE TABLE table_1342270_42 (district VARCHAR, incumbent VARCHAR)
In how many districts was the incumbent Estes Kefauver?
SELECT country_region FROM table_13779832_1 WHERE presenters = "Heikki Paasonen Jukka Rossi (Xtra Factor)"
CREATE TABLE table_13779832_1 (country_region VARCHAR, presenters VARCHAR)
what's the country/region with presenters being heikki paasonen jukka rossi (xtra factor)
SELECT COUNT(incumbent) FROM table_1341690_18 WHERE district = "Louisiana 5"
CREATE TABLE table_1341690_18 (incumbent VARCHAR, district VARCHAR)
How many incumbents are there in district Louisiana 5?
SELECT general_election FROM table_149330_1 WHERE votes_swing = "1.69"
CREATE TABLE table_149330_1 (general_election VARCHAR, votes_swing VARCHAR)
Which general election had a vote swing of 1.69?
SELECT MIN(wins) FROM table_1507423_4
CREATE TABLE table_1507423_4 (wins INTEGER)
What is the maximumum number of wins?
SELECT COUNT(record) FROM table_13557843_8 WHERE date = "April 12"
CREATE TABLE table_13557843_8 (record VARCHAR, date VARCHAR)
How many pairs of numbers are under record on April 12?
SELECT MIN(stage) FROM table_15088557_1 WHERE winner = "Sergei Smetanine"
CREATE TABLE table_15088557_1 (stage INTEGER, winner VARCHAR)
What is the minimum stage where Sergei Smetanine won?
SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Independiente"
CREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR)
How many 2nd legs are there where home (1st leg) is Independiente?
SELECT first_elected FROM table_1342270_3 WHERE incumbent = "Joe Starnes"
CREATE TABLE table_1342270_3 (first_elected VARCHAR, incumbent VARCHAR)
what's the first elected with incumbent being joe starnes
SELECT COUNT(owner) FROM table_14623167_1 WHERE branding = "Prairie Public"
CREATE TABLE table_14623167_1 (owner VARCHAR, branding VARCHAR)
Name the owners for prairie public
SELECT station FROM table_1353096_2 WHERE city_of_license_market = "Fort Collins, Colorado"
CREATE TABLE table_1353096_2 (station VARCHAR, city_of_license_market VARCHAR)
Which station has a license in Fort Collins, Colorado?
SELECT capacity FROM table_14003108_1 WHERE team = "Berwick Rangers"
CREATE TABLE table_14003108_1 (capacity VARCHAR, team VARCHAR)
what's the capacity with team being berwick rangers
SELECT party FROM table_1342379_10 WHERE incumbent = "Charles H. Brand"
CREATE TABLE table_1342379_10 (party VARCHAR, incumbent VARCHAR)
what is the affiliation of charles h. brand
SELECT conference FROM table_14609295_4 WHERE postseason = "CBI Champions"
CREATE TABLE table_14609295_4 (conference VARCHAR, postseason VARCHAR)
What was the Ram's conference record when they were the CBI champions?
SELECT MAX(no_in_series) FROM table_14724369_1 WHERE production_code = "1ACX03"
CREATE TABLE table_14724369_1 (no_in_series INTEGER, production_code VARCHAR)
What is the first number in series that had the production code 1ACX03?
SELECT district FROM table_1341973_11 WHERE incumbent = "Carl Vinson"
CREATE TABLE table_1341973_11 (district VARCHAR, incumbent VARCHAR)
In which district is the incumbent Carl Vinson?
SELECT COUNT(party) FROM table_1342149_42 WHERE candidates = "Howard Baker, Sr. (R) 68.9% Boyd W. Cox (D) 31.1%"
CREATE TABLE table_1342149_42 (party VARCHAR, candidates VARCHAR)
How many parties match the canididates listed as howard baker, sr. (r) 68.9% boyd w. cox (d) 31.1%?
SELECT situation FROM table_14570857_1 WHERE original_us_airdate = "December 5, 2007"
CREATE TABLE table_14570857_1 (situation VARCHAR, original_us_airdate VARCHAR)
Which situation has an original u.s. airdate of December 5, 2007?
SELECT team FROM table_1405704_1 WHERE chassis = "McLaren" AND engine = "Offenhauser"
CREATE TABLE table_1405704_1 (team VARCHAR, chassis VARCHAR, engine VARCHAR)
What team has a vehicle with an Offenhauser engine and a McLaren chassis?
SELECT party FROM table_1342218_35 WHERE district = "Ohio 7"
CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR)
What party does the incumbent from the Ohio 7 district belong to?
SELECT islands_name FROM table_13897690_1 WHERE population__2000_ = "64"
CREATE TABLE table_13897690_1 (islands_name VARCHAR, population__2000_ VARCHAR)
What's the name is the island with a population of just 64?