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