instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What are the minimum indoor results that have a 5 for inspection?
The relevant table was constructed using the following SQL : CREATE TABLE table_19534874_2 (indoor INTEGER, inspection VARCHAR)
SELECT MIN(indoor) FROM table_19534874_2 WHERE inspection = 5
Write a SQL query that answers the following question: What was the maximum number in written when the standard was 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_19534874_2 (written INTEGER, standard VARCHAR)
SELECT MAX(written) FROM table_19534874_2 WHERE standard = 2
Write a SQL query that answers the following question: How many point categories are there for the 3 mile run?
The relevant table was constructed using the following SQL : CREATE TABLE table_19534874_2 (points VARCHAR, mile_run VARCHAR)
SELECT COUNT(points) FROM table_19534874_2 WHERE mile_run = 3
Write a SQL query that answers the following question: What is the indoor number for the NJ wing/
The relevant table was constructed using the following SQL : CREATE TABLE table_19534874_2 (indoor VARCHAR, wing VARCHAR)
SELECT indoor FROM table_19534874_2 WHERE wing = "NJ"
Write a SQL query that answers the following question: What is the indoor number for the NER region?
The relevant table was constructed using the following SQL : CREATE TABLE table_19534874_2 (indoor VARCHAR, region VARCHAR)
SELECT COUNT(indoor) FROM table_19534874_2 WHERE region = "NER"
Write a SQL query that answers the following question: What is the winning span of the name martin kaymer?
The relevant table was constructed using the following SQL : CREATE TABLE table_1953516_1 (winning_span VARCHAR, name VARCHAR)
SELECT winning_span FROM table_1953516_1 WHERE name = "Martin Kaymer"
Write a SQL query that answers the following question: What is the winning span in the country of England with the name of paul casey?
The relevant table was constructed using the following SQL : CREATE TABLE table_1953516_1 (winning_span VARCHAR, country VARCHAR, name VARCHAR)
SELECT winning_span FROM table_1953516_1 WHERE country = "England" AND name = "Paul Casey"
Write a SQL query that answers the following question: What is the winning span for the name of bernard gallacher?
The relevant table was constructed using the following SQL : CREATE TABLE table_1953516_1 (winning_span VARCHAR, name VARCHAR)
SELECT winning_span FROM table_1953516_1 WHERE name = "Bernard Gallacher"
Write a SQL query that answers the following question: What is the winning span with the rank of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_1953516_1 (winning_span VARCHAR, rank VARCHAR)
SELECT winning_span FROM table_1953516_1 WHERE rank = "5"
Write a SQL query that answers the following question: How many scorecards are there for the match on October 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_19576091_1 (scorecard VARCHAR, date VARCHAR)
SELECT COUNT(scorecard) FROM table_19576091_1 WHERE date = "October 28"
Write a SQL query that answers the following question: How many venues were there for the match on November 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_19576091_1 (venue VARCHAR, date VARCHAR)
SELECT COUNT(venue) FROM table_19576091_1 WHERE date = "November 6"
Write a SQL query that answers the following question: What was the venue for the match on October 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_19576091_1 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_19576091_1 WHERE date = "October 10"
Write a SQL query that answers the following question: Who was the man of the match when the Rockets won by 9 wickets?
The relevant table was constructed using the following SQL : CREATE TABLE table_19576091_1 (man_of_the_match VARCHAR, result VARCHAR)
SELECT man_of_the_match FROM table_19576091_1 WHERE result = "Rockets won by 9 wickets"
Write a SQL query that answers the following question: Name the vacator for wisconsin 1st
The relevant table was constructed using the following SQL : CREATE TABLE table_1958768_3 (vacator VARCHAR, district VARCHAR)
SELECT vacator FROM table_1958768_3 WHERE district = "Wisconsin 1st"
Write a SQL query that answers the following question: Name the successor for pennsylvania 15th
The relevant table was constructed using the following SQL : CREATE TABLE table_1958768_3 (successor VARCHAR, district VARCHAR)
SELECT successor FROM table_1958768_3 WHERE district = "Pennsylvania 15th"
Write a SQL query that answers the following question: Name the circuit for #47 orbit racing
The relevant table was constructed using the following SQL : CREATE TABLE table_19598014_2 (circuit VARCHAR, challenge_winning_team VARCHAR)
SELECT circuit FROM table_19598014_2 WHERE challenge_winning_team = "#47 Orbit Racing"
Write a SQL query that answers the following question: Name the gt2 winning team where lmp2 winning team and butch leitzinger marino franchitti ben devlin
The relevant table was constructed using the following SQL : CREATE TABLE table_19598014_2 (gt2_winning_team VARCHAR, lmp2_winning_team VARCHAR)
SELECT gt2_winning_team FROM table_19598014_2 WHERE lmp2_winning_team = "Butch Leitzinger Marino Franchitti Ben Devlin"
Write a SQL query that answers the following question: Name the lmp 1 winning team for rnd being 2 and adrian fernández luis díaz
The relevant table was constructed using the following SQL : CREATE TABLE table_19598014_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR)
SELECT lmp1_winning_team FROM table_19598014_2 WHERE rnd = 2 AND lmp2_winning_team = "Adrian Fernández Luis Díaz"
Write a SQL query that answers the following question: Which capitals have an area of exactly 377930 square km?
The relevant table was constructed using the following SQL : CREATE TABLE table_19605700_1 (capital VARCHAR, area_km² VARCHAR)
SELECT capital FROM table_19605700_1 WHERE area_km² = 377930
Write a SQL query that answers the following question: What is the total number of capitals that have an area of exactly 1104 square km?
The relevant table was constructed using the following SQL : CREATE TABLE table_19605700_1 (capital VARCHAR, area_km² VARCHAR)
SELECT COUNT(capital) FROM table_19605700_1 WHERE area_km² = 1104
Write a SQL query that answers the following question: What capital has a population of exactly 1339724852?
The relevant table was constructed using the following SQL : CREATE TABLE table_19605700_1 (capital VARCHAR, population VARCHAR)
SELECT capital FROM table_19605700_1 WHERE population = 1339724852
Write a SQL query that answers the following question: How many populations have a capital of Hong Kong?
The relevant table was constructed using the following SQL : CREATE TABLE table_19605700_1 (population VARCHAR, capital VARCHAR)
SELECT COUNT(population) FROM table_19605700_1 WHERE capital = "Hong Kong"
Write a SQL query that answers the following question: What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16?
The relevant table was constructed using the following SQL : CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, growth_rate_1991_01 VARCHAR)
SELECT male_population_2001 FROM table_19589113_5 WHERE growth_rate_1991_01 = "36.16"
Write a SQL query that answers the following question: What is the least value for total population in 2001 with a growth rate in 1991-01 of 33.08?
The relevant table was constructed using the following SQL : CREATE TABLE table_19589113_5 (total_population_2001 INTEGER, growth_rate_1991_01 VARCHAR)
SELECT MIN(total_population_2001) FROM table_19589113_5 WHERE growth_rate_1991_01 = "33.08"
Write a SQL query that answers the following question: What are all values for male population in 2001 when sex ratio in 1991 is 896?
The relevant table was constructed using the following SQL : CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, sex_ratio_‡_1991 VARCHAR)
SELECT male_population_2001 FROM table_19589113_5 WHERE sex_ratio_‡_1991 = 896
Write a SQL query that answers the following question: What is every growth rate in 1991-2001 when sex ratio in 2001 is 937?
The relevant table was constructed using the following SQL : CREATE TABLE table_19589113_5 (growth_rate_1991_01 VARCHAR, sex_ratio_‡_2001 VARCHAR)
SELECT growth_rate_1991_01 FROM table_19589113_5 WHERE sex_ratio_‡_2001 = 937
Write a SQL query that answers the following question: What districts of Bihar have a sex ratio in 1991 of 864?
The relevant table was constructed using the following SQL : CREATE TABLE table_19589113_5 (districts_of_bihar VARCHAR, sex_ratio_‡_1991 VARCHAR)
SELECT districts_of_bihar FROM table_19589113_5 WHERE sex_ratio_‡_1991 = 864
Write a SQL query that answers the following question: How many marriages between women have % same-sex marriages of 1.06?
The relevant table was constructed using the following SQL : CREATE TABLE table_19614212_1 (marriages_between_women VARCHAR, _percentage_same_sex_marriages VARCHAR)
SELECT marriages_between_women FROM table_19614212_1 WHERE _percentage_same_sex_marriages = "1.06"
Write a SQL query that answers the following question: What is the % of same-sex marriages for the year of 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, year VARCHAR)
SELECT _percentage_same_sex_marriages FROM table_19614212_1 WHERE year = "2011"
Write a SQL query that answers the following question: How many % same-sex marriages are there for the year 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, year VARCHAR)
SELECT COUNT(_percentage_same_sex_marriages) FROM table_19614212_1 WHERE year = "2008"
Write a SQL query that answers the following question: How many % same-sex marriages are marriages between men for 923?
The relevant table was constructed using the following SQL : CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, marriages_between_men VARCHAR)
SELECT COUNT(_percentage_same_sex_marriages) FROM table_19614212_1 WHERE marriages_between_men = 923
Write a SQL query that answers the following question: When was the episode number 2 originally aired?
The relevant table was constructed using the following SQL : CREATE TABLE table_19632728_1 (original_air_date VARCHAR, episode__number VARCHAR)
SELECT original_air_date FROM table_19632728_1 WHERE episode__number = 2
Write a SQL query that answers the following question: What was the highest season number?
The relevant table was constructed using the following SQL : CREATE TABLE table_19632728_1 (season__number INTEGER)
SELECT MAX(season__number) FROM table_19632728_1
Write a SQL query that answers the following question: What was the margin of victory of Steve Stricker as a runner up?
The relevant table was constructed using the following SQL : CREATE TABLE table_19630743_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_19630743_2 WHERE runner_s__up = "Steve Stricker"
Write a SQL query that answers the following question: How many to par has the winning score of 69-66-68=203.
The relevant table was constructed using the following SQL : CREATE TABLE table_19630743_2 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_19630743_2 WHERE winning_score = 69 - 66 - 68 = 203
Write a SQL query that answers the following question: What is the minimum number of the bmw championship tournament.
The relevant table was constructed using the following SQL : CREATE TABLE table_19630743_2 (no INTEGER, tournament VARCHAR)
SELECT MIN(no) FROM table_19630743_2 WHERE tournament = "BMW Championship"
Write a SQL query that answers the following question: What is the total number of John Merrick as a runner up?
The relevant table was constructed using the following SQL : CREATE TABLE table_19630743_2 (no VARCHAR, runner_s__up VARCHAR)
SELECT COUNT(no) FROM table_19630743_2 WHERE runner_s__up = "John Merrick"
Write a SQL query that answers the following question: What horses does r. a. Scott own?
The relevant table was constructed using the following SQL : CREATE TABLE table_19624708_1 (horse VARCHAR, owner VARCHAR)
SELECT horse FROM table_19624708_1 WHERE owner = "R. A. Scott"
Write a SQL query that answers the following question: How many numbers have sp of 20/1 and a finishing position of fence 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_19624708_1 (number VARCHAR, sp VARCHAR, finishing_position VARCHAR)
SELECT COUNT(number) FROM table_19624708_1 WHERE sp = "20/1" AND finishing_position = "Fence 19"
Write a SQL query that answers the following question: Which handicap has the horse knowhere?
The relevant table was constructed using the following SQL : CREATE TABLE table_19624708_1 (handicap__st_lb_ VARCHAR, horse VARCHAR)
SELECT handicap__st_lb_ FROM table_19624708_1 WHERE horse = "Knowhere"
Write a SQL query that answers the following question: What colors does David Langdon use?
The relevant table was constructed using the following SQL : CREATE TABLE table_19624708_1 (colours VARCHAR, owner VARCHAR)
SELECT colours FROM table_19624708_1 WHERE owner = "David Langdon"
Write a SQL query that answers the following question: If the film title nominated is Baran, what was the result?
The relevant table was constructed using the following SQL : CREATE TABLE table_19625976_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT result FROM table_19625976_1 WHERE film_title_used_in_nomination = "Baran"
Write a SQL query that answers the following question: For the Persian Title میم مثل مادر, what were the results?
The relevant table was constructed using the following SQL : CREATE TABLE table_19625976_1 (result VARCHAR, persian_title VARCHAR)
SELECT result FROM table_19625976_1 WHERE persian_title = "میم مثل مادر"
Write a SQL query that answers the following question: For the Persian title گبه, What was the film title used for the nomination?
The relevant table was constructed using the following SQL : CREATE TABLE table_19625976_1 (film_title_used_in_nomination VARCHAR, persian_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_19625976_1 WHERE persian_title = "گبه"
Write a SQL query that answers the following question: What year had an Allison B400R transmission and a model of BRT?
The relevant table was constructed using the following SQL : CREATE TABLE table_19643196_1 (year VARCHAR, transmission VARCHAR, model VARCHAR)
SELECT year FROM table_19643196_1 WHERE transmission = "Allison B400R" AND model = "BRT"
Write a SQL query that answers the following question: What is the fleet number when the length (ft) is 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_19643196_1 (fleet__number VARCHAR, length__ft_ VARCHAR)
SELECT fleet__number FROM table_19643196_1 WHERE length__ft_ = 30
Write a SQL query that answers the following question: What is the fleet number when the transmission is Voith D863.4 and the engine is Cummins ISL?
The relevant table was constructed using the following SQL : CREATE TABLE table_19643196_1 (fleet__number VARCHAR, transmission VARCHAR, engine VARCHAR)
SELECT fleet__number FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISL"
Write a SQL query that answers the following question: Which year had a transmission of Voith D863.4 and a Cummins ISM engine?
The relevant table was constructed using the following SQL : CREATE TABLE table_19643196_1 (year VARCHAR, transmission VARCHAR, engine VARCHAR)
SELECT year FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISM"
Write a SQL query that answers the following question: Name the college/junior club team for ian turnbull
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_1 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_1965650_1 WHERE player = "Ian Turnbull"
Write a SQL query that answers the following question: Name the position for nhl team being los angeles kings
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_3 (position VARCHAR, nhl_team VARCHAR)
SELECT position FROM table_1965650_3 WHERE nhl_team = "Los Angeles Kings"
Write a SQL query that answers the following question: Name the nhl times for jeff jacques
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_3 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_1965650_3 WHERE player = "Jeff Jacques"
Write a SQL query that answers the following question: Name the college/junior club team for john campbell
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_3 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_1965650_3 WHERE player = "John Campbell"
Write a SQL query that answers the following question: Name the least pick # for doug gibson
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_3 (pick__number INTEGER, player VARCHAR)
SELECT MIN(pick__number) FROM table_1965650_3 WHERE player = "Doug Gibson"
Write a SQL query that answers the following question: How many nationalities does Tom Colley have?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_4 (nationality VARCHAR, player VARCHAR)
SELECT COUNT(nationality) FROM table_1965650_4 WHERE player = "Tom Colley"
Write a SQL query that answers the following question: What's the NHL team that drafted the player from Sudbury Wolves (OHA)?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_4 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
SELECT nhl_team FROM table_1965650_4 WHERE college_junior_club_team = "Sudbury Wolves (OHA)"
Write a SQL query that answers the following question: What's the number of positions of the player playing in Minnesota North Stars?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_4 (position VARCHAR, nhl_team VARCHAR)
SELECT COUNT(position) FROM table_1965650_4 WHERE nhl_team = "Minnesota North Stars"
Write a SQL query that answers the following question: What's the smallest pick number of a player playing in Minnesota North Stars?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_4 (pick__number INTEGER, nhl_team VARCHAR)
SELECT MIN(pick__number) FROM table_1965650_4 WHERE nhl_team = "Minnesota North Stars"
Write a SQL query that answers the following question: What's the nationality of the player coming from Edmonton Oil Kings (WCHL)?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_4 (nationality VARCHAR, college_junior_club_team VARCHAR)
SELECT nationality FROM table_1965650_4 WHERE college_junior_club_team = "Edmonton Oil Kings (WCHL)"
Write a SQL query that answers the following question: What's Steve Langdon's naitionality?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_4 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_1965650_4 WHERE player = "Steve Langdon"
Write a SQL query that answers the following question: When michigan technological university (ncaa) is the college, junior, or club team what is the nationality?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR)
SELECT nationality FROM table_1965650_9 WHERE college_junior_club_team = "Michigan Technological University (NCAA)"
Write a SQL query that answers the following question: When kitchener rangers (oha) is the college, junior, or club team team who is the player?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_9 (player VARCHAR, college_junior_club_team VARCHAR)
SELECT player FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)"
Write a SQL query that answers the following question: When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR)
SELECT COUNT(nationality) FROM table_1965650_9 WHERE college_junior_club_team = "Sault Ste. Marie Greyhounds (OHA)"
Write a SQL query that answers the following question: When kitchener rangers (oha) is the college, junior, or club team what is the position?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_9 (position VARCHAR, college_junior_club_team VARCHAR)
SELECT position FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)"
Write a SQL query that answers the following question: How many positions for denis patry?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_6 (position VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_1965650_6 WHERE player = "Denis Patry"
Write a SQL query that answers the following question: What nationality for neil korzack?
The relevant table was constructed using the following SQL : CREATE TABLE table_1965650_6 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_1965650_6 WHERE player = "Neil Korzack"
Write a SQL query that answers the following question: Name the college that has 10000 enrolled
The relevant table was constructed using the following SQL : CREATE TABLE table_1969577_1 (institution VARCHAR, enrollment VARCHAR)
SELECT institution FROM table_1969577_1 WHERE enrollment = 10000
Write a SQL query that answers the following question: Name the most joined for molloy college
The relevant table was constructed using the following SQL : CREATE TABLE table_1969577_1 (joined INTEGER, institution VARCHAR)
SELECT MAX(joined) FROM table_1969577_1 WHERE institution = "Molloy College"
Write a SQL query that answers the following question: how many times was total considered when hancock # was 1394
The relevant table was constructed using the following SQL : CREATE TABLE table_19681738_1 (total VARCHAR, hancock__number VARCHAR)
SELECT COUNT(total) FROM table_19681738_1 WHERE hancock__number = 1394
Write a SQL query that answers the following question: how many times was hancock % considered when starky % was 20.96%
The relevant table was constructed using the following SQL : CREATE TABLE table_19681738_1 (hancock__percentage VARCHAR, starky__percentage VARCHAR)
SELECT COUNT(hancock__percentage) FROM table_19681738_1 WHERE starky__percentage = "20.96%"
Write a SQL query that answers the following question: How many times was country considered when starky % was 20.96%
The relevant table was constructed using the following SQL : CREATE TABLE table_19681738_1 (county VARCHAR, starky__percentage VARCHAR)
SELECT COUNT(county) FROM table_19681738_1 WHERE starky__percentage = "20.96%"
Write a SQL query that answers the following question: which country did stary get 17.41%
The relevant table was constructed using the following SQL : CREATE TABLE table_19681738_1 (county VARCHAR, starky__percentage VARCHAR)
SELECT county FROM table_19681738_1 WHERE starky__percentage = "17.41%"
Write a SQL query that answers the following question: what is the least total in gila
The relevant table was constructed using the following SQL : CREATE TABLE table_19681738_1 (total INTEGER, county VARCHAR)
SELECT MIN(total) FROM table_19681738_1 WHERE county = "Gila"
Write a SQL query that answers the following question: where did hancock get 3.09%
The relevant table was constructed using the following SQL : CREATE TABLE table_19681738_1 (county VARCHAR, hancock__percentage VARCHAR)
SELECT county FROM table_19681738_1 WHERE hancock__percentage = "3.09%"
Write a SQL query that answers the following question: What is the BBM when the strike rate is 42.2?
The relevant table was constructed using the following SQL : CREATE TABLE table_19662262_6 (bbm VARCHAR, strike_rate VARCHAR)
SELECT bbm FROM table_19662262_6 WHERE strike_rate = "42.2"
Write a SQL query that answers the following question: What is the economy when the strike rate is 54.0?
The relevant table was constructed using the following SQL : CREATE TABLE table_19662262_6 (economy_rate VARCHAR, strike_rate VARCHAR)
SELECT economy_rate FROM table_19662262_6 WHERE strike_rate = "54.0"
Write a SQL query that answers the following question: How many averages are there when the economy rate is 2.26?
The relevant table was constructed using the following SQL : CREATE TABLE table_19662262_6 (average VARCHAR, economy_rate VARCHAR)
SELECT COUNT(average) FROM table_19662262_6 WHERE economy_rate = "2.26"
Write a SQL query that answers the following question: How many figures for wickets when the strike rate is 54.0?
The relevant table was constructed using the following SQL : CREATE TABLE table_19662262_6 (wickets VARCHAR, strike_rate VARCHAR)
SELECT COUNT(wickets) FROM table_19662262_6 WHERE strike_rate = "54.0"
Write a SQL query that answers the following question: What is the strike rate when there are 17 wickets?
The relevant table was constructed using the following SQL : CREATE TABLE table_19662262_6 (strike_rate VARCHAR, wickets VARCHAR)
SELECT strike_rate FROM table_19662262_6 WHERE wickets = 17
Write a SQL query that answers the following question: How many areas (km 2) have 151511 as the census 2006 population?
The relevant table was constructed using the following SQL : CREATE TABLE table_1966992_1 (area__km_2__ VARCHAR, census_2006_population VARCHAR)
SELECT COUNT(area__km_2__) FROM table_1966992_1 WHERE census_2006_population = 151511
Write a SQL query that answers the following question: What is the LGA name where the 2006 census population is bigger than 425208.9417698913 and administrative capital is port harcourt?
The relevant table was constructed using the following SQL : CREATE TABLE table_1966992_1 (lga_name VARCHAR, census_2006_population VARCHAR, administrative_capital VARCHAR)
SELECT lga_name FROM table_1966992_1 WHERE census_2006_population > 425208.9417698913 AND administrative_capital = "Port Harcourt"
Write a SQL query that answers the following question: What is the administrative capital of LGA name Akuku-Toru?
The relevant table was constructed using the following SQL : CREATE TABLE table_1966992_1 (administrative_capital VARCHAR, lga_name VARCHAR)
SELECT administrative_capital FROM table_1966992_1 WHERE lga_name = "Akuku-Toru"
Write a SQL query that answers the following question: What is the administrative capital that has a 2006 census population of 249425?
The relevant table was constructed using the following SQL : CREATE TABLE table_1966992_1 (administrative_capital VARCHAR, census_2006_population VARCHAR)
SELECT administrative_capital FROM table_1966992_1 WHERE census_2006_population = 249425
Write a SQL query that answers the following question: What is the maximum 2006 census population of LGA name Opobo/Nkoro?
The relevant table was constructed using the following SQL : CREATE TABLE table_1966992_1 (census_2006_population INTEGER, lga_name VARCHAR)
SELECT MAX(census_2006_population) FROM table_1966992_1 WHERE lga_name = "Opobo/Nkoro"
Write a SQL query that answers the following question: What's the minimal enrollment of any of the schools?
The relevant table was constructed using the following SQL : CREATE TABLE table_1969577_3 (enrollment INTEGER)
SELECT MIN(enrollment) FROM table_1969577_3
Write a SQL query that answers the following question: When was the school whose students are nicknamed Rams founded?
The relevant table was constructed using the following SQL : CREATE TABLE table_1969577_3 (founded INTEGER, nickname VARCHAR)
SELECT MAX(founded) FROM table_1969577_3 WHERE nickname = "Rams"
Write a SQL query that answers the following question: What's the type of the school whose students are nicknamed Chargers?
The relevant table was constructed using the following SQL : CREATE TABLE table_1969577_3 (type VARCHAR, nickname VARCHAR)
SELECT type FROM table_1969577_3 WHERE nickname = "Chargers"
Write a SQL query that answers the following question: When was the school in Philadelphia, Pennsylvania founded?
The relevant table was constructed using the following SQL : CREATE TABLE table_1969577_3 (founded VARCHAR, location VARCHAR)
SELECT founded FROM table_1969577_3 WHERE location = "Philadelphia, Pennsylvania"
Write a SQL query that answers the following question: What was the total number of votes in the 2005 elections?
The relevant table was constructed using the following SQL : CREATE TABLE table_19698421_1 (total_votes INTEGER, year VARCHAR)
SELECT MIN(total_votes) FROM table_19698421_1 WHERE year = "2005"
Write a SQL query that answers the following question: How many elections had 1423 average voters per candidate?
The relevant table was constructed using the following SQL : CREATE TABLE table_19698421_1 (change__percentage_points_ VARCHAR, average_voters_per_candidate VARCHAR)
SELECT COUNT(change__percentage_points_) FROM table_19698421_1 WHERE average_voters_per_candidate = 1423
Write a SQL query that answers the following question: How many candidates were there in the year of 1987?
The relevant table was constructed using the following SQL : CREATE TABLE table_19698421_1 (number_of_candidates VARCHAR, year VARCHAR)
SELECT number_of_candidates FROM table_19698421_1 WHERE year = "1987"
Write a SQL query that answers the following question: What is the modified torque (lb/ft) when the standard hp n/a?
The relevant table was constructed using the following SQL : CREATE TABLE table_19704392_1 (modified_torque__lb_ft_ VARCHAR, standard_hp VARCHAR)
SELECT COUNT(modified_torque__lb_ft_) FROM table_19704392_1 WHERE standard_hp = "n/a"
Write a SQL query that answers the following question: When the standard speed (6th gear) is 114, what is the minimum rpm?
The relevant table was constructed using the following SQL : CREATE TABLE table_19704392_1 (rpm INTEGER, standard_speed__6th_gear_ VARCHAR)
SELECT MIN(rpm) FROM table_19704392_1 WHERE standard_speed__6th_gear_ = "114"
Write a SQL query that answers the following question: when standard speed (6th gear) is 88, what is the rpm?
The relevant table was constructed using the following SQL : CREATE TABLE table_19704392_1 (rpm VARCHAR, standard_speed__6th_gear_ VARCHAR)
SELECT rpm FROM table_19704392_1 WHERE standard_speed__6th_gear_ = "88"
Write a SQL query that answers the following question: What is the modified speed (6th gear) when standard torque (lb/ft) is 10.3 and modified torque (lb/ft) is 8.75?
The relevant table was constructed using the following SQL : CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ VARCHAR, standard_torque__lb_ft_ VARCHAR, modified_torque__lb_ft_ VARCHAR)
SELECT modified_speed__6th_gear_ FROM table_19704392_1 WHERE standard_torque__lb_ft_ = "10.3" AND modified_torque__lb_ft_ = "8.75"
Write a SQL query that answers the following question: when the max speed for modified speed (6th gear) where standard speed (6th gear) is 98
The relevant table was constructed using the following SQL : CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ INTEGER, standard_speed__6th_gear_ VARCHAR)
SELECT MAX(modified_speed__6th_gear_) FROM table_19704392_1 WHERE standard_speed__6th_gear_ = "98"
Write a SQL query that answers the following question: When the standard torque (lb/ft) is 11.53 how much does more is the modified hp?
The relevant table was constructed using the following SQL : CREATE TABLE table_19704392_1 (modified_hp VARCHAR, standard_torque__lb_ft_ VARCHAR)
SELECT modified_hp FROM table_19704392_1 WHERE standard_torque__lb_ft_ = "11.53"
Write a SQL query that answers the following question: how many assists did the player who played 195 minutes make
The relevant table was constructed using the following SQL : CREATE TABLE table_19722233_5 (assists VARCHAR, minutes VARCHAR)
SELECT assists FROM table_19722233_5 WHERE minutes = 195
Write a SQL query that answers the following question: what is the lowest number of blocks
The relevant table was constructed using the following SQL : CREATE TABLE table_19722233_5 (blocks INTEGER)
SELECT MIN(blocks) FROM table_19722233_5
Write a SQL query that answers the following question: what is the lowest points scored by a player who blocked 21 times
The relevant table was constructed using the following SQL : CREATE TABLE table_19722233_5 (points INTEGER, blocks VARCHAR)
SELECT MIN(points) FROM table_19722233_5 WHERE blocks = 21
Write a SQL query that answers the following question: how many times did debbie black block
The relevant table was constructed using the following SQL : CREATE TABLE table_19722233_5 (blocks VARCHAR, player VARCHAR)
SELECT blocks FROM table_19722233_5 WHERE player = "Debbie Black"