instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: How many points are there with more losses than 16, more goals than 44, and a smaller position than 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (points VARCHAR, position VARCHAR, loses VARCHAR, goals_scored VARCHAR) | SELECT COUNT(points) FROM table_name_99 WHERE loses > 16 AND goals_scored > 44 AND position < 13 |
Write a SQL query that answers the following question: What is the sum of the points with less goals conceded than 51, larger than position 1, has a draw of 7, and more losses than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (points INTEGER, loses VARCHAR, draws VARCHAR, goals_conceded VARCHAR, position VARCHAR) | SELECT SUM(points) FROM table_name_12 WHERE goals_conceded < 51 AND position > 1 AND draws = 7 AND loses > 5 |
Write a SQL query that answers the following question: Which has a Score of 6–1, 3–0 ret.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_45 WHERE score = "6–1, 3–0 ret." |
Write a SQL query that answers the following question: Which Surface is on 23 january 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_79 WHERE date = "23 january 2011" |
Write a SQL query that answers the following question: When has a Surface of hard, a Tournament of wrexham , great britain? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_46 WHERE surface = "hard" AND tournament = "wrexham , great britain" |
Write a SQL query that answers the following question: Which Surface has an Opponent in the final of stéphane robert? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT surface FROM table_name_96 WHERE opponent_in_the_final = "stéphane robert" |
Write a SQL query that answers the following question: What kind of Surface has a Score of 6–4, 0–6, 6–2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_68 WHERE score = "6–4, 0–6, 6–2" |
Write a SQL query that answers the following question: Which Call sign has a Branding of cbc radio one? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (call_sign VARCHAR, branding VARCHAR) | SELECT call_sign FROM table_name_60 WHERE branding = "cbc radio one" |
Write a SQL query that answers the following question: WHich Frequency has a Format of country / news / sports? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR) | SELECT frequency FROM table_name_67 WHERE format = "country / news / sports" |
Write a SQL query that answers the following question: Which Format has a Frequency of 100.5 fm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (format VARCHAR, frequency VARCHAR) | SELECT format FROM table_name_98 WHERE frequency = "100.5 fm" |
Write a SQL query that answers the following question: Which Frequency has a Branding of country 600? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (frequency VARCHAR, branding VARCHAR) | SELECT frequency FROM table_name_26 WHERE branding = "country 600" |
Write a SQL query that answers the following question: WHich format has a Frequency of 99.3 fm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (format VARCHAR, frequency VARCHAR) | SELECT format FROM table_name_30 WHERE frequency = "99.3 fm" |
Write a SQL query that answers the following question: What School Year has a Class AAAA of Dickinson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (school_year VARCHAR, class_aAAA VARCHAR, dickinson VARCHAR) | SELECT school_year FROM table_name_61 WHERE class_aAAA = dickinson |
Write a SQL query that answers the following question: If the Class A is Anton and Class AAA is Burnet, what is Class AA? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (class_aA VARCHAR, class_a VARCHAR, class_aAA VARCHAR, burnet VARCHAR) | SELECT class_aA FROM table_name_88 WHERE class_a = "anton" AND class_aAA = burnet |
Write a SQL query that answers the following question: Where Class AAA is Atlanta and Class AA is Weimar, what is Class AAAAA? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (class_aAAAA VARCHAR, class_aAA VARCHAR, atlanta VARCHAR, class_aA VARCHAR, weimar VARCHAR) | SELECT class_aAAAA FROM table_name_65 WHERE class_aAA = atlanta AND class_aA = weimar |
Write a SQL query that answers the following question: What was the result of the game on week 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_55 WHERE week = 11 |
Write a SQL query that answers the following question: After week 2, how many people attended the game at Rich Stadium against the Miami Dolphins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (attendance VARCHAR, week VARCHAR, game_site VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_name_61 WHERE game_site = "rich stadium" AND opponent = "miami dolphins" AND week > 2 |
Write a SQL query that answers the following question: What is the attendance when the opponent is the San Francisco 49ers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_86 WHERE opponent = "san francisco 49ers" |
Write a SQL query that answers the following question: What is the result when the week is greater than 6 and the Buffalo Bills are the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (result VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_43 WHERE week > 6 AND opponent = "buffalo bills" |
Write a SQL query that answers the following question: What is the result when the attendance is 54,814? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_7 WHERE attendance = "54,814" |
Write a SQL query that answers the following question: What is the total number of weeks when the New York Jets are the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_35 WHERE opponent = "new york jets" |
Write a SQL query that answers the following question: What is the result of the game when the attendance is 56,906? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_38 WHERE attendance = "56,906" |
Write a SQL query that answers the following question: What is Song's 会呼吸的痛 Index? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (index VARCHAR, song VARCHAR) | SELECT index FROM table_name_54 WHERE song = "会呼吸的痛" |
Write a SQL query that answers the following question: What Song's Index is F6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (song VARCHAR, index VARCHAR) | SELECT song FROM table_name_58 WHERE index = "f6" |
Write a SQL query that answers the following question: What Group Song of Shine 王幸儿? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (Group VARCHAR, name VARCHAR) | SELECT Group AS song FROM table_name_60 WHERE name = "shine 王幸儿" |
Write a SQL query that answers the following question: What is the Score of 我等的人会是谁? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (score VARCHAR, song VARCHAR) | SELECT score FROM table_name_78 WHERE song = "我等的人会是谁" |
Write a SQL query that answers the following question: What is the Name of Index F3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (name VARCHAR, index VARCHAR) | SELECT name FROM table_name_1 WHERE index = "f3" |
Write a SQL query that answers the following question: What is the record after the game on Feb 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (record VARCHAR, february VARCHAR) | SELECT record FROM table_name_89 WHERE february = 10 |
Write a SQL query that answers the following question: What is the earliest day that had a game against the Boston Bruins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (february INTEGER, opponent VARCHAR) | SELECT MIN(february) FROM table_name_90 WHERE opponent = "boston bruins" |
Write a SQL query that answers the following question: What is the sum of Solidat (c) that's purpose is display type, heavy duty jobs, and a hardness (brinell) is smaller than 33? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (solidat__ INTEGER, purpose VARCHAR, hardness___brinell__ VARCHAR) | SELECT SUM(solidat__) AS °c_ FROM table_name_15 WHERE purpose = "display type, heavy duty jobs" AND hardness___brinell__ < 33 |
Write a SQL query that answers the following question: When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (solidat__ INTEGER, sn_sb___percentage_ VARCHAR, liquidat__°c_ VARCHAR) | SELECT SUM(solidat__) AS °c_ FROM table_name_46 WHERE sn_sb___percentage_ = "13/17" AND liquidat__°c_ > 283 |
Write a SQL query that answers the following question: How many Liquidat (c) have a purpose of dual (machine & hand composition)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (liquidat__ VARCHAR, purpose VARCHAR) | SELECT COUNT(liquidat__) AS °c_ FROM table_name_94 WHERE purpose = "dual (machine & hand composition)" |
Write a SQL query that answers the following question: What was the record for the Chargers on Week 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (record VARCHAR, week VARCHAR) | SELECT record FROM table_name_84 WHERE week = 10 |
Write a SQL query that answers the following question: What was the result of the game on week 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_16 WHERE week = 4 |
Write a SQL query that answers the following question: How many weeks did a game happen on September 17, 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (week VARCHAR, date VARCHAR) | SELECT COUNT(week) FROM table_name_57 WHERE date = "september 17, 2000" |
Write a SQL query that answers the following question: What was the result of the game against San Francisco 49ers before week 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (result VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_17 WHERE week < 16 AND opponent = "san francisco 49ers" |
Write a SQL query that answers the following question: Who were semi-finalists in the event with a runner-up of Lisa Raymond? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (semi_finalists VARCHAR, runner_up VARCHAR) | SELECT semi_finalists FROM table_name_3 WHERE runner_up = "lisa raymond" |
Write a SQL query that answers the following question: Which song by David Essex spent 2 weeks on top of the charts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (song VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) | SELECT song FROM table_name_1 WHERE weeks_on_top = 2 AND artist = "david essex" |
Write a SQL query that answers the following question: What is the Volume:Issue number of the George McCrae song that spent less than 2 weeks on top of the charts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) | SELECT volume AS :issue FROM table_name_96 WHERE weeks_on_top < 2 AND artist = "george mccrae" |
Write a SQL query that answers the following question: Which venues closed in the 1990s? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (venue VARCHAR, closed VARCHAR) | SELECT venue FROM table_name_76 WHERE closed = "1990s" |
Write a SQL query that answers the following question: Which venues were closed because they were replaced? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (location VARCHAR, reason VARCHAR) | SELECT location FROM table_name_5 WHERE reason = "replaced" |
Write a SQL query that answers the following question: Which venue closed in 1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (venue VARCHAR, closed VARCHAR) | SELECT venue FROM table_name_86 WHERE closed = "1996" |
Write a SQL query that answers the following question: What were the reasons that venues closed in the 1990s? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (reason VARCHAR, closed VARCHAR) | SELECT reason FROM table_name_59 WHERE closed = "1990s" |
Write a SQL query that answers the following question: Why did the Belk Gymnasium close? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (reason VARCHAR, venue VARCHAR) | SELECT reason FROM table_name_95 WHERE venue = "belk gymnasium" |
Write a SQL query that answers the following question: Can you tell me the Score that has the Home team of townsville crocodiles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_24 WHERE home_team = "townsville crocodiles" |
Write a SQL query that answers the following question: Can you tell me the Venue that has the Away team of south dragons? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_98 WHERE away_team = "south dragons" |
Write a SQL query that answers the following question: Can you tell me the lowest Crowd that has the Away team of melbourne tigers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_24 WHERE away_team = "melbourne tigers" |
Write a SQL query that answers the following question: Can you tell me the Away team that has the Home team of south dragons, and the Score of 94-81? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR, score VARCHAR) | SELECT away_team FROM table_name_17 WHERE home_team = "south dragons" AND score = "94-81" |
Write a SQL query that answers the following question: Which position has a pick # of 238 and a round above 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (position VARCHAR, round VARCHAR, pick__number VARCHAR) | SELECT position FROM table_name_45 WHERE round > 3 AND pick__number = 238 |
Write a SQL query that answers the following question: Which player went to Vanderbilt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_20 WHERE college = "vanderbilt" |
Write a SQL query that answers the following question: How many grids had a Time/Retired of +4 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (grid VARCHAR, time_retired VARCHAR) | SELECT COUNT(grid) FROM table_name_72 WHERE time_retired = "+4 laps" |
Write a SQL query that answers the following question: How many laps had a constructor of toyota and a Time/Retired of +13.409? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (laps VARCHAR, constructor VARCHAR, time_retired VARCHAR) | SELECT COUNT(laps) FROM table_name_3 WHERE constructor = "toyota" AND time_retired = "+13.409" |
Write a SQL query that answers the following question: What was the constructor when the laps were larger than 54, and the time/retired was +1 lap on a grid of 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (constructor VARCHAR, grid VARCHAR, laps VARCHAR, time_retired VARCHAR) | SELECT constructor FROM table_name_28 WHERE laps > 54 AND time_retired = "+1 lap" AND grid = 20 |
Write a SQL query that answers the following question: How many grids had a constructor of renault and less than 4 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (grid INTEGER, constructor VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_35 WHERE constructor = "renault" AND laps < 4 |
Write a SQL query that answers the following question: Which census ranking is 57.06 km big? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (census_ranking VARCHAR, area_km_2 VARCHAR) | SELECT census_ranking FROM table_name_95 WHERE area_km_2 = 57.06 |
Write a SQL query that answers the following question: Which status is 75.35 km2 and is named sussex? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (status VARCHAR, area_km_2 VARCHAR, official_name VARCHAR) | SELECT status FROM table_name_20 WHERE area_km_2 < 75.35 AND official_name = "sussex" |
Write a SQL query that answers the following question: What was the distance for the winner or 2nd Waterline? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (distance VARCHAR, winner_or_2nd VARCHAR) | SELECT distance FROM table_name_21 WHERE winner_or_2nd = "waterline" |
Write a SQL query that answers the following question: What is the result for the distance of 10f, and a winner or 2nd of Lampra? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (result VARCHAR, distance VARCHAR, winner_or_2nd VARCHAR) | SELECT result FROM table_name_30 WHERE distance = "10f" AND winner_or_2nd = "lampra" |
Write a SQL query that answers the following question: What is 1987, when 1986 is "1R"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (Id VARCHAR) | SELECT 1987 FROM table_name_15 WHERE 1986 = "1r" |
Write a SQL query that answers the following question: What is 1986, when 1978 is "A", when 1979 is "A", and when 1980 is "1R"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (Id VARCHAR) | SELECT 1986 FROM table_name_99 WHERE 1978 = "a" AND 1979 = "a" AND 1980 = "1r" |
Write a SQL query that answers the following question: What is 1984, when 1979 is "1R"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (Id VARCHAR) | SELECT 1984 FROM table_name_94 WHERE 1979 = "1r" |
Write a SQL query that answers the following question: What is 1982, when 1978 is "A", when 1985 is "4R", and when 1991 is "1R"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (Id VARCHAR) | SELECT 1982 FROM table_name_64 WHERE 1978 = "a" AND 1985 = "4r" AND 1991 = "1r" |
Write a SQL query that answers the following question: What is 1989, when 1982 is "SF"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (Id VARCHAR) | SELECT 1989 FROM table_name_37 WHERE 1982 = "sf" |
Write a SQL query that answers the following question: What is 1992, when 1990 is "Grand Slams"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (Id VARCHAR) | SELECT 1992 FROM table_name_29 WHERE 1990 = "grand slams" |
Write a SQL query that answers the following question: What is the attendance date of the game home team Shrewsbury Town played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_48 WHERE home_team = "shrewsbury town" |
Write a SQL query that answers the following question: What is the final score of the game home team Bolton Wanderers played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_66 WHERE home_team = "bolton wanderers" |
Write a SQL query that answers the following question: Which round has an opponent of Freiburg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_39 WHERE opponent = "freiburg" |
Write a SQL query that answers the following question: Who was the home when the opponent was slovan liberec? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (home VARCHAR, opponent VARCHAR) | SELECT home FROM table_name_44 WHERE opponent = "slovan liberec" |
Write a SQL query that answers the following question: Which Game has a January larger than 18, and a Decision of valiquette? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (game INTEGER, january VARCHAR, decision VARCHAR) | SELECT MAX(game) FROM table_name_56 WHERE january > 18 AND decision = "valiquette" |
Write a SQL query that answers the following question: Who has a Game smaller than 43, and a Record of 23-14-3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (opponent VARCHAR, game VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_37 WHERE game < 43 AND record = "23-14-3" |
Write a SQL query that answers the following question: What is the time for qual 2 that has the best time of 59.266? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (qual_2 VARCHAR, best VARCHAR) | SELECT qual_2 FROM table_name_45 WHERE best = "59.266" |
Write a SQL query that answers the following question: Who is the driver for the Forsythe Racing team that has the best time of 1:00.099? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (name VARCHAR, team VARCHAR, best VARCHAR) | SELECT name FROM table_name_42 WHERE team = "forsythe racing" AND best = "1:00.099" |
Write a SQL query that answers the following question: Justin Wilson has what has his best time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (best VARCHAR, name VARCHAR) | SELECT best FROM table_name_99 WHERE name = "justin wilson" |
Write a SQL query that answers the following question: Team Rusport has the best of 59.654 and what qual 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (qual_1 VARCHAR, team VARCHAR, best VARCHAR) | SELECT qual_1 FROM table_name_15 WHERE team = "rusport" AND best = "59.654" |
Write a SQL query that answers the following question: Sébastien Bourdais of the team Newman/Haas Racing has what qual 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (qual_1 VARCHAR, team VARCHAR, name VARCHAR) | SELECT qual_1 FROM table_name_32 WHERE team = "newman/haas racing" AND name = "sébastien bourdais" |
Write a SQL query that answers the following question: What is Alex Tagliani's qual 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (qual_1 VARCHAR, name VARCHAR) | SELECT qual_1 FROM table_name_89 WHERE name = "alex tagliani" |
Write a SQL query that answers the following question: Which Bask has Soft of 18, and a Total larger than 35? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (bask INTEGER, soft VARCHAR, total VARCHAR) | SELECT AVG(bask) FROM table_name_17 WHERE soft = "18" AND total > 35 |
Write a SQL query that answers the following question: Which Volleyball has a Golf of 2, and an Indoor track of 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (volleyball VARCHAR, golf VARCHAR, indoor_track VARCHAR) | SELECT volleyball FROM table_name_52 WHERE golf = "2" AND indoor_track = "3" |
Write a SQL query that answers the following question: Which Bask has an Indoor track of 0, and a Swimming of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (bask INTEGER, indoor_track VARCHAR, swimming VARCHAR) | SELECT MIN(bask) FROM table_name_73 WHERE indoor_track = "0" AND swimming = "5" |
Write a SQL query that answers the following question: Which Swimming has a Total larger than 35, and a Volleyball of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (swimming VARCHAR, total VARCHAR, volleyball VARCHAR) | SELECT swimming FROM table_name_96 WHERE total > 35 AND volleyball = "1" |
Write a SQL query that answers the following question: Date for scotiabank place with less than 20 points, game larger than 16, and an opponent of montreal canadiens? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR, points VARCHAR) | SELECT date FROM table_name_40 WHERE location = "scotiabank place" AND points < 20 AND game > 16 AND opponent = "montreal canadiens" |
Write a SQL query that answers the following question: Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (game VARCHAR, attendance VARCHAR, points VARCHAR, date VARCHAR) | SELECT COUNT(game) FROM table_name_2 WHERE points < 15 AND date = "november 15" AND attendance > 13 OFFSET 722 |
Write a SQL query that answers the following question: What was the results on September 24, 1995? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_11 WHERE date = "september 24, 1995" |
Write a SQL query that answers the following question: What was the results against the Philadelphia Eagles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_20 WHERE opponent = "philadelphia eagles" |
Write a SQL query that answers the following question: What is the date with 68,463 in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_82 WHERE attendance = "68,463" |
Write a SQL query that answers the following question: What was the attendance for week 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_25 WHERE week = 15 |
Write a SQL query that answers the following question: What is the name when winter is the transfer window? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (name VARCHAR, transfer_window VARCHAR) | SELECT name FROM table_name_47 WHERE transfer_window = "winter" |
Write a SQL query that answers the following question: What is the transfer fee when summer is the transfer window, the type is transfer and the country is Hun? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (transfer_fee VARCHAR, country VARCHAR, transfer_window VARCHAR, type VARCHAR) | SELECT transfer_fee FROM table_name_9 WHERE transfer_window = "summer" AND type = "transfer" AND country = "hun" |
Write a SQL query that answers the following question: What is the type when Rangers are the moving from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (type VARCHAR, moving_from VARCHAR) | SELECT type FROM table_name_40 WHERE moving_from = "rangers" |
Write a SQL query that answers the following question: What is the type when McCormack is the name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (type VARCHAR, name VARCHAR) | SELECT type FROM table_name_21 WHERE name = "mccormack" |
Write a SQL query that answers the following question: What is the type when £120,000 is the transfer fee? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (type VARCHAR, transfer_fee VARCHAR) | SELECT type FROM table_name_49 WHERE transfer_fee = "£120,000" |
Write a SQL query that answers the following question: What date is aston villa away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_67 WHERE away_team = "aston villa" |
Write a SQL query that answers the following question: what date did tie number 5 occur? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_44 WHERE tie_no = "5" |
Write a SQL query that answers the following question: Which tie number has Bolton Wanderers as away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_59 WHERE away_team = "bolton wanderers" |
Write a SQL query that answers the following question: What round was the circuit portland international raceway? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (round VARCHAR, circuit VARCHAR) | SELECT round FROM table_name_4 WHERE circuit = "portland international raceway" |
Write a SQL query that answers the following question: When was the circuit portland international raceway? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_28 WHERE circuit = "portland international raceway" |
Write a SQL query that answers the following question: Which round had a city/location of Toronto, Ontario? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (round VARCHAR, city_location VARCHAR) | SELECT round FROM table_name_81 WHERE city_location = "toronto, ontario" |
Write a SQL query that answers the following question: For which location was the round smaller than 11 and the circuit streets of denver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR) | SELECT city_location FROM table_name_93 WHERE round < 11 AND circuit = "streets of denver" |
Write a SQL query that answers the following question: What day was the location Cleveland, Ohio in Round 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (date VARCHAR, city_location VARCHAR, round VARCHAR) | SELECT date FROM table_name_2 WHERE city_location = "cleveland, ohio" AND round = 6 |
Write a SQL query that answers the following question: What is the sum of attendance for the games played at Los Angeles Rams? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (attendance INTEGER, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_39 WHERE opponent = "at los angeles rams" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.