answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT round1 FROM table_16815824_1 WHERE team = "Great Britain"
|
CREATE TABLE table_16815824_1 (round1 VARCHAR, team VARCHAR)
|
What was Great Britain's Round 1 score?
|
SELECT MIN(round4) FROM table_16815824_1 WHERE team = "team Toshiba"
|
CREATE TABLE table_16815824_1 (round4 INTEGER, team VARCHAR)
|
What was team Toshiba's round 4 score?
|
SELECT MAX(round2) FROM table_16815824_1
|
CREATE TABLE table_16815824_1 (round2 INTEGER)
|
What was the highest score for round 2?
|
SELECT round5 FROM table_16815824_1 WHERE total_points = 212
|
CREATE TABLE table_16815824_1 (round5 VARCHAR, total_points VARCHAR)
|
What was the round 5 score if the team's total points where 212?
|
SELECT COUNT(round2) FROM table_16815824_1 WHERE team = "team Toshiba"
|
CREATE TABLE table_16815824_1 (round2 VARCHAR, team VARCHAR)
|
What is the score for round 2 for team Toshiba?
|
SELECT name AS origin FROM table_16799784_9 WHERE longitude = "355.0E"
|
CREATE TABLE table_16799784_9 (name VARCHAR, longitude VARCHAR)
|
At the longitude of 355.0e, what is the name origin?
|
SELECT name AS origin FROM table_16799784_9 WHERE name = "Morrigan Linea"
|
CREATE TABLE table_16799784_9 (name VARCHAR)
|
What is the name origin of Morrigan Linea?
|
SELECT COUNT(year_named) FROM table_16799784_9 WHERE longitude = "20.0E"
|
CREATE TABLE table_16799784_9 (year_named VARCHAR, longitude VARCHAR)
|
How many years have a longitude measure of 20.0e?
|
SELECT diameter__km_ FROM table_16799784_9 WHERE longitude = "293.0E"
|
CREATE TABLE table_16799784_9 (diameter__km_ VARCHAR, longitude VARCHAR)
|
At a longitude of 293.0e, what is the diameter, in km?
|
SELECT release_date FROM table_1681535_1 WHERE notes = "Bonus interview with Peter Purves"
|
CREATE TABLE table_1681535_1 (release_date VARCHAR, notes VARCHAR)
|
What is the release date of the bonus interview with Peter Purves?
|
SELECT narrator FROM table_1681535_1 WHERE notes = "Bonus interview with Frazer Hines"
|
CREATE TABLE table_1681535_1 (narrator VARCHAR, notes VARCHAR)
|
Which narrator has the bonus interview with Frazer Hines?
|
SELECT release_date FROM table_1681535_1 WHERE title = "Destiny of the Daleks"
|
CREATE TABLE table_1681535_1 (release_date VARCHAR, title VARCHAR)
|
What is the release date for Destiny of the Daleks?
|
SELECT profits__billion_$_ FROM table_1682026_3 WHERE company = "Wells Fargo"
|
CREATE TABLE table_1682026_3 (profits__billion_$_ VARCHAR, company VARCHAR)
|
What are the profits of Wells Fargo (in billions)?
|
SELECT MIN(rank) FROM table_1682026_3 WHERE company = "BNP Paribas"
|
CREATE TABLE table_1682026_3 (rank INTEGER, company VARCHAR)
|
What is the ranking of BNP Paribas?
|
SELECT headquarters FROM table_1682026_3 WHERE sales__billion_$_ = "69.2"
|
CREATE TABLE table_1682026_3 (headquarters VARCHAR, sales__billion_$_ VARCHAR)
|
Where are the headquarters of the company whose sales were 69.2 billion?
|
SELECT assets__billion_$_ FROM table_1682026_3 WHERE headquarters = "China" AND profits__billion_$_ = "21.2"
|
CREATE TABLE table_1682026_3 (assets__billion_$_ VARCHAR, headquarters VARCHAR, profits__billion_$_ VARCHAR)
|
What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion?
|
SELECT profits__billion_$_ FROM table_1682026_3 WHERE market_value__billion_$_ = "172.9"
|
CREATE TABLE table_1682026_3 (profits__billion_$_ VARCHAR, market_value__billion_$_ VARCHAR)
|
What are the profits (in billions) of the company with a market value of 172.9 billion?
|
SELECT profits__billion_$_ FROM table_1682026_3 WHERE assets__billion_$_ = "192.8"
|
CREATE TABLE table_1682026_3 (profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)
|
What are the profits (in billions) where the assets are 192.8 billion?
|
SELECT COUNT(index_weighting___percentage__at_17_january_2013) FROM table_168274_1 WHERE company = "Bouygues"
|
CREATE TABLE table_168274_1 (index_weighting___percentage__at_17_january_2013 VARCHAR, company VARCHAR)
|
Name the total number of index weighting % at 17 january 2013 for bouygues
|
SELECT icb_sector FROM table_168274_1 WHERE ticker_symbol = "AI"
|
CREATE TABLE table_168274_1 (icb_sector VARCHAR, ticker_symbol VARCHAR)
|
Name the icb sector for ai
|
SELECT company FROM table_168274_1 WHERE index_weighting___percentage__at_17_january_2013 = "11.96"
|
CREATE TABLE table_168274_1 (company VARCHAR, index_weighting___percentage__at_17_january_2013 VARCHAR)
|
Name the company where index weighting % is 11.96
|
SELECT index_weighting___percentage__at_17_january_2013 FROM table_168274_1 WHERE ticker_symbol = "RNO"
|
CREATE TABLE table_168274_1 (index_weighting___percentage__at_17_january_2013 VARCHAR, ticker_symbol VARCHAR)
|
Name the index weighting % for 17 januaary 2013 for rno
|
SELECT COUNT(headquarters) FROM table_1682026_7 WHERE company = "HSBC"
|
CREATE TABLE table_1682026_7 (headquarters VARCHAR, company VARCHAR)
|
How many headquarters are there listed for HSBC?
|
SELECT market_value__billion_$_ FROM table_1682026_7 WHERE assets__billion_$_ = "1,380.88"
|
CREATE TABLE table_1682026_7 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)
|
What is the market value in billions when the assets totaled 1,380.88?
|
SELECT MAX(rank) FROM table_1682026_7 WHERE industry = "Oil and gas" AND headquarters = "Netherlands"
|
CREATE TABLE table_1682026_7 (rank INTEGER, industry VARCHAR, headquarters VARCHAR)
|
What is the highest rank of a company in the oil and gas industry headquartered in Netherlands?
|
SELECT MIN(rank) FROM table_1682026_7 WHERE assets__billion_$_ = "248.44"
|
CREATE TABLE table_1682026_7 (rank INTEGER, assets__billion_$_ VARCHAR)
|
What is the lowest rank of a company with 248.44 billions of dollars in assets?
|
SELECT industry FROM table_1682026_7 WHERE sales__billion_$_ = "89.16"
|
CREATE TABLE table_1682026_7 (industry VARCHAR, sales__billion_$_ VARCHAR)
|
In what industry was the company that had 89.16 billions of dollars in sales?
|
SELECT COUNT(rank) FROM table_1682026_9 WHERE profits__billion_$_ = "9.52"
|
CREATE TABLE table_1682026_9 (rank VARCHAR, profits__billion_$_ VARCHAR)
|
Name the number of rank for 9.52 profits
|
SELECT country FROM table_1682026_9 WHERE market_value__billion_$_ = "188.77"
|
CREATE TABLE table_1682026_9 (country VARCHAR, market_value__billion_$_ VARCHAR)
|
Name the country for 188.77 market value
|
SELECT numeral FROM table_1682865_1 WHERE english_name = "Florin"
|
CREATE TABLE table_1682865_1 (numeral VARCHAR, english_name VARCHAR)
|
What is the numeral where the English name is Florin?
|
SELECT £1_fraction FROM table_1682865_1 WHERE reverse = "Hare"
|
CREATE TABLE table_1682865_1 (£1_fraction VARCHAR, reverse VARCHAR)
|
What is the £1 fraction when the reverse is hare?
|
SELECT introduction FROM table_1682865_1 WHERE numeral = "6d"
|
CREATE TABLE table_1682865_1 (introduction VARCHAR, numeral VARCHAR)
|
What date was the 6d introduced?
|
SELECT irish_name FROM table_1682865_1 WHERE £1_fraction = "1/240"
|
CREATE TABLE table_1682865_1 (irish_name VARCHAR, £1_fraction VARCHAR)
|
What is the Irish name for the £1 fraction of 1/240?
|
SELECT reverse FROM table_1682865_1 WHERE £1_fraction = "1/480"
|
CREATE TABLE table_1682865_1 (reverse VARCHAR, £1_fraction VARCHAR)
|
What is the reverse when the £1 fraction is 1/480?
|
SELECT MAX(_number_of_seats_won) FROM table_168482_1
|
CREATE TABLE table_168482_1 (_number_of_seats_won INTEGER)
|
What is the largest number of seats won?
|
SELECT COUNT(_percentage_of_popular_vote) FROM table_168482_1 WHERE election = 1983
|
CREATE TABLE table_168482_1 (_percentage_of_popular_vote VARCHAR, election VARCHAR)
|
How many percentages are listed for the election in 1983?
|
SELECT place FROM table_168482_1 WHERE _percentage_of_popular_vote = "0.86%"
|
CREATE TABLE table_168482_1 (place VARCHAR, _percentage_of_popular_vote VARCHAR)
|
What place did the party finish in the year when they earned 0.86% of the vote?
|
SELECT ncbi_accession_number__mrna_protein_ FROM table_16849531_2 WHERE length__bp_aa_ = "5304bp/377aa"
|
CREATE TABLE table_16849531_2 (ncbi_accession_number__mrna_protein_ VARCHAR, length__bp_aa_ VARCHAR)
|
What is the NCBI Accession Number for the length of 5304bp/377aa?
|
SELECT ncbi_accession_number__mrna_protein_ FROM table_16849531_2 WHERE species = "Homo sapiens"
|
CREATE TABLE table_16849531_2 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR)
|
What is the NCBI Accession Number of the Homo Sapiens species?
|
SELECT protein_identity FROM table_16849531_2 WHERE length__bp_aa_ = "5304bp/377aa"
|
CREATE TABLE table_16849531_2 (protein_identity VARCHAR, length__bp_aa_ VARCHAR)
|
What is the protein identity with a length of 5304bp/377aa?
|
SELECT release_date FROM table_16859758_1 WHERE title = "Tell You When"
|
CREATE TABLE table_16859758_1 (release_date VARCHAR, title VARCHAR)
|
When was "Tell You When" released?
|
SELECT location FROM table_16864968_7 WHERE game = 62
|
CREATE TABLE table_16864968_7 (location VARCHAR, game VARCHAR)
|
Where was game 62 played?
|
SELECT score FROM table_16864968_7 WHERE opponent = "Columbus Blue Jackets"
|
CREATE TABLE table_16864968_7 (score VARCHAR, opponent VARCHAR)
|
What was the final score when the Maple Leafs played the Columbus Blue Jackets?
|
SELECT network FROM table_16884579_1 WHERE host_s_ = "Dré Steemans Ann Van Elsen"
|
CREATE TABLE table_16884579_1 (network VARCHAR, host_s_ VARCHAR)
|
Name the network for dré steemans ann van elsen
|
SELECT seasons_and_winners FROM table_16884579_1 WHERE premiere = "28 January 2007"
|
CREATE TABLE table_16884579_1 (seasons_and_winners VARCHAR, premiere VARCHAR)
|
Name the seasons and winners that airs 28 january 2007
|
SELECT host_s_ FROM table_16884579_1 WHERE network = "Prime"
|
CREATE TABLE table_16884579_1 (host_s_ VARCHAR, network VARCHAR)
|
Name the host for prime
|
SELECT COUNT(judges) FROM table_16884579_1 WHERE host_s_ = "Dré Steemans Ann Van Elsen"
|
CREATE TABLE table_16884579_1 (judges VARCHAR, host_s_ VARCHAR)
|
Name the number of judges for dré steemans ann van elsen
|
SELECT website FROM table_1688640_4 WHERE car__number = "92"
|
CREATE TABLE table_1688640_4 (website VARCHAR, car__number VARCHAR)
|
Name the website for car number of 92
|
SELECT MAX(year_started) FROM table_1688640_4 WHERE car__number = "55"
|
CREATE TABLE table_1688640_4 (year_started INTEGER, car__number VARCHAR)
|
Name the year started where car number is 55
|
SELECT car__number FROM table_1688640_4 WHERE year_started = 1997
|
CREATE TABLE table_1688640_4 (car__number VARCHAR, year_started VARCHAR)
|
Name the car number for 1997
|
SELECT COUNT(nickerie) FROM table_16886076_1 WHERE marowijne = "4.7%"
|
CREATE TABLE table_16886076_1 (nickerie VARCHAR, marowijne VARCHAR)
|
Name the nickerie for marowijne being 4.7%
|
SELECT coronie FROM table_16886076_1 WHERE marowijne = "6.8%"
|
CREATE TABLE table_16886076_1 (coronie VARCHAR, marowijne VARCHAR)
|
Name the coronie for marowijne being 6.8%
|
SELECT para FROM table_16886076_1 WHERE commewijne = "1.5%"
|
CREATE TABLE table_16886076_1 (para VARCHAR, commewijne VARCHAR)
|
Name the para for 1.5% commewijne
|
SELECT MIN(races) FROM table_16908657_1 WHERE poles = 2
|
CREATE TABLE table_16908657_1 (races INTEGER, poles VARCHAR)
|
Name the least amount of races for 2 poles
|
SELECT motorcycle FROM table_16908657_1 WHERE season = 2012
|
CREATE TABLE table_16908657_1 (motorcycle VARCHAR, season VARCHAR)
|
Name the motorcycle for season 2012
|
SELECT COUNT(flaps) FROM table_16908657_1 WHERE points = "63"
|
CREATE TABLE table_16908657_1 (flaps VARCHAR, points VARCHAR)
|
Name the number of flaps for 63 points
|
SELECT MIN(flaps) FROM table_16908657_1
|
CREATE TABLE table_16908657_1 (flaps INTEGER)
|
Name the least flaps
|
SELECT COUNT(p_ret) FROM table_16912000_13 WHERE kr_avg = "11.3"
|
CREATE TABLE table_16912000_13 (p_ret VARCHAR, kr_avg VARCHAR)
|
How many p.ret are there when kr avg is 11.3 ?
|
SELECT kr_td FROM table_16912000_13 WHERE mfg_lg = 64
|
CREATE TABLE table_16912000_13 (kr_td VARCHAR, mfg_lg VARCHAR)
|
What is the kr td when mfg lg is 64?
|
SELECT player FROM table_16912000_13 WHERE kr_avg = "24.8"
|
CREATE TABLE table_16912000_13 (player VARCHAR, kr_avg VARCHAR)
|
Who's average is 24.8?
|
SELECT pr_avg FROM table_16912000_13 WHERE kr_lg = 49
|
CREATE TABLE table_16912000_13 (pr_avg VARCHAR, kr_lg VARCHAR)
|
What is the pr avg, when kr lg is 49?
|
SELECT population__2010_ FROM table_1691800_2 WHERE municipality = "San Jacinto"
|
CREATE TABLE table_1691800_2 (population__2010_ VARCHAR, municipality VARCHAR)
|
what is the population where municipality is san jacinto?
|
SELECT income_class FROM table_1691800_2 WHERE area__km²_ = 75
|
CREATE TABLE table_1691800_2 (income_class VARCHAR, area__km²_ VARCHAR)
|
what is the income class for area 75?
|
SELECT area__km²_ FROM table_1691800_2 WHERE municipality = "Labrador"
|
CREATE TABLE table_1691800_2 (area__km²_ VARCHAR, municipality VARCHAR)
|
what is th area where the municipaity is labrador?
|
SELECT municipality FROM table_1691800_2 WHERE area__km²_ = 73
|
CREATE TABLE table_1691800_2 (municipality VARCHAR, area__km²_ VARCHAR)
|
what is the municipality where the area is 73?
|
SELECT equipment FROM table_16941304_4 WHERE bike_no = 6
|
CREATE TABLE table_16941304_4 (equipment VARCHAR, bike_no VARCHAR)
|
Name the equipment for bike number 6
|
SELECT driver___passenger FROM table_16941304_4 WHERE points = 394
|
CREATE TABLE table_16941304_4 (driver___passenger VARCHAR, points VARCHAR)
|
Name the driver passenger for 394 points
|
SELECT equipment FROM table_16941304_4 WHERE bike_no = 3
|
CREATE TABLE table_16941304_4 (equipment VARCHAR, bike_no VARCHAR)
|
Name the equipment for bike number being 3
|
SELECT reason_for_change FROM table_1694492_2 WHERE district = "New York 10th"
|
CREATE TABLE table_1694492_2 (reason_for_change VARCHAR, district VARCHAR)
|
In district New York 10th, what was the reason for change?
|
SELECT reason_for_change FROM table_1694505_4 WHERE district = "Wisconsin 2nd"
|
CREATE TABLE table_1694505_4 (reason_for_change VARCHAR, district VARCHAR)
|
In the district Wisconsin 2nd, what was the reason for change?
|
SELECT MIN(age_30_39) FROM table_169693_1 WHERE age_20_29 = 593
|
CREATE TABLE table_169693_1 (age_30_39 INTEGER, age_20_29 VARCHAR)
|
Name the least age 30-39 where age 20-29 is 593
|
SELECT MIN(age_40_49) FROM table_169693_1
|
CREATE TABLE table_169693_1 (age_40_49 INTEGER)
|
Name the least age 40-49
|
SELECT age_30_39 FROM table_169693_1 WHERE age_10_19 = 380
|
CREATE TABLE table_169693_1 (age_30_39 VARCHAR, age_10_19 VARCHAR)
|
Name the age 30-39 and age 10-19 380
|
SELECT score FROM table_16967990_1 WHERE _number = "4"
|
CREATE TABLE table_16967990_1 (score VARCHAR, _number VARCHAR)
|
Name the score for number 4
|
SELECT COUNT(chester) FROM table_16974228_1 WHERE religion = "Hindu"
|
CREATE TABLE table_16974228_1 (chester VARCHAR, religion VARCHAR)
|
How many numbers were recorded for Chester when the religion was Hindu?
|
SELECT MIN(earnings___) AS $__ FROM table_1697190_2
|
CREATE TABLE table_1697190_2 (earnings___ INTEGER)
|
what was Casey Martin's minimum yearly earnings?
|
SELECT money_list_rank FROM table_1697190_2 WHERE best_finish = "T-65"
|
CREATE TABLE table_1697190_2 (money_list_rank VARCHAR, best_finish VARCHAR)
|
when Casey Martin's best finish was t-65, where did he land in the money list rankings?
|
SELECT MAX(wins) FROM table_1697190_2
|
CREATE TABLE table_1697190_2 (wins INTEGER)
|
how many times did Casey Martin win?
|
SELECT COUNT(air_dates) FROM table_16976547_2 WHERE cycle_no = "05"
|
CREATE TABLE table_16976547_2 (air_dates VARCHAR, cycle_no VARCHAR)
|
Name the total number of air dates for 05 cycle
|
SELECT vote FROM table_16976547_2 WHERE eliminated = "Gigit"
|
CREATE TABLE table_16976547_2 (vote VARCHAR, eliminated VARCHAR)
|
Name the vote for gigit
|
SELECT finish FROM table_16976547_2 WHERE eliminated = "Patani"
|
CREATE TABLE table_16976547_2 (finish VARCHAR, eliminated VARCHAR)
|
Name the finish for patani
|
SELECT COUNT(immunity) FROM table_16976547_2 WHERE cycle_no = "13"
|
CREATE TABLE table_16976547_2 (immunity VARCHAR, cycle_no VARCHAR)
|
Name the total number of immunity for cycle number of 13
|
SELECT new_returning_same_network FROM table_169766_13 WHERE previous_network = "NBC"
|
CREATE TABLE table_169766_13 (new_returning_same_network VARCHAR, previous_network VARCHAR)
|
For the NBC network, what was the new/returning/same network status?
|
SELECT show FROM table_169766_13 WHERE new_returning_same_network = "Syndication"
|
CREATE TABLE table_169766_13 (show VARCHAR, new_returning_same_network VARCHAR)
|
Which show was sent to syndication for its new/returning/same network.
|
SELECT new_returning_same_network FROM table_169766_13 WHERE show = "This Week in Baseball"
|
CREATE TABLE table_169766_13 (new_returning_same_network VARCHAR, show VARCHAR)
|
What is the new/returning/same network name for This Week in Baseball?
|
SELECT show FROM table_169766_13 WHERE previous_network = "The Family Channel"
|
CREATE TABLE table_169766_13 (show VARCHAR, previous_network VARCHAR)
|
Which show as previously on The Family Channel?
|
SELECT retitled_as_same FROM table_169766_13 WHERE last_aired = 1958
|
CREATE TABLE table_169766_13 (retitled_as_same VARCHAR, last_aired VARCHAR)
|
Did the name change for the program last aired in 1958?
|
SELECT rating FROM table_16993379_1 WHERE rank__overall_ = "190"
|
CREATE TABLE table_16993379_1 (rating VARCHAR, rank__overall_ VARCHAR)
|
What was the rating of the episode with an overall ranking of 190?
|
SELECT COUNT(share) FROM table_16993379_1 WHERE viewers__millions_ = "3.11"
|
CREATE TABLE table_16993379_1 (share VARCHAR, viewers__millions_ VARCHAR)
|
How many were the shares when the viewers reached 3.11 million?
|
SELECT saka_era FROM table_169955_1 WHERE in_malayalam = "മിഥുനം"
|
CREATE TABLE table_169955_1 (saka_era VARCHAR, in_malayalam VARCHAR)
|
Name the saka era for malayalam മിഥുനം
|
SELECT months_in_malayalam_era FROM table_169955_1 WHERE in_malayalam = "കുംഭം"
|
CREATE TABLE table_169955_1 (months_in_malayalam_era VARCHAR, in_malayalam VARCHAR)
|
Name the months in the malayalam era for കുംഭം
|
SELECT sign_of_zodiac FROM table_169955_1 WHERE tamil_calendar = "Chithirai"
|
CREATE TABLE table_169955_1 (sign_of_zodiac VARCHAR, tamil_calendar VARCHAR)
|
Name the sign of zodiac for chithirai
|
SELECT saka_era FROM table_169955_1 WHERE sign_of_zodiac = "Pisces"
|
CREATE TABLE table_169955_1 (saka_era VARCHAR, sign_of_zodiac VARCHAR)
|
Name the saka era for sign of zodiac being pisces
|
SELECT COUNT(gregorian_calendar) FROM table_169955_1 WHERE sign_of_zodiac = "Gemini"
|
CREATE TABLE table_169955_1 (gregorian_calendar VARCHAR, sign_of_zodiac VARCHAR)
|
Name the number of gregorian calenda rof gemini
|
SELECT high_rebounds FROM table_17001658_10 WHERE high_assists = "Raymond Felton (12)"
|
CREATE TABLE table_17001658_10 (high_rebounds VARCHAR, high_assists VARCHAR)
|
For High Assists of Raymond Felton (12), who were the High rebounds?
|
SELECT date FROM table_17001658_10 WHERE team = "Philadelphia"
|
CREATE TABLE table_17001658_10 (date VARCHAR, team VARCHAR)
|
On what date was the team Philadelphia?
|
SELECT high_rebounds FROM table_17001658_10 WHERE high_assists = "D. J. Augustin (8)"
|
CREATE TABLE table_17001658_10 (high_rebounds VARCHAR, high_assists VARCHAR)
|
Who was the high rebound for the high assists of d. j. augustin (8)?
|
SELECT record FROM table_17001658_10 WHERE high_rebounds = "Gerald Wallace (14)"
|
CREATE TABLE table_17001658_10 (record VARCHAR, high_rebounds VARCHAR)
|
What was the final score of the game with gerald wallace (14) as the High Rebound?
|
SELECT score FROM table_17001658_5 WHERE game = 15
|
CREATE TABLE table_17001658_5 (score VARCHAR, game VARCHAR)
|
What was the final score in game 15?
|
SELECT high_assists FROM table_17001658_5 WHERE team = "Miami"
|
CREATE TABLE table_17001658_5 (high_assists VARCHAR, team VARCHAR)
|
Who had the most assists and how many did they have in the game against Miami?
|
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.