instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What was the launch date the satellite with cospar ID is 2008-033A?
The relevant table was constructed using the following SQL : CREATE TABLE table_18161217_2 (launch_date VARCHAR, cospar_id VARCHAR)
SELECT launch_date FROM table_18161217_2 WHERE cospar_id = "2008-033A"
Write a SQL query that answers the following question: What it the international designation for the kosmos 2379 satellite?
The relevant table was constructed using the following SQL : CREATE TABLE table_18161217_2 (cospar_id VARCHAR, satellite VARCHAR)
SELECT cospar_id FROM table_18161217_2 WHERE satellite = "Kosmos 2379"
Write a SQL query that answers the following question: What is the estimated end date for the 2001-037a international designated satellite?
The relevant table was constructed using the following SQL : CREATE TABLE table_18161217_2 (estimated_end_date VARCHAR, _clarification_needed_ VARCHAR, cospar_id VARCHAR)
SELECT estimated_end_date[_clarification_needed_] FROM table_18161217_2 WHERE cospar_id = "2001-037A"
Write a SQL query that answers the following question: in which city was charter date december 4, 2011
The relevant table was constructed using the following SQL : CREATE TABLE table_18159601_1 (city VARCHAR, charter_date VARCHAR)
SELECT city FROM table_18159601_1 WHERE charter_date = "December 4, 2011"
Write a SQL query that answers the following question: how mnay greek designation in tampa
The relevant table was constructed using the following SQL : CREATE TABLE table_18159601_1 (greek_designation VARCHAR, city VARCHAR)
SELECT COUNT(greek_designation) FROM table_18159601_1 WHERE city = "Tampa"
Write a SQL query that answers the following question: what is the status in vestal
The relevant table was constructed using the following SQL : CREATE TABLE table_18159601_1 (status VARCHAR, city VARCHAR)
SELECT status FROM table_18159601_1 WHERE city = "Vestal"
Write a SQL query that answers the following question: what is the collegiate institution in queens
The relevant table was constructed using the following SQL : CREATE TABLE table_18159601_1 (collegiate_institution VARCHAR, city VARCHAR)
SELECT collegiate_institution FROM table_18159601_1 WHERE city = "Queens"
Write a SQL query that answers the following question: What was the original title of Run for Money?
The relevant table was constructed using the following SQL : CREATE TABLE table_18162883_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_18162883_1 WHERE film_title_used_in_nomination = "Run for Money"
Write a SQL query that answers the following question: What was the Tuesday episode if theThursday episode was 196 Buried?
The relevant table was constructed using the following SQL : CREATE TABLE table_18173916_6 (tuesday VARCHAR, thursday VARCHAR)
SELECT tuesday FROM table_18173916_6 WHERE thursday = "196 Buried"
Write a SQL query that answers the following question: How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday?
The relevant table was constructed using the following SQL : CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)
SELECT COUNT(friday) FROM table_18173916_6 WHERE wednesday = "210 Kirby's Epic Yarn"
Write a SQL query that answers the following question: How many episodes were shown on Friday if 190 Boardwalk Empire was shown on Wednesday?
The relevant table was constructed using the following SQL : CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)
SELECT COUNT(friday) FROM table_18173916_6 WHERE wednesday = "190 Boardwalk Empire"
Write a SQL query that answers the following question: What were the dates when 224 Assassin's Creed: Brotherhood Circus Training was shown on Tuesday?
The relevant table was constructed using the following SQL : CREATE TABLE table_18173916_6 (episodes VARCHAR, tuesday VARCHAR)
SELECT episodes FROM table_18173916_6 WHERE tuesday = "224 Assassin's Creed: Brotherhood Circus Training"
Write a SQL query that answers the following question: When the average away attendance is 1.889 in the Superettan, what's the average home attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_1816947_2 (average_attendance_home VARCHAR, division___section VARCHAR, average_attendance_away VARCHAR)
SELECT average_attendance_home FROM table_1816947_2 WHERE division___section = "Superettan" AND average_attendance_away = "1.889"
Write a SQL query that answers the following question: In which season was the average league attendance 2.572?
The relevant table was constructed using the following SQL : CREATE TABLE table_1816947_2 (season INTEGER, average_attendance_league VARCHAR)
SELECT MAX(season) FROM table_1816947_2 WHERE average_attendance_league = "2.572"
Write a SQL query that answers the following question: In which division did they compete in 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_1816947_2 (division___section VARCHAR, season VARCHAR)
SELECT division___section FROM table_1816947_2 WHERE season = 2012
Write a SQL query that answers the following question: When the home attendance is 3.123, what's the highest away attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_1816947_2 (highest_attendance_away VARCHAR, average_attendance_home VARCHAR)
SELECT highest_attendance_away FROM table_1816947_2 WHERE average_attendance_home = "3.123"
Write a SQL query that answers the following question: Which division has an average home attendance of 2.459?
The relevant table was constructed using the following SQL : CREATE TABLE table_1816947_2 (division___section VARCHAR, average_attendance_home VARCHAR)
SELECT division___section FROM table_1816947_2 WHERE average_attendance_home = "2.459"
Write a SQL query that answers the following question: How many years was he car number 92?
The relevant table was constructed using the following SQL : CREATE TABLE table_181892_4 (speed_rank VARCHAR, car_number VARCHAR)
SELECT COUNT(speed_rank) FROM table_181892_4 WHERE car_number = 92
Write a SQL query that answers the following question: How many years was the chassis a lotus-ford 38/7?
The relevant table was constructed using the following SQL : CREATE TABLE table_181892_4 (year VARCHAR, chassis VARCHAR)
SELECT COUNT(year) FROM table_181892_4 WHERE chassis = "Lotus-Ford 38/7"
Write a SQL query that answers the following question: What was the race status(es) with the lotus-ford 38/1 chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_181892_4 (race_status VARCHAR, chassis VARCHAR)
SELECT race_status FROM table_181892_4 WHERE chassis = "Lotus-Ford 38/1"
Write a SQL query that answers the following question: What year(s) was the race status piston?
The relevant table was constructed using the following SQL : CREATE TABLE table_181892_4 (year VARCHAR, race_status VARCHAR)
SELECT year FROM table_181892_4 WHERE race_status = "Piston"
Write a SQL query that answers the following question: What is the largest laps led with the lotus-ford 34/3 chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_181892_4 (laps_led INTEGER, chassis VARCHAR)
SELECT MAX(laps_led) FROM table_181892_4 WHERE chassis = "Lotus-Ford 34/3"
Write a SQL query that answers the following question: What was the population of Minneapolis in 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_1818254_1 (population INTEGER, city VARCHAR)
SELECT MAX(population) FROM table_1818254_1 WHERE city = "Minneapolis"
Write a SQL query that answers the following question: How many burglaries occurred in the city where the violent crime rate was 974.7?
The relevant table was constructed using the following SQL : CREATE TABLE table_1818254_1 (burglary VARCHAR, violent_crime VARCHAR)
SELECT burglary FROM table_1818254_1 WHERE violent_crime = "974.7"
Write a SQL query that answers the following question: What was the violent crime rate in the city where the robbery rate was 201.4?
The relevant table was constructed using the following SQL : CREATE TABLE table_1818254_1 (violent_crime VARCHAR, robbery VARCHAR)
SELECT violent_crime FROM table_1818254_1 WHERE robbery = "201.4"
Write a SQL query that answers the following question: How many cities were there in 2012 where the rate of burglary was 224.8?
The relevant table was constructed using the following SQL : CREATE TABLE table_1818254_1 (property_crime VARCHAR, burglary VARCHAR)
SELECT COUNT(property_crime) FROM table_1818254_1 WHERE burglary = "224.8"
Write a SQL query that answers the following question: What is every value when Mitchell is 676?
The relevant table was constructed using the following SQL : CREATE TABLE table_1818471_1 (value VARCHAR, mitchell VARCHAR)
SELECT value FROM table_1818471_1 WHERE mitchell = 676
Write a SQL query that answers the following question: How many different numbers for Afinsa when value is 5p?
The relevant table was constructed using the following SQL : CREATE TABLE table_1818471_1 (afinsa VARCHAR, value VARCHAR)
SELECT COUNT(afinsa) FROM table_1818471_1 WHERE value = "5P"
Write a SQL query that answers the following question: What is every entry for Scott when the date is (15.12)?
The relevant table was constructed using the following SQL : CREATE TABLE table_1818471_1 (scott VARCHAR, date VARCHAR)
SELECT scott FROM table_1818471_1 WHERE date = "(15.12)"
Write a SQL query that answers the following question: What is every species when Afinsa is 639?
The relevant table was constructed using the following SQL : CREATE TABLE table_1818471_1 (species VARCHAR, afinsa VARCHAR)
SELECT species FROM table_1818471_1 WHERE afinsa = 639
Write a SQL query that answers the following question: How many orders when the species is Pavo Cristatus?
The relevant table was constructed using the following SQL : CREATE TABLE table_1818471_1 (order VARCHAR, species VARCHAR)
SELECT COUNT(order) FROM table_1818471_1 WHERE species = "Pavo cristatus"
Write a SQL query that answers the following question: If the distance is 55.7, what is the name of the constellation?
The relevant table was constructed using the following SQL : CREATE TABLE table_1820752_1 (constellation VARCHAR, distance___ly__ VARCHAR)
SELECT constellation FROM table_1820752_1 WHERE distance___ly__ = "55.7"
Write a SQL query that answers the following question: If the spectral type is g1v, what is the total distance amount?
The relevant table was constructed using the following SQL : CREATE TABLE table_1820752_1 (distance___ly__ VARCHAR, spectral_type VARCHAR)
SELECT COUNT(distance___ly__) FROM table_1820752_1 WHERE spectral_type = "G1V"
Write a SQL query that answers the following question: What is the hd designation for arrival date of February 2070?
The relevant table was constructed using the following SQL : CREATE TABLE table_1820752_1 (hd_designation VARCHAR, arrival_date VARCHAR)
SELECT COUNT(hd_designation) FROM table_1820752_1 WHERE arrival_date = "February 2070"
Write a SQL query that answers the following question: If the constellation is Gemini, what is the spectral type?
The relevant table was constructed using the following SQL : CREATE TABLE table_1820752_1 (spectral_type VARCHAR, constellation VARCHAR)
SELECT spectral_type FROM table_1820752_1 WHERE constellation = "Gemini"
Write a SQL query that answers the following question: If the arrival date is January 2059, what is the total amount of signal power?
The relevant table was constructed using the following SQL : CREATE TABLE table_1820752_1 (signal_power___kw__ VARCHAR, arrival_date VARCHAR)
SELECT COUNT(signal_power___kw__) FROM table_1820752_1 WHERE arrival_date = "January 2059"
Write a SQL query that answers the following question: If the spectral type is g1v, what is the constellation?
The relevant table was constructed using the following SQL : CREATE TABLE table_1820752_1 (constellation VARCHAR, spectral_type VARCHAR)
SELECT constellation FROM table_1820752_1 WHERE spectral_type = "G1V"
Write a SQL query that answers the following question: List the total numbers of Evian Masters tournaments.
The relevant table was constructed using the following SQL : CREATE TABLE table_18198579_2 (no INTEGER, tournament VARCHAR)
SELECT MAX(no) FROM table_18198579_2 WHERE tournament = "Evian Masters"
Write a SQL query that answers the following question: What is the original air date of season 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_18217753_1 (original_air_date VARCHAR, season__number VARCHAR)
SELECT original_air_date FROM table_18217753_1 WHERE season__number = 9
Write a SQL query that answers the following question: Who were the writers when there were 27.11 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_18217753_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT written_by FROM table_18217753_1 WHERE us_viewers__millions_ = "27.11"
Write a SQL query that answers the following question: How many series had viewers totaling 23.93 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_18217753_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(series__number) FROM table_18217753_1 WHERE us_viewers__millions_ = "23.93"
Write a SQL query that answers the following question: How many original air dates totaled 26.06 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(original_air_date) FROM table_18217753_1 WHERE us_viewers__millions_ = "26.06"
Write a SQL query that answers the following question: What is the title when 18.58 u.s. viewers (millions) watched?
The relevant table was constructed using the following SQL : CREATE TABLE table_18217741_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_18217741_1 WHERE us_viewers__millions_ = "18.58"
Write a SQL query that answers the following question: How many digital terrestrial channels are there for channel 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)
SELECT COUNT(digital_terrestrial_channel) FROM table_182410_10 WHERE channel = "channel 4"
Write a SQL query that answers the following question: What is the channel that is on digital terrestrial channel 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_182410_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR)
SELECT channel FROM table_182410_10 WHERE digital_terrestrial_channel = "10"
Write a SQL query that answers the following question: What is the digital terrestria channel number for itv3?
The relevant table was constructed using the following SQL : CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)
SELECT digital_terrestrial_channel FROM table_182410_10 WHERE channel = "ITV3"
Write a SQL query that answers the following question: What is the position of digital channel 5 44 (+1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_182410_10 (position VARCHAR, digital_terrestrial_channel VARCHAR)
SELECT position FROM table_182410_10 WHERE digital_terrestrial_channel = "5 44 (+1)"
Write a SQL query that answers the following question: where pageant is elite model look and year is bigger than 1993.0, who is the delegate?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_14 (delegate VARCHAR, pageant VARCHAR, year VARCHAR)
SELECT delegate FROM table_1825751_14 WHERE pageant = "Elite Model Look" AND year > 1993.0
Write a SQL query that answers the following question: How many years was the pageant miss globe international and delegate was karen loren medrano agustin?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_14 (year VARCHAR, pageant VARCHAR, delegate VARCHAR)
SELECT COUNT(year) FROM table_1825751_14 WHERE pageant = "Miss Globe International" AND delegate = "Karen Loren Medrano Agustin"
Write a SQL query that answers the following question: How many pageants were in san fernando, pampanga?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_14 (pageant VARCHAR, hometown VARCHAR)
SELECT COUNT(pageant) FROM table_1825751_14 WHERE hometown = "San Fernando, Pampanga"
Write a SQL query that answers the following question: How many pageants were margaret ann awitan bayot the delegate of?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_14 (pageant VARCHAR, delegate VARCHAR)
SELECT COUNT(pageant) FROM table_1825751_14 WHERE delegate = "Margaret Ann Awitan Bayot"
Write a SQL query that answers the following question: How many awards did milagros gutierrez win?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_14 (other_awards VARCHAR, delegate VARCHAR)
SELECT other_awards FROM table_1825751_14 WHERE delegate = "Milagros Gutierrez"
Write a SQL query that answers the following question: Where is the miss global teen?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_14 (hometown VARCHAR, pageant VARCHAR)
SELECT hometown FROM table_1825751_14 WHERE pageant = "Miss Global Teen"
Write a SQL query that answers the following question: what is the subtrate for enzyme ala dehydratase
The relevant table was constructed using the following SQL : CREATE TABLE table_182499_1 (substrate VARCHAR, enzyme VARCHAR)
SELECT substrate FROM table_182499_1 WHERE enzyme = "ALA dehydratase"
Write a SQL query that answers the following question: how many porphyria have substrate δ-aminolevulinic acid
The relevant table was constructed using the following SQL : CREATE TABLE table_182499_1 (porphyria VARCHAR, substrate VARCHAR)
SELECT COUNT(porphyria) FROM table_182499_1 WHERE substrate = "δ-Aminolevulinic acid"
Write a SQL query that answers the following question: give the location of subtrate coproporphyrinogen iii
The relevant table was constructed using the following SQL : CREATE TABLE table_182499_1 (location VARCHAR, substrate VARCHAR)
SELECT location FROM table_182499_1 WHERE substrate = "Coproporphyrinogen III"
Write a SQL query that answers the following question: Who were the authors of episode having production code 3t7573?
The relevant table was constructed using the following SQL : CREATE TABLE table_18274425_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_18274425_1 WHERE production_code = "3T7573"
Write a SQL query that answers the following question: How many episodes had a viewership of 2.65 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_18274425_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(no_in_season) FROM table_18274425_1 WHERE us_viewers__millions_ = "2.65"
Write a SQL query that answers the following question: Who were the director/s of episodes written by Mike Daniels?
The relevant table was constructed using the following SQL : CREATE TABLE table_18274425_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_18274425_1 WHERE written_by = "Mike Daniels"
Write a SQL query that answers the following question: How many winners of Binibining Pilipinas-International when Nina Ricci Alagao?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)
SELECT COUNT(binibining_pilipinas_international) FROM table_1825751_4 WHERE miss_universe_philippines = "Nina Ricci Alagao"
Write a SQL query that answers the following question: Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)
SELECT second_runner_up FROM table_1825751_4 WHERE binibining_pilipinas_world = "Janina San Miguel"
Write a SQL query that answers the following question: Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)
SELECT binibining_pilipinas_international FROM table_1825751_4 WHERE miss_universe_philippines = "Gionna Cabrera"
Write a SQL query that answers the following question: How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR)
SELECT COUNT(binibining_pilipinas_international) FROM table_1825751_4 WHERE binibining_pilipinas_world = "Maria Karla Bautista"
Write a SQL query that answers the following question: Who is the second runner up when Janina San Miguel won binibining pilipinas-world?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)
SELECT COUNT(second_runner_up) FROM table_1825751_4 WHERE binibining_pilipinas_world = "Janina San Miguel"
Write a SQL query that answers the following question: When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Universe Philippines were there?
The relevant table was constructed using the following SQL : CREATE TABLE table_1825751_4 (miss_universe_philippines VARCHAR, binibining_pilipinas_international VARCHAR)
SELECT COUNT(miss_universe_philippines) FROM table_1825751_4 WHERE binibining_pilipinas_international = "Margaret Ann Bayot"
Write a SQL query that answers the following question: What's the minimal number of population served?
The relevant table was constructed using the following SQL : CREATE TABLE table_18268930_1 (population_served INTEGER)
SELECT MIN(population_served) FROM table_18268930_1
Write a SQL query that answers the following question: Who's the partner at Tamara, Hon?
The relevant table was constructed using the following SQL : CREATE TABLE table_18268930_1 (partner VARCHAR, location VARCHAR)
SELECT partner FROM table_18268930_1 WHERE location = "Tamara, HON"
Write a SQL query that answers the following question: How many votes Khuzestan were there when the percentage was 34.50?
The relevant table was constructed using the following SQL : CREATE TABLE table_1827900_1 (votes_khuzestan INTEGER, _percentage_of_votes_khuzestan VARCHAR)
SELECT MIN(votes_khuzestan) FROM table_1827900_1 WHERE _percentage_of_votes_khuzestan = "34.50"
Write a SQL query that answers the following question: How many figures for votes Khuzestan were there when the percentage was 34.50?
The relevant table was constructed using the following SQL : CREATE TABLE table_1827900_1 (votes_khuzestan VARCHAR, _percentage_of_votes_khuzestan VARCHAR)
SELECT COUNT(votes_khuzestan) FROM table_1827900_1 WHERE _percentage_of_votes_khuzestan = "34.50"
Write a SQL query that answers the following question: What was the percentage of national votes for Mahmoud Ahmadinejad?
The relevant table was constructed using the following SQL : CREATE TABLE table_1827900_1 (_percentage_of_votes_nationally VARCHAR, candidates VARCHAR)
SELECT _percentage_of_votes_nationally FROM table_1827900_1 WHERE candidates = "Mahmoud Ahmadinejad"
Write a SQL query that answers the following question: Name the revenue for eps being 8.9
The relevant table was constructed using the following SQL : CREATE TABLE table_18304259_1 (revenue__£million_ VARCHAR, earnings_per_share__p_ VARCHAR)
SELECT revenue__£million_ FROM table_18304259_1 WHERE earnings_per_share__p_ = "8.9"
Write a SQL query that answers the following question: Name the total number of year to april for ebit being 24.5
The relevant table was constructed using the following SQL : CREATE TABLE table_18304259_1 (year_to_april VARCHAR, ebit__£m_ VARCHAR)
SELECT COUNT(year_to_april) FROM table_18304259_1 WHERE ebit__£m_ = "24.5"
Write a SQL query that answers the following question: Name the eps for net profit being 39.2
The relevant table was constructed using the following SQL : CREATE TABLE table_18304259_1 (earnings_per_share__p_ VARCHAR, net_profit__£m_ VARCHAR)
SELECT earnings_per_share__p_ FROM table_18304259_1 WHERE net_profit__£m_ = "39.2"
Write a SQL query that answers the following question: Name the ebit for eps being 10.6
The relevant table was constructed using the following SQL : CREATE TABLE table_18304259_1 (ebit__£m_ VARCHAR, earnings_per_share__p_ VARCHAR)
SELECT ebit__£m_ FROM table_18304259_1 WHERE earnings_per_share__p_ = "10.6"
Write a SQL query that answers the following question: What are the population densities of all communes with an are of 28.3 sq.km.?
The relevant table was constructed using the following SQL : CREATE TABLE table_1828368_1 (pop_density__km_2__ VARCHAR, area__km_2__ VARCHAR)
SELECT pop_density__km_2__ FROM table_1828368_1 WHERE area__km_2__ = "28.3"
Write a SQL query that answers the following question: What commune has an area of 12.4 sq.km.?
The relevant table was constructed using the following SQL : CREATE TABLE table_1828368_1 (commune VARCHAR, area__km_2__ VARCHAR)
SELECT commune FROM table_1828368_1 WHERE area__km_2__ = "12.4"
Write a SQL query that answers the following question: Which city has a resolution that is negotiated exile in Austria?
The relevant table was constructed using the following SQL : CREATE TABLE table_18299148_1 (city VARCHAR, resolution VARCHAR)
SELECT city FROM table_18299148_1 WHERE resolution = "Negotiated exile in Austria"
Write a SQL query that answers the following question: How many missions countries have notability with president of burundi?
The relevant table was constructed using the following SQL : CREATE TABLE table_18299148_1 (Missions VARCHAR, notability VARCHAR)
SELECT COUNT(Missions) AS country FROM table_18299148_1 WHERE notability = "President of Burundi"
Write a SQL query that answers the following question: What is the nickname of the team whose 2013/2014 enrollment is 436?
The relevant table was constructed using the following SQL : CREATE TABLE table_18304058_2 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR)
SELECT nickname_s_ FROM table_18304058_2 WHERE enrollment__2013_14_ = 436
Write a SQL query that answers the following question: What is the name of the team from the Elverado Trico school in football?
The relevant table was constructed using the following SQL : CREATE TABLE table_18304058_2 (team_name VARCHAR, sports VARCHAR, schools VARCHAR)
SELECT team_name FROM table_18304058_2 WHERE sports = "Football" AND schools = "Elverado Trico"
Write a SQL query that answers the following question: How many years of kindergarten is provided in Ticino?
The relevant table was constructed using the following SQL : CREATE TABLE table_1831309_1 (years_of_kindergarten VARCHAR, canton VARCHAR)
SELECT years_of_kindergarten AS provided FROM table_1831309_1 WHERE canton = "Ticino"
Write a SQL query that answers the following question: What is the longest length of mandatory secondary school?
The relevant table was constructed using the following SQL : CREATE TABLE table_1831309_1 (length_of_mandatory_secondary_school INTEGER)
SELECT MAX(length_of_mandatory_secondary_school) FROM table_1831309_1
Write a SQL query that answers the following question: Who wrote the story that is cover date 19 October 1985?
The relevant table was constructed using the following SQL : CREATE TABLE table_18305523_2 (writer_s VARCHAR, cover_date VARCHAR)
SELECT writer_s FROM table_18305523_2 WHERE cover_date = "19 October 1985"
Write a SQL query that answers the following question: How many cover dates does the story "Devastation Derby! (part 1)" have?
The relevant table was constructed using the following SQL : CREATE TABLE table_18305523_2 (cover_date VARCHAR, story_title VARCHAR)
SELECT COUNT(cover_date) FROM table_18305523_2 WHERE story_title = "DEVASTATION DERBY! (Part 1)"
Write a SQL query that answers the following question: What is the comment on the issue dated 14 March 1987?
The relevant table was constructed using the following SQL : CREATE TABLE table_18305523_2 (comments VARCHAR, cover_date VARCHAR)
SELECT comments FROM table_18305523_2 WHERE cover_date = "14 March 1987"
Write a SQL query that answers the following question: What is the title of the issue where the art was done by Barry Kitson and Farmer?
The relevant table was constructed using the following SQL : CREATE TABLE table_18305523_2 (story_title VARCHAR, artist_s VARCHAR)
SELECT story_title FROM table_18305523_2 WHERE artist_s = "Barry Kitson and Farmer"
Write a SQL query that answers the following question: What is the minimum number which is for title The Enemy Within part 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_18305523_1 (_number INTEGER)
SELECT MIN(_number) FROM table_18305523_1
Write a SQL query that answers the following question: what is the number of hydroxymatairesinol where sesamin is 62724?
The relevant table was constructed using the following SQL : CREATE TABLE table_1831262_2 (hydroxymatairesinol VARCHAR, sesamin VARCHAR)
SELECT hydroxymatairesinol FROM table_1831262_2 WHERE sesamin = "62724"
Write a SQL query that answers the following question: what is the total number of sesamin were secoisolariciresinol is 240?
The relevant table was constructed using the following SQL : CREATE TABLE table_1831262_2 (sesamin VARCHAR, secoisolariciresinol VARCHAR)
SELECT sesamin FROM table_1831262_2 WHERE secoisolariciresinol = 240
Write a SQL query that answers the following question: what is the maximum number of pinorinol in wheat bran?
The relevant table was constructed using the following SQL : CREATE TABLE table_1831262_2 (pinoresinol INTEGER, foodstuff VARCHAR)
SELECT MAX(pinoresinol) FROM table_1831262_2 WHERE foodstuff = "Wheat bran"
Write a SQL query that answers the following question: how much sesamin is in sesame seed?
The relevant table was constructed using the following SQL : CREATE TABLE table_1831262_2 (sesamin VARCHAR, foodstuff VARCHAR)
SELECT sesamin FROM table_1831262_2 WHERE foodstuff = "Sesame seed"
Write a SQL query that answers the following question: what is the minimum number is lariciresinol where matairesinol number is 440?
The relevant table was constructed using the following SQL : CREATE TABLE table_1831262_2 (lariciresinol INTEGER, matairesinol VARCHAR)
SELECT MIN(lariciresinol) FROM table_1831262_2 WHERE matairesinol = 440
Write a SQL query that answers the following question: What was the calling for the 18.42 arrival time?
The relevant table was constructed using the following SQL : CREATE TABLE table_18332845_2 (calling_at VARCHAR, arrival VARCHAR)
SELECT calling_at FROM table_18332845_2 WHERE arrival = "18.42"
Write a SQL query that answers the following question: What was the arrival for Wansford, Peterborough East?
The relevant table was constructed using the following SQL : CREATE TABLE table_18332845_2 (arrival VARCHAR, calling_at VARCHAR)
SELECT arrival FROM table_18332845_2 WHERE calling_at = "Wansford, Peterborough East"
Write a SQL query that answers the following question: What was the departure time when the arrival was 14.40?
The relevant table was constructed using the following SQL : CREATE TABLE table_18332845_2 (departure VARCHAR, arrival VARCHAR)
SELECT departure FROM table_18332845_2 WHERE arrival = "14.40"
Write a SQL query that answers the following question: What is the departure for Peterborough East whose arrival time is 12.40?
The relevant table was constructed using the following SQL : CREATE TABLE table_18332845_2 (departure VARCHAR, going_to VARCHAR, arrival VARCHAR)
SELECT departure FROM table_18332845_2 WHERE going_to = "Peterborough East" AND arrival = "12.40"
Write a SQL query that answers the following question: What is the calling at for the 09.50 departure?
The relevant table was constructed using the following SQL : CREATE TABLE table_18332845_2 (calling_at VARCHAR, departure VARCHAR)
SELECT calling_at FROM table_18332845_2 WHERE departure = "09.50"
Write a SQL query that answers the following question: Where is the train going to when departing at 20.35?
The relevant table was constructed using the following SQL : CREATE TABLE table_18332845_2 (going_to VARCHAR, departure VARCHAR)
SELECT going_to FROM table_18332845_2 WHERE departure = "20.35"
Write a SQL query that answers the following question: Name the 3 dart average for michael van gerwen
The relevant table was constructed using the following SQL : CREATE TABLE table_18317531_1 (player VARCHAR)
SELECT 3 AS _dart_average FROM table_18317531_1 WHERE player = "Michael van Gerwen"
Write a SQL query that answers the following question: how many callings of trains arriving at 09.06
The relevant table was constructed using the following SQL : CREATE TABLE table_18333678_2 (calling_at VARCHAR, arrival VARCHAR)
SELECT COUNT(calling_at) FROM table_18333678_2 WHERE arrival = "09.06"