instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the highest number of wins for club Cd Orense, with points greater than 36 and more than 4 draws? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (wins INTEGER, points VARCHAR, draws VARCHAR, club VARCHAR) | SELECT MAX(wins) FROM table_name_82 WHERE draws > 4 AND club = "cd orense" AND points > 36 |
Write a SQL query that answers the following question: What is the total number of played for the entry with a position of less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (played INTEGER, position INTEGER) | SELECT SUM(played) FROM table_name_65 WHERE position < 1 |
Write a SQL query that answers the following question: For the match that lasted 3:53 minutes, what was the final record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_99 WHERE time = "3:53" |
Write a SQL query that answers the following question: Where was the UFC 154 match held? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_18 WHERE event = "ufc 154" |
Write a SQL query that answers the following question: What is the 1st leg that has a Rc Cannes Team 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_40 WHERE team_1 = "rc cannes" |
Write a SQL query that answers the following question: What is the lowest positioned club with points greater than 40, 16 wins and losses less than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (position INTEGER, loses VARCHAR, points VARCHAR, wins VARCHAR) | SELECT MIN(position) FROM table_name_45 WHERE points > 40 AND wins = 16 AND loses < 3 |
Write a SQL query that answers the following question: What is the lowest positioned team with 2 wins and losses greater than 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (position INTEGER, wins VARCHAR, loses VARCHAR) | SELECT MIN(position) FROM table_name_84 WHERE wins = 2 AND loses > 13 |
Write a SQL query that answers the following question: What is the smallest number of wins where goals conceded are below 26, draws are 1 and goals scored are below 74? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (wins INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, draws VARCHAR) | SELECT MIN(wins) FROM table_name_88 WHERE goals_conceded < 26 AND draws = 1 AND goals_scored < 74 |
Write a SQL query that answers the following question: For the club Minija Kretinga, what's the lowest number of wins with points smaller than 25, goals at 22 and goals conceded below 39? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (wins INTEGER, goals_conceded VARCHAR, club VARCHAR, points VARCHAR, goals_scored VARCHAR) | SELECT MIN(wins) FROM table_name_60 WHERE points < 25 AND goals_scored = 22 AND club = "minija kretinga" AND goals_conceded < 39 |
Write a SQL query that answers the following question: In which Place was the Silver won by valeri postoianov ( urs ) later than 1969 and the Bronze won by alexander gazov ( urs )? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (place VARCHAR, bronze VARCHAR, silver VARCHAR, year VARCHAR) | SELECT place FROM table_name_50 WHERE silver = "valeri postoianov ( urs )" AND year > 1969 AND bronze = "alexander gazov ( urs )" |
Write a SQL query that answers the following question: Who won the Bronze at Melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (bronze VARCHAR, place VARCHAR) | SELECT bronze FROM table_name_59 WHERE place = "melbourne" |
Write a SQL query that answers the following question: In what Place was the Silver won by vladimir vesselov ( urs )? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (place VARCHAR, silver VARCHAR) | SELECT place FROM table_name_3 WHERE silver = "vladimir vesselov ( urs )" |
Write a SQL query that answers the following question: What is Award, when Result is "Nominated", and when Film is "Sankranthi"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (award VARCHAR, result VARCHAR, film VARCHAR) | SELECT award FROM table_name_66 WHERE result = "nominated" AND film = "sankranthi" |
Write a SQL query that answers the following question: What is Award, when Category is "Best Actor", and when Year is less than 1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (award VARCHAR, category VARCHAR, year VARCHAR) | SELECT award FROM table_name_35 WHERE category = "best actor" AND year < 1988 |
Write a SQL query that answers the following question: What is the total number of Year, when Award is "Vamsi Berkley Award", and when Category is "Best Actor"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (year VARCHAR, award VARCHAR, category VARCHAR) | SELECT COUNT(year) FROM table_name_18 WHERE award = "vamsi berkley award" AND category = "best actor" |
Write a SQL query that answers the following question: What is Result, when Film is "Dharma Chakram", and when Award is "Nandi Award for Best Actor"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (result VARCHAR, film VARCHAR, award VARCHAR) | SELECT result FROM table_name_87 WHERE film = "dharma chakram" AND award = "nandi award for best actor" |
Write a SQL query that answers the following question: What is Opponent, when Date is "Dec 8"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_11 WHERE date = "dec 8" |
Write a SQL query that answers the following question: What is Score, when Date is "Nov 28"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_30 WHERE date = "nov 28" |
Write a SQL query that answers the following question: What is Date, when Score is "80-79"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_8 WHERE score = "80-79" |
Write a SQL query that answers the following question: What is Record, when Opponent is "New York Knicks"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_11 WHERE opponent = "new york knicks" |
Write a SQL query that answers the following question: What is Score, when Opponent is "@ New York Knicks"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_9 WHERE opponent = "@ new york knicks" |
Write a SQL query that answers the following question: What is Result, when Opponent is "Rochester Royals"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_19 WHERE opponent = "rochester royals" |
Write a SQL query that answers the following question: What was the Result at Strathclyde Homes Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_59 WHERE venue = "strathclyde homes stadium" |
Write a SQL query that answers the following question: Name the Score of spain? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_99 WHERE country = "spain" |
Write a SQL query that answers the following question: Which Country has a To par of −2? Question 2 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_20 WHERE to_par = "−2" |
Write a SQL query that answers the following question: Which Place has a To par of −1 and don pooley? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (place VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT place FROM table_name_1 WHERE to_par = "−1" AND player = "don pooley" |
Write a SQL query that answers the following question: What is week 15's result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_24 WHERE week = 15 |
Write a SQL query that answers the following question: What week did Cleveland Browns played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (week INTEGER, opponent VARCHAR) | SELECT AVG(week) FROM table_name_31 WHERE opponent = "cleveland browns" |
Write a SQL query that answers the following question: What is the Highest Goals for Grella? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (goals INTEGER, name VARCHAR) | SELECT MAX(goals) FROM table_name_43 WHERE name = "grella" |
Write a SQL query that answers the following question: What is in the Notes for Player Name Grella? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (notes VARCHAR, name VARCHAR) | SELECT notes FROM table_name_67 WHERE name = "grella" |
Write a SQL query that answers the following question: Who position did matthew tassone who was drafted after round 5 play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (position VARCHAR, round VARCHAR, player VARCHAR) | SELECT position FROM table_name_24 WHERE round > 5 AND player = "matthew tassone" |
Write a SQL query that answers the following question: what is the highest % hydropower when the % oil is less than 24.5, country is united arab emirates and the % nuclear power is 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (_percentage_hydropower INTEGER, _percentage_nuclear_power VARCHAR, _percentage_oil VARCHAR, country VARCHAR) | SELECT MAX(_percentage_hydropower) FROM table_name_80 WHERE _percentage_oil < 24.5 AND country = "united arab emirates" AND _percentage_nuclear_power < 0 |
Write a SQL query that answers the following question: what is the highest % hydropower when % coal is 4.9 and % nuclear power is more than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (_percentage_hydropower INTEGER, _percentage_coal VARCHAR, _percentage_nuclear_power VARCHAR) | SELECT MAX(_percentage_hydropower) FROM table_name_59 WHERE _percentage_coal = 4.9 AND _percentage_nuclear_power > 0 |
Write a SQL query that answers the following question: what is the highest electricity production (kw/h, billion) when the % other renewable is 0.4, % coal is 0 and % hydropower is more than 99? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (_billion_ VARCHAR, electricity_production__kw_h INTEGER, _percentage_hydropower VARCHAR, _percentage_other_renewable VARCHAR, _percentage_coal VARCHAR) | SELECT MAX(electricity_production__kw_h), _billion_ FROM table_name_19 WHERE _percentage_other_renewable = 0.4 AND _percentage_coal = 0 AND _percentage_hydropower > 99 |
Write a SQL query that answers the following question: Who is the player in round 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (player VARCHAR, round VARCHAR) | SELECT player FROM table_name_94 WHERE round = 6 |
Write a SQL query that answers the following question: What college did Louis LeBlanc attend? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (college_junior_club_team__league_ VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_66 WHERE player = "louis leblanc" |
Write a SQL query that answers the following question: How many goals against total did the team with more than 52 goals and fewer than 10 losses have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (goals_against INTEGER, goals_for VARCHAR, losses VARCHAR) | SELECT SUM(goals_against) FROM table_name_41 WHERE goals_for > 52 AND losses < 10 |
Write a SQL query that answers the following question: What was the low number of draws for Levante Ud when their goal difference was smaller than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (draws INTEGER, club VARCHAR, goal_difference VARCHAR) | SELECT MIN(draws) FROM table_name_14 WHERE club = "levante ud" AND goal_difference < 6 |
Write a SQL query that answers the following question: What is the average entry in the against column with draws smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (against INTEGER, draws INTEGER) | SELECT AVG(against) FROM table_name_80 WHERE draws < 0 |
Write a SQL query that answers the following question: What is the total number of losses that has draws larger than 1 and a Portland DFL of westerns? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (losses INTEGER, portland_dfl VARCHAR, draws VARCHAR) | SELECT SUM(losses) FROM table_name_75 WHERE portland_dfl = "westerns" AND draws > 1 |
Write a SQL query that answers the following question: What is the sum of draws for all byes larger than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (draws INTEGER, byes INTEGER) | SELECT SUM(draws) FROM table_name_94 WHERE byes > 0 |
Write a SQL query that answers the following question: What is the sum of byes for losses larger than 14 for a Portland DFL of westerns? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (byes INTEGER, portland_dfl VARCHAR, losses VARCHAR) | SELECT SUM(byes) FROM table_name_11 WHERE portland_dfl = "westerns" AND losses > 14 |
Write a SQL query that answers the following question: What was the result when the opponent was at 2 usc? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (result VARCHAR, opponent_number VARCHAR) | SELECT result FROM table_name_85 WHERE opponent_number = "at 2 usc" |
Write a SQL query that answers the following question: What was the result on 10/08/1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_52 WHERE date = "10/08/1988" |
Write a SQL query that answers the following question: What was the rank# of the opponent when the result of the game was w42-14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (rank__number VARCHAR, result VARCHAR) | SELECT rank__number FROM table_name_53 WHERE result = "w42-14" |
Write a SQL query that answers the following question: What was the result of the game that had 56,500 in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_15 WHERE attendance = "56,500" |
Write a SQL query that answers the following question: What was the rank# of the opponent when there was 93,829 in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (rank__number VARCHAR, attendance VARCHAR) | SELECT rank__number FROM table_name_57 WHERE attendance = "93,829" |
Write a SQL query that answers the following question: On what date was the game played where the opponent was Stanford, ranked #5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (date VARCHAR, rank__number VARCHAR, opponent_number VARCHAR) | SELECT date FROM table_name_24 WHERE rank__number = "5" AND opponent_number = "stanford" |
Write a SQL query that answers the following question: Which Number of electorates (2009) has a Reserved for (SC / ST /None) of total:? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (number_of_electorates__2009_ VARCHAR, reserved_for___sc___st__none_ VARCHAR) | SELECT number_of_electorates__2009_ FROM table_name_21 WHERE reserved_for___sc___st__none_ = "total:" |
Write a SQL query that answers the following question: What tournament took place after 1973? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (tournament VARCHAR, year INTEGER) | SELECT tournament FROM table_name_37 WHERE year > 1973 |
Write a SQL query that answers the following question: What tournament took place before 1972 with an extra of 200 m? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (tournament VARCHAR, extra VARCHAR, year VARCHAR) | SELECT tournament FROM table_name_14 WHERE extra = "200 m" AND year < 1972 |
Write a SQL query that answers the following question: What is the current code for the club trophy, in 1867 only? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (current_code VARCHAR, type VARCHAR, years VARCHAR) | SELECT current_code FROM table_name_20 WHERE type = "club trophy" AND years = "1867 only" |
Write a SQL query that answers the following question: What is the location of the original code for victorian rules? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (location VARCHAR, original_code VARCHAR) | SELECT location FROM table_name_64 WHERE original_code = "victorian rules" |
Write a SQL query that answers the following question: What is the location for the club trophy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (location VARCHAR, type VARCHAR) | SELECT location FROM table_name_69 WHERE type = "club trophy" |
Write a SQL query that answers the following question: What is the location for the club trophy from the year 1867 only? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (location VARCHAR, type VARCHAR, years VARCHAR) | SELECT location FROM table_name_52 WHERE type = "club trophy" AND years = "1867 only" |
Write a SQL query that answers the following question: What is Score, when Tournament is "Tampere , Finland"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_24 WHERE tournament = "tampere , finland" |
Write a SQL query that answers the following question: What is Surface, when Opponent is "Jiří Vaněk"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_31 WHERE opponent = "jiří vaněk" |
Write a SQL query that answers the following question: What is Score, when Opponent is "Ivo Minář"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_52 WHERE opponent = "ivo minář" |
Write a SQL query that answers the following question: What is Score, when Opponent is "Daniel Gimeno-Traver"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_38 WHERE opponent = "daniel gimeno-traver" |
Write a SQL query that answers the following question: What is Tournament, when Moves is "37", and when Result is "½–½"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (tournament VARCHAR, moves VARCHAR, result VARCHAR) | SELECT tournament FROM table_name_50 WHERE moves = 37 AND result = "½–½" |
Write a SQL query that answers the following question: What is Result, when Year is greater than 1999, when White is "Kramnik", and when Tournament is "Mainz CC Champions Duel (5)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (result VARCHAR, tournament VARCHAR, year VARCHAR, white VARCHAR) | SELECT result FROM table_name_77 WHERE year > 1999 AND white = "kramnik" AND tournament = "mainz cc champions duel (5)" |
Write a SQL query that answers the following question: What is Opening, when White is Kramnik, when Year is less than 2001, and when Tournament is "Siemens Giants"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (opening VARCHAR, tournament VARCHAR, white VARCHAR, year VARCHAR) | SELECT opening FROM table_name_77 WHERE white = "kramnik" AND year < 2001 AND tournament = "siemens giants" |
Write a SQL query that answers the following question: What is Tournament, when Black is "Kramnik", when Result is "½–½", and when Moves is "40"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (tournament VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR) | SELECT tournament FROM table_name_46 WHERE black = "kramnik" AND result = "½–½" AND moves = 40 |
Write a SQL query that answers the following question: What was the location where the opponent was Jae Young Kim? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_9 WHERE opponent = "jae young kim" |
Write a SQL query that answers the following question: Which event was the opponent jose carlos oliveira? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_46 WHERE opponent = "jose carlos oliveira" |
Write a SQL query that answers the following question: How many rounds was the bout against bobby rehman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_87 WHERE opponent = "bobby rehman" |
Write a SQL query that answers the following question: Where was the location when the record was 12-5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_89 WHERE record = "12-5" |
Write a SQL query that answers the following question: Which DVD Title has a Region 1 of n/a and greater than 3 in No. of Discs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (dvd_title VARCHAR, region_1 VARCHAR, no_of_discs VARCHAR) | SELECT dvd_title FROM table_name_57 WHERE region_1 = "n/a" AND no_of_discs > 3 |
Write a SQL query that answers the following question: Which region 1 has 12 Episodes and a Region 2 of 18 August 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (region_1 VARCHAR, no_of_episodes VARCHAR, region_2 VARCHAR) | SELECT region_1 FROM table_name_83 WHERE no_of_episodes = 12 AND region_2 = "18 august 2008" |
Write a SQL query that answers the following question: WHAT TRIES HAVE TRIES AGAINST AT 140? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (tries_for VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_14 WHERE tries_against = "140" |
Write a SQL query that answers the following question: WHAT IS THE TRIES AGAINST WITH PLAYED 22, POINTS AGAINST 784? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (tries_against VARCHAR, played VARCHAR, points_against VARCHAR) | SELECT tries_against FROM table_name_1 WHERE played = "22" AND points_against = "784" |
Write a SQL query that answers the following question: WHAT IS THE TRIES WITH POINTS 190? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (tries_for VARCHAR, points_for VARCHAR) | SELECT tries_for FROM table_name_36 WHERE points_for = "190" |
Write a SQL query that answers the following question: WHAT IS THE POINTS WITH 55 TRIES? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (points VARCHAR, tries_for VARCHAR) | SELECT points FROM table_name_89 WHERE tries_for = "55" |
Write a SQL query that answers the following question: WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (lost VARCHAR, losing_bonus VARCHAR, points_for VARCHAR) | SELECT lost FROM table_name_32 WHERE losing_bonus = "1" AND points_for = "148" |
Write a SQL query that answers the following question: WHAT IS THE LOSING BONUS WITH 190 POINTS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (losing_bonus VARCHAR, points_for VARCHAR) | SELECT losing_bonus FROM table_name_31 WHERE points_for = "190" |
Write a SQL query that answers the following question: What is the sum of the pick of the guard position player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (pick INTEGER, position VARCHAR) | SELECT SUM(pick) FROM table_name_99 WHERE position = "guard" |
Write a SQL query that answers the following question: What is the NFL club with pick # 153? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (nfl_club VARCHAR, pick VARCHAR) | SELECT nfl_club FROM table_name_60 WHERE pick = 153 |
Write a SQL query that answers the following question: Who is the player from a round less than 13 and has a pick of 74? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (player VARCHAR, round VARCHAR, pick VARCHAR) | SELECT player FROM table_name_58 WHERE round < 13 AND pick = 74 |
Write a SQL query that answers the following question: Who is the player from round 13 that plays center? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (player VARCHAR, round VARCHAR, position VARCHAR) | SELECT player FROM table_name_47 WHERE round = 13 AND position = "center" |
Write a SQL query that answers the following question: What is the NFL club with a pick less than 74 and a round greater than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (nfl_club VARCHAR, pick VARCHAR, round VARCHAR) | SELECT nfl_club FROM table_name_39 WHERE pick < 74 AND round > 2 |
Write a SQL query that answers the following question: Which Conference Semifinals has a Record of 55–27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (conference_semifinals VARCHAR, record VARCHAR) | SELECT conference_semifinals FROM table_name_73 WHERE record = "55–27" |
Write a SQL query that answers the following question: Which Conference Semifinals has a Conference Finals of † denotes division championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (conference_semifinals VARCHAR, conference_finals VARCHAR) | SELECT conference_semifinals FROM table_name_57 WHERE conference_finals = "† denotes division championship" |
Write a SQL query that answers the following question: Which Conference Finals has a Seed of † denotes division championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (conference_finals VARCHAR, seed VARCHAR) | SELECT conference_finals FROM table_name_32 WHERE seed = "† denotes division championship" |
Write a SQL query that answers the following question: What rank is the publication the observer music monthly? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (rank VARCHAR, publication VARCHAR) | SELECT rank FROM table_name_43 WHERE publication = "the observer music monthly" |
Write a SQL query that answers the following question: What is the publication the observer music monthly highest year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (year INTEGER, publication VARCHAR) | SELECT MAX(year) FROM table_name_10 WHERE publication = "the observer music monthly" |
Write a SQL query that answers the following question: What is the average Attendance, when Venue is "Candlestick Park", and when Date is "December 27"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (attendance INTEGER, venue VARCHAR, date VARCHAR) | SELECT AVG(attendance) FROM table_name_71 WHERE venue = "candlestick park" AND date = "december 27" |
Write a SQL query that answers the following question: What is Result, when Date is "November 22"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_32 WHERE date = "november 22" |
Write a SQL query that answers the following question: What is the average Attendance, when Venue is "Candlestick Park", and when Date is "November 25"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (attendance INTEGER, venue VARCHAR, date VARCHAR) | SELECT AVG(attendance) FROM table_name_54 WHERE venue = "candlestick park" AND date = "november 25" |
Write a SQL query that answers the following question: What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (bronze VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT bronze FROM table_name_55 WHERE silver = "tatiana ryabkina" AND gold = "anne margrethe hausken" |
Write a SQL query that answers the following question: What label is in CD format in Australia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (label VARCHAR, format VARCHAR, region VARCHAR) | SELECT label FROM table_name_14 WHERE format = "cd" AND region = "australia" |
Write a SQL query that answers the following question: What is the label for catalog number CRG3P-90054? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_96 WHERE catalog = "crg3p-90054" |
Write a SQL query that answers the following question: What is the format for the MCA label? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (format VARCHAR, label VARCHAR) | SELECT format FROM table_name_40 WHERE label = "mca" |
Write a SQL query that answers the following question: What is the catalog number for the Grilled Cheese label? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (catalog VARCHAR, label VARCHAR) | SELECT catalog FROM table_name_33 WHERE label = "grilled cheese" |
Write a SQL query that answers the following question: Which region has the format CD and label MCA? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (region VARCHAR, format VARCHAR, label VARCHAR) | SELECT region FROM table_name_15 WHERE format = "cd" AND label = "mca" |
Write a SQL query that answers the following question: What is the format for the label Mightier than Sword on January 12, 2010 in the United States? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (format VARCHAR, label VARCHAR, region VARCHAR, date VARCHAR) | SELECT format FROM table_name_50 WHERE region = "united states" AND date = "january 12, 2010" AND label = "mightier than sword" |
Write a SQL query that answers the following question: Which station that sat 54m above seal level is now Closed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (station VARCHAR, height_above_sea_level__m_ VARCHAR) | SELECT station FROM table_name_15 WHERE height_above_sea_level__m_ = "54m" AND "closed" = "closed" |
Write a SQL query that answers the following question: Opened prior to 1877 only 2.44km from Wellington, when did this station close? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (closed VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR) | SELECT closed FROM table_name_6 WHERE opened < 1877 AND distance_from_wellington = "2.44km" |
Write a SQL query that answers the following question: What is the height above sea level for the station opened 175.67km from Wellington prior to 1887? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR) | SELECT height_above_sea_level__m_ FROM table_name_2 WHERE opened < 1887 AND distance_from_wellington = "175.67km" |
Write a SQL query that answers the following question: For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR) | SELECT height_above_sea_level__m_ FROM table_name_22 WHERE opened > 1876 AND distance_from_wellington = "604.53km" |
Write a SQL query that answers the following question: Who was the opponent at the game attended by 70,012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_81 WHERE attendance = "70,012" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.