instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What was the venue before 2006, with the position of 10th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (venue VARCHAR, year VARCHAR, position VARCHAR)
SELECT venue FROM table_name_26 WHERE year < 2006 AND position = "10th"
Write a SQL query that answers the following question: What were the notes when the Venue was Turin, Italy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (notes VARCHAR, venue VARCHAR)
SELECT notes FROM table_name_62 WHERE venue = "turin, italy"
Write a SQL query that answers the following question: What is Gareth Morgan's Secondary Military Specialty?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (secondary_military_speciality VARCHAR, real_name VARCHAR)
SELECT secondary_military_speciality FROM table_name_21 WHERE real_name = "gareth morgan"
Write a SQL query that answers the following question: What is the Code Name of the figure born in Hawaii?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (code_name VARCHAR, birthplace VARCHAR)
SELECT code_name FROM table_name_81 WHERE birthplace = "hawaii"
Write a SQL query that answers the following question: Name the last title for greater buenos aires and first season of 1920
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (last_title VARCHAR, area_province VARCHAR, first_season VARCHAR)
SELECT last_title FROM table_name_9 WHERE area_province = "greater buenos aires" AND first_season = "1920"
Write a SQL query that answers the following question: Name the area for District of córdoba
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (area_province VARCHAR, district VARCHAR)
SELECT area_province FROM table_name_64 WHERE district = "córdoba"
Write a SQL query that answers the following question: Name the last title for club of quilmes
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (last_title VARCHAR, club VARCHAR)
SELECT last_title FROM table_name_36 WHERE club = "quilmes"
Write a SQL query that answers the following question: Name the last time for club of newell's old boys
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (last_title VARCHAR, club VARCHAR)
SELECT last_title FROM table_name_11 WHERE club = "newell's old boys"
Write a SQL query that answers the following question: Name the averag scored for 2011 long teng cup and 2 october 2011
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (scored INTEGER, competition VARCHAR, date VARCHAR)
SELECT AVG(scored) FROM table_name_64 WHERE competition = "2011 long teng cup" AND date = "2 october 2011"
Write a SQL query that answers the following question: Can you tell me the Barrel twist that has the Barrel lenght of 11.5 in.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (barrel_twist VARCHAR, barrel_length VARCHAR)
SELECT barrel_twist FROM table_name_63 WHERE barrel_length = "11.5 in."
Write a SQL query that answers the following question: What is the average year that had a value less than 2,575 in Inglewood?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (year INTEGER, inglewood INTEGER)
SELECT AVG(year) FROM table_name_27 WHERE inglewood < 2 OFFSET 575
Write a SQL query that answers the following question: What is the nature of the incident in Kabul on 2004-01-28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (nature_of_incident VARCHAR, location VARCHAR, date VARCHAR)
SELECT nature_of_incident FROM table_name_62 WHERE location = "kabul" AND date = "2004-01-28"
Write a SQL query that answers the following question: What is the nature of the incident that's a bomb attack?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (nature_of_incident VARCHAR, circumstances VARCHAR)
SELECT nature_of_incident FROM table_name_69 WHERE circumstances = "bomb attack"
Write a SQL query that answers the following question: What is the nature of the incident with Casualties of 3 wia, and Circumstances of ied?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (nature_of_incident VARCHAR, casualties VARCHAR, circumstances VARCHAR)
SELECT nature_of_incident FROM table_name_93 WHERE casualties = "3 wia" AND circumstances = "ied"
Write a SQL query that answers the following question: Which Casualties have a Location of kunduz, and Circumstances of suicide?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (casualties VARCHAR, location VARCHAR, circumstances VARCHAR)
SELECT casualties FROM table_name_24 WHERE location = "kunduz" AND circumstances = "suicide"
Write a SQL query that answers the following question: Which Casualties have a hostile Nature of incident and Circumstances of mortar attack?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (casualties VARCHAR, nature_of_incident VARCHAR, circumstances VARCHAR)
SELECT casualties FROM table_name_67 WHERE nature_of_incident = "hostile" AND circumstances = "mortar attack"
Write a SQL query that answers the following question: When was the delegate who has previous experience as a commissioner of health born?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (born_in VARCHAR, former_experience VARCHAR)
SELECT born_in FROM table_name_36 WHERE former_experience = "commissioner of health"
Write a SQL query that answers the following question: What is the name of the airport in the city of Kota Kinabalu?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (airport VARCHAR, city VARCHAR)
SELECT airport FROM table_name_85 WHERE city = "kota kinabalu"
Write a SQL query that answers the following question: What is the IATA for the city of Amsterdam?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_23 WHERE city = "amsterdam"
Write a SQL query that answers the following question: Which country has an IATA of JFK?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (country VARCHAR, iata VARCHAR)
SELECT country FROM table_name_3 WHERE iata = "jfk"
Write a SQL query that answers the following question: Which city has an IATA of AUH?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (city VARCHAR, iata VARCHAR)
SELECT city FROM table_name_42 WHERE iata = "auh"
Write a SQL query that answers the following question: Which airport has an IATA of AMS?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_39 WHERE iata = "ams"
Write a SQL query that answers the following question: Which city has an ICAO of Kiah?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_59 WHERE icao = "kiah"
Write a SQL query that answers the following question: What Genre did Sándor Simó direct?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (genre VARCHAR, directed_by VARCHAR)
SELECT genre FROM table_name_88 WHERE directed_by = "sándor simó"
Write a SQL query that answers the following question: What is the Genre for Malina (ger.-aus.-fr.), an Original Title?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (genre VARCHAR, original_title VARCHAR)
SELECT genre FROM table_name_12 WHERE original_title = "malina (ger.-aus.-fr.)"
Write a SQL query that answers the following question: The Last Metro refers to which Original Title?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (original_title VARCHAR, title_in_english VARCHAR)
SELECT original_title FROM table_name_91 WHERE title_in_english = "the last metro"
Write a SQL query that answers the following question: What original title, Franciska Vasárnapjai (hungarian), had an Episode Actor role which was Directed by Géza Bereményi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (genre VARCHAR, role VARCHAR, original_title VARCHAR)
SELECT genre FROM table_name_48 WHERE role = "episode actor" AND original_title = "franciska vasárnapjai (hungarian)"
Write a SQL query that answers the following question: What is the Original title for an Episode Actor role which was Directed by Géza Bereményi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (original_title VARCHAR, role VARCHAR, directed_by VARCHAR)
SELECT original_title FROM table_name_59 WHERE role = "episode actor" AND directed_by = "géza bereményi"
Write a SQL query that answers the following question: What is the round for bob randall?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (round INTEGER, name VARCHAR)
SELECT AVG(round) FROM table_name_13 WHERE name = "bob randall"
Write a SQL query that answers the following question: what is the position when signed is yes, round is less than 24 and name is charlie hough?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (position VARCHAR, name VARCHAR, signed VARCHAR, round VARCHAR)
SELECT position FROM table_name_96 WHERE signed = "yes" AND round < 24 AND name = "charlie hough"
Write a SQL query that answers the following question: what is the school when signed is no and round is 50?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (school VARCHAR, signed VARCHAR, round VARCHAR)
SELECT school FROM table_name_26 WHERE signed = "no" AND round = 50
Write a SQL query that answers the following question: what is the school for round 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (school VARCHAR, round VARCHAR)
SELECT school FROM table_name_68 WHERE round = 8
Write a SQL query that answers the following question: what is the position for robert johnson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (position VARCHAR, name VARCHAR)
SELECT position FROM table_name_25 WHERE name = "robert johnson"
Write a SQL query that answers the following question: Was position ss from carson city high school signed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (signed VARCHAR, position VARCHAR, school VARCHAR)
SELECT signed FROM table_name_48 WHERE position = "ss" AND school = "carson city high school"
Write a SQL query that answers the following question: What was the average number of yards Michael Henig had in a year when he had more than 12 starts/
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (yards INTEGER, starts INTEGER)
SELECT AVG(yards) FROM table_name_46 WHERE starts > 12
Write a SQL query that answers the following question: What was the average number of starts Michael Henig had in a year when he had more than 1201 yards?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (starts INTEGER, yards INTEGER)
SELECT AVG(starts) FROM table_name_54 WHERE yards > 1201
Write a SQL query that answers the following question: Name the airport with IATA of cxb
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_64 WHERE iata = "cxb"
Write a SQL query that answers the following question: Name the airport with IATA of dmk
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_74 WHERE iata = "dmk"
Write a SQL query that answers the following question: Name the city that has singapore changi airport
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (city VARCHAR, airport VARCHAR)
SELECT city FROM table_name_15 WHERE airport = "singapore changi airport"
Write a SQL query that answers the following question: Name the ICAO for when IATA is zyl
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_22 WHERE iata = "zyl"
Write a SQL query that answers the following question: Name the ICAO for IATA of rgn
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_69 WHERE iata = "rgn"
Write a SQL query that answers the following question: Name the ICAO for IATA of ccu
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_62 WHERE iata = "ccu"
Write a SQL query that answers the following question: What is the largest gold with a Total larger than 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (gold INTEGER, total INTEGER)
SELECT MAX(gold) FROM table_name_90 WHERE total > 16
Write a SQL query that answers the following question: What is the largest silver with a Total smaller than 2, a Bronze smaller than 1, and a Nation of yugoslavia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (silver INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_79 WHERE total < 2 AND bronze < 1 AND nation = "yugoslavia"
Write a SQL query that answers the following question: What is the smallest bronze with a Nation of west germany, and a Gold larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR, gold VARCHAR)
SELECT MIN(bronze) FROM table_name_58 WHERE nation = "west germany" AND gold > 0
Write a SQL query that answers the following question: What was the record on July 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_34 WHERE date = "july 2"
Write a SQL query that answers the following question: What is the largest silver with less than 0 gold?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (silver INTEGER, gold INTEGER)
SELECT MAX(silver) FROM table_name_63 WHERE gold < 0
Write a SQL query that answers the following question: What's the average total viewers that has 17.6% Share?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (total_viewers INTEGER, share VARCHAR)
SELECT AVG(total_viewers) FROM table_name_96 WHERE share = "17.6%"
Write a SQL query that answers the following question: What's the share of Episode 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (share VARCHAR, episode_no VARCHAR)
SELECT share FROM table_name_84 WHERE episode_no = 1
Write a SQL query that answers the following question: How many locomotives were made that were withdrawn in 1913?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (quantity_made VARCHAR, withdrawn VARCHAR)
SELECT quantity_made FROM table_name_97 WHERE withdrawn = "1913"
Write a SQL query that answers the following question: What is the date of creation for the locomotive having a type of 0-4-2
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (date_made VARCHAR, type VARCHAR)
SELECT date_made FROM table_name_9 WHERE type = "0-4-2"
Write a SQL query that answers the following question: What is the date of creation of the locomotive of type 0-6-0 and GSR class of 441?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date_made VARCHAR, type VARCHAR, gsr_class VARCHAR)
SELECT date_made FROM table_name_31 WHERE type = "0-6-0" AND gsr_class = "441"
Write a SQL query that answers the following question: In Round 19, where did Tony Lockett play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (venue VARCHAR, round VARCHAR, player VARCHAR)
SELECT venue FROM table_name_20 WHERE round = "19" AND player = "tony lockett"
Write a SQL query that answers the following question: Who is the opponent in 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (opponent VARCHAR, year VARCHAR)
SELECT opponent FROM table_name_17 WHERE year = "1992"
Write a SQL query that answers the following question: What club had a score of 18.1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (club VARCHAR, score VARCHAR)
SELECT club FROM table_name_87 WHERE score = "18.1"
Write a SQL query that answers the following question: What is the number for year built of W27 that was withdrawn in 1967 with a To LoW year earlier than 1926?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (built VARCHAR, to_iow VARCHAR, withdrawn VARCHAR, br_sr_no VARCHAR)
SELECT COUNT(built) FROM table_name_51 WHERE withdrawn = 1967 AND br_sr_no = "w27" AND to_iow < 1926
Write a SQL query that answers the following question: What is the number of the year withdrawn for a LSWR number greater than 210 and a To LoW year of 1923?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (withdrawn VARCHAR, lswr_no VARCHAR, to_iow VARCHAR)
SELECT COUNT(withdrawn) FROM table_name_19 WHERE lswr_no > 210 AND to_iow = 1923
Write a SQL query that answers the following question: What is the BR/SR number of Freshwater which was withdrawn in 1967 and built before 1892 with a To LoW year after 1927?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (br_sr_no VARCHAR, sr_name VARCHAR, to_iow VARCHAR, withdrawn VARCHAR, built VARCHAR)
SELECT br_sr_no FROM table_name_25 WHERE withdrawn = 1967 AND built < 1892 AND to_iow > 1927 AND sr_name = "freshwater"
Write a SQL query that answers the following question: Name the engine for year less than 1977
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (engine VARCHAR, year INTEGER)
SELECT engine FROM table_name_76 WHERE year < 1977
Write a SQL query that answers the following question: Name the start for year less than 1977
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (start VARCHAR, year INTEGER)
SELECT start FROM table_name_70 WHERE year < 1977
Write a SQL query that answers the following question: Name the least year for start of 17th
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (year INTEGER, start VARCHAR)
SELECT MIN(year) FROM table_name_13 WHERE start = "17th"
Write a SQL query that answers the following question: Name the start for finish being 21st
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (start VARCHAR, finish VARCHAR)
SELECT start FROM table_name_39 WHERE finish = "21st"
Write a SQL query that answers the following question: What is the Call sign of the Omni television network with a Digitial PSIP of 14.1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (call_sign VARCHAR, network VARCHAR, digital_psip VARCHAR)
SELECT call_sign FROM table_name_52 WHERE network = "omni television" AND digital_psip = 14.1
Write a SQL query that answers the following question: What's the total number of Rogers Cable (Ottawa) channels that have a Digital PSIP greater than 9.1, and a Vidéotron (Gatineau) of channel 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (rogers_cable__ottawa_ VARCHAR, digital_psip VARCHAR, vidéotron__gatineau_ VARCHAR)
SELECT COUNT(rogers_cable__ottawa_) FROM table_name_58 WHERE digital_psip > 9.1 AND vidéotron__gatineau_ = 14
Write a SQL query that answers the following question: Which Network is on a Vidéotron (Gatineau) channel lower than 8 and a Rogers Cable (Ottawa) channel lower than 8 and has a Call Sign of cjoh-dt?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (network VARCHAR, call_sign VARCHAR, vidéotron__gatineau_ VARCHAR, rogers_cable__ottawa_ VARCHAR)
SELECT network FROM table_name_26 WHERE vidéotron__gatineau_ < 8 AND rogers_cable__ottawa_ < 8 AND call_sign = "cjoh-dt"
Write a SQL query that answers the following question: What was the record after the fight that lasted 8:17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_35 WHERE time = "8:17"
Write a SQL query that answers the following question: What was the result of the fight with Tony Halme?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_27 WHERE opponent = "tony halme"
Write a SQL query that answers the following question: Who did they play on August 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_44 WHERE date = "august 26"
Write a SQL query that answers the following question: What was the attendance for the game on August 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (attendance INTEGER, date VARCHAR)
SELECT SUM(attendance) FROM table_name_74 WHERE date = "august 16"
Write a SQL query that answers the following question: What team did Johnson (11-7) play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_60 WHERE loss = "johnson (11-7)"
Write a SQL query that answers the following question: What is the highest number of points the cosworth straight-4 engine scored?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (pts INTEGER, engine VARCHAR)
SELECT MAX(pts) FROM table_name_51 WHERE engine = "cosworth straight-4"
Write a SQL query that answers the following question: What is the latest year that shadow racing team scored more than 0 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (year INTEGER, entrant VARCHAR, pts VARCHAR)
SELECT MAX(year) FROM table_name_13 WHERE entrant = "shadow racing team" AND pts > 0
Write a SQL query that answers the following question: What round was held in palavas-les-flots , herault , france?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (round VARCHAR, location VARCHAR)
SELECT round FROM table_name_43 WHERE location = "palavas-les-flots , herault , france"
Write a SQL query that answers the following question: What is the second leg that Valencia was on?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_33 WHERE team_2 = "valencia"
Write a SQL query that answers the following question: Name the loss with record of 14-19
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_68 WHERE record = "14-19"
Write a SQL query that answers the following question: Name the score with record of 17-27
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_6 WHERE record = "17-27"
Write a SQL query that answers the following question: Name the opponent with record of 12-18
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_20 WHERE record = "12-18"
Write a SQL query that answers the following question: Who was the General classification when Pascal Richard was the winner?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (general_classification VARCHAR, winner VARCHAR)
SELECT general_classification FROM table_name_90 WHERE winner = "pascal richard"
Write a SQL query that answers the following question: Who had the Points classification for Stage 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (points_classification VARCHAR, stage VARCHAR)
SELECT points_classification FROM table_name_20 WHERE stage = "13"
Write a SQL query that answers the following question: What was the Stage when Pascal Richard had the Mountains classification and Vladimir Poulnikov won?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (stage VARCHAR, mountains_classification VARCHAR, winner VARCHAR)
SELECT stage FROM table_name_71 WHERE mountains_classification = "pascal richard" AND winner = "vladimir poulnikov"
Write a SQL query that answers the following question: What's the total score of Danny Edwards?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (score INTEGER, player VARCHAR)
SELECT SUM(score) FROM table_name_39 WHERE player = "danny edwards"
Write a SQL query that answers the following question: Where was the place in Australia that had a score of 70?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (place VARCHAR, score VARCHAR, country VARCHAR)
SELECT place FROM table_name_20 WHERE score = 70 AND country = "australia"
Write a SQL query that answers the following question: The entrepreneur Adam Weaver was featured in which episode?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (episode VARCHAR, entrepreneur_s_ VARCHAR)
SELECT episode FROM table_name_28 WHERE entrepreneur_s_ = "adam weaver"
Write a SQL query that answers the following question: The entrepreneur Layla Bennett was featured in which episode?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (episode VARCHAR, entrepreneur_s_ VARCHAR)
SELECT episode FROM table_name_60 WHERE entrepreneur_s_ = "layla bennett"
Write a SQL query that answers the following question: What is the highest population of the region with a rank bigger than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (population INTEGER, rank INTEGER)
SELECT MAX(population) FROM table_name_29 WHERE rank > 9
Write a SQL query that answers the following question: What is the average population of the region with a density less than 487, a rank of 9, and an area larger than 377,944?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (population INTEGER, area__km_2__ VARCHAR, density__pop_per_km_2__ VARCHAR, rank VARCHAR)
SELECT AVG(population) FROM table_name_24 WHERE density__pop_per_km_2__ < 487 AND rank = 9 AND area__km_2__ > 377 OFFSET 944
Write a SQL query that answers the following question: What is the TDP (w) of the chipset with a codename sb850?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (tdp___w__ VARCHAR, codename VARCHAR)
SELECT COUNT(tdp___w__) FROM table_name_3 WHERE codename = "sb850"
Write a SQL query that answers the following question: Which round is a lower score than 21.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (round VARCHAR, score INTEGER)
SELECT round FROM table_name_46 WHERE score < 21.5
Write a SQL query that answers the following question: Which round status is in with this song: 叶良俊 - 爱你不是爱给别人看?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (round VARCHAR, status VARCHAR, song VARCHAR)
SELECT round FROM table_name_25 WHERE status = "in" AND song = "叶良俊 - 爱你不是爱给别人看"
Write a SQL query that answers the following question: Which status accompanies the score 21.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (status VARCHAR, score VARCHAR)
SELECT status FROM table_name_94 WHERE score = 21.5
Write a SQL query that answers the following question: Wjat score is greater than 22 with this song: 林俊杰 - 木乃伊?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (name VARCHAR, score VARCHAR, song VARCHAR)
SELECT name FROM table_name_86 WHERE score > 22 AND song = "林俊杰 - 木乃伊"
Write a SQL query that answers the following question: What round has this song: 陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (round VARCHAR, song VARCHAR)
SELECT round FROM table_name_18 WHERE song = "陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你"
Write a SQL query that answers the following question: What is the artist with less than a 2 draw?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (artist VARCHAR, draw INTEGER)
SELECT artist FROM table_name_88 WHERE draw < 2
Write a SQL query that answers the following question: What is the average issue price with from Toronto maple leafs gift set, and a Mintage of 3527?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (issue_price INTEGER, special_notes VARCHAR, mintage VARCHAR)
SELECT AVG(issue_price) FROM table_name_73 WHERE special_notes = "from toronto maple leafs gift set" AND mintage = "3527"
Write a SQL query that answers the following question: What theme has a mintage of 3527?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (theme VARCHAR, mintage VARCHAR)
SELECT theme FROM table_name_91 WHERE mintage = "3527"
Write a SQL query that answers the following question: When was a mintage of 1264 with more than 24.95 issued?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (year INTEGER, mintage VARCHAR, issue_price VARCHAR)
SELECT MAX(year) FROM table_name_45 WHERE mintage = "1264" AND issue_price > 24.95
Write a SQL query that answers the following question: Name the most year for team motul brm and chassis of brm p201 and points less than 0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR)
SELECT MAX(year) FROM table_name_96 WHERE entrant = "team motul brm" AND chassis = "brm p201" AND points < 0
Write a SQL query that answers the following question: Name the entrant for 1975 and chassis of hill gh1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_25 WHERE year = 1975 AND chassis = "hill gh1"
Write a SQL query that answers the following question: Name the chassis for engine of brm v12
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (chassis VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_49 WHERE engine = "brm v12"
Write a SQL query that answers the following question: Name the most year for points more than 0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (year INTEGER, points INTEGER)
SELECT MAX(year) FROM table_name_96 WHERE points > 0