instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Name the nominating festival for director of 2004 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (nominating_festival VARCHAR, director_s_ VARCHAR) | SELECT nominating_festival FROM table_name_1 WHERE director_s_ = "2004" |
Write a SQL query that answers the following question: Name the category for prix uip berlin | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (category VARCHAR, nominating_festival VARCHAR) | SELECT category FROM table_name_66 WHERE nominating_festival = "prix uip berlin" |
Write a SQL query that answers the following question: Name the nominating festival for un cartus de kent si un pachet de cafea | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (nominating_festival VARCHAR, film VARCHAR) | SELECT nominating_festival FROM table_name_93 WHERE film = "un cartus de kent si un pachet de cafea" |
Write a SQL query that answers the following question: Name the director of alt i alt | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (director_s_ VARCHAR, film VARCHAR) | SELECT director_s_ FROM table_name_92 WHERE film = "alt i alt" |
Write a SQL query that answers the following question: What's the score of the game they played against a team with a record of 81-54? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_95 WHERE record = "81-54" |
Write a SQL query that answers the following question: What game score was there for the team with a record of 84-56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_51 WHERE record = "84-56" |
Write a SQL query that answers the following question: Who is the Winner for the City of Loutraki? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR) | SELECT winner FROM table_name_65 WHERE city = "loutraki" |
Write a SQL query that answers the following question: What is the Date for the Event ept copenhagen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, event VARCHAR) | SELECT date FROM table_name_71 WHERE event = "ept copenhagen" |
Write a SQL query that answers the following question: What Event did John dibella win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (event VARCHAR, winner VARCHAR) | SELECT event FROM table_name_56 WHERE winner = "john dibella" |
Write a SQL query that answers the following question: What was the prize for winner benny spindler? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (prize VARCHAR, winner VARCHAR) | SELECT prize FROM table_name_11 WHERE winner = "benny spindler" |
Write a SQL query that answers the following question: What was the Event in the city of copenhagen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (event VARCHAR, city VARCHAR) | SELECT event FROM table_name_32 WHERE city = "copenhagen" |
Write a SQL query that answers the following question: What was the Event for the prize of β¬850,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (event VARCHAR, prize VARCHAR) | SELECT event FROM table_name_45 WHERE prize = "β¬850,000" |
Write a SQL query that answers the following question: In which place is Emmet French? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_2 WHERE player = "emmet french" |
Write a SQL query that answers the following question: What is the result for Gold Coast when Melbourne and Adelaide are yes, but Perth is no? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (gold_coast VARCHAR, adelaide VARCHAR, melbourne VARCHAR, perth VARCHAR) | SELECT gold_coast FROM table_name_73 WHERE melbourne = "yes" AND perth = "no" AND adelaide = "yes" |
Write a SQL query that answers the following question: What is the result for Melbourne when Adelaide, Sydney, and Perth are yes, and Gold Coast is no? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (melbourne VARCHAR, gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, sydney VARCHAR) | SELECT melbourne FROM table_name_52 WHERE adelaide = "yes" AND sydney = "yes" AND perth = "yes" AND gold_coast = "no" |
Write a SQL query that answers the following question: What is the result for Melbourne when Gold Coast, Perth, Auckland, and Sydney are no? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, perth VARCHAR) | SELECT melbourne FROM table_name_1 WHERE gold_coast = "no" AND perth = "no" AND auckland = "no" AND sydney = "no" |
Write a SQL query that answers the following question: What is the result for Gold Coast when Adelaide and Perth are yes, but Auckland is no? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, auckland VARCHAR) | SELECT gold_coast FROM table_name_6 WHERE adelaide = "yes" AND auckland = "no" AND perth = "yes" |
Write a SQL query that answers the following question: What is the result for Gold Coast when Melbourne and Sydney are yes, while Auckland and Perth are no? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (gold_coast VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR) | SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND sydney = "yes" AND auckland = "no" AND perth = "no" |
Write a SQL query that answers the following question: What is the result for Melbourne when Adelaide is no, and Auckland is yes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (melbourne VARCHAR, adelaide VARCHAR, auckland VARCHAR) | SELECT melbourne FROM table_name_56 WHERE adelaide = "no" AND auckland = "yes" |
Write a SQL query that answers the following question: Who won on 3 june? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (winner VARCHAR, date VARCHAR) | SELECT winner FROM table_name_35 WHERE date = "3 june" |
Write a SQL query that answers the following question: Which date has a Race Leader of hermann buse ( ger ), and a Stage of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (date VARCHAR, race_leader VARCHAR, stage VARCHAR) | SELECT date FROM table_name_83 WHERE race_leader = "hermann buse ( ger )" AND stage = "5" |
Write a SQL query that answers the following question: Which race Leader has a Stage of 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (race_leader VARCHAR, stage VARCHAR) | SELECT race_leader FROM table_name_33 WHERE stage = "7" |
Write a SQL query that answers the following question: Which date has a Stage of 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (date VARCHAR, stage VARCHAR) | SELECT date FROM table_name_68 WHERE stage = "12" |
Write a SQL query that answers the following question: What was the result for song of the year award in 1994? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (result VARCHAR, year VARCHAR, award VARCHAR) | SELECT result FROM table_name_69 WHERE year = 1994 AND award = "song of the year" |
Write a SQL query that answers the following question: What was the result for work made by Neil Finn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (result VARCHAR, nominated_work VARCHAR) | SELECT result FROM table_name_10 WHERE nominated_work = "neil finn" |
Write a SQL query that answers the following question: what is the money for argentina? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (money___ VARCHAR, country VARCHAR) | SELECT COUNT(money___) AS $__ FROM table_name_34 WHERE country = "argentina" |
Write a SQL query that answers the following question: what is the money for trevor immelman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (money___$__ VARCHAR, player VARCHAR) | SELECT money___$__ FROM table_name_77 WHERE player = "trevor immelman" |
Write a SQL query that answers the following question: what is the place for ireland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_64 WHERE country = "ireland" |
Write a SQL query that answers the following question: What result was a date of 20/03/2008 with leeds as the opponent | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (result VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT result FROM table_name_59 WHERE opponent = "leeds" AND date = "20/03/2008" |
Write a SQL query that answers the following question: What was the HT for the game at Stadio Luigi Ferraris? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (ht VARCHAR, venue VARCHAR) | SELECT ht FROM table_name_31 WHERE venue = "stadio luigi ferraris" |
Write a SQL query that answers the following question: What was the HT for the game at Zagreb, with a full-time score of 0-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (ht VARCHAR, venue VARCHAR, score VARCHAR) | SELECT ht FROM table_name_54 WHERE venue = "zagreb" AND score = "0-2" |
Write a SQL query that answers the following question: What was the competition that was played in Zurich? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (competition VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_96 WHERE venue = "zurich" |
Write a SQL query that answers the following question: When was the first game associated with over 4 losses? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (first_game VARCHAR, lost INTEGER) | SELECT first_game FROM table_name_89 WHERE lost > 4 |
Write a SQL query that answers the following question: What is the lowest number of games drawn associated with over 39 games played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (drawn INTEGER, played INTEGER) | SELECT MIN(drawn) FROM table_name_39 WHERE played > 39 |
Write a SQL query that answers the following question: What is the highest number of losses when there are under 1 games played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (lost INTEGER, played INTEGER) | SELECT MAX(lost) FROM table_name_43 WHERE played < 1 |
Write a SQL query that answers the following question: What location has more than 2 games with 2:56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (location VARCHAR, game VARCHAR, time VARCHAR) | SELECT location FROM table_name_67 WHERE game > 2 AND time = "2:56" |
Write a SQL query that answers the following question: What location has October 10 as date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_64 WHERE date = "october 10" |
Write a SQL query that answers the following question: what is the seats 2006 total with %2001 of 39 and seats 2001 less than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (seats_2006 INTEGER, _percentage_2001 VARCHAR, seats_2001 VARCHAR) | SELECT MAX(seats_2006) FROM table_name_64 WHERE _percentage_2001 = 39 AND seats_2001 < 12 |
Write a SQL query that answers the following question: what is the total number of seats 2006 that has parties and voter turnout in % and whose %2006 is greater than 51.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR) | SELECT SUM(seats_2006) FROM table_name_33 WHERE parties_and_voter_communities = "voter turnout in %" AND _percentage_2006 > 51.5 |
Write a SQL query that answers the following question: what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (seats_2001 INTEGER, parties_and_voter_communities VARCHAR, seats_2006 VARCHAR) | SELECT SUM(seats_2001) FROM table_name_91 WHERE parties_and_voter_communities = "cdu" AND seats_2006 > 10 |
Write a SQL query that answers the following question: What was the loss of the game when the record was 3β2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_56 WHERE record = "3β2" |
Write a SQL query that answers the following question: Who was the opponent at the game that had a loss of Shields (1β1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_12 WHERE loss = "shields (1β1)" |
Write a SQL query that answers the following question: Who is the opponent for Andrew Symonds in the 2004 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (opponent VARCHAR, player VARCHAR, season VARCHAR) | SELECT opponent FROM table_name_75 WHERE player = "andrew symonds" AND season = "2004" |
Write a SQL query that answers the following question: Name th country of origin for journey | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (country_of_origin VARCHAR, artist VARCHAR) | SELECT country_of_origin FROM table_name_81 WHERE artist = "journey" |
Write a SQL query that answers the following question: Name the period active for enya | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (period_active VARCHAR, artist VARCHAR) | SELECT period_active FROM table_name_42 WHERE artist = "enya" |
Write a SQL query that answers the following question: Name the genre for release-year of firsst charted less than 1980 and origin of jamaica | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (genre VARCHAR, release_year_of_first_charted_record VARCHAR, country_of_origin VARCHAR) | SELECT genre FROM table_name_92 WHERE release_year_of_first_charted_record < 1980 AND country_of_origin = "jamaica" |
Write a SQL query that answers the following question: Who is the 2nd member during 1885 election? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (election VARCHAR) | SELECT 2 AS nd_member FROM table_name_31 WHERE election = "1885" |
Write a SQL query that answers the following question: What is the 1st party during the 1857 election? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (election VARCHAR) | SELECT 1 AS st_party FROM table_name_34 WHERE election = "1857" |
Write a SQL query that answers the following question: Which language has the percentage of 2.54? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (language VARCHAR, percentage___percentage_ VARCHAR) | SELECT language FROM table_name_8 WHERE percentage___percentage_ = "2.54" |
Write a SQL query that answers the following question: What is the number of females that has the Polish language? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (females VARCHAR, language VARCHAR) | SELECT females FROM table_name_66 WHERE language = "polish" |
Write a SQL query that answers the following question: What was the number of males that had the number females 62 331? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (males VARCHAR, females VARCHAR) | SELECT males FROM table_name_13 WHERE females = "62 331" |
Write a SQL query that answers the following question: Which position has a sophomore class? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (position VARCHAR, class VARCHAR) | SELECT position FROM table_name_31 WHERE class = "sophomore" |
Write a SQL query that answers the following question: What is the lowest Preliminary score of a contestant that has an Evening Gown score of 8.472? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (preliminaries INTEGER, evening_gown VARCHAR) | SELECT MIN(preliminaries) FROM table_name_94 WHERE evening_gown = 8.472 |
Write a SQL query that answers the following question: Which Set 3 has a Set 1 of 25β20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR) | SELECT set_3 FROM table_name_9 WHERE set_1 = "25β20" |
Write a SQL query that answers the following question: Which Set 3 has a Time of 10:00, and a Set 2 of 25β19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (set_3 VARCHAR, time VARCHAR, set_2 VARCHAR) | SELECT set_3 FROM table_name_22 WHERE time = "10:00" AND set_2 = "25β19" |
Write a SQL query that answers the following question: Which Set 1 has a Set 3 of 16β25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (set_1 VARCHAR, set_3 VARCHAR) | SELECT set_1 FROM table_name_25 WHERE set_3 = "16β25" |
Write a SQL query that answers the following question: Which Set 3 has a Score of 0β3, a Time of 18:30, and a Date of july 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (set_3 VARCHAR, date VARCHAR, score VARCHAR, time VARCHAR) | SELECT set_3 FROM table_name_56 WHERE score = "0β3" AND time = "18:30" AND date = "july 10" |
Write a SQL query that answers the following question: Which score has a Set 2 of 17β25, and a Total of 48β75? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (score VARCHAR, set_2 VARCHAR, total VARCHAR) | SELECT score FROM table_name_10 WHERE set_2 = "17β25" AND total = "48β75" |
Write a SQL query that answers the following question: Which set 3 has a Time of 10:00, and a Score of 3β2, and a Total of 113β102? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (set_3 VARCHAR, total VARCHAR, time VARCHAR, score VARCHAR) | SELECT set_3 FROM table_name_61 WHERE time = "10:00" AND score = "3β2" AND total = "113β102" |
Write a SQL query that answers the following question: Is it live or studio before 1983? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (live___studio VARCHAR, year INTEGER) | SELECT live___studio FROM table_name_98 WHERE year < 1983 |
Write a SQL query that answers the following question: What is the total number of 1st prize ($) that has a United States country with a score lower than 271 and in a year after 1964 with a winner of Bobby Mitchell? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (winner VARCHAR, year VARCHAR, country VARCHAR, score VARCHAR) | SELECT COUNT(1 AS st_prize___) AS $__ FROM table_name_15 WHERE country = "united states" AND score < 271 AND year > 1964 AND winner = "bobby mitchell" |
Write a SQL query that answers the following question: What is the round for marcus howard? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (round INTEGER, name VARCHAR) | SELECT SUM(round) FROM table_name_32 WHERE name = "marcus howard" |
Write a SQL query that answers the following question: What is the highest laps with a 30 finish? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (laps INTEGER, finish VARCHAR) | SELECT MAX(laps) FROM table_name_89 WHERE finish = "30" |
Write a SQL query that answers the following question: What is the rank of the 150.163 qual? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (rank VARCHAR, qual VARCHAR) | SELECT rank FROM table_name_34 WHERE qual = "150.163" |
Write a SQL query that answers the following question: What is the lowest laps with a 142.744 qual? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (laps INTEGER, qual VARCHAR) | SELECT MIN(laps) FROM table_name_34 WHERE qual = "142.744" |
Write a SQL query that answers the following question: What year had less than 160 laps and a rank of 26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (year VARCHAR, laps VARCHAR, rank VARCHAR) | SELECT year FROM table_name_25 WHERE laps < 160 AND rank = "26" |
Write a SQL query that answers the following question: for the other of soun, what's the khmer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (khmer VARCHAR, other VARCHAR) | SELECT khmer FROM table_name_40 WHERE other = "soun" |
Write a SQL query that answers the following question: for the other of mouy, what's the khmer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (khmer VARCHAR, other VARCHAR) | SELECT khmer FROM table_name_20 WHERE other = "mouy" |
Write a SQL query that answers the following question: What is the language of the film directed by Hans Kristensen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (language VARCHAR, director VARCHAR) | SELECT language FROM table_name_14 WHERE director = "hans kristensen" |
Write a SQL query that answers the following question: What is the original title of the film for which Dersu Uzala was nominated? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_title FROM table_name_10 WHERE film_title_used_in_nomination = "dersu uzala" |
Write a SQL query that answers the following question: What is Argentina's language? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (language VARCHAR, country VARCHAR) | SELECT language FROM table_name_41 WHERE country = "argentina" |
Write a SQL query that answers the following question: What chassis did Jolly Club Spa used after 1985? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (chassis VARCHAR, year VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_22 WHERE year > 1985 AND entrant = "jolly club spa" |
Write a SQL query that answers the following question: What engine was paired with Minardi m187? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (engine VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_74 WHERE chassis = "minardi m187" |
Write a SQL query that answers the following question: What is the highest points with g Tyres and Minardi m187? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (points INTEGER, tyres VARCHAR, chassis VARCHAR) | SELECT MAX(points) FROM table_name_30 WHERE tyres = "g" AND chassis = "minardi m187" |
Write a SQL query that answers the following question: What Chassis has g Tyres before 1987? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (chassis VARCHAR, tyres VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_26 WHERE tyres = "g" AND year < 1987 |
Write a SQL query that answers the following question: How many years were g Tyres and Minardi m187 used? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (year INTEGER, tyres VARCHAR, chassis VARCHAR) | SELECT AVG(year) FROM table_name_82 WHERE tyres = "g" AND chassis = "minardi m187" |
Write a SQL query that answers the following question: What engine what in the vehicle when adt champion racing ranked in 1st place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (engine VARCHAR, rank VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_21 WHERE rank = "1st" AND entrant = "adt champion racing" |
Write a SQL query that answers the following question: What Chassis ranked 18th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (chassis VARCHAR, rank VARCHAR) | SELECT chassis FROM table_name_18 WHERE rank = "18th" |
Write a SQL query that answers the following question: What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT class FROM table_name_2 WHERE points < 206 AND chassis = "audi r8" AND entrant = "adt champion racing" AND rank = "1st" |
Write a SQL query that answers the following question: Who were the winner and nominees in 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (winner_nominee_s_ VARCHAR, year VARCHAR) | SELECT winner_nominee_s_ FROM table_name_27 WHERE year = 2001 |
Write a SQL query that answers the following question: Who is nominated for the film Rugrats Go Wild? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (winner_nominee_s_ VARCHAR, result VARCHAR, film VARCHAR) | SELECT winner_nominee_s_ FROM table_name_44 WHERE result = "nominated" AND film = "rugrats go wild" |
Write a SQL query that answers the following question: How many goals did he score with under 26 appearances for werder bremen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (goals VARCHAR, apps VARCHAR, club VARCHAR) | SELECT COUNT(goals) FROM table_name_87 WHERE apps < 26 AND club = "werder bremen" |
Write a SQL query that answers the following question: How many goals did he have in the bundesliga with under 7 appearances? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (goals INTEGER, competition VARCHAR, apps VARCHAR) | SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 7 |
Write a SQL query that answers the following question: What season did he have 7 appearances? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (season VARCHAR, apps VARCHAR) | SELECT season FROM table_name_91 WHERE apps = 7 |
Write a SQL query that answers the following question: What is the to par for the score 73-71=144? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_71 WHERE score = 73 - 71 = 144 |
Write a SQL query that answers the following question: What area did Julius Boros play at? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_92 WHERE player = "julius boros" |
Write a SQL query that answers the following question: What country has a score of 74-70=144 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_2 WHERE score = 74 - 70 = 144 |
Write a SQL query that answers the following question: Which of the Canterbury has a Central District of 276* M.D. Crowe & P.S. Briasco V (C) 1986/87? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (canterbury VARCHAR, central_districts VARCHAR) | SELECT canterbury FROM table_name_67 WHERE central_districts = "276* m.d. crowe & p.s. briasco v (c) 1986/87" |
Write a SQL query that answers the following question: What is Auckland thats got Otago of 184 R.C. Blunt & W. Hawksworth V (C) 1931/32? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (auckland VARCHAR, otago VARCHAR) | SELECT auckland FROM table_name_5 WHERE otago = "184 r.c. blunt & w. hawksworth v (c) 1931/32" |
Write a SQL query that answers the following question: What tournament was after 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (tournament VARCHAR, year INTEGER) | SELECT tournament FROM table_name_8 WHERE year > 2009 |
Write a SQL query that answers the following question: What event was held in Chihuahua, Mexico? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (event VARCHAR, venue VARCHAR) | SELECT event FROM table_name_16 WHERE venue = "chihuahua, mexico" |
Write a SQL query that answers the following question: Can you tell me the sun of Population that has the Country/Region of hong kong, and the Rank smaller than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (population INTEGER, country_region VARCHAR, rank VARCHAR) | SELECT SUM(population) FROM table_name_45 WHERE country_region = "hong kong" AND rank < 2 |
Write a SQL query that answers the following question: Who is the manager with the Hewlett-Packard shirt sponsor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (manager_1 VARCHAR, shirt_sponsor VARCHAR) | SELECT manager_1 FROM table_name_72 WHERE shirt_sponsor = "hewlett-packard" |
Write a SQL query that answers the following question: Who is the captain of the team that has a kit manufacturer of Fox Leisure? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (captain VARCHAR, kit_manufacturer VARCHAR) | SELECT captain FROM table_name_30 WHERE kit_manufacturer = "fox leisure" |
Write a SQL query that answers the following question: One2one is the shirt sponsor for the captain of what team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (captain VARCHAR, shirt_sponsor VARCHAR) | SELECT captain FROM table_name_79 WHERE shirt_sponsor = "one2one" |
Write a SQL query that answers the following question: What company is the kit manufacturer that Gareth Southgate belongs to? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (kit_manufacturer VARCHAR, captain VARCHAR) | SELECT kit_manufacturer FROM table_name_50 WHERE captain = "gareth southgate" |
Write a SQL query that answers the following question: for the tournament of world amateur championship what was the result in 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (result VARCHAR, year VARCHAR, tournament VARCHAR) | SELECT result FROM table_name_81 WHERE year = 2010 AND tournament = "world amateur championship" |
Write a SQL query that answers the following question: Which location had a race that took place on 22 July 2011 and has a rank greater than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (location VARCHAR, rank VARCHAR, date VARCHAR) | SELECT location FROM table_name_45 WHERE rank > 8 AND date = "22 july 2011" |
Write a SQL query that answers the following question: How many gold medals for the school with 2 total medals and under 0 bronzes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (gold_medals VARCHAR, total_medals VARCHAR, bronze_medals VARCHAR) | SELECT COUNT(gold_medals) FROM table_name_27 WHERE total_medals = 2 AND bronze_medals < 0 |
Write a SQL query that answers the following question: How many gold medals for bellbrook HS with less than 1 silver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (gold_medals VARCHAR, ensemble VARCHAR, silver_medals VARCHAR) | SELECT COUNT(gold_medals) FROM table_name_73 WHERE ensemble = "bellbrook hs" AND silver_medals < 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.