instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the minimum Height of the Little Switzerland Tunnel? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (minimum_height VARCHAR, name_of_the_tunnel VARCHAR) | SELECT minimum_height FROM table_name_49 WHERE name_of_the_tunnel = "little switzerland tunnel" |
Write a SQL query that answers the following question: What is the Milepost of the Twin Tunnel #1 North? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (milepost VARCHAR, name_of_the_tunnel VARCHAR) | SELECT COUNT(milepost) FROM table_name_74 WHERE name_of_the_tunnel = "twin tunnel #1 north" |
Write a SQL query that answers the following question: WHat is the number of Population has a Density of 50.09 and a Rank larger than 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (population INTEGER, density VARCHAR, rank VARCHAR) | SELECT SUM(population) FROM table_name_70 WHERE density = 50.09 AND rank > 30 |
Write a SQL query that answers the following question: What is the Icelandic word for the English word bride? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (icelandic VARCHAR, english VARCHAR) | SELECT icelandic FROM table_name_41 WHERE english = "bride" |
Write a SQL query that answers the following question: What is the ENglish word for the Icelandic word hlaupa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (english VARCHAR, icelandic VARCHAR) | SELECT english FROM table_name_46 WHERE icelandic = "hlaupa" |
Write a SQL query that answers the following question: What is the Russian word for the Greek word greek? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (russian VARCHAR) | SELECT russian FROM table_name_70 WHERE "greek" = "greek" |
Write a SQL query that answers the following question: What is the English word for the Latin word uxor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (english VARCHAR, latin VARCHAR) | SELECT english FROM table_name_92 WHERE latin = "uxor" |
Write a SQL query that answers the following question: What is the Latin word for the English word bone? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (latin VARCHAR, english VARCHAR) | SELECT latin FROM table_name_33 WHERE english = "bone" |
Write a SQL query that answers the following question: What is the lowest against that has bacchus marsh as a ballarat fl, with wins less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (against INTEGER, ballarat_fl VARCHAR, wins VARCHAR) | SELECT MIN(against) FROM table_name_75 WHERE ballarat_fl = "bacchus marsh" AND wins < 1 |
Write a SQL query that answers the following question: What is the lowest draws that have losses greater than 0, an against less than 1728, melton as the ballarat fl, and byes less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (draws INTEGER, byes VARCHAR, ballarat_fl VARCHAR, losses VARCHAR, against VARCHAR) | SELECT MIN(draws) FROM table_name_66 WHERE losses > 0 AND against < 1728 AND ballarat_fl = "melton" AND byes < 2 |
Write a SQL query that answers the following question: How many losses have byes greater than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (losses VARCHAR, byes INTEGER) | SELECT COUNT(losses) FROM table_name_38 WHERE byes > 2 |
Write a SQL query that answers the following question: What position does the winner from Ohio State with 412 points play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (position VARCHAR, school VARCHAR, points VARCHAR) | SELECT position FROM table_name_38 WHERE school = "ohio state" AND points = "412" |
Write a SQL query that answers the following question: What is the position of the winner with 792 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (position VARCHAR, points VARCHAR) | SELECT position FROM table_name_39 WHERE points = "792" |
Write a SQL query that answers the following question: What is the highest Top-10, when Top-25 is 4, and when Top-5 is greater than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR) | SELECT MAX(top_10) FROM table_name_62 WHERE top_25 = 4 AND top_5 > 1 |
Write a SQL query that answers the following question: What is Wins, when Top-25 is less than 4, and when Top-5 is greater than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (wins VARCHAR, top_25 VARCHAR, top_5 VARCHAR) | SELECT wins FROM table_name_97 WHERE top_25 < 4 AND top_5 > 0 |
Write a SQL query that answers the following question: What is the total number of Wins, when Top-25 is less than 4, and when Top-10 is less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (wins VARCHAR, top_25 VARCHAR, top_10 VARCHAR) | SELECT COUNT(wins) FROM table_name_81 WHERE top_25 < 4 AND top_10 < 1 |
Write a SQL query that answers the following question: Which home team played in the matchup with an away team of Liverpool? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_27 WHERE away_team = "liverpool" |
Write a SQL query that answers the following question: What was the date of tie number 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_2 WHERE tie_no = "5" |
Write a SQL query that answers the following question: Who was the away team for tie number 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_6 WHERE tie_no = "9" |
Write a SQL query that answers the following question: What was the score of the replay at Millwall? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_23 WHERE tie_no = "replay" AND home_team = "millwall" |
Write a SQL query that answers the following question: Who was the home team for tie number 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_40 WHERE tie_no = "16" |
Write a SQL query that answers the following question: What is the sum of the golds of the nation with 5 total and less than 0 bronze medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (gold INTEGER, total VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_18 WHERE total = 5 AND bronze < 0 |
Write a SQL query that answers the following question: What is the sum of the gold medals of the total nation, which has more than 19 silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (gold INTEGER, nation VARCHAR, silver VARCHAR) | SELECT SUM(gold) FROM table_name_74 WHERE nation = "total" AND silver > 19 |
Write a SQL query that answers the following question: What is the average number of silver medals of the nation with 3 bronzes and more than 4 total medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_79 WHERE bronze = 3 AND total > 4 |
Write a SQL query that answers the following question: Which label's year was 1990? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (label VARCHAR, year VARCHAR) | SELECT label FROM table_name_74 WHERE year = "1990" |
Write a SQL query that answers the following question: Which result's genre was jazz when its label was columbia and its title was requiem? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (result VARCHAR, title VARCHAR, genre VARCHAR, label VARCHAR) | SELECT result FROM table_name_35 WHERE genre = "jazz" AND label = "columbia" AND title = "requiem" |
Write a SQL query that answers the following question: Which year's label was label? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (year VARCHAR) | SELECT year FROM table_name_57 WHERE "label" = "label" |
Write a SQL query that answers the following question: Which title's genre was jazz when it was nominated in 1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (title VARCHAR, year VARCHAR, genre VARCHAR, result VARCHAR) | SELECT title FROM table_name_15 WHERE genre = "jazz" AND result = "nominated" AND year = "1996" |
Write a SQL query that answers the following question: Which year's genre was jazz under the columbia label when it was nominated for the title Trio jeepy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (year VARCHAR, title VARCHAR, result VARCHAR, genre VARCHAR, label VARCHAR) | SELECT year FROM table_name_37 WHERE genre = "jazz" AND label = "columbia" AND result = "nominated" AND title = "trio jeepy" |
Write a SQL query that answers the following question: Which label's year is 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (label VARCHAR, year VARCHAR) | SELECT label FROM table_name_45 WHERE year = "1993" |
Write a SQL query that answers the following question: What company focuses on Engine Overhaul for their principal activity? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (company VARCHAR, principal_activities VARCHAR) | SELECT company FROM table_name_7 WHERE principal_activities = "engine overhaul" |
Write a SQL query that answers the following question: When Date has a Game larger than 4 and a Team of san antonio, and a Record of 4-3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR, game VARCHAR, team VARCHAR) | SELECT date FROM table_name_86 WHERE game > 4 AND team = "san antonio" AND record = "4-3" |
Write a SQL query that answers the following question: Which Team has a Score of 108-105 (ot)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (team VARCHAR, score VARCHAR) | SELECT team FROM table_name_9 WHERE score = "108-105 (ot)" |
Write a SQL query that answers the following question: Which Game has a Team of at san antonio, and a Record of 3-3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (game VARCHAR, team VARCHAR, record VARCHAR) | SELECT game FROM table_name_86 WHERE team = "at san antonio" AND record = "3-3" |
Write a SQL query that answers the following question: Which Record has a Score of 105-115? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_91 WHERE score = "105-115" |
Write a SQL query that answers the following question: What's the average amount of ties had when a team wins 6 and it's past the 2004 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (ties INTEGER, wins VARCHAR, season VARCHAR) | SELECT AVG(ties) FROM table_name_55 WHERE wins = 6 AND season > 2004 |
Write a SQL query that answers the following question: What was the result of the race that had a group of G1 at Moonee Valley? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (result VARCHAR, group VARCHAR, venue VARCHAR) | SELECT result FROM table_name_20 WHERE group = "g1" AND venue = "moonee valley" |
Write a SQL query that answers the following question: What was the result of the race that was a 2000m distance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (result VARCHAR, distance VARCHAR) | SELECT result FROM table_name_57 WHERE distance = "2000m" |
Write a SQL query that answers the following question: Which Opponent has a Date of november 21, 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_9 WHERE date = "november 21, 1999" |
Write a SQL query that answers the following question: Which Attendance has a Week smaller than 8, and an Opponent of philadelphia eagles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_19 WHERE week < 8 AND opponent = "philadelphia eagles" |
Write a SQL query that answers the following question: Which Attendance has a Result of l 26–16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_47 WHERE result = "l 26–16" |
Write a SQL query that answers the following question: What was the highest attendance on week 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (attendance INTEGER, week VARCHAR) | SELECT MAX(attendance) FROM table_name_37 WHERE week = 13 |
Write a SQL query that answers the following question: Which Result has a Round of 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (result VARCHAR, round VARCHAR) | SELECT result FROM table_name_88 WHERE round = "6" |
Write a SQL query that answers the following question: When is a Type of tko, and an Opponent of jesse brinkley | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (date VARCHAR, type VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_53 WHERE type = "tko" AND opponent = "jesse brinkley" |
Write a SQL query that answers the following question: Which Result has an Opponent of steve walker? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_4 WHERE opponent = "steve walker" |
Write a SQL query that answers the following question: Which Opponent has a Type of ud and a Round of 10 on 2008-06-11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_65 WHERE type = "ud" AND round = "10" AND date = "2008-06-11" |
Write a SQL query that answers the following question: Which Opponent has a Type of tko, and a Round of 2 (6) on 2006-09-20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_67 WHERE type = "tko" AND round = "2 (6)" AND date = "2006-09-20" |
Write a SQL query that answers the following question: When has a Type of tko, and a Round of 1 (6) | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (date VARCHAR, type VARCHAR, round VARCHAR) | SELECT date FROM table_name_97 WHERE type = "tko" AND round = "1 (6)" |
Write a SQL query that answers the following question: How many positions have a played greater than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (position VARCHAR, played INTEGER) | SELECT COUNT(position) FROM table_name_26 WHERE played > 12 |
Write a SQL query that answers the following question: What is the lowest played that has points greater than 11, 1 as the position, and a loss less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (played INTEGER, lost VARCHAR, points VARCHAR, position VARCHAR) | SELECT MIN(played) FROM table_name_38 WHERE points > 11 AND position = 1 AND lost < 1 |
Write a SQL query that answers the following question: What is the Date that has a Outcome of winner, and çağla büyükakçay was the opponent in the final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_55 WHERE outcome = "winner" AND opponent_in_the_final = "çağla büyükakçay" |
Write a SQL query that answers the following question: What is the Outcome when çağla büyükakçay was the opponent in the final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (outcome VARCHAR, opponent_in_the_final VARCHAR) | SELECT outcome FROM table_name_73 WHERE opponent_in_the_final = "çağla büyükakçay" |
Write a SQL query that answers the following question: What is the Score when the opponent in the final is alicia pillay on a hard surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_73 WHERE surface = "hard" AND opponent_in_the_final = "alicia pillay" |
Write a SQL query that answers the following question: What is the Opponent in the final when the outcome was runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (opponent_in_the_final VARCHAR, outcome VARCHAR) | SELECT opponent_in_the_final FROM table_name_66 WHERE outcome = "runner-up" |
Write a SQL query that answers the following question: What is the Opponent in the final with an outcome of winner on 14-may-2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT opponent_in_the_final FROM table_name_92 WHERE outcome = "winner" AND date = "14-may-2007" |
Write a SQL query that answers the following question: What is the Score for 09-oct-2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_76 WHERE date = "09-oct-2006" |
Write a SQL query that answers the following question: What was the time of the bout against Dave Menne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (time VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_33 WHERE opponent = "dave menne" |
Write a SQL query that answers the following question: What was the time of the bout that ended in a TKO (strikes)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (time VARCHAR, method VARCHAR) | SELECT time FROM table_name_83 WHERE method = "tko (strikes)" |
Write a SQL query that answers the following question: What is the number of matches for the player in rank 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (matches INTEGER, rank VARCHAR) | SELECT MAX(matches) FROM table_name_44 WHERE rank = 8 |
Write a SQL query that answers the following question: Which set 3 has a Set 1 of 19-25, and a Set 2 of 19-25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR, set_2 VARCHAR) | SELECT set_3 FROM table_name_9 WHERE set_1 = "19-25" AND set_2 = "19-25" |
Write a SQL query that answers the following question: What is the set 5 if the Date is jun 7, and a Set 4 is 21-25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (set_5 VARCHAR, date VARCHAR, set_4 VARCHAR) | SELECT set_5 FROM table_name_65 WHERE date = "jun 7" AND set_4 = "21-25" |
Write a SQL query that answers the following question: What is the Set 5 if Set 2 is 25-20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (set_5 VARCHAR, set_2 VARCHAR) | SELECT set_5 FROM table_name_44 WHERE set_2 = "25-20" |
Write a SQL query that answers the following question: Which driver's grid was 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_10 WHERE grid = 24 |
Write a SQL query that answers the following question: What is the mean number of laps when the grid is less than 19 and time/retired is +21.3 secs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) | SELECT AVG(laps) FROM table_name_56 WHERE grid < 19 AND time_retired = "+21.3 secs" |
Write a SQL query that answers the following question: What is the smallest number of laps for Team Green when the grid is 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (laps INTEGER, team VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_67 WHERE team = "team green" AND grid = 1 |
Write a SQL query that answers the following question: What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (Id VARCHAR) | SELECT COUNT(1876) FROM table_name_64 WHERE 1872 < 1921 AND 1891 < 354 |
Write a SQL query that answers the following question: What is the sum of 1886(s), when 1886 is greater than 1070, and when 1891 is less than 1946? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (Id VARCHAR) | SELECT SUM(1886) FROM table_name_19 WHERE 1866 > 1070 AND 1891 < 1946 |
Write a SQL query that answers the following question: What is the sum of 1891(s), when 1872 is less than 685, and when 1881 is less than 348? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (Id VARCHAR) | SELECT SUM(1891) FROM table_name_63 WHERE 1872 < 685 AND 1881 < 348 |
Write a SQL query that answers the following question: What is the sum of 1872(s), when 1866 is greater than 856, when 1861 is greater than 1906, and when 1876 is greater than 1990? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (Id VARCHAR) | SELECT SUM(1872) FROM table_name_29 WHERE 1866 > 856 AND 1861 > 1906 AND 1876 > 1990 |
Write a SQL query that answers the following question: What is the Record with a Date that is december 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_91 WHERE date = "december 20" |
Write a SQL query that answers the following question: In what round was the first outside linebacker picked? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (round INTEGER, position VARCHAR) | SELECT MIN(round) FROM table_name_72 WHERE position = "outside linebacker" |
Write a SQL query that answers the following question: Which Venue resulted in AUS by 229 runs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_80 WHERE result = "aus by 229 runs" |
Write a SQL query that answers the following question: Who was the Away Captain when the Home Captain was Joe Darling at Melbourne Cricket Ground? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (away_captain VARCHAR, venue VARCHAR, home_captain VARCHAR) | SELECT away_captain FROM table_name_21 WHERE venue = "melbourne cricket ground" AND home_captain = "joe darling" |
Write a SQL query that answers the following question: Who was the Home Captain and the Result for AUS by 4 wkts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (home_captain VARCHAR, result VARCHAR) | SELECT home_captain FROM table_name_25 WHERE result = "aus by 4 wkts" |
Write a SQL query that answers the following question: What was the highest match when the away opponent was Dalian Shide Siwu? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (match INTEGER, opponent_team VARCHAR, home_away VARCHAR) | SELECT MAX(match) FROM table_name_53 WHERE opponent_team = "dalian shide siwu" AND home_away = "away" |
Write a SQL query that answers the following question: Which Home/Away was on April 27, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (home_away VARCHAR, date VARCHAR) | SELECT home_away FROM table_name_70 WHERE date = "april 27, 2008" |
Write a SQL query that answers the following question: What was the score on March 3, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_57 WHERE date = "march 3, 2008" |
Write a SQL query that answers the following question: What is the Hanja for McCune-Reischauer of chŏn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (hanja VARCHAR, mccune_reischauer VARCHAR) | SELECT hanja FROM table_name_56 WHERE mccune_reischauer = "chŏn" |
Write a SQL query that answers the following question: What is the Hangul when the Hanja is 西, 徐? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (hangul VARCHAR, hanja VARCHAR) | SELECT hangul FROM table_name_66 WHERE hanja = "西, 徐" |
Write a SQL query that answers the following question: What is the Venue with a Result that is win, and a Score that is 5-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR, score VARCHAR) | SELECT venue FROM table_name_35 WHERE result = "win" AND score = "5-0" |
Write a SQL query that answers the following question: What is the Competition with a Result of win with a Score that is 1-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (competition VARCHAR, result VARCHAR, score VARCHAR) | SELECT competition FROM table_name_91 WHERE result = "win" AND score = "1-0" |
Write a SQL query that answers the following question: How many total Gold medals did the nation ranked #3 receive? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (gold INTEGER, rank VARCHAR) | SELECT SUM(gold) FROM table_name_22 WHERE rank = "3" |
Write a SQL query that answers the following question: What ship size had a cargo value of $46,000 in 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (ship_size VARCHAR) | SELECT ship_size FROM table_name_89 WHERE 2006 = "$46,000" |
Write a SQL query that answers the following question: What ship size had a cargo value of $31,750 in 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (ship_size VARCHAR) | SELECT ship_size FROM table_name_57 WHERE 2006 = "$31,750" |
Write a SQL query that answers the following question: What was the cargo value in 2005 with a ship size of all product carriers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (ship_size VARCHAR) | SELECT 2005 FROM table_name_31 WHERE ship_size = "all product carriers" |
Write a SQL query that answers the following question: What was the cargo value in 2004 for ship size? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (ship_size VARCHAR) | SELECT 2004 FROM table_name_13 WHERE ship_size = "ship size" |
Write a SQL query that answers the following question: What cargo was contained in a ship size of aframax? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (cargo VARCHAR, ship_size VARCHAR) | SELECT cargo FROM table_name_40 WHERE ship_size = "aframax" |
Write a SQL query that answers the following question: What was the cargo value in 2005 for all product carriers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (cargo VARCHAR) | SELECT 2005 FROM table_name_46 WHERE cargo = "all product carriers" |
Write a SQL query that answers the following question: What kind of Live births has a Migration of -14 873? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (live_births VARCHAR, migration VARCHAR) | SELECT live_births FROM table_name_85 WHERE migration = "-14 873" |
Write a SQL query that answers the following question: What is the average Goals/Games for Rummenigge, Karl-Heinz, with Goals less than 162? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (games VARCHAR, goals INTEGER, name VARCHAR) | SELECT AVG(goals) / games FROM table_name_66 WHERE name = "rummenigge, karl-heinz" AND goals < 162 |
Write a SQL query that answers the following question: What is the sum of Games for Allofs, Klaus, with Goals less than 177? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (games INTEGER, name VARCHAR, goals VARCHAR) | SELECT SUM(games) FROM table_name_53 WHERE name = "allofs, klaus" AND goals < 177 |
Write a SQL query that answers the following question: What is the highest Rank for more than 220 goals in 1965–1978-78? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (rank INTEGER, goals VARCHAR, years VARCHAR) | SELECT MAX(rank) FROM table_name_51 WHERE goals > 220 AND years = "1965–1978-78" |
Write a SQL query that answers the following question: Who is the composer of El Hanone? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (composer VARCHAR, title VARCHAR) | SELECT composer FROM table_name_98 WHERE title = "el hanone" |
Write a SQL query that answers the following question: Which arranger worked with composer Imad Shams Eldeen at 4:03? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (arranger VARCHAR, composer VARCHAR, length VARCHAR) | SELECT arranger FROM table_name_19 WHERE composer = "imad shams eldeen" AND length = "4:03" |
Write a SQL query that answers the following question: What is the title track that is 3:50 and arranged by Tarek Akef? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (title VARCHAR, arranger VARCHAR, length VARCHAR) | SELECT title FROM table_name_59 WHERE arranger = "tarek akef" AND length = "3:50" |
Write a SQL query that answers the following question: Who is the arranger for Ana Rouh? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (arranger VARCHAR, title VARCHAR) | SELECT arranger FROM table_name_29 WHERE title = "ana rouh" |
Write a SQL query that answers the following question: Who was the writer that worked with arranger Tarek Akef on a 4:58 song? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (writer VARCHAR, arranger VARCHAR, length VARCHAR) | SELECT writer FROM table_name_20 WHERE arranger = "tarek akef" AND length = "4:58" |
Write a SQL query that answers the following question: What is the year of the ceremony with a not nominated result and ničiji sin as the original title? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (year__ceremony_ VARCHAR, result VARCHAR, original_title VARCHAR) | SELECT year__ceremony_ FROM table_name_12 WHERE result = "not nominated" AND original_title = "ničiji sin" |
Write a SQL query that answers the following question: What is the year of the ceremony with the original title ničiji sin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (year__ceremony_ VARCHAR, original_title VARCHAR) | SELECT year__ceremony_ FROM table_name_98 WHERE original_title = "ničiji sin" |
Write a SQL query that answers the following question: What is the result of the ceremony in 2006 (79th)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (result VARCHAR, year__ceremony_ VARCHAR) | SELECT result FROM table_name_1 WHERE year__ceremony_ = "2006 (79th)" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.