instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which Opponent has a Method of tko, and a Location of elgin, illinois, usa on 2001-02-11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR, method VARCHAR, location VARCHAR)
SELECT opponent FROM table_name_7 WHERE method = "tko" AND location = "elgin, illinois, usa" AND date = "2001-02-11"
Write a SQL query that answers the following question: Which Round has a Location of auckland, new zealand, and a Method of tko on 1994-11-24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (round INTEGER, date VARCHAR, location VARCHAR, method VARCHAR)
SELECT AVG(round) FROM table_name_83 WHERE location = "auckland, new zealand" AND method = "tko" AND date = "1994-11-24"
Write a SQL query that answers the following question: Which highest Round has a Result of loss?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (round INTEGER, result VARCHAR)
SELECT MAX(round) FROM table_name_27 WHERE result = "loss"
Write a SQL query that answers the following question: Which Location has a Method of decision?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (location VARCHAR, method VARCHAR)
SELECT location FROM table_name_40 WHERE method = "decision"
Write a SQL query that answers the following question: What tournament has 1r as a 2004, and 1r as a 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (tournament VARCHAR)
SELECT tournament FROM table_name_77 WHERE 2004 = "1r" AND 2007 = "1r"
Write a SQL query that answers the following question: What 2012 has q2 as the 2010, and wimbledon as the tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (tournament VARCHAR)
SELECT 2012 FROM table_name_31 WHERE 2010 = "q2" AND tournament = "wimbledon"
Write a SQL query that answers the following question: What 2006 has grand slam tournaments of 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (Id VARCHAR)
SELECT 2006 FROM table_name_95 WHERE 2010 = "grand slam tournaments"
Write a SQL query that answers the following question: What 2006 has grand slam tournaments of 2005?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (Id VARCHAR)
SELECT 2006 FROM table_name_27 WHERE 2005 = "grand slam tournaments"
Write a SQL query that answers the following question: What 2006 has q2 as the 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (Id VARCHAR)
SELECT 2006 FROM table_name_34 WHERE 2007 = "q2"
Write a SQL query that answers the following question: What are the losses where the award is Mike Miller (Smoy)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (losses VARCHAR, awards VARCHAR)
SELECT losses FROM table_name_34 WHERE awards = "mike miller (smoy)"
Write a SQL query that answers the following question: Where the wins are 46, what is the win%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (win_percentage VARCHAR, wins VARCHAR)
SELECT win_percentage FROM table_name_9 WHERE wins = "46"
Write a SQL query that answers the following question: Where the Vancouver Grizzlies is the awards, what is the conference?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (conference VARCHAR, awards VARCHAR)
SELECT conference FROM table_name_29 WHERE awards = "vancouver grizzlies"
Write a SQL query that answers the following question: What is the highest 1987 value with a 1995 value less than 1995 and a 1999 less than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (Id VARCHAR)
SELECT MAX(1987) FROM table_name_48 WHERE 1995 < 1995 AND 1999 < 9
Write a SQL query that answers the following question: What is the highest 2003 value with a 1990 greater than 74, a 125 value in 1985, and a 1995 value greater than 130?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (Id VARCHAR)
SELECT MAX(2003) FROM table_name_84 WHERE 1990 > 74 AND 1985 = 125 AND 1995 > 130
Write a SQL query that answers the following question: What is the highest 2007 value with a 1985 value greater than 52, a 1987 value greater than 130, and a 1990 less than 1990?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (Id VARCHAR)
SELECT MAX(2007) FROM table_name_56 WHERE 1985 > 52 AND 1987 > 130 AND 1990 < 1990
Write a SQL query that answers the following question: What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (Id VARCHAR)
SELECT MAX(1995) FROM table_name_4 WHERE 1990 > 36 AND 1987 < 1987 AND 2007 > 107
Write a SQL query that answers the following question: What is the highest 2003 value with a 2011 less than 107 and a 1995 value less than 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (Id VARCHAR)
SELECT MAX(2003) FROM table_name_19 WHERE 2011 < 107 AND 1995 < 17
Write a SQL query that answers the following question: What is the name of the tournament with 11 or more events a top-5 of 0 and a top-25 of 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (tournament VARCHAR, top_25 VARCHAR, events VARCHAR, top_5 VARCHAR)
SELECT tournament FROM table_name_58 WHERE events > 11 AND top_5 = 0 AND top_25 = 2
Write a SQL query that answers the following question: What is the most top-10 of the team with 8 cuts made and less than 11 events?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR)
SELECT MAX(top_10) FROM table_name_40 WHERE cuts_made = 8 AND events < 11
Write a SQL query that answers the following question: What is the American Labor ticket when Henry Epstein is the liberal ticket?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (american_labor_ticket VARCHAR, liberal_ticket VARCHAR)
SELECT american_labor_ticket FROM table_name_3 WHERE liberal_ticket = "henry epstein"
Write a SQL query that answers the following question: What is the name on the Communist ticket with an Office of judge of the court of appeals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (communist_ticket VARCHAR, office VARCHAR)
SELECT communist_ticket FROM table_name_63 WHERE office = "judge of the court of appeals"
Write a SQL query that answers the following question: What is the Office when spencer c. young is on the liberal ticket??
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (office VARCHAR, liberal_ticket VARCHAR)
SELECT office FROM table_name_74 WHERE liberal_ticket = "spencer c. young"
Write a SQL query that answers the following question: What is the name on the Democratic ticket when the Liberal ticket is erastus corning 2nd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (democratic_ticket VARCHAR, liberal_ticket VARCHAR)
SELECT democratic_ticket FROM table_name_43 WHERE liberal_ticket = "erastus corning 2nd"
Write a SQL query that answers the following question: What name is on the Republican ticket when the American Labor ticket was spencer c. young?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)
SELECT republican_ticket FROM table_name_37 WHERE american_labor_ticket = "spencer c. young"
Write a SQL query that answers the following question: What is the entered number for the person with a time of 29:28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (entered VARCHAR, time VARCHAR)
SELECT entered FROM table_name_74 WHERE time = "29:28"
Write a SQL query that answers the following question: What is the number eliminated for the person with a time of 12:38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (eliminated VARCHAR, time VARCHAR)
SELECT eliminated AS by FROM table_name_15 WHERE time = "12:38"
Write a SQL query that answers the following question: What is the highest Attendance with a Result that is w 24-21?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (attendance INTEGER, result VARCHAR)
SELECT MAX(attendance) FROM table_name_50 WHERE result = "w 24-21"
Write a SQL query that answers the following question: What Date has a time of (seconds) 42.172?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (date VARCHAR, time__seconds_ VARCHAR)
SELECT date FROM table_name_73 WHERE time__seconds_ = 42.172
Write a SQL query that answers the following question: What is the Record for 23 january 2010, with a time smaller than 42.679 seconds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR, time__seconds_ VARCHAR)
SELECT record FROM table_name_42 WHERE date = "23 january 2010" AND time__seconds_ < 42.679
Write a SQL query that answers the following question: What is the total number of Points that were in a Year that was 2005?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (points VARCHAR, year VARCHAR)
SELECT COUNT(points) FROM table_name_18 WHERE year = "2005"
Write a SQL query that answers the following question: What is the lowest Shots with a Point that is larger than 32?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (shots INTEGER, points INTEGER)
SELECT MIN(shots) FROM table_name_38 WHERE points > 32
Write a SQL query that answers the following question: Which category had a year of 1991?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (category VARCHAR, year VARCHAR)
SELECT category FROM table_name_41 WHERE year = 1991
Write a SQL query that answers the following question: What is the score having a runner-up of Magdalena Maleeva?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (score VARCHAR, runner_up VARCHAR)
SELECT score FROM table_name_45 WHERE runner_up = "magdalena maleeva"
Write a SQL query that answers the following question: What year was John m. Belk Arena built?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (year_built VARCHAR, venue VARCHAR)
SELECT year_built FROM table_name_74 WHERE venue = "john m. belk arena"
Write a SQL query that answers the following question: What type of environment is the venue that was built in 2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (environment VARCHAR, year_built VARCHAR)
SELECT environment FROM table_name_11 WHERE year_built = "2003"
Write a SQL query that answers the following question: What year was transamerica field built in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (year_built VARCHAR, venue VARCHAR)
SELECT year_built FROM table_name_10 WHERE venue = "transamerica field"
Write a SQL query that answers the following question: What is the location of the venue owned by johnson c. smith university?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (location VARCHAR, owner VARCHAR)
SELECT location FROM table_name_26 WHERE owner = "johnson c. smith university"
Write a SQL query that answers the following question: What is the venue when the score was 8-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_61 WHERE score = "8-2"
Write a SQL query that answers the following question: What is the Score for the 1999 fifa confederations cup?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_96 WHERE competition = "1999 fifa confederations cup"
Write a SQL query that answers the following question: What is the result on 30 june 1995?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_2 WHERE date = "30 june 1995"
Write a SQL query that answers the following question: What is the Date of the 1999 fifa confederations cup?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date VARCHAR, competition VARCHAR)
SELECT date FROM table_name_45 WHERE competition = "1999 fifa confederations cup"
Write a SQL query that answers the following question: What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (venue VARCHAR, competition VARCHAR, result VARCHAR)
SELECT venue FROM table_name_23 WHERE competition = "2002 fifa world cup qualifier" AND result = "8-2"
Write a SQL query that answers the following question: What is the Score on 11 march 2001?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_76 WHERE date = "11 march 2001"
Write a SQL query that answers the following question: What is the symbol of the element with an empirical t of 190 and a calculated value of 135?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (symbol VARCHAR, empirical_† VARCHAR, calculated VARCHAR)
SELECT symbol FROM table_name_25 WHERE empirical_† = "190" AND calculated = "135"
Write a SQL query that answers the following question: What is the name of the element with a calculated value of 56?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (name VARCHAR, calculated VARCHAR)
SELECT name FROM table_name_57 WHERE calculated = "56"
Write a SQL query that answers the following question: What is the covalent (single bond) value of sodium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (covalent__single_bond_ VARCHAR, name VARCHAR)
SELECT covalent__single_bond_ FROM table_name_21 WHERE name = "sodium"
Write a SQL query that answers the following question: What is the total height of the player with a birthdate on September 2, 1973?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (height__cm_ VARCHAR, birthdate VARCHAR)
SELECT COUNT(height__cm_) FROM table_name_65 WHERE birthdate = "september 2, 1973"
Write a SQL query that answers the following question: What is the birthdate of Robert Esche?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (birthdate VARCHAR, name VARCHAR)
SELECT birthdate FROM table_name_39 WHERE name = "robert esche"
Write a SQL query that answers the following question: What is the position of the player with a jersey # greater than 30 and a December 23, 1986 birthdate?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (position VARCHAR, jersey__number VARCHAR, birthdate VARCHAR)
SELECT position FROM table_name_83 WHERE jersey__number > 30 AND birthdate = "december 23, 1986"
Write a SQL query that answers the following question: What is the weight of John-Michael Liles?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (weight__kg_ VARCHAR, name VARCHAR)
SELECT weight__kg_ FROM table_name_44 WHERE name = "john-michael liles"
Write a SQL query that answers the following question: What was the first leg score during the quarter-final game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (first_leg VARCHAR, round VARCHAR)
SELECT first_leg FROM table_name_16 WHERE round = "quarter-final"
Write a SQL query that answers the following question: What was the aggregate score for the game against Dynamo Dresden?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (aggregate_score VARCHAR, opposition VARCHAR)
SELECT aggregate_score FROM table_name_66 WHERE opposition = "dynamo dresden"
Write a SQL query that answers the following question: Who was the opposing team in the 3rd round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (opposition VARCHAR, round VARCHAR)
SELECT opposition FROM table_name_69 WHERE round = "3rd"
Write a SQL query that answers the following question: Which nation has 0 golds and more than 1 silver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (nation VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT nation FROM table_name_20 WHERE gold = 0 AND silver > 1
Write a SQL query that answers the following question: What is the smallest total that has under 3 golds, more than 0 silvers and bronzes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT MIN(total) FROM table_name_36 WHERE gold < 3 AND bronze > 0 AND silver > 0
Write a SQL query that answers the following question: What is the total number of silvers associated with 3 bronzes, a total over 6, and a rank of 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (silver VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_11 WHERE bronze = "3" AND rank = "3" AND total > 6
Write a SQL query that answers the following question: What is the sum of bronzes associated with 0 golds and a rank of 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
SELECT SUM(bronze) FROM table_name_67 WHERE rank = "10" AND gold < 0
Write a SQL query that answers the following question: What is the largest silver value associated with 0 golds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (silver INTEGER, gold INTEGER)
SELECT MAX(silver) FROM table_name_42 WHERE gold < 0
Write a SQL query that answers the following question: What is the total number of bronzes from the Netherlands?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR)
SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "netherlands"
Write a SQL query that answers the following question: What is the average amount of earnings for years under 2004 and money list rankings of 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (earnings__ INTEGER, money_list_rank VARCHAR, year VARCHAR)
SELECT AVG(earnings__) AS $_ FROM table_name_88 WHERE money_list_rank = "6" AND year < 2004
Write a SQL query that answers the following question: What is the highest number of wins for years after 1999 with averages over 73.02?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (wins INTEGER, average VARCHAR, year VARCHAR)
SELECT MAX(wins) FROM table_name_60 WHERE average > 73.02 AND year > 1999
Write a SQL query that answers the following question: Who was the away team when the home team Manchester United played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_54 WHERE home_team = "manchester united"
Write a SQL query that answers the following question: When there was a tie of 16 what was the attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (attendance VARCHAR, tie_no VARCHAR)
SELECT attendance FROM table_name_8 WHERE tie_no = "16"
Write a SQL query that answers the following question: Tell me the score when there was a Tie number of 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_30 WHERE tie_no = "6"
Write a SQL query that answers the following question: For the Tie number of 14 who was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_46 WHERE tie_no = "14"
Write a SQL query that answers the following question: What Catalog released on June 29, 1999 has a Digipak Album Format?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (catalog VARCHAR, format VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_8 WHERE format = "digipak album" AND date = "june 29, 1999"
Write a SQL query that answers the following question: What is the release Date of Catalog RR 8655-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_39 WHERE catalog = "rr 8655-2"
Write a SQL query that answers the following question: What is Score, when Name is Nicole θ΅–ζ·žε‡€?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, name VARCHAR)
SELECT score FROM table_name_38 WHERE name = "nicole θ΅–ζ·žε‡€"
Write a SQL query that answers the following question: What is Score, when Song is 第九倜?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (score VARCHAR, song VARCHAR)
SELECT score FROM table_name_99 WHERE song = "第九倜"
Write a SQL query that answers the following question: What is Group Song, when Song is 捒季?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (Group VARCHAR, song VARCHAR)
SELECT Group AS song FROM table_name_80 WHERE song = "捒季"
Write a SQL query that answers the following question: What is Group Song, when Name is Alice ζž—θŠ―η³Έ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (Group VARCHAR, name VARCHAR)
SELECT Group AS song FROM table_name_29 WHERE name = "alice ζž—θŠ―η³Έ"
Write a SQL query that answers the following question: On what surface was the match played with a score of 2–6, 6–3, 6–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_32 WHERE score = "2–6, 6–3, 6–4"
Write a SQL query that answers the following question: On what surface was the match played with a score of 4–6, 6–3, 6–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_82 WHERE score = "4–6, 6–3, 6–1"
Write a SQL query that answers the following question: What was the score when the opponent in the final was iroda tulyaganova?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_44 WHERE opponent_in_the_final = "iroda tulyaganova"
Write a SQL query that answers the following question: Which tournament has an opponent in the final of nadia petrova and a score of 6–3, 4–6, 6–1??
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (tournament VARCHAR, opponent_in_the_final VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_22 WHERE opponent_in_the_final = "nadia petrova" AND score = "6–3, 4–6, 6–1"
Write a SQL query that answers the following question: What is 01-02, when 03-04 is 03-04?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (Id VARCHAR)
SELECT 01 AS _02 FROM table_name_61 WHERE "03_04" = "03_04"
Write a SQL query that answers the following question: What is 02-03, when School Year is % Learning In Latvian?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (school_year VARCHAR)
SELECT 02 AS _03 FROM table_name_33 WHERE school_year = "% learning in latvian"
Write a SQL query that answers the following question: Who was the choreographer for the dance style of Jazz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (choreographer_s_ VARCHAR, style VARCHAR)
SELECT choreographer_s_ FROM table_name_29 WHERE style = "jazz"
Write a SQL query that answers the following question: Which music led to a safe result and was choreographed by Jason Gilkison?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (music VARCHAR, results VARCHAR, choreographer_s_ VARCHAR)
SELECT music FROM table_name_57 WHERE results = "safe" AND choreographer_s_ = "jason gilkison"
Write a SQL query that answers the following question: Which couple participated in the Contemporary style of dance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (couple VARCHAR, style VARCHAR)
SELECT couple FROM table_name_27 WHERE style = "contemporary"
Write a SQL query that answers the following question: Which couple participated in the Paso Doble style and were safe?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (couple VARCHAR, results VARCHAR, style VARCHAR)
SELECT couple FROM table_name_91 WHERE results = "safe" AND style = "paso doble"
Write a SQL query that answers the following question: How many weeks had a game on November 26, 1978, and an attendance higher than 26,248?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (week VARCHAR, date VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_88 WHERE date = "november 26, 1978" AND attendance > 26 OFFSET 248
Write a SQL query that answers the following question: What was the lowest Attendance during Week 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (attendance INTEGER, week VARCHAR)
SELECT MIN(attendance) FROM table_name_90 WHERE week = 12
Write a SQL query that answers the following question: What was the name of the tournament that the final was played against Yi Jingqian?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_89 WHERE opponent_in_the_final = "yi jingqian"
Write a SQL query that answers the following question: Who was the final opponent in the tournament in Taipei, Taiwan on November 14, 1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (opponent_in_the_final VARCHAR, tournament VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_93 WHERE tournament = "taipei, taiwan" AND date = "november 14, 1994"
Write a SQL query that answers the following question: On October 14, 1996 who was the opponent in the final?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_47 WHERE date = "october 14, 1996"
Write a SQL query that answers the following question: When playing against Yi Jingqian in the final on a hard surface what was the score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_29 WHERE surface = "hard" AND opponent_in_the_final = "yi jingqian"
Write a SQL query that answers the following question: Who was played against in the final on November 14, 1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_17 WHERE date = "november 14, 1994"
Write a SQL query that answers the following question: What is the total number of Entered when the eliminated number is 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR)
SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3"
Write a SQL query that answers the following question: What is the Eliminated when there are less than 4 entered and the wrestler was shawn michaels?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (eliminated VARCHAR, entered VARCHAR, wrestler VARCHAR)
SELECT eliminated FROM table_name_28 WHERE entered < 4 AND wrestler = "shawn michaels"
Write a SQL query that answers the following question: How many frequencies have a line of East London and destination of Crystal Palace?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (frequency__per_hour_ VARCHAR, line VARCHAR, destination VARCHAR)
SELECT COUNT(frequency__per_hour_) FROM table_name_18 WHERE line = "east london" AND destination = "crystal palace"
Write a SQL query that answers the following question: Which line has an operator of the London Overground and ends at the Crystal Palace?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (line VARCHAR, operator VARCHAR, destination VARCHAR)
SELECT line FROM table_name_87 WHERE operator = "london overground" AND destination = "crystal palace"
Write a SQL query that answers the following question: Which song was by artist Gino Vannelli?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (song VARCHAR, artist VARCHAR)
SELECT song FROM table_name_15 WHERE artist = "gino vannelli"
Write a SQL query that answers the following question: What tournament did Bill Rogers play in when he had less than 7 Cuts, 0 Wins, and less than 1 Top-25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (tournament VARCHAR, top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)
SELECT tournament FROM table_name_35 WHERE cuts_made < 7 AND wins = 0 AND top_25 < 1
Write a SQL query that answers the following question: What are the number of losses that have Ties of 1 and 3 or more poll wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (losses VARCHAR, ties VARCHAR, poll_wins VARCHAR)
SELECT COUNT(losses) FROM table_name_49 WHERE ties = 1 AND poll_wins > 3
Write a SQL query that answers the following question: What is the lowest poll losses of the 0 ties, poll wins greater than 1 and wins less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (poll_losses INTEGER, wins VARCHAR, ties VARCHAR, poll_wins VARCHAR)
SELECT MIN(poll_losses) FROM table_name_15 WHERE ties = 0 AND poll_wins > 1 AND wins < 2
Write a SQL query that answers the following question: What is the highest poll of the advocate Andy Kindler with poll losses greater than 2 and ties less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (poll_wins INTEGER, ties VARCHAR, poll_losses VARCHAR, advocate VARCHAR)
SELECT MAX(poll_wins) FROM table_name_49 WHERE poll_losses > 2 AND advocate = "andy kindler" AND ties < 0
Write a SQL query that answers the following question: Which PBA Titles has a TV Finals larger than 6, and an Events larger than 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (pba_titles INTEGER, tv_finals VARCHAR, events VARCHAR)
SELECT AVG(pba_titles) FROM table_name_16 WHERE tv_finals > 6 AND events > 20
Write a SQL query that answers the following question: Which Events has Earnings of $113,259, and an Average larger than 229.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (events INTEGER, earnings VARCHAR, average VARCHAR)
SELECT MAX(events) FROM table_name_22 WHERE earnings = "$113,259" AND average > 229.5
Write a SQL query that answers the following question: Which Cashes has a Match Play smaller than 13, and a Events of 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (cashes VARCHAR, match_play VARCHAR, events VARCHAR)
SELECT COUNT(cashes) FROM table_name_97 WHERE match_play < 13 AND events = 7