instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: How many runners-up did the club with the last final lost in 1985 have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (runners_up VARCHAR, last_final_lost VARCHAR) | SELECT runners_up FROM table_name_39 WHERE last_final_lost = "1985" |
Write a SQL query that answers the following question: When was the last final lost of the club with a last win in 1959? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (last_final_lost VARCHAR, last_win VARCHAR) | SELECT last_final_lost FROM table_name_70 WHERE last_win = "1959" |
Write a SQL query that answers the following question: When was the last win of Celtic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (last_win VARCHAR, club VARCHAR) | SELECT last_win FROM table_name_89 WHERE club = "celtic" |
Write a SQL query that answers the following question: Which club had 13 runners-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (club VARCHAR, runners_up VARCHAR) | SELECT club FROM table_name_27 WHERE runners_up = "13" |
Write a SQL query that answers the following question: Who is the visitor in Philadelphia on March 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_41 WHERE home = "philadelphia" AND date = "march 6" |
Write a SQL query that answers the following question: what date were they playing in hawthorn | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_17 WHERE away_team = "hawthorn" |
Write a SQL query that answers the following question: what report was in geelong | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (report VARCHAR, home_team VARCHAR) | SELECT report FROM table_name_48 WHERE home_team = "geelong" |
Write a SQL query that answers the following question: In what Town/City is Nana Museum of The Arctic located? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (town_city VARCHAR, name VARCHAR) | SELECT town_city FROM table_name_45 WHERE name = "nana museum of the arctic" |
Write a SQL query that answers the following question: What is the Name of the Multiple Type museum in Anchorage? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR) | SELECT name FROM table_name_54 WHERE town_city = "anchorage" AND type = "multiple" |
Write a SQL query that answers the following question: In what Borough is the Anchorage museum of Natural History? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (name VARCHAR, borough VARCHAR, type VARCHAR) | SELECT name FROM table_name_31 WHERE borough = "anchorage" AND type = "natural history" |
Write a SQL query that answers the following question: In what Region is the Native American museum in Anchorage? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (region VARCHAR, type VARCHAR, town_city VARCHAR) | SELECT region FROM table_name_8 WHERE type = "native american" AND town_city = "anchorage" |
Write a SQL query that answers the following question: What Type of museum is the Valdez museum? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (type VARCHAR, name VARCHAR) | SELECT type FROM table_name_73 WHERE name = "valdez museum" |
Write a SQL query that answers the following question: In what Borough is the History Type Fairbanks Community Museum? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (borough VARCHAR, type VARCHAR, name VARCHAR) | SELECT borough FROM table_name_82 WHERE type = "history" AND name = "fairbanks community museum" |
Write a SQL query that answers the following question: what is the zip code of boonville | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (zip_code_prefix_es_ VARCHAR, county_seat VARCHAR) | SELECT zip_code_prefix_es_ FROM table_name_39 WHERE county_seat = "boonville" |
Write a SQL query that answers the following question: Which tournament was held on 9 Jun 2002? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_57 WHERE date = "9 jun 2002" |
Write a SQL query that answers the following question: What is the winning score with a margin of victory of 4 strokes for the NEC Invitational tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | SELECT winning_score FROM table_name_93 WHERE margin_of_victory = "4 strokes" AND tournament = "nec invitational" |
Write a SQL query that answers the following question: Who is the runner-up where the winning score is β8 (71-69-67-73=280)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (runner_s__up VARCHAR, winning_score VARCHAR) | SELECT runner_s__up FROM table_name_45 WHERE winning_score = β8(71 - 69 - 67 - 73 = 280) |
Write a SQL query that answers the following question: What is the winning score for Tournament of linde german masters with a margin of victory of 1 stroke? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | SELECT winning_score FROM table_name_67 WHERE margin_of_victory = "1 stroke" AND tournament = "linde german masters" |
Write a SQL query that answers the following question: Who is runner-up where the winning score is β6 (65-70-70-69=274) and the margin of victory is 3 strokes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT runner_s__up FROM table_name_19 WHERE margin_of_victory = "3 strokes" AND winning_score = β6(65 - 70 - 70 - 69 = 274) |
Write a SQL query that answers the following question: What is the winning score where the runner-up is Robert-Jan Derksen and the margin of victory is 1 stroke? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_27 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "robert-jan derksen" |
Write a SQL query that answers the following question: What are the high rebounds of team @ Charlotte? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (high_rebounds VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_name_17 WHERE team = "@ charlotte" |
Write a SQL query that answers the following question: What is the high rebounds of game 68? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (high_rebounds VARCHAR, game VARCHAR) | SELECT high_rebounds FROM table_name_46 WHERE game = 68 |
Write a SQL query that answers the following question: What is the score of New York team before game 61? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (score VARCHAR, game VARCHAR, team VARCHAR) | SELECT score FROM table_name_63 WHERE game < 61 AND team = "new york" |
Write a SQL query that answers the following question: When David McNamara was the opponent in the final, what was the tier? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR) | SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "david mcnamara" |
Write a SQL query that answers the following question: In 2011, how many tourists visited the country that had 23.4 million tourists in 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (international_tourist_arrivals__2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR) | SELECT international_tourist_arrivals__2011_ FROM table_name_6 WHERE international_tourist_arrivals__2012_ = "23.4 million" |
Write a SQL query that answers the following question: How many tourists visited the country that had 2.5 million tourists in 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (international_tourist_arrivals__2012_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) | SELECT international_tourist_arrivals__2012_ FROM table_name_38 WHERE international_tourist_arrivals__2011_ = "2.5 million" |
Write a SQL query that answers the following question: How far Venue of seoul, south korea is? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (distance VARCHAR, venue VARCHAR) | SELECT distance FROM table_name_6 WHERE venue = "seoul, south korea" |
Write a SQL query that answers the following question: Which Venue has a Tournament of olympic games with a Result of 4th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (venue VARCHAR, tournament VARCHAR, result VARCHAR) | SELECT venue FROM table_name_33 WHERE tournament = "olympic games" AND result = "4th" |
Write a SQL query that answers the following question: What is the Result of Venue of edmonton, canada? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_54 WHERE venue = "edmonton, canada" |
Write a SQL query that answers the following question: What is the 1st leg of Team 2 PSV Eindhoven? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (team_2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_21 WHERE team_2 = "psv eindhoven" |
Write a SQL query that answers the following question: Which opponent was played at Forbes Field after week 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_76 WHERE game_site = "forbes field" AND week > 4 |
Write a SQL query that answers the following question: Which opponent was played on week 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_46 WHERE week = 9 |
Write a SQL query that answers the following question: What was the date of the game played at Fenway Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_28 WHERE game_site = "fenway park" |
Write a SQL query that answers the following question: Which Opponents have a Year of 1998β99, and a Team of aston villa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (opponents VARCHAR, year VARCHAR, team VARCHAR) | SELECT opponents FROM table_name_23 WHERE year = "1998β99" AND team = "aston villa" |
Write a SQL query that answers the following question: Which Score has Opponents of valencia, and a Year of 2011β12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (score VARCHAR, opponents VARCHAR, year VARCHAR) | SELECT score FROM table_name_21 WHERE opponents = "valencia" AND year = "2011β12" |
Write a SQL query that answers the following question: Which Opponents have a Team of arsenal, and a Year of 1963β64? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (opponents VARCHAR, team VARCHAR, year VARCHAR) | SELECT opponents FROM table_name_49 WHERE team = "arsenal" AND year = "1963β64" |
Write a SQL query that answers the following question: Which Opponents have a Year of 1999β2000, and a Team of leeds united? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (opponents VARCHAR, year VARCHAR, team VARCHAR) | SELECT opponents FROM table_name_78 WHERE year = "1999β2000" AND team = "leeds united" |
Write a SQL query that answers the following question: Which Opponents have a Score of 1β2, and a Team of arsenal, and Progress of first round? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR) | SELECT opponents FROM table_name_82 WHERE score = "1β2" AND team = "arsenal" AND progress = "first round" |
Write a SQL query that answers the following question: How much Rank has Points larger than 282.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (rank VARCHAR, points INTEGER) | SELECT COUNT(rank) FROM table_name_11 WHERE points > 282.5 |
Write a SQL query that answers the following question: Which Rank is the highest one that has Points smaller than 256.6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (rank INTEGER, points INTEGER) | SELECT MAX(rank) FROM table_name_98 WHERE points < 256.6 |
Write a SQL query that answers the following question: Which 2nd (m) is the highest one that has a Nationality of sui, and a Rank smaller than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (nationality VARCHAR, rank VARCHAR) | SELECT MAX(2 AS nd__m_) FROM table_name_78 WHERE nationality = "sui" AND rank < 3 |
Write a SQL query that answers the following question: What is the UK broadcast date of the episode where Chris Bonington was the presenter? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (uk_broadcast_date VARCHAR, presenter VARCHAR) | SELECT uk_broadcast_date FROM table_name_72 WHERE presenter = "chris bonington" |
Write a SQL query that answers the following question: What is the episode title of the episode with Ben Okri as the presenter? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (episode_title VARCHAR, presenter VARCHAR) | SELECT episode_title FROM table_name_74 WHERE presenter = "ben okri" |
Write a SQL query that answers the following question: Who is the presenter of the episode broadcast in the UK on 1996-09-25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR) | SELECT presenter FROM table_name_45 WHERE uk_broadcast_date = "1996-09-25" |
Write a SQL query that answers the following question: What is the UK broadcast date of the episode with Ben Okri as the presenter? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (uk_broadcast_date VARCHAR, presenter VARCHAR) | SELECT uk_broadcast_date FROM table_name_87 WHERE presenter = "ben okri" |
Write a SQL query that answers the following question: What was the score when the team played at the bobcats? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_92 WHERE home = "bobcats" |
Write a SQL query that answers the following question: What was the score when the Spurs' record was 43-13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_72 WHERE record = "43-13" |
Write a SQL query that answers the following question: What is the country's name with a numeric code less than 246 and a Latin 3-letter code of slv? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (country_name VARCHAR, numeric_code VARCHAR, latin_3_letter_code VARCHAR) | SELECT country_name FROM table_name_63 WHERE numeric_code < 246 AND latin_3_letter_code = "slv" |
Write a SQL query that answers the following question: What is the Russian name with lbr as the Latin 3-letter code? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (russian_name VARCHAR, latin_3_letter_code VARCHAR) | SELECT russian_name FROM table_name_86 WHERE latin_3_letter_code = "lbr" |
Write a SQL query that answers the following question: What is the country name with a numeric code less than 580 and a dk Latin 2-letter code? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (country_name VARCHAR, numeric_code VARCHAR, latin_2_letter_code VARCHAR) | SELECT country_name FROM table_name_4 WHERE numeric_code < 580 AND latin_2_letter_code = "dk" |
Write a SQL query that answers the following question: What is the Cyrillic code with a cu Latin 2-letter code? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (cyrillic_code VARCHAR, latin_2_letter_code VARCHAR) | SELECT cyrillic_code FROM table_name_68 WHERE latin_2_letter_code = "cu" |
Write a SQL query that answers the following question: Name the least place for draw more than 3 and points of 8 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (place INTEGER, draw VARCHAR, points VARCHAR) | SELECT MIN(place) FROM table_name_47 WHERE draw > 3 AND points = 8 |
Write a SQL query that answers the following question: Name the song for points less than 16 and draw less than 3 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (song VARCHAR, points VARCHAR, draw VARCHAR) | SELECT song FROM table_name_99 WHERE points < 16 AND draw < 3 |
Write a SQL query that answers the following question: what is the single of the queen | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (single VARCHAR, artist VARCHAR) | SELECT single FROM table_name_67 WHERE artist = "queen" |
Write a SQL query that answers the following question: what artist won in 1953 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (artist VARCHAR, year VARCHAR) | SELECT artist FROM table_name_41 WHERE year = "1953" |
Write a SQL query that answers the following question: what year did david whitfield win | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (year VARCHAR, artist VARCHAR) | SELECT year FROM table_name_14 WHERE artist = "david whitfield" |
Write a SQL query that answers the following question: What is the average rank of Roman Koudelka, who has less than 274.4 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (rank INTEGER, points VARCHAR, name VARCHAR) | SELECT AVG(rank) FROM table_name_41 WHERE points < 274.4 AND name = "roman koudelka" |
Write a SQL query that answers the following question: How many points was before game 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (points INTEGER, game INTEGER) | SELECT SUM(points) FROM table_name_82 WHERE game < 14 |
Write a SQL query that answers the following question: What is the average points on November 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (points INTEGER, november VARCHAR) | SELECT AVG(points) FROM table_name_8 WHERE november = 6 |
Write a SQL query that answers the following question: Which average's against score has 2 as a difference and a lost of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (against INTEGER, difference VARCHAR, lost VARCHAR) | SELECT AVG(against) FROM table_name_34 WHERE difference = "2" AND lost = 5 |
Write a SQL query that answers the following question: How many positions had a difference of - 4 and an against of less than 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (position VARCHAR, difference VARCHAR, against VARCHAR) | SELECT COUNT(position) FROM table_name_75 WHERE difference = "- 4" AND against < 24 |
Write a SQL query that answers the following question: What is the smallest lost when position is larger than 6, drawn is 7, and the points stat is less than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (lost INTEGER, points VARCHAR, position VARCHAR, drawn VARCHAR) | SELECT MIN(lost) FROM table_name_85 WHERE position > 6 AND drawn = 7 AND points < 15 |
Write a SQL query that answers the following question: What is the largest played number when the difference is - 8 and position is more than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (played INTEGER, difference VARCHAR, position VARCHAR) | SELECT MAX(played) FROM table_name_42 WHERE difference = "- 8" AND position > 8 |
Write a SQL query that answers the following question: What is the mean drawn when the difference is 0 and the against stat is more than 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (drawn INTEGER, difference VARCHAR, against VARCHAR) | SELECT AVG(drawn) FROM table_name_34 WHERE difference = "0" AND against > 31 |
Write a SQL query that answers the following question: what is the winner of meridiana | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (owner VARCHAR, winner VARCHAR) | SELECT owner FROM table_name_35 WHERE winner = "meridiana" |
Write a SQL query that answers the following question: Number of 13 that has what highest weight? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (weight INTEGER, number VARCHAR) | SELECT MAX(weight) FROM table_name_44 WHERE number = 13 |
Write a SQL query that answers the following question: Weight of 220 has what class? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (class VARCHAR, weight VARCHAR) | SELECT class FROM table_name_5 WHERE weight = 220 |
Write a SQL query that answers the following question: Name of byron geis, and a Weight smaller than 195 involves what average number? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (number INTEGER, name VARCHAR, weight VARCHAR) | SELECT AVG(number) FROM table_name_63 WHERE name = "byron geis" AND weight < 195 |
Write a SQL query that answers the following question: What was the record on March 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_58 WHERE date = "march 22" |
Write a SQL query that answers the following question: What day in february was game 53? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (february INTEGER, game VARCHAR) | SELECT AVG(february) FROM table_name_96 WHERE game = 53 |
Write a SQL query that answers the following question: What is the team's record on februrary 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (record VARCHAR, february VARCHAR) | SELECT record FROM table_name_29 WHERE february = 23 |
Write a SQL query that answers the following question: Which Place is the lowest one that has a Total smaller than 24, and a Draw larger than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (place INTEGER, total VARCHAR, draw VARCHAR) | SELECT MIN(place) FROM table_name_94 WHERE total < 24 AND draw > 7 |
Write a SQL query that answers the following question: with lola t86/50 chassis and less than 7 points what is the entrant? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (entrant VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_87 WHERE points < 7 AND chassis = "lola t86/50" |
Write a SQL query that answers the following question: after 1987 and entrant of first racing what is the highest points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (points INTEGER, entrant VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_69 WHERE entrant = "first racing" AND year > 1987 |
Write a SQL query that answers the following question: with year greater than 1988 what is the total number of points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (points VARCHAR, year INTEGER) | SELECT COUNT(points) FROM table_name_62 WHERE year > 1988 |
Write a SQL query that answers the following question: what is the points total for forti corse? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR) | SELECT SUM(points) FROM table_name_49 WHERE entrant = "forti corse" |
Write a SQL query that answers the following question: What is the Parts-per example of 2Γ10 β6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (parts_per_example VARCHAR, value_of_quantity VARCHAR) | SELECT parts_per_example FROM table_name_75 WHERE value_of_quantity = "2Γ10 β6" |
Write a SQL query that answers the following question: What is the Coefficient of 2 ppt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (coefficient VARCHAR, parts_per_example VARCHAR) | SELECT coefficient FROM table_name_16 WHERE parts_per_example = "2 ppt" |
Write a SQL query that answers the following question: what is the format of catalog 865 821-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_25 WHERE catalog = "865 821-1" |
Write a SQL query that answers the following question: What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (season VARCHAR, title VARCHAR, winner VARCHAR, attendance VARCHAR) | SELECT season FROM table_name_62 WHERE winner = "kanto gakuin university" AND attendance = "n/a" AND title = "37th" |
Write a SQL query that answers the following question: What was the title for the game with an attendance of n/a with the runner-up being Waseda, and a season of 1995-6 details? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (title VARCHAR, season VARCHAR, attendance VARCHAR, runner_up VARCHAR) | SELECT title FROM table_name_91 WHERE attendance = "n/a" AND runner_up = "waseda" AND season = "1995-6 details" |
Write a SQL query that answers the following question: What season has a runner-up of waseda, and a title of 47th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (season VARCHAR, runner_up VARCHAR, title VARCHAR) | SELECT season FROM table_name_25 WHERE runner_up = "waseda" AND title = "47th" |
Write a SQL query that answers the following question: Who was the winner in the game that had Teikyo as the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (winner VARCHAR, runner_up VARCHAR) | SELECT winner FROM table_name_94 WHERE runner_up = "teikyo" |
Write a SQL query that answers the following question: Who was the winner in the game that had a title of 32nd, and Waseda as the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (winner VARCHAR, runner_up VARCHAR, title VARCHAR) | SELECT winner FROM table_name_56 WHERE runner_up = "waseda" AND title = "32nd" |
Write a SQL query that answers the following question: what is the date on week 6 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_97 WHERE week = 6 |
Write a SQL query that answers the following question: Which City has 600kw 500kw ERP (Analog/ Digital)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (city VARCHAR, erp__analog__digital_ VARCHAR) | SELECT city FROM table_name_41 WHERE erp__analog__digital_ = "600kw 500kw" |
Write a SQL query that answers the following question: Which Region served has of 1176 m 1190 m HAAT (Analog/ Digital) 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (region_served VARCHAR, haat__analog__digital__1 VARCHAR) | SELECT region_served FROM table_name_43 WHERE haat__analog__digital__1 = "1176 m 1190 m" |
Write a SQL query that answers the following question: Which City has 600kw 500kw ERP ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (city VARCHAR, erp__analog__digital_ VARCHAR) | SELECT city FROM table_name_86 WHERE erp__analog__digital_ = "600kw 500kw" |
Write a SQL query that answers the following question: Which City has a 360kw 90kw ERP? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (city VARCHAR, erp__analog__digital_ VARCHAR) | SELECT city FROM table_name_32 WHERE erp__analog__digital_ = "360kw 90kw" |
Write a SQL query that answers the following question: What was the series standing for games over 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (series VARCHAR, game INTEGER) | SELECT series FROM table_name_2 WHERE game > 4 |
Write a SQL query that answers the following question: What is the game number held on May 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_52 WHERE date = "may 20" |
Write a SQL query that answers the following question: What was the score of the game when the Indians ended up with a record of 55-51? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_33 WHERE record = "55-51" |
Write a SQL query that answers the following question: On which date did the Indians have a record of 67-58 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_92 WHERE record = "67-58" |
Write a SQL query that answers the following question: Which Work has a Result of nominated, and an Award of contigo award, and a Year smaller than 2002? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR) | SELECT work FROM table_name_36 WHERE result = "nominated" AND award = "contigo award" AND year < 2002 |
Write a SQL query that answers the following question: How many years have an Award of press award? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (year VARCHAR, award VARCHAR) | SELECT COUNT(year) FROM table_name_47 WHERE award = "press award" |
Write a SQL query that answers the following question: Which Award has a Year smaller than 2004, and a Work of the clone, and a Result of won, and a Category of favourite actress? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (award VARCHAR, category VARCHAR, result VARCHAR, year VARCHAR, work VARCHAR) | SELECT award FROM table_name_45 WHERE year < 2004 AND work = "the clone" AND result = "won" AND category = "favourite actress" |
Write a SQL query that answers the following question: Which Year is the highest one that has a Work of the clone, and an Award of contigo award? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (year INTEGER, work VARCHAR, award VARCHAR) | SELECT MAX(year) FROM table_name_8 WHERE work = "the clone" AND award = "contigo award" |
Write a SQL query that answers the following question: With the Destination of Jupiter and the Closest approach of 4 February 2004, what is the Time elapsed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (time_elapsed VARCHAR, destination VARCHAR, closest_approach VARCHAR) | SELECT time_elapsed FROM table_name_11 WHERE destination = "jupiter" AND closest_approach = "4 february 2004" |
Write a SQL query that answers the following question: What Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (time_elapsed VARCHAR, launched VARCHAR, closest_approach VARCHAR) | SELECT time_elapsed FROM table_name_52 WHERE launched = "15 october 1997" AND closest_approach = "24 june 1999" |
Write a SQL query that answers the following question: What Time elapsed has 14 February 2011 as the Closest approach? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (time_elapsed VARCHAR, closest_approach VARCHAR) | SELECT time_elapsed FROM table_name_11 WHERE closest_approach = "14 february 2011" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.