instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: For Model e12 what is the IFLs/uIFLs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (ifls___uifls VARCHAR, model VARCHAR) | SELECT ifls___uifls FROM table_name_77 WHERE model = "e12" |
Write a SQL query that answers the following question: Which Player has a School/Club Team of Illinois? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_5 WHERE school_club_team = "illinois" |
Write a SQL query that answers the following question: Which Player plays Guard-Forward Position for School/Club Team Pepperdine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_12 WHERE position = "guard-forward" AND school_club_team = "pepperdine" |
Write a SQL query that answers the following question: What Position does the Player Vince Carter hold? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_84 WHERE player = "vince carter" |
Write a SQL query that answers the following question: Which School/Club Team does Vince Carter Play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_95 WHERE player = "vince carter" |
Write a SQL query that answers the following question: Who is the Player for School/Club Team Illinois? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_22 WHERE school_club_team = "illinois" |
Write a SQL query that answers the following question: What score has 7-0 as the result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (score VARCHAR, result VARCHAR) | SELECT score FROM table_name_56 WHERE result = "7-0" |
Write a SQL query that answers the following question: What competition has 17-1 as the result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_71 WHERE result = "17-1" |
Write a SQL query that answers the following question: What competition has 17-1 as the result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_38 WHERE result = "17-1" |
Write a SQL query that answers the following question: What is the set 2 with a 25-23 set 1 and a 17-19 set 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (set_2 VARCHAR, set_1 VARCHAR, set_5 VARCHAR) | SELECT set_2 FROM table_name_48 WHERE set_1 = "25-23" AND set_5 = "17-19" |
Write a SQL query that answers the following question: What is the set 5 with a 25-23 set 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (set_5 VARCHAR, set_3 VARCHAR) | SELECT set_5 FROM table_name_55 WHERE set_3 = "25-23" |
Write a SQL query that answers the following question: Who had the high pick of the round of 10 for Fairmont State college? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (pick INTEGER, college VARCHAR, round VARCHAR) | SELECT MAX(pick) FROM table_name_13 WHERE college = "fairmont state" AND round > 10 |
Write a SQL query that answers the following question: What was the name of the player for pick 402? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (player VARCHAR, pick VARCHAR) | SELECT player FROM table_name_57 WHERE pick = 402 |
Write a SQL query that answers the following question: What is the date of the week 4 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_76 WHERE week = 4 |
Write a SQL query that answers the following question: What is the result of the game on October 17, 1965? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_73 WHERE date = "october 17, 1965" |
Write a SQL query that answers the following question: What is the Rank for Viktors Dobrecovs with less than 325 Matches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (rank INTEGER, name VARCHAR, matches VARCHAR) | SELECT AVG(rank) FROM table_name_34 WHERE name = "viktors dobrecovs" AND matches < 325 |
Write a SQL query that answers the following question: What is the number of Matches for Vits Rimkus with a Rank of less than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (matches INTEGER, name VARCHAR, rank VARCHAR) | SELECT AVG(matches) FROM table_name_2 WHERE name = "vits rimkus" AND rank < 3 |
Write a SQL query that answers the following question: What is the Date for the game at michie stadium • west point, ny? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_80 WHERE location = "michie stadium • west point, ny" |
Write a SQL query that answers the following question: What is the Opponent when the location was groves stadium • winston-salem, nc, with a result of t 17-17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (opponent VARCHAR, location VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_20 WHERE location = "groves stadium • winston-salem, nc" AND result = "t 17-17" |
Write a SQL query that answers the following question: In 1879-81 with number built 4, what is the LMS nos? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (lms_nos VARCHAR, date VARCHAR, no_built VARCHAR) | SELECT lms_nos FROM table_name_63 WHERE date = "1879-81" AND no_built = 4 |
Write a SQL query that answers the following question: On which date was the class 157? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date VARCHAR, class VARCHAR) | SELECT date FROM table_name_40 WHERE class = 157 |
Write a SQL query that answers the following question: Can you tell me the lowest Ends Lost that has the Locale of norway, and the Blank Ends larger than 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (ends_lost INTEGER, locale VARCHAR, blank_ends VARCHAR) | SELECT MIN(ends_lost) FROM table_name_95 WHERE locale = "norway" AND blank_ends > 17 |
Write a SQL query that answers the following question: What was the Margin of Victory of winning score 68-67-69-65=269? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT margin_of_victory FROM table_name_65 WHERE winning_score = 68 - 67 - 69 - 65 = 269 |
Write a SQL query that answers the following question: What is the To Par of winning score 71-66-70-67=274? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (to_par VARCHAR, winning_score VARCHAR) | SELECT to_par FROM table_name_52 WHERE winning_score = 71 - 66 - 70 - 67 = 274 |
Write a SQL query that answers the following question: Which tournament had a winning score of 67-61-68-67=263? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_96 WHERE winning_score = 67 - 61 - 68 - 67 = 263 |
Write a SQL query that answers the following question: How many tries for are associated with 5 points and 2 tries against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (tries_for VARCHAR, points VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_3 WHERE points = "5" AND tries_against = "2" |
Write a SQL query that answers the following question: What is the losing bonus associated with 0 tries for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (losing_bonus VARCHAR, tries_for VARCHAR) | SELECT losing_bonus FROM table_name_82 WHERE tries_for = "0" |
Write a SQL query that answers the following question: What's the highest against score that drew more than 5, and had more than 18 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (against INTEGER, drawn VARCHAR, points VARCHAR) | SELECT MAX(against) FROM table_name_35 WHERE drawn > 5 AND points > 18 |
Write a SQL query that answers the following question: What's the number of losses where played was less than 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (lost VARCHAR, played INTEGER) | SELECT COUNT(lost) FROM table_name_33 WHERE played < 17 |
Write a SQL query that answers the following question: What is team ypiranga-sp's average position when they lost by less than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (position INTEGER, team VARCHAR, lost VARCHAR) | SELECT AVG(position) FROM table_name_53 WHERE team = "ypiranga-sp" AND lost < 7 |
Write a SQL query that answers the following question: What was the attendance for the game at groves stadium • winston-salem, nc with a result of L 0-14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (attendance VARCHAR, location VARCHAR, result VARCHAR) | SELECT COUNT(attendance) FROM table_name_86 WHERE location = "groves stadium • winston-salem, nc" AND result = "l 0-14" |
Write a SQL query that answers the following question: Who was the opponent when the result was L 0-14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_64 WHERE result = "l 0-14" |
Write a SQL query that answers the following question: What is the name of the position of the person whose hometown is Queens, NY? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (position VARCHAR, hometown VARCHAR) | SELECT position FROM table_name_45 WHERE hometown = "queens, ny" |
Write a SQL query that answers the following question: What is Tim Andree's greatest number? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (number INTEGER, name VARCHAR) | SELECT MAX(number) FROM table_name_50 WHERE name = "tim andree" |
Write a SQL query that answers the following question: What is the lowest number of the player with a hometown of Bellwood, IL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (number INTEGER, hometown VARCHAR) | SELECT MIN(number) FROM table_name_90 WHERE hometown = "bellwood, il" |
Write a SQL query that answers the following question: What is Score, when Attendance is 2,444? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_33 WHERE attendance = "2,444" |
Write a SQL query that answers the following question: What is Home Team, when Tie No is Replay, and when Attendance is 2,048? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR) | SELECT home_team FROM table_name_44 WHERE tie_no = "replay" AND attendance = "2,048" |
Write a SQL query that answers the following question: What is Score, when Tie No is 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_81 WHERE tie_no = "17" |
Write a SQL query that answers the following question: What is Away Team, when Tie No is 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_16 WHERE tie_no = "4" |
Write a SQL query that answers the following question: What is Score, when Attendance is 3,416? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_29 WHERE attendance = "3,416" |
Write a SQL query that answers the following question: What is the sum of Away Losses with a No Result of more than 0, losses of more than 6, and matches of more than 91? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (Away INTEGER, matches VARCHAR, no_result VARCHAR, losses VARCHAR) | SELECT SUM(Away) AS losses FROM table_name_64 WHERE no_result > 0 AND losses > 6 AND matches > 91 |
Write a SQL query that answers the following question: What stadium was the December 29, 2008 game played at? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (stadium VARCHAR, date VARCHAR) | SELECT stadium FROM table_name_95 WHERE date = "december 29, 2008" |
Write a SQL query that answers the following question: Which bowl game had a conference matchup of Ohio State vs. Texas? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (bowl_game VARCHAR, conference_matchups VARCHAR) | SELECT bowl_game FROM table_name_77 WHERE conference_matchups = "ohio state vs. texas" |
Write a SQL query that answers the following question: What stadium was the Fiesta Bowl played at? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (stadium VARCHAR, bowl_game VARCHAR) | SELECT stadium FROM table_name_74 WHERE bowl_game = "fiesta bowl" |
Write a SQL query that answers the following question: What was the payout in US dollars at the Insight Bowl? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (payout___us$__ VARCHAR, bowl_game VARCHAR) | SELECT payout___us$__ FROM table_name_59 WHERE bowl_game = "insight bowl" |
Write a SQL query that answers the following question: What was the conference matchup in the bowl game with a $3 million payout? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (conference_matchups VARCHAR, payout___us$__ VARCHAR) | SELECT conference_matchups FROM table_name_81 WHERE payout___us$__ = "$3 million" |
Write a SQL query that answers the following question: What was the conference matchup for the bowl game played in Glendale, Arizona? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (conference_matchups VARCHAR, city VARCHAR) | SELECT conference_matchups FROM table_name_66 WHERE city = "glendale, arizona" |
Write a SQL query that answers the following question: Which Team has Tries for smaller than 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (team VARCHAR, tries_for INTEGER) | SELECT team FROM table_name_59 WHERE tries_for < 10 |
Write a SQL query that answers the following question: Which Tries against have Points against larger than 109? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (tries_against INTEGER, points_against INTEGER) | SELECT MAX(tries_against) FROM table_name_9 WHERE points_against > 109 |
Write a SQL query that answers the following question: What Tries against that have a Points against of 95 and Tries for larger than 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (tries_against INTEGER, points_against VARCHAR, tries_for VARCHAR) | SELECT SUM(tries_against) FROM table_name_91 WHERE points_against = 95 AND tries_for > 20 |
Write a SQL query that answers the following question: What Tries for has a Team of neath, and Points against larger than 109? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (tries_for INTEGER, team VARCHAR, points_against VARCHAR) | SELECT SUM(tries_for) FROM table_name_38 WHERE team = "neath" AND points_against > 109 |
Write a SQL query that answers the following question: How many Points against that have a Team of harlequins and Tries against smaller than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (points_against INTEGER, team VARCHAR, tries_against VARCHAR) | SELECT SUM(points_against) FROM table_name_37 WHERE team = "harlequins" AND tries_against < 8 |
Write a SQL query that answers the following question: What is the power that belongs to Class A with an Identifier of CBOC-FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (power VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT power FROM table_name_90 WHERE class = "a" AND identifier = "cboc-fm" |
Write a SQL query that answers the following question: Which class has a frequency of 91.9 fm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (class VARCHAR, frequency VARCHAR) | SELECT class FROM table_name_31 WHERE frequency = "91.9 fm" |
Write a SQL query that answers the following question: What power belongs to the LP Class and has an Identifier of CBLI? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (power VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT power FROM table_name_98 WHERE class = "lp" AND identifier = "cbli" |
Write a SQL query that answers the following question: Which city has a C1 class and Identifier of CBCD-FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT city_of_license FROM table_name_77 WHERE class = "c1" AND identifier = "cbcd-fm" |
Write a SQL query that answers the following question: Which Power has a CBLI Identifier? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (power VARCHAR, identifier VARCHAR) | SELECT power FROM table_name_40 WHERE identifier = "cbli" |
Write a SQL query that answers the following question: What is the RECNet belonging to Class A with a Power of 3,000 watts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (recnet VARCHAR, class VARCHAR, power VARCHAR) | SELECT recnet FROM table_name_75 WHERE class = "a" AND power = "3,000 watts" |
Write a SQL query that answers the following question: What is the report in the tournament that started at 12:30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (report VARCHAR, time VARCHAR) | SELECT report FROM table_name_75 WHERE time = "12:30" |
Write a SQL query that answers the following question: Which 2007 has a 2003 of 1r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (Id VARCHAR) | SELECT 2007 FROM table_name_81 WHERE 2003 = "1r" |
Write a SQL query that answers the following question: Which 2006 has a 2012 of a, and a 2011 of 3r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (Id VARCHAR) | SELECT 2006 FROM table_name_76 WHERE 2012 = "a" AND 2011 = "3r" |
Write a SQL query that answers the following question: Which 2008 has a 2002 of a, and a Tournament of australian open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (tournament VARCHAR) | SELECT 2008 FROM table_name_84 WHERE 2002 = "a" AND tournament = "australian open" |
Write a SQL query that answers the following question: Which 2012 has a 2008 of grand slam tournaments? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (Id VARCHAR) | SELECT 2012 FROM table_name_47 WHERE 2008 = "grand slam tournaments" |
Write a SQL query that answers the following question: Which 2002 has a 2009 of 2r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (Id VARCHAR) | SELECT 2002 FROM table_name_96 WHERE 2009 = "2r" |
Write a SQL query that answers the following question: Which 2010 has a 2002 of 2r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (Id VARCHAR) | SELECT 2010 FROM table_name_20 WHERE 2002 = "2r" |
Write a SQL query that answers the following question: What is th US A.C. in 1985 with a US hot 100 of 57? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (us_ac VARCHAR, year VARCHAR, us_hot_100 VARCHAR) | SELECT us_ac FROM table_name_16 WHERE year = 1985 AND us_hot_100 = "57" |
Write a SQL query that answers the following question: What is the Canada singles in 1979 with a US A.C. of 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (canada_singles VARCHAR, year VARCHAR, us_ac VARCHAR) | SELECT canada_singles FROM table_name_75 WHERE year = 1979 AND us_ac = "24" |
Write a SQL query that answers the following question: What is the US A.C. in 1974? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (us_ac VARCHAR, year VARCHAR) | SELECT us_ac FROM table_name_13 WHERE year = 1974 |
Write a SQL query that answers the following question: What is the average round of player Sammy Morris? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (round INTEGER, player VARCHAR) | SELECT AVG(round) FROM table_name_13 WHERE player = "sammy morris" |
Write a SQL query that answers the following question: What is the sum pick # of the player from round 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (pick__number INTEGER, round VARCHAR) | SELECT SUM(pick__number) FROM table_name_70 WHERE round = 4 |
Write a SQL query that answers the following question: Who is the player from Arizona State? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_40 WHERE college = "arizona state" |
Write a SQL query that answers the following question: What is the sum of the round of the player who plays linebacker and has a pick # greater than 251? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (round INTEGER, position VARCHAR, pick__number VARCHAR) | SELECT SUM(round) FROM table_name_38 WHERE position = "linebacker" AND pick__number > 251 |
Write a SQL query that answers the following question: Who is the player from Arizona state with a round less than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (player VARCHAR, round VARCHAR, college VARCHAR) | SELECT player FROM table_name_84 WHERE round < 7 AND college = "arizona state" |
Write a SQL query that answers the following question: What's the highest week for the day of October 21, 1956? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (week INTEGER, date VARCHAR) | SELECT MAX(week) FROM table_name_66 WHERE date = "october 21, 1956" |
Write a SQL query that answers the following question: What is the least recent week number when the attendance is 16,562? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_1 WHERE attendance = 16 OFFSET 562 |
Write a SQL query that answers the following question: What is Country , when Rider is Lindsay Porter? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (country VARCHAR, rider VARCHAR) | SELECT country FROM table_name_63 WHERE rider = "lindsay porter" |
Write a SQL query that answers the following question: What is Time, when Speed is 87.49mph? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (time VARCHAR, speed VARCHAR) | SELECT time FROM table_name_15 WHERE speed = "87.49mph" |
Write a SQL query that answers the following question: What is Country, when Points are more than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (country VARCHAR, points INTEGER) | SELECT country FROM table_name_30 WHERE points > 12 |
Write a SQL query that answers the following question: What is Speed, when Time is 1:24.23.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (speed VARCHAR, time VARCHAR) | SELECT speed FROM table_name_98 WHERE time = "1:24.23.0" |
Write a SQL query that answers the following question: What is Country, when Time is 1:29.43.60? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (country VARCHAR, time VARCHAR) | SELECT country FROM table_name_68 WHERE time = "1:29.43.60" |
Write a SQL query that answers the following question: What is the lowest Place, when Points are greater than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (place INTEGER, points INTEGER) | SELECT MIN(place) FROM table_name_17 WHERE points > 2 |
Write a SQL query that answers the following question: What team was the opponent when the result was l 0-27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_21 WHERE result = "l 0-27" |
Write a SQL query that answers the following question: What team was the opponent on 09/20/1975? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_62 WHERE date = "09/20/1975" |
Write a SQL query that answers the following question: What is the Location of the game on 11/08/1975*? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_43 WHERE date = "11/08/1975*" |
Write a SQL query that answers the following question: How many gold medals were awarded to the team with more than 2 bronze and exactly 29 silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT gold FROM table_name_19 WHERE bronze > 2 AND silver = 29 |
Write a SQL query that answers the following question: What is the latest year that Cicely Tyson is the Golden Globe Award actor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (year INTEGER, actor VARCHAR) | SELECT MAX(year) FROM table_name_76 WHERE actor = "cicely tyson" |
Write a SQL query that answers the following question: What Motion Picture after 2003 had Viola Davis nominated for Best Supporting Actress? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (motion_picture VARCHAR, award VARCHAR, actor VARCHAR, year VARCHAR, result VARCHAR) | SELECT motion_picture FROM table_name_70 WHERE year > 2003 AND result = "nominated" AND actor = "viola davis" AND award = "best supporting actress" |
Write a SQL query that answers the following question: What Award has a date of 2002? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (award VARCHAR, year VARCHAR) | SELECT award FROM table_name_5 WHERE year = 2002 |
Write a SQL query that answers the following question: What Award was received bby the Motion Picture What's Love Got To Do With It? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (award VARCHAR, motion_picture VARCHAR) | SELECT award FROM table_name_97 WHERE motion_picture = "what's love got to do with it" |
Write a SQL query that answers the following question: What is the latest Year with Marianne Jean-Baptiste as the Golden Globe Actor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (year INTEGER, actor VARCHAR) | SELECT MAX(year) FROM table_name_50 WHERE actor = "marianne jean-baptiste" |
Write a SQL query that answers the following question: Which film was released in August 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (title VARCHAR, date VARCHAR) | SELECT title FROM table_name_67 WHERE date = "august 2004" |
Write a SQL query that answers the following question: What was the production cost for the film directed by 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (production_cost VARCHAR, director VARCHAR) | SELECT production_cost FROM table_name_39 WHERE director = "2004" |
Write a SQL query that answers the following question: What film did Pen-Ek Ratanaruang direct? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (title VARCHAR, director VARCHAR) | SELECT title FROM table_name_62 WHERE director = "pen-ek ratanaruang" |
Write a SQL query that answers the following question: When was the film directed by Pen-Ek Ratanaruang released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (date VARCHAR, director VARCHAR) | SELECT date FROM table_name_13 WHERE director = "pen-ek ratanaruang" |
Write a SQL query that answers the following question: Who directed Tequila? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_50 WHERE title = "tequila" |
Write a SQL query that answers the following question: Who left office in June 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (name VARCHAR, left_office VARCHAR) | SELECT name FROM table_name_1 WHERE left_office = "june 2011" |
Write a SQL query that answers the following question: What is the Born-Died date for the Representative of Italy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (born_died VARCHAR, country VARCHAR) | SELECT born_died FROM table_name_16 WHERE country = "italy" |
Write a SQL query that answers the following question: What is the country of the Representative that left office as incumbent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (country VARCHAR, left_office VARCHAR) | SELECT country FROM table_name_29 WHERE left_office = "incumbent" |
Write a SQL query that answers the following question: What is Package/Option, when Language is Italian, and when Television Service is Sky Radio? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (package_option VARCHAR, language VARCHAR, television_service VARCHAR) | SELECT package_option FROM table_name_51 WHERE language = "italian" AND television_service = "sky radio" |
Write a SQL query that answers the following question: What is HDTV, when Television Service is MTV Rocks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (hdtv VARCHAR, television_service VARCHAR) | SELECT hdtv FROM table_name_21 WHERE television_service = "mtv rocks" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.