answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
|---|---|---|
SELECT country_region FROM table_20780285_1 WHERE title = "Marele câștigător The Big Winner"
|
CREATE TABLE table_20780285_1 (country_region VARCHAR, title VARCHAR)
|
What country uses the title Marele Câștigător The Big Winner?
|
SELECT country_region FROM table_20780285_1 WHERE presenters = "Silvio Santos"
|
CREATE TABLE table_20780285_1 (country_region VARCHAR, presenters VARCHAR)
|
Silvio Santos is the presenter in what country?
|
SELECT home_town FROM table_20785990_2 WHERE name = "David Noel"
|
CREATE TABLE table_20785990_2 (home_town VARCHAR, name VARCHAR)
|
What is the home town of David Noel?
|
SELECT high_school FROM table_20785990_2 WHERE home_town = "Blue Island, IL"
|
CREATE TABLE table_20785990_2 (high_school VARCHAR, home_town VARCHAR)
|
What is the high school for the player who's hometown is Blue Island, Il?
|
SELECT position FROM table_20785990_2 WHERE home_town = "North Babylon, NY"
|
CREATE TABLE table_20785990_2 (position VARCHAR, home_town VARCHAR)
|
What is the position of the player who's hometown is North Babylon, NY?
|
SELECT position FROM table_20785990_2 WHERE home_town = "Chapel Hill, NC"
|
CREATE TABLE table_20785990_2 (position VARCHAR, home_town VARCHAR)
|
What position is the player from Chapel Hill, NC?
|
SELECT height FROM table_20785990_2 WHERE home_town = "Gulfport, MS"
|
CREATE TABLE table_20785990_2 (height VARCHAR, home_town VARCHAR)
|
What is the height of the player from Gulfport, MS?
|
SELECT county FROM table_20799905_1 WHERE mccain_percentage = "57.8%"
|
CREATE TABLE table_20799905_1 (county VARCHAR, mccain_percentage VARCHAR)
|
In what county did McCain get 57.8%?
|
SELECT COUNT(mccain_percentage) FROM table_20799905_1 WHERE county = "DAVIDSON"
|
CREATE TABLE table_20799905_1 (mccain_percentage VARCHAR, county VARCHAR)
|
How many figures are given for McCain's % in Davidson county?
|
SELECT obama_percentage FROM table_20799905_1 WHERE county = "RUTHERFORD"
|
CREATE TABLE table_20799905_1 (obama_percentage VARCHAR, county VARCHAR)
|
What percentage did Obama get in Rutherford county?
|
SELECT mccain_percentage FROM table_20799905_1 WHERE county = "HAMILTON"
|
CREATE TABLE table_20799905_1 (mccain_percentage VARCHAR, county VARCHAR)
|
What percentage did McCain get in Hamilton county?
|
SELECT obama_percentage FROM table_20799905_1 WHERE mccain_percentage = "52.8%"
|
CREATE TABLE table_20799905_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR)
|
What percentage did Obama get when McCain got 52.8%?
|
SELECT MIN(obama_number) FROM table_20799905_1 WHERE county = "LAKE"
|
CREATE TABLE table_20799905_1 (obama_number INTEGER, county VARCHAR)
|
How many votes did Obama get in Lake County?
|
SELECT COUNT(county) FROM table_20799587_1 WHERE mccain_percentage = "65.72%"
|
CREATE TABLE table_20799587_1 (county VARCHAR, mccain_percentage VARCHAR)
|
In how many counties did McCain get 65.72% of the votes?
|
SELECT MIN(obama_number) FROM table_20799587_1 WHERE mccain_percentage = "72.75%"
|
CREATE TABLE table_20799587_1 (obama_number INTEGER, mccain_percentage VARCHAR)
|
How many people voted for Obama in the county where McCain got 72.75% of the votes?
|
SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Hinds"
|
CREATE TABLE table_20799587_1 (mccain_percentage VARCHAR, county VARCHAR)
|
What percentage of the votes did McCain get in Hinds?
|
SELECT MIN(mccain_number) FROM table_20799587_1 WHERE county = "Scott"
|
CREATE TABLE table_20799587_1 (mccain_number INTEGER, county VARCHAR)
|
How many votes did McCain get in Scott?
|
SELECT obama_percentage FROM table_20799587_1 WHERE county = "Tippah"
|
CREATE TABLE table_20799587_1 (obama_percentage VARCHAR, county VARCHAR)
|
What percentage of the votes in Tippah did Obama get?
|
SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Copiah"
|
CREATE TABLE table_20799587_1 (mccain_percentage VARCHAR, county VARCHAR)
|
What percentage of the votes in Copiah did McCain get?
|
SELECT COUNT(type_of_fare) FROM table_20803241_1 WHERE 31 - day_pass = "N/A" AND cash_fare = "N/A"
|
CREATE TABLE table_20803241_1 (type_of_fare VARCHAR, cash_fare VARCHAR, day_pass VARCHAR)
|
When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there?
|
SELECT 31 - day_pass FROM table_20803241_1 WHERE type_of_fare = "Fixed Route"
|
CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR)
|
When fixed route is the type of fare how much is the 31-day pass?
|
SELECT cash_fare FROM table_20803241_1 WHERE type_of_fare = "Mega Pass* (Senior/Disabled)"
|
CREATE TABLE table_20803241_1 (cash_fare VARCHAR, type_of_fare VARCHAR)
|
When mega pass* (senior/disabled) is the type of fare what is the cash fare?
|
SELECT day_pass FROM table_20803241_1 WHERE type_of_fare = "Mega Pass* (Senior/Disabled)"
|
CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR)
|
When mega pass* (senior/disabled) is the type of fare what is the day pass?
|
SELECT cash_fare FROM table_20803241_1 WHERE type_of_fare = "Fort Irwin-Barstow/Victorville"
|
CREATE TABLE table_20803241_1 (cash_fare VARCHAR, type_of_fare VARCHAR)
|
When fort irwin-barstow/victorville is the type of fare what is the cash fare?
|
SELECT MIN(no) FROM table_20848569_9 WHERE total_goals = 1 AND total_apps = 33
|
CREATE TABLE table_20848569_9 (no INTEGER, total_goals VARCHAR, total_apps VARCHAR)
|
Where total goals is 1 and total apps is 33, what is the smallest no.?
|
SELECT MAX(position) FROM table_20854943_2 WHERE loa__metres_ = "20.12"
|
CREATE TABLE table_20854943_2 (position INTEGER, loa__metres_ VARCHAR)
|
What position is the boat with 20.12 LOA (metres)?
|
SELECT loa__metres_ FROM table_20854943_2 WHERE sail_number = "M10"
|
CREATE TABLE table_20854943_2 (loa__metres_ VARCHAR, sail_number VARCHAR)
|
What are the LOA (metres) of boat with sail number M10?
|
SELECT COUNT(loa__metres_) FROM table_20854943_2 WHERE yacht = "Black Jack"
|
CREATE TABLE table_20854943_2 (loa__metres_ VARCHAR, yacht VARCHAR)
|
How many LOA (metres) reported for Black Jack?
|
SELECT race_number FROM table_20854943_2 WHERE sail_number = "AUS 98888"
|
CREATE TABLE table_20854943_2 (race_number VARCHAR, sail_number VARCHAR)
|
What race number had sail number AUS 98888?
|
SELECT COUNT(sail_number) FROM table_20854943_2 WHERE skipper = "Geoff Ross"
|
CREATE TABLE table_20854943_2 (sail_number VARCHAR, skipper VARCHAR)
|
How many sail numbers for boat skippered by Geoff Ross?
|
SELECT date FROM table_20850339_1 WHERE opponent = "West Virginia"
|
CREATE TABLE table_20850339_1 (date VARCHAR, opponent VARCHAR)
|
When did they play against West Virginia?
|
SELECT season FROM table_20833768_4 WHERE l__ot_so_ = "22 (3/4)"
|
CREATE TABLE table_20833768_4 (season VARCHAR, l__ot_so_ VARCHAR)
|
When l (ot/so) is 22 (3/4), what is the season?
|
SELECT w__ot_so_ FROM table_20833768_4 WHERE season = "2008–09"
|
CREATE TABLE table_20833768_4 (w__ot_so_ VARCHAR, season VARCHAR)
|
In season is 2008–09, how many wins did they have?
|
SELECT MAX(weight) FROM table_20860739_1 WHERE player = "Eben Britton"
|
CREATE TABLE table_20860739_1 (weight INTEGER, player VARCHAR)
|
What is the weight of Eben Britton?
|
SELECT round FROM table_20860739_1 WHERE college = "Virginia"
|
CREATE TABLE table_20860739_1 (round VARCHAR, college VARCHAR)
|
How many rounds did Virginia have?
|
SELECT round FROM table_20860739_1 WHERE height = "6'5"
|
CREATE TABLE table_20860739_1 (round VARCHAR, height VARCHAR)
|
How many rounds were there a height of 6'5?
|
SELECT college FROM table_20860739_1 WHERE height = "6'1"
|
CREATE TABLE table_20860739_1 (college VARCHAR, height VARCHAR)
|
What college has a player that is 6'1?
|
SELECT COUNT(position) FROM table_20860739_1 WHERE player = "Mike Thomas"
|
CREATE TABLE table_20860739_1 (position VARCHAR, player VARCHAR)
|
What is the number of Mike Thomas?
|
SELECT college FROM table_20861261_4 WHERE player = "Terrance Taylor"
|
CREATE TABLE table_20861261_4 (college VARCHAR, player VARCHAR)
|
What college did Terrance Taylor play for?
|
SELECT position FROM table_20861261_4 WHERE player = "Curtis Painter"
|
CREATE TABLE table_20861261_4 (position VARCHAR, player VARCHAR)
|
What's Curtis Painter's position?
|
SELECT weight FROM table_20861261_4 WHERE college = "Southern California"
|
CREATE TABLE table_20861261_4 (weight VARCHAR, college VARCHAR)
|
How much does the player from Southern California weight?
|
SELECT MAX(round) FROM table_20861261_4 WHERE weight = "192lb (87kg)"
|
CREATE TABLE table_20861261_4 (round INTEGER, weight VARCHAR)
|
In what round did the player who weights 192lb (87kg) play?
|
SELECT MIN(choice) FROM table_20861261_4 WHERE weight = "303lb (137kg)"
|
CREATE TABLE table_20861261_4 (choice INTEGER, weight VARCHAR)
|
What's the choice score of the player who weights 303lb (137kg)?
|
SELECT COUNT(engine) FROM table_20866024_2 WHERE model_designation = "97G00"
|
CREATE TABLE table_20866024_2 (engine VARCHAR, model_designation VARCHAR)
|
How many different engines are there for the model with model designation 97G00?
|
SELECT engine FROM table_20866024_2 WHERE gvw__kg_ton_ = "2500/2.46" AND model_designation = "97G00"
|
CREATE TABLE table_20866024_2 (engine VARCHAR, gvw__kg_ton_ VARCHAR, model_designation VARCHAR)
|
What's the engine for the model model designation 97G00 and GVW of 2500/2.46 kg/ton?
|
SELECT model_type FROM table_20866024_2 WHERE model_designation = "97500"
|
CREATE TABLE table_20866024_2 (model_type VARCHAR, model_designation VARCHAR)
|
What model type has model designation 97500?
|
SELECT axle_ratio FROM table_20866024_2 WHERE model_designation = "97G00"
|
CREATE TABLE table_20866024_2 (axle_ratio VARCHAR, model_designation VARCHAR)
|
What's the axle ratio of the model with model designation 97G00?
|
SELECT model_type FROM table_20866024_2 WHERE model_designation = "97100"
|
CREATE TABLE table_20866024_2 (model_type VARCHAR, model_designation VARCHAR)
|
What model type has 97100 model designation?
|
SELECT engine FROM table_20866024_3 WHERE model_designation = "97100"
|
CREATE TABLE table_20866024_3 (engine VARCHAR, model_designation VARCHAR)
|
What type of engine does the model with model designation 97100 have?
|
SELECT wheelbase__mm_inch_ FROM table_20866024_3 WHERE model_designation = "97G00"
|
CREATE TABLE table_20866024_3 (wheelbase__mm_inch_ VARCHAR, model_designation VARCHAR)
|
What's the wheelbase (in mm/inch) of the model with model designation 97G00?
|
SELECT engine FROM table_20866024_3 WHERE model_designation = "97F00"
|
CREATE TABLE table_20866024_3 (engine VARCHAR, model_designation VARCHAR)
|
What type of engine does the model with model designation 97F00 have?
|
SELECT model_designation FROM table_20866024_3 WHERE gvw__kg_ton_ = "2828/2.78" AND axle_ratio = "9/47"
|
CREATE TABLE table_20866024_3 (model_designation VARCHAR, gvw__kg_ton_ VARCHAR, axle_ratio VARCHAR)
|
What's the model designation of the model with GVW of 2828/2.78 kg/ton and axle ratio of 9/47?
|
SELECT player_name FROM table_20871703_1 WHERE college = "Eastern Michigan"
|
CREATE TABLE table_20871703_1 (player_name VARCHAR, college VARCHAR)
|
Who is the player name when eastern michigan is the college?
|
SELECT height FROM table_20871703_1 WHERE position = "OT"
|
CREATE TABLE table_20871703_1 (height VARCHAR, position VARCHAR)
|
What is the height if ot is the position?
|
SELECT player_name FROM table_20871703_1 WHERE college = "South Carolina"
|
CREATE TABLE table_20871703_1 (player_name VARCHAR, college VARCHAR)
|
Who is the player for south carolina college?
|
SELECT COUNT(height) FROM table_20871703_1 WHERE position = "DE"
|
CREATE TABLE table_20871703_1 (height VARCHAR, position VARCHAR)
|
What is the height if de is the position?
|
SELECT college FROM table_20871703_1 WHERE position = "FB"
|
CREATE TABLE table_20871703_1 (college VARCHAR, position VARCHAR)
|
Which college has fb as the position?
|
SELECT gvw__kg_ton_ FROM table_20866024_4 WHERE model_designation = "97H00"
|
CREATE TABLE table_20866024_4 (gvw__kg_ton_ VARCHAR, model_designation VARCHAR)
|
What is the GVW for model 97H00?
|
SELECT COUNT(engine) FROM table_20866024_4 WHERE model_designation = "97H00"
|
CREATE TABLE table_20866024_4 (engine VARCHAR, model_designation VARCHAR)
|
How many engines are there for model 97H00?
|
SELECT wheelbase__mm_inch_ FROM table_20866024_4 WHERE model_designation = "97300"
|
CREATE TABLE table_20866024_4 (wheelbase__mm_inch_ VARCHAR, model_designation VARCHAR)
|
What is the Wheelbase for Model 97300?
|
SELECT engine FROM table_20866024_4 WHERE model_type = "CF350"
|
CREATE TABLE table_20866024_4 (engine VARCHAR, model_type VARCHAR)
|
Name the Engine for model CF350.
|
SELECT report FROM table_20884160_1 WHERE race_title = "Supercheap Auto Bathurst 1000"
|
CREATE TABLE table_20884160_1 (report VARCHAR, race_title VARCHAR)
|
Was the result of the supercheap auto bathurst 1000 reported?
|
SELECT winner FROM table_20884160_1 WHERE circuit = "Barbagallo Raceway"
|
CREATE TABLE table_20884160_1 (winner VARCHAR, circuit VARCHAR)
|
Who was the winner of the race at barbagallo raceway?
|
SELECT COUNT(player) FROM table_20898602_1 WHERE status = "Made 53-man roster at start of 2009 season" AND position = "Running back"
|
CREATE TABLE table_20898602_1 (player VARCHAR, status VARCHAR, position VARCHAR)
|
how many players played running back where status is made 53-man roster at start of 2009 season
|
SELECT COUNT(position) FROM table_20898602_1 WHERE player = "Wallace, Mike Mike Wallace"
|
CREATE TABLE table_20898602_1 (position VARCHAR, player VARCHAR)
|
howe many positions did wallace, mike mike wallace play for
|
SELECT status FROM table_20898602_1 WHERE pick__number = 32
|
CREATE TABLE table_20898602_1 (status VARCHAR, pick__number VARCHAR)
|
state the status of pick # 32
|
SELECT college FROM table_20898602_1 WHERE position = "Running back"
|
CREATE TABLE table_20898602_1 (college VARCHAR, position VARCHAR)
|
which college had a running back player
|
SELECT position FROM table_20898602_1 WHERE height = "ft0in (m)"
|
CREATE TABLE table_20898602_1 (position VARCHAR, height VARCHAR)
|
what is the position of the player of height ft0in (m)
|
SELECT position FROM table_20898602_1 WHERE pick__number = 79
|
CREATE TABLE table_20898602_1 (position VARCHAR, pick__number VARCHAR)
|
what's the position of pick # 79
|
SELECT MAX(touchdowns) FROM table_20906175_3 WHERE qb_rating = "82.7"
|
CREATE TABLE table_20906175_3 (touchdowns INTEGER, qb_rating VARCHAR)
|
How many touchdowns were scored when QB rating was 82.7?
|
SELECT qb_rating FROM table_20906175_3 WHERE name = "Neil Lomax"
|
CREATE TABLE table_20906175_3 (qb_rating VARCHAR, name VARCHAR)
|
What was the QB rating for Neil lomax?
|
SELECT COUNT(attempts) FROM table_20906175_3 WHERE name = "Charley Johnson"
|
CREATE TABLE table_20906175_3 (attempts VARCHAR, name VARCHAR)
|
How many attempts did Charley Johnson have?
|
SELECT touchdowns FROM table_20906175_3 WHERE qb_rating = "66.6"
|
CREATE TABLE table_20906175_3 (touchdowns VARCHAR, qb_rating VARCHAR)
|
How many touchdowns were there with QB rating of 66.6?
|
SELECT COUNT(opponent) FROM table_20928661_1 WHERE result = "Loss"
|
CREATE TABLE table_20928661_1 (opponent VARCHAR, result VARCHAR)
|
Name the number opponent for loss result
|
SELECT game FROM table_20928661_1 WHERE record = "3-0"
|
CREATE TABLE table_20928661_1 (game VARCHAR, record VARCHAR)
|
Name the game for record being 3-0
|
SELECT date FROM table_20928649_1 WHERE game = 6
|
CREATE TABLE table_20928649_1 (date VARCHAR, game VARCHAR)
|
What was the date of game 6?
|
SELECT record FROM table_20928649_1 WHERE cardinals_points = 7
|
CREATE TABLE table_20928649_1 (record VARCHAR, cardinals_points VARCHAR)
|
What was the record for the game where the cardinals scored 7 points?
|
SELECT date FROM table_20928649_1 WHERE record = "1-2"
|
CREATE TABLE table_20928649_1 (date VARCHAR, record VARCHAR)
|
What game date had the record of 1-2?
|
SELECT COUNT(opponents) FROM table_20928649_1 WHERE opponent = "North Carolina State"
|
CREATE TABLE table_20928649_1 (opponents VARCHAR, opponent VARCHAR)
|
How many opponents were in North Carolina state game?
|
SELECT COUNT(125 AS cc_winner) FROM table_20935975_1 WHERE moto2_winner = "Shoya Tomizawa"
|
CREATE TABLE table_20935975_1 (moto2_winner VARCHAR)
|
How many 125cc winners were in the same events as when the Moto2 winner was Shoya Tomizawa?
|
SELECT COUNT(opponents) FROM table_20928682_1 WHERE record = "1-0-0"
|
CREATE TABLE table_20928682_1 (opponents VARCHAR, record VARCHAR)
|
After how many opponents was the overall record 1-0-0?
|
SELECT record FROM table_20928682_1 WHERE hurricanes_points = 24
|
CREATE TABLE table_20928682_1 (record VARCHAR, hurricanes_points VARCHAR)
|
What was the record after the game in which the Hurricanes scored 24 points?
|
SELECT MIN(game) FROM table_20928682_1 WHERE opponent = "Georgia"
|
CREATE TABLE table_20928682_1 (game INTEGER, opponent VARCHAR)
|
Which game number was played against Georgia?
|
SELECT COUNT(opponents) FROM table_20928682_1 WHERE opponent = "Tulane"
|
CREATE TABLE table_20928682_1 (opponents VARCHAR, opponent VARCHAR)
|
How many games were played against Tulane?
|
SELECT parking FROM table_2093995_1 WHERE city__neighborhood = "Van Nuys" AND stations = "Sepulveda"
|
CREATE TABLE table_2093995_1 (parking VARCHAR, city__neighborhood VARCHAR, stations VARCHAR)
|
How much parking is in Van Nuys at the Sepulveda station?
|
SELECT stations FROM table_2093995_1 WHERE city__neighborhood = "Tarzana"
|
CREATE TABLE table_2093995_1 (stations VARCHAR, city__neighborhood VARCHAR)
|
What are the stations in Tarzana?
|
SELECT COUNT(connections) FROM table_2093995_1 WHERE stations = "Tampa"
|
CREATE TABLE table_2093995_1 (connections VARCHAR, stations VARCHAR)
|
How many connection catagories are there for Tampa?
|
SELECT stations FROM table_2093995_1 WHERE parking = "Park & Ride Lot"
|
CREATE TABLE table_2093995_1 (stations VARCHAR, parking VARCHAR)
|
Which station has park & ride lot parking?
|
SELECT 3 AS _dart_average FROM table_20948329_1 WHERE high_checkout = 112
|
CREATE TABLE table_20948329_1 (high_checkout VARCHAR)
|
What is the 3-dart average with a high checkout of 112?
|
SELECT MAX(180 AS s) FROM table_20948329_1 WHERE legs_won = 45
|
CREATE TABLE table_20948329_1 (legs_won VARCHAR)
|
How many 180s have legs won of 45?
|
SELECT COUNT(touchdowns) FROM table_20938922_2 WHERE yards = 145
|
CREATE TABLE table_20938922_2 (touchdowns VARCHAR, yards VARCHAR)
|
The player who had 145 yards had how many touchdowns?
|
SELECT team FROM table_20938922_2 WHERE carries = 27
|
CREATE TABLE table_20938922_2 (team VARCHAR, carries VARCHAR)
|
Which team did the player have who had 27 total carries?
|
SELECT opponent FROM table_20938922_2 WHERE week = 12
|
CREATE TABLE table_20938922_2 (opponent VARCHAR, week VARCHAR)
|
What was the player's team's opponent for Week 12?
|
SELECT directed_by FROM table_20967430_4 WHERE original_air_date = "March 18, 1988"
|
CREATE TABLE table_20967430_4 (directed_by VARCHAR, original_air_date VARCHAR)
|
Who directed the episode that originally aired on March 18, 1988?
|
SELECT title FROM table_20967430_4 WHERE original_air_date = "March 11, 1988"
|
CREATE TABLE table_20967430_4 (title VARCHAR, original_air_date VARCHAR)
|
What was the name of the episode that aired originally on March 11, 1988?
|
SELECT prod_code FROM table_20967430_4 WHERE written_by = "Jack Carrerrow"
|
CREATE TABLE table_20967430_4 (prod_code VARCHAR, written_by VARCHAR)
|
What is the production code of the episode written by Jack Carrerrow?
|
SELECT COUNT(ep) FROM table_20967430_4 WHERE prod_code = "5M13"
|
CREATE TABLE table_20967430_4 (ep VARCHAR, prod_code VARCHAR)
|
How many episodes had a production code of 5m13?
|
SELECT title FROM table_20967430_2 WHERE original_air_date = "November 08, 1985"
|
CREATE TABLE table_20967430_2 (title VARCHAR, original_air_date VARCHAR)
|
Name the title that aired for november 08, 1985
|
SELECT prod_code FROM table_20967430_2 WHERE original_air_date = "November 08, 1985"
|
CREATE TABLE table_20967430_2 (prod_code VARCHAR, original_air_date VARCHAR)
|
Name the production code for november 08, 1985
|
SELECT written_by FROM table_20967430_2 WHERE prod_code = "4G07"
|
CREATE TABLE table_20967430_2 (written_by VARCHAR, prod_code VARCHAR)
|
Name the written by for production code 4g07
|
Subsets and Splits
SQL Console for knowrohit07/know_sql
Finds questions in the dataset that contain the word 'god', providing a basic filtered view without much analytical insight.