instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Name the result for venue of lord's | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_82 WHERE venue = "lord's" |
Write a SQL query that answers the following question: Name the date for result of eng by 23 runs | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_24 WHERE result = "eng by 23 runs" |
Write a SQL query that answers the following question: Name the date for result of draw, and venue of edgbaston | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, result VARCHAR, venue VARCHAR) | SELECT date FROM table_name_37 WHERE result = "draw" AND venue = "edgbaston" |
Write a SQL query that answers the following question: What is the total number of weeks that the Seahawks had a record of 5-5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (week VARCHAR, record VARCHAR) | SELECT COUNT(week) FROM table_name_73 WHERE record = "5-5" |
Write a SQL query that answers the following question: Who has 1 win, 1 loss, and has played 2 matches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (name VARCHAR, matches VARCHAR, wins VARCHAR, losses VARCHAR) | SELECT name FROM table_name_77 WHERE wins = "1" AND losses = "1" AND matches = "2" |
Write a SQL query that answers the following question: Who has 5 losses and has played 11 matches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (name VARCHAR, losses VARCHAR, matches VARCHAR) | SELECT name FROM table_name_47 WHERE losses = "5" AND matches = "11" |
Write a SQL query that answers the following question: How many matches has Mohammad Al-Shamlan played when there is 1 win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (matches VARCHAR, wins VARCHAR, name VARCHAR) | SELECT matches FROM table_name_43 WHERE wins = "1" AND name = "mohammad al-shamlan" |
Write a SQL query that answers the following question: How many matches were played when there was 1 draw and 1 win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (matches VARCHAR, draws VARCHAR, wins VARCHAR) | SELECT matches FROM table_name_92 WHERE draws = "1" AND wins = "1" |
Write a SQL query that answers the following question: Name the played with lost of 5 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (played VARCHAR, lost VARCHAR) | SELECT played FROM table_name_65 WHERE lost = "5" |
Write a SQL query that answers the following question: Name the played with points against of points against | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (played VARCHAR, points_against VARCHAR) | SELECT played FROM table_name_95 WHERE points_against = "points against" |
Write a SQL query that answers the following question: Name the tries with tries against of 38 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (tries_for VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_35 WHERE tries_against = "38" |
Write a SQL query that answers the following question: Name the points against when tries against is 51 and points is 52 with played of 22 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, points VARCHAR) | SELECT points_against FROM table_name_91 WHERE played = "22" AND points = "52" AND tries_against = "51" |
Write a SQL query that answers the following question: Name the points against for cwmllynfell rfc | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (points_against VARCHAR, club VARCHAR) | SELECT points_against FROM table_name_27 WHERE club = "cwmllynfell rfc" |
Write a SQL query that answers the following question: What is lead for the Election Results polling firm and has a PSOE of 39.6% 175? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (lead VARCHAR, polling_firm VARCHAR, psoe VARCHAR) | SELECT lead FROM table_name_8 WHERE polling_firm = "election results" AND psoe = "39.6% 175" |
Write a SQL query that answers the following question: What is the PSOE for the Local Elections polling firm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (psoe VARCHAR, polling_firm VARCHAR) | SELECT psoe FROM table_name_78 WHERE polling_firm = "local elections" |
Write a SQL query that answers the following question: Which date has a PSOE of 36.1%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (date VARCHAR, psoe VARCHAR) | SELECT date FROM table_name_86 WHERE psoe = "36.1%" |
Write a SQL query that answers the following question: Name the height with 9 floors | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (height_ft___m VARCHAR, floors VARCHAR) | SELECT height_ft___m FROM table_name_80 WHERE floors = 9 |
Write a SQL query that answers the following question: Name the years as tallest when floors are larger than 18 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (years_as_tallest VARCHAR, floors INTEGER) | SELECT years_as_tallest FROM table_name_4 WHERE floors > 18 |
Write a SQL query that answers the following question: Tell me the name that has 17 floors | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (name VARCHAR, floors VARCHAR) | SELECT name FROM table_name_25 WHERE floors = 17 |
Write a SQL query that answers the following question: Which was the position for overall less than 254, round less than 5 and pick number less than 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (position VARCHAR, pick__number VARCHAR, overall VARCHAR, round VARCHAR) | SELECT position FROM table_name_64 WHERE overall < 254 AND round < 5 AND pick__number < 13 |
Write a SQL query that answers the following question: Name the round having an overall of 6 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (round VARCHAR, overall VARCHAR) | SELECT round FROM table_name_84 WHERE overall = 6 |
Write a SQL query that answers the following question: Name the position of the player from college of virginia | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_96 WHERE college = "virginia" |
Write a SQL query that answers the following question: What was the date of the game that had a goal of 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (date VARCHAR, goal VARCHAR) | SELECT date FROM table_name_48 WHERE goal = 3 |
Write a SQL query that answers the following question: What was the date of the game that had a goal of 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (date VARCHAR, goal VARCHAR) | SELECT date FROM table_name_58 WHERE goal = 4 |
Write a SQL query that answers the following question: What is the highest rank of a swimmer in lane 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (rank INTEGER, lane VARCHAR) | SELECT MAX(rank) FROM table_name_20 WHERE lane = 5 |
Write a SQL query that answers the following question: What is the lowest rank of Jens Kruppa in a lane larger than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (rank INTEGER, name VARCHAR, lane VARCHAR) | SELECT MIN(rank) FROM table_name_28 WHERE name = "jens kruppa" AND lane > 2 |
Write a SQL query that answers the following question: Which nationality has a lane of 6 and a rank smaller than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (nationality VARCHAR, rank VARCHAR, lane VARCHAR) | SELECT nationality FROM table_name_33 WHERE rank < 6 AND lane = 6 |
Write a SQL query that answers the following question: What is Tony Jacklin's total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (total VARCHAR, player VARCHAR) | SELECT total FROM table_name_33 WHERE player = "tony jacklin" |
Write a SQL query that answers the following question: What was Todd Hamilton's to par? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_9 WHERE player = "todd hamilton" |
Write a SQL query that answers the following question: When was a game won with more than 11 to par? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (year_s__won VARCHAR, to_par INTEGER) | SELECT year_s__won FROM table_name_6 WHERE to_par > 11 |
Write a SQL query that answers the following question: Where is the place that has a Callsign of DWRJ-FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (location VARCHAR, callsign VARCHAR) | SELECT location FROM table_name_77 WHERE callsign = "dwrj-fm" |
Write a SQL query that answers the following question: Which Power has Location in metro manila | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (power__kw_ VARCHAR, location VARCHAR) | SELECT power__kw_ FROM table_name_75 WHERE location = "metro manila" |
Write a SQL query that answers the following question: Which tier of the tournament has Mont de Marson in it? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (tier VARCHAR, tournament VARCHAR) | SELECT tier FROM table_name_61 WHERE tournament = "mont de marson" |
Write a SQL query that answers the following question: Which date has opponents, Akgul Amanmuradova Nina Bratchikova, in the final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (date VARCHAR, opponents_in_the_final VARCHAR) | SELECT date FROM table_name_65 WHERE opponents_in_the_final = "akgul amanmuradova nina bratchikova" |
Write a SQL query that answers the following question: Which date has opponents, Claire De Gubernatis Alexandra Dulgheru, in the final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (date VARCHAR, opponents_in_the_final VARCHAR) | SELECT date FROM table_name_20 WHERE opponents_in_the_final = "claire de gubernatis alexandra dulgheru" |
Write a SQL query that answers the following question: What is the score in the touranament of Antalya-Belek? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_66 WHERE tournament = "antalya-belek" |
Write a SQL query that answers the following question: Which date has the tier of Itf $10k? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (date VARCHAR, tier VARCHAR) | SELECT date FROM table_name_66 WHERE tier = "itf $10k" |
Write a SQL query that answers the following question: What is the score vs. all when the score vs. Terran is 159? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR) | SELECT vs_all FROM table_name_72 WHERE vs_terran = "159" |
Write a SQL query that answers the following question: What is the score vs. Protoss when the score vs. Terran is 10 wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (vs_protoss VARCHAR, vs_terran VARCHAR) | SELECT vs_protoss FROM table_name_97 WHERE vs_terran = "10 wins" |
Write a SQL query that answers the following question: What is the score vs. Terran when the score vs. Zerg is 69? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (vs_terran VARCHAR, vs_zerg VARCHAR) | SELECT vs_terran FROM table_name_12 WHERE vs_zerg = "69" |
Write a SQL query that answers the following question: What occurrs as of September 1, 2012 when the value for vs. all is 65.47%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (as_of_september_1 VARCHAR, _2012 VARCHAR, vs_all VARCHAR) | SELECT as_of_september_1, _2012 FROM table_name_61 WHERE vs_all = "65.47%" |
Write a SQL query that answers the following question: What is the record of the opponent that has a bye? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_35 WHERE opponent = "bye" |
Write a SQL query that answers the following question: What was the average total medals received by Roland Hayes School when there were 0 gold medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR) | SELECT AVG(total_medals) FROM table_name_99 WHERE gold_medals = 0 AND ensemble = "roland hayes school" |
Write a SQL query that answers the following question: What was the total number of medals received by James Logan High School when it received less than 1 silver medal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (total_medals VARCHAR, ensemble VARCHAR, silver_medals VARCHAR) | SELECT COUNT(total_medals) FROM table_name_42 WHERE ensemble = "james logan high school" AND silver_medals < 1 |
Write a SQL query that answers the following question: What is the highest number of bronze medals received by an ensemble who received fewer than 0 gold medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (bronze_medals INTEGER, gold_medals INTEGER) | SELECT MAX(bronze_medals) FROM table_name_77 WHERE gold_medals < 0 |
Write a SQL query that answers the following question: What was the Score of the 2008 Africa Cup of Nations Competition? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_3 WHERE competition = "2008 africa cup of nations" |
Write a SQL query that answers the following question: Name the most goals with losses less than 15 and position more than 8 with points of 42+4 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (goals_for INTEGER, points VARCHAR, losses VARCHAR, position VARCHAR) | SELECT MAX(goals_for) FROM table_name_18 WHERE losses < 15 AND position > 8 AND points = "42+4" |
Write a SQL query that answers the following question: Name the average goals against for draws of 8 and wins more than 22 with losses less than 12 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (goals_against INTEGER, wins VARCHAR, draws VARCHAR, losses VARCHAR) | SELECT AVG(goals_against) FROM table_name_92 WHERE draws = 8 AND losses < 12 AND wins > 22 |
Write a SQL query that answers the following question: Name the least wins for goal difference being less than -20 with position less than 20 and goals for of 35 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (wins INTEGER, goal_difference VARCHAR, position VARCHAR, goals_for VARCHAR) | SELECT MIN(wins) FROM table_name_19 WHERE position < 20 AND goals_for = 35 AND goal_difference < -20 |
Write a SQL query that answers the following question: Name the average losses for draws larger than 6 and played more than 38 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (losses INTEGER, draws VARCHAR, played VARCHAR) | SELECT AVG(losses) FROM table_name_58 WHERE draws > 6 AND played > 38 |
Write a SQL query that answers the following question: Name the least goals against for played more than 38 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (goals_against INTEGER, played INTEGER) | SELECT MIN(goals_against) FROM table_name_4 WHERE played > 38 |
Write a SQL query that answers the following question: After 1961, who as the Entrant when the engine was a Ferrari v8, and when the points were lower than 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (entrant VARCHAR, points VARCHAR, year VARCHAR, engine VARCHAR) | SELECT entrant FROM table_name_64 WHERE year > 1961 AND engine = "ferrari v8" AND points < 23 |
Write a SQL query that answers the following question: What is was the Chassis in 1967? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (chassis VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_38 WHERE year = 1967 |
Write a SQL query that answers the following question: In 1962, what was the total number of points, when the Engine was Ferrari v6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (points VARCHAR, engine VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_97 WHERE engine = "ferrari v6" AND year = 1962 |
Write a SQL query that answers the following question: In 1961, what was the Chassis when the points were lower than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (chassis VARCHAR, points VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_51 WHERE points < 6 AND year = 1961 |
Write a SQL query that answers the following question: What was the sum of the years, when the entrant was Scuderia Ferrari, and when the Chassis was Ferrari 312/66? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (year INTEGER, entrant VARCHAR, chassis VARCHAR) | SELECT SUM(year) FROM table_name_68 WHERE entrant = "scuderia ferrari" AND chassis = "ferrari 312/66" |
Write a SQL query that answers the following question: What was the sum of the years, when the entrant was Scuderia Centro Sud, and when there were 6 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (year INTEGER, entrant VARCHAR, points VARCHAR) | SELECT SUM(year) FROM table_name_69 WHERE entrant = "scuderia centro sud" AND points = 6 |
Write a SQL query that answers the following question: In the tkkm o manawatu coed school in kelvin grove, what is the Authority listed/ | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (authority VARCHAR, name VARCHAR, gender VARCHAR, area VARCHAR) | SELECT authority FROM table_name_93 WHERE gender = "coed" AND area = "kelvin grove" AND name = "tkkm o manawatu" |
Write a SQL query that answers the following question: which Authority has a coed school with a decile greater than 4, with a 150 roll? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (authority VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR) | SELECT authority FROM table_name_49 WHERE gender = "coed" AND decile > 4 AND roll = "150" |
Write a SQL query that answers the following question: Name the language for trotta | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (language VARCHAR, original_title VARCHAR) | SELECT language FROM table_name_68 WHERE original_title = "trotta" |
Write a SQL query that answers the following question: Name the original title directed by luis buñuel | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (original_title VARCHAR, director VARCHAR) | SELECT original_title FROM table_name_85 WHERE director = "luis buñuel" |
Write a SQL query that answers the following question: Name the original title directed by sudhendu roy | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (original_title VARCHAR, director VARCHAR) | SELECT original_title FROM table_name_79 WHERE director = "sudhendu roy" |
Write a SQL query that answers the following question: Name the film title that is spanish from peru | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (film_title_used_in_nomination VARCHAR, language VARCHAR, country VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_78 WHERE language = "spanish" AND country = "peru" |
Write a SQL query that answers the following question: Name the langauge for switzerland | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (language VARCHAR, country VARCHAR) | SELECT language FROM table_name_96 WHERE country = "switzerland" |
Write a SQL query that answers the following question: What is the Total with 0 Silver and Gold, 1 Bronze and Rank larger than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR, bronze VARCHAR) | SELECT MIN(total) FROM table_name_54 WHERE rank > 2 AND bronze = 1 AND silver > 0 AND gold < 0 |
Write a SQL query that answers the following question: How many Bronze medals were received by the nation that Ranked less than 5 and received more than 2 Gold medals, less than 4 Silver medals with a Total of 9 medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (bronze INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR) | SELECT AVG(bronze) FROM table_name_70 WHERE rank < 5 AND gold > 2 AND total = 9 AND silver < 4 |
Write a SQL query that answers the following question: which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR) | SELECT order FROM table_name_26 WHERE family = "vespertilionidae" AND name = "northern long-eared myotis" |
Write a SQL query that answers the following question: What year has WSC class? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (year VARCHAR, class VARCHAR) | SELECT year FROM table_name_42 WHERE class = "wsc" |
Write a SQL query that answers the following question: Which race has D. Beadman for the jockey and a 4th place result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (race VARCHAR, jockey VARCHAR, result VARCHAR) | SELECT race FROM table_name_27 WHERE jockey = "d. beadman" AND result = "4th" |
Write a SQL query that answers the following question: Who is the 1st member in the 1884 by-election? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (election VARCHAR) | SELECT 1 AS st_member FROM table_name_7 WHERE election = "1884 by-election" |
Write a SQL query that answers the following question: What is the 2nd party in the 1874 election? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (election VARCHAR) | SELECT 2 AS nd_party FROM table_name_16 WHERE election = "1874" |
Write a SQL query that answers the following question: Which school had a player who played the C position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (school VARCHAR, position VARCHAR) | SELECT school FROM table_name_64 WHERE position = "c" |
Write a SQL query that answers the following question: Which game is on the date October 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_11 WHERE date = "october 16" |
Write a SQL query that answers the following question: What is the 2009 value with a q1 in 2006 in the French Open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (tournament VARCHAR) | SELECT 2009 FROM table_name_75 WHERE 2006 = "q1" AND tournament = "french open" |
Write a SQL query that answers the following question: What is the 2010 value with a 2r in 2008 and A in 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (Id VARCHAR) | SELECT 2010 FROM table_name_83 WHERE 2008 = "2r" AND 2013 = "a" |
Write a SQL query that answers the following question: What is the 2007 value with 1r in 2009 in the US Open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (tournament VARCHAR) | SELECT 2007 FROM table_name_26 WHERE 2009 = "1r" AND tournament = "us open" |
Write a SQL query that answers the following question: What is the 2009 value in the 2011 Grand Slam Tournaments? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (Id VARCHAR) | SELECT 2009 FROM table_name_55 WHERE 2011 = "grand slam tournaments" |
Write a SQL query that answers the following question: What is the 2005 value with 1r in 2013 and q2 in 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (Id VARCHAR) | SELECT 2005 FROM table_name_73 WHERE 2013 = "1r" AND 2011 = "q2" |
Write a SQL query that answers the following question: What is the 2010 value in the Australian Open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (tournament VARCHAR) | SELECT 2010 FROM table_name_60 WHERE tournament = "australian open" |
Write a SQL query that answers the following question: what is the city of license for the station with the frequency mhz less than 102.3 abd erp w of 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT city_of_license FROM table_name_64 WHERE frequency_mhz < 102.3 AND erp_w = 25 |
Write a SQL query that answers the following question: \What is the class of the station with the call sign w254ah? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (class VARCHAR, call_sign VARCHAR) | SELECT class FROM table_name_35 WHERE call_sign = "w254ah" |
Write a SQL query that answers the following question: what is the class of the station with erp w more than 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (class VARCHAR, erp_w INTEGER) | SELECT class FROM table_name_54 WHERE erp_w > 30 |
Write a SQL query that answers the following question: what is the highest frequency mhz with the call sign w292cu? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (frequency_mhz INTEGER, call_sign VARCHAR) | SELECT MAX(frequency_mhz) FROM table_name_77 WHERE call_sign = "w292cu" |
Write a SQL query that answers the following question: Which constructor makes the ej15 ej15b chassis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (constructor VARCHAR, chassis VARCHAR) | SELECT constructor FROM table_name_98 WHERE chassis = "ej15 ej15b" |
Write a SQL query that answers the following question: Which tyre is on the car driven by Pedro de la Rosa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (tyre VARCHAR, driver VARCHAR) | SELECT tyre FROM table_name_35 WHERE driver = "pedro de la rosa" |
Write a SQL query that answers the following question: Which constructor made the car with a rb1 chassis and which is driven by David Coulthard? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_34 WHERE chassis = "rb1" AND driver = "david coulthard" |
Write a SQL query that answers the following question: Which constructor manufactured the car with a c24 chassis and which is driven by Jacques Villeneuve? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (engine_† VARCHAR, chassis VARCHAR, driver VARCHAR) | SELECT engine_† FROM table_name_85 WHERE chassis = "c24" AND driver = "jacques villeneuve" |
Write a SQL query that answers the following question: What Region is the MHCL-20004 Catalog? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_39 WHERE catalog = "mhcl-20004" |
Write a SQL query that answers the following question: What region is the ALCA-272 Catalog? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_88 WHERE catalog = "alca-272" |
Write a SQL query that answers the following question: What label is the ALCA-9197 Catalog? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_77 WHERE catalog = "alca-9197" |
Write a SQL query that answers the following question: What date is the MHCL-20004 Catalog? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_82 WHERE catalog = "mhcl-20004" |
Write a SQL query that answers the following question: On what date was the Ed Remaster CD and TOCT-24365 Catalog released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (date VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_88 WHERE format = "ed remaster cd" AND catalog = "toct-24365" |
Write a SQL query that answers the following question: What identities have more than 5 DVD volumes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (identity_ies_ VARCHAR, dvd_volume INTEGER) | SELECT identity_ies_ FROM table_name_93 WHERE dvd_volume > 5 |
Write a SQL query that answers the following question: How many DVD volumes was identified by Skippy Johnson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (dvd_volume VARCHAR, identity_ies_ VARCHAR) | SELECT dvd_volume FROM table_name_36 WHERE identity_ies_ = "skippy johnson" |
Write a SQL query that answers the following question: What was the score when St. Louis was the visiting team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_92 WHERE visitor = "st. louis" |
Write a SQL query that answers the following question: What was the decision when Chicago was the visiting team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (decision VARCHAR, visitor VARCHAR) | SELECT decision FROM table_name_85 WHERE visitor = "chicago" |
Write a SQL query that answers the following question: What was the score on December 3 when Detroit was the home team and Legace took the decision? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, decision VARCHAR) | SELECT score FROM table_name_52 WHERE home = "detroit" AND decision = "legace" AND date = "december 3" |
Write a SQL query that answers the following question: What was the record when Minnesota was the visiting team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (record VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_68 WHERE visitor = "minnesota" |
Write a SQL query that answers the following question: On what date was the record with catalog ALCA-275 released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_3 WHERE catalog = "alca-275" |
Write a SQL query that answers the following question: What label released a record on March 25, 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_9 WHERE date = "march 25, 1984" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.