instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the Manufacturer with a Fuel Type that is diesel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (manufacturer VARCHAR, fuel_type VARCHAR)
SELECT manufacturer FROM table_name_9 WHERE fuel_type = "diesel"
Write a SQL query that answers the following question: What is the Higgins with a Scallon that is 2%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (higgins VARCHAR, scallon VARCHAR)
SELECT higgins FROM table_name_35 WHERE scallon = "2%"
Write a SQL query that answers the following question: What is the Higgins with a Davis that is 9%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (higgins VARCHAR, davis VARCHAR)
SELECT higgins FROM table_name_90 WHERE davis = "9%"
Write a SQL query that answers the following question: What is the Source with a Norris that is 7%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (source VARCHAR, norris VARCHAR)
SELECT source FROM table_name_45 WHERE norris = "7%"
Write a SQL query that answers the following question: What is the game 2 sum attendance of the team with a total attendance of 759,997?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (game_2 INTEGER, total VARCHAR)
SELECT SUM(game_2) FROM table_name_67 WHERE total = 759 OFFSET 997
Write a SQL query that answers the following question: What position does Barry Rose play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_55 WHERE player = "barry rose"
Write a SQL query that answers the following question: Which Jersey # has a Height (cm) of 183, a Name of paul stastny, and a Weight (kg) smaller than 93?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (jersey__number VARCHAR, weight__kg_ VARCHAR, height__cm_ VARCHAR, name VARCHAR)
SELECT COUNT(jersey__number) FROM table_name_98 WHERE height__cm_ = 183 AND name = "paul stastny" AND weight__kg_ < 93
Write a SQL query that answers the following question: When the Runner-up was Angaston, and the Year was less than 1927, who was the Captain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (captain VARCHAR, year VARCHAR, runner_up VARCHAR)
SELECT captain FROM table_name_61 WHERE year < 1927 AND runner_up = "angaston"
Write a SQL query that answers the following question: When the Score was kapunda 7-7-49 angaston 6-8-44, who was the Runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (runner_up VARCHAR, score VARCHAR)
SELECT runner_up FROM table_name_14 WHERE score = "kapunda 7-7-49 angaston 6-8-44"
Write a SQL query that answers the following question: Which year had a Score of kapunda 14-13-97 tanunda 5-14-44?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (year INTEGER, score VARCHAR)
SELECT SUM(year) FROM table_name_53 WHERE score = "kapunda 14-13-97 tanunda 5-14-44"
Write a SQL query that answers the following question: When the year is later than 1939 and the Runner-up is Tanunda, who is the Captain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (captain VARCHAR, runner_up VARCHAR, year VARCHAR)
SELECT captain FROM table_name_57 WHERE runner_up = "tanunda" AND year > 1939
Write a SQL query that answers the following question: What's the tournamnet name that has a 2001 of 1r and 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (tournament VARCHAR)
SELECT tournament FROM table_name_25 WHERE 2001 = "1r" AND 2011 = "a"
Write a SQL query that answers the following question: What is the 2001 tournament with a 2005 4r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (Id VARCHAR)
SELECT 2001 FROM table_name_83 WHERE 2005 = "4r"
Write a SQL query that answers the following question: What french open tournament happened in 2010 and has a 2004 1r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (tournament VARCHAR)
SELECT 2010 FROM table_name_58 WHERE 2004 = "1r" AND tournament = "french open"
Write a SQL query that answers the following question: What 2002 tournament has 2008 career statistics?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (Id VARCHAR)
SELECT 2002 FROM table_name_21 WHERE 2008 = "career statistics"
Write a SQL query that answers the following question: Which season has a Staffel E of Stahl Riesa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (season VARCHAR, staffel_e VARCHAR)
SELECT season FROM table_name_21 WHERE staffel_e = "stahl riesa"
Write a SQL query that answers the following question: What is the Staffel D in the season 1983-84 with a Staffel E of Motor Suhl?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (staffel_d VARCHAR, staffel_e VARCHAR, season VARCHAR)
SELECT staffel_d FROM table_name_51 WHERE staffel_e = "motor suhl" AND season = "1983-84"
Write a SQL query that answers the following question: What is the Staffel A that has a Staffel D of Energie Cottbus and a Staffel C of Chemie Leipzig and a Staffel B of 1. FC Union Berlin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (staffel_a VARCHAR, staffel_b VARCHAR, staffel_d VARCHAR, staffel_c VARCHAR)
SELECT staffel_a FROM table_name_75 WHERE staffel_d = "energie cottbus" AND staffel_c = "chemie leipzig" AND staffel_b = "1. fc union berlin"
Write a SQL query that answers the following question: What is the Staffel B that has Hallescher Fc Chemie as Staffel C?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (staffel_b VARCHAR, staffel_c VARCHAR)
SELECT staffel_b FROM table_name_97 WHERE staffel_c = "hallescher fc chemie"
Write a SQL query that answers the following question: Which week's date was September 27, 1953?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_8 WHERE date = "september 27, 1953"
Write a SQL query that answers the following question: What is the largest attendance number when the Chicago Cardinals were the opponent and the week was less than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
SELECT MAX(attendance) FROM table_name_48 WHERE opponent = "chicago cardinals" AND week < 4
Write a SQL query that answers the following question: When Gigi FernΓ‘ndez Natalia Zvereva 6–2, 6–1 won, who was the Tier II Runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (runner_up VARCHAR, tier VARCHAR, winner VARCHAR)
SELECT runner_up FROM table_name_85 WHERE tier = "tier ii" AND winner = "gigi fernΓ‘ndez natalia zvereva 6–2, 6–1"
Write a SQL query that answers the following question: Who were the semi finalists when Alexia Dechaume-Balleret Sandrine testud was the runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (semi_finalists VARCHAR, runner_up VARCHAR)
SELECT semi_finalists FROM table_name_81 WHERE runner_up = "alexia dechaume-balleret sandrine testud"
Write a SQL query that answers the following question: What tier had a runner-up of Lisa Raymond and a semifinalist of Sandrine Testud Mary Pierce?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (tier VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)
SELECT tier FROM table_name_46 WHERE semi_finalists = "sandrine testud mary pierce" AND runner_up = "lisa raymond"
Write a SQL query that answers the following question: Who were the semi finalists when the runner-up was Alexandra Fusai Wiltrud Probst?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (semi_finalists VARCHAR, runner_up VARCHAR)
SELECT semi_finalists FROM table_name_92 WHERE runner_up = "alexandra fusai wiltrud probst"
Write a SQL query that answers the following question: What is the Label that shows on april 7, 1967?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_77 WHERE date = "april 7, 1967"
Write a SQL query that answers the following question: What is the Date when the Country shows uk, the Format is cd, and the Catalog of edcd 227?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (date VARCHAR, catalog VARCHAR, country VARCHAR, format VARCHAR)
SELECT date FROM table_name_91 WHERE country = "uk" AND format = "cd" AND catalog = "edcd 227"
Write a SQL query that answers the following question: What is the Date for Catalog of lp 5060?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_65 WHERE catalog = "lp 5060"
Write a SQL query that answers the following question: What Date was the Country of japan, and a Label of sony?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date VARCHAR, country VARCHAR, label VARCHAR)
SELECT date FROM table_name_75 WHERE country = "japan" AND label = "sony"
Write a SQL query that answers the following question: What is the Catalog with a Format of lp, a Country of us, a Label of sundazed, and a Date of 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (catalog VARCHAR, date VARCHAR, label VARCHAR, format VARCHAR, country VARCHAR)
SELECT catalog FROM table_name_46 WHERE format = "lp" AND country = "us" AND label = "sundazed" AND date = "2006"
Write a SQL query that answers the following question: What is the Label name that has a Country of uk and the Catalog is bpg 62988?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (label VARCHAR, country VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_73 WHERE country = "uk" AND catalog = "bpg 62988"
Write a SQL query that answers the following question: What were the Lyrics (l) and Music (m) for the Artist who was in a Position higher than 3 and who earned 1st Place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (lyrics__l____music__m_ VARCHAR, position VARCHAR, place VARCHAR)
SELECT lyrics__l____music__m_ FROM table_name_16 WHERE position > 3 AND place = "1st"
Write a SQL query that answers the following question: What is the Rank of the Nation with 0 Silver and more than 1 Bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (rank INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT MAX(rank) FROM table_name_24 WHERE silver < 1 AND bronze > 1
Write a SQL query that answers the following question: What is the Total medals for the Nation with 1 Silver and 0 Golds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (total VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT COUNT(total) FROM table_name_89 WHERE silver = 1 AND gold < 0
Write a SQL query that answers the following question: Which potential's period 5 is 4 and has an element of antimony?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (potential VARCHAR, period VARCHAR, element VARCHAR)
SELECT potential FROM table_name_81 WHERE period = 5 AND element = "antimony"
Write a SQL query that answers the following question: Which lowest period's element is ruthenium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (period INTEGER, element VARCHAR)
SELECT MIN(period) FROM table_name_28 WHERE element = "ruthenium"
Write a SQL query that answers the following question: Which highest period's element is platinum?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (period INTEGER, element VARCHAR)
SELECT MAX(period) FROM table_name_19 WHERE element = "platinum"
Write a SQL query that answers the following question: What is the Venue with a Result that is lost?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_40 WHERE result = "lost"
Write a SQL query that answers the following question: What is the highest administrative panel with a cultural and educational panel of 2 plus an industrial and commercial panel larger than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)
SELECT MAX(administrative_panel) FROM table_name_14 WHERE cultural_and_educational_panel = 2 AND industrial_and_commercial_panel > 4
Write a SQL query that answers the following question: What is the total for National University of Ireland with an industrial and commercial panel less than 1, and the cultural and educational panel bigger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (national_university_of_ireland VARCHAR, industrial_and_commercial_panel VARCHAR, cultural_and_educational_panel VARCHAR)
SELECT COUNT(national_university_of_ireland) FROM table_name_17 WHERE industrial_and_commercial_panel < 1 AND cultural_and_educational_panel > 0
Write a SQL query that answers the following question: What is the administrative panel average when the cultural and educational panel is greater than 1 and the industrial and commercial panel less than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)
SELECT AVG(administrative_panel) FROM table_name_77 WHERE cultural_and_educational_panel > 1 AND industrial_and_commercial_panel < 4
Write a SQL query that answers the following question: What is the biggest administrative panel with a nominated by the Taoiseach greater than 3 and an argricultural panel of 5, plust a cultural and educational panel larger than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, agricultural_panel VARCHAR)
SELECT MAX(administrative_panel) FROM table_name_37 WHERE nominated_by_the_taoiseach > 3 AND agricultural_panel = 5 AND cultural_and_educational_panel > 2
Write a SQL query that answers the following question: What is the smallest cultural and educational panel with a nominated by the Taoiseach less than 5 and the total greater than 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (cultural_and_educational_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)
SELECT MIN(cultural_and_educational_panel) FROM table_name_74 WHERE nominated_by_the_taoiseach < 5 AND total > 19
Write a SQL query that answers the following question: With the cultural and educational panel less than 0 what is the average industrial and commercial panel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (industrial_and_commercial_panel INTEGER, cultural_and_educational_panel INTEGER)
SELECT AVG(industrial_and_commercial_panel) FROM table_name_22 WHERE cultural_and_educational_panel < 0
Write a SQL query that answers the following question: What is the total number of silver medals for nations with 5 total medals and more than 3 gold medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (silver VARCHAR, total VARCHAR, gold VARCHAR)
SELECT COUNT(silver) FROM table_name_22 WHERE total = 5 AND gold > 3
Write a SQL query that answers the following question: What was the label in 1969?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_18 WHERE date = 1969
Write a SQL query that answers the following question: What is the Commissioned date of the ship in NVR Page MCM02?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (commissioned VARCHAR, nvr_page VARCHAR)
SELECT commissioned FROM table_name_29 WHERE nvr_page = "mcm02"
Write a SQL query that answers the following question: What is the NVR Page of the ship with a Home Port of Sasebo, Japan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (nvr_page VARCHAR, home_port VARCHAR)
SELECT nvr_page FROM table_name_6 WHERE home_port = "sasebo, japan"
Write a SQL query that answers the following question: Which week's game was attended by 54,015 people?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_34 WHERE attendance = 54 OFFSET 015
Write a SQL query that answers the following question: What date was the game that was before week 4 and was attended by over 54,015 people ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (date VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_33 WHERE week < 4 AND attendance > 54 OFFSET 015
Write a SQL query that answers the following question: In what venues was the match with a final result of Eng by 4 wkts?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_19 WHERE result = "eng by 4 wkts"
Write a SQL query that answers the following question: What is the running time of the transmission on bbc four channels on 23 March 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (Running VARCHAR, channel VARCHAR, date VARCHAR)
SELECT Running AS time FROM table_name_46 WHERE channel = "bbc four" AND date = "23 march 2008"
Write a SQL query that answers the following question: What is the notes of the transmission on channel bbc four and a time of 22:30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (notes VARCHAR, channel VARCHAR, time VARCHAR)
SELECT notes FROM table_name_15 WHERE channel = "bbc four" AND time = "22:30"
Write a SQL query that answers the following question: Which channel was on 28 December 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (channel VARCHAR, date VARCHAR)
SELECT channel FROM table_name_74 WHERE date = "28 december 2008"
Write a SQL query that answers the following question: What is the channel with a 03:40 time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (channel VARCHAR, time VARCHAR)
SELECT channel FROM table_name_51 WHERE time = "03:40"
Write a SQL query that answers the following question: What is the Other b when the FA Cup shows 3 (17)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (other_b VARCHAR, fa_cup VARCHAR)
SELECT other_b FROM table_name_96 WHERE fa_cup = "3 (17)"
Write a SQL query that answers the following question: What is the Total when the league shows 79 (221)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (total VARCHAR, league_a VARCHAR)
SELECT total FROM table_name_39 WHERE league_a = "79 (221)"
Write a SQL query that answers the following question: What is the Name when the League Cup shows 0 (0), and the FA Cup is 12 (14)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (name VARCHAR, league_cup VARCHAR, fa_cup VARCHAR)
SELECT name FROM table_name_40 WHERE league_cup = "0 (0)" AND fa_cup = "12 (14)"
Write a SQL query that answers the following question: What is the League for 1952–1960?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (league_a VARCHAR, years VARCHAR)
SELECT league_a FROM table_name_2 WHERE years = "1952–1960"
Write a SQL query that answers the following question: What shows for the League when the FA Cup is 6 (20)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (league_a VARCHAR, fa_cup VARCHAR)
SELECT league_a FROM table_name_47 WHERE fa_cup = "6 (20)"
Write a SQL query that answers the following question: What club wast he player hristo stoitchkov from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (club VARCHAR, player VARCHAR)
SELECT club FROM table_name_97 WHERE player = "hristo stoitchkov"
Write a SQL query that answers the following question: What is the content for la sorgente sat 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (content VARCHAR, television_service VARCHAR)
SELECT content FROM table_name_20 WHERE television_service = "la sorgente sat 3"
Write a SQL query that answers the following question: What language is telemarket for you?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (language VARCHAR, television_service VARCHAR)
SELECT language FROM table_name_3 WHERE television_service = "telemarket for you"
Write a SQL query that answers the following question: What language is telemarket for you with a content of televendita?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (language VARCHAR, content VARCHAR, television_service VARCHAR)
SELECT language FROM table_name_59 WHERE content = "televendita" AND television_service = "telemarket for you"
Write a SQL query that answers the following question: Which team has points less than 6 in a year after 1969?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (team VARCHAR, points VARCHAR, year VARCHAR)
SELECT team FROM table_name_81 WHERE points < 6 AND year > 1969
Write a SQL query that answers the following question: How many wins for the team with points less than 6 and a 350cc class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (wins VARCHAR, points VARCHAR, class VARCHAR)
SELECT wins FROM table_name_35 WHERE points < 6 AND class = "350cc"
Write a SQL query that answers the following question: What is the lowest points for 36th rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (points INTEGER, rank VARCHAR)
SELECT MIN(points) FROM table_name_18 WHERE rank = "36th"
Write a SQL query that answers the following question: What is team Yamaha with 3 points ranked?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (rank VARCHAR, team VARCHAR, points VARCHAR)
SELECT rank FROM table_name_8 WHERE team = "yamaha" AND points = 3
Write a SQL query that answers the following question: What years did the player ranked less than 8 and had 447 matches play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (years VARCHAR, rank VARCHAR, matches VARCHAR)
SELECT years FROM table_name_83 WHERE rank < 8 AND matches = 447
Write a SQL query that answers the following question: What is the Time with a Record that is 15-7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (time VARCHAR, record VARCHAR)
SELECT time FROM table_name_98 WHERE record = "15-7"
Write a SQL query that answers the following question: What is the Event with a Time that is 3:06?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (event VARCHAR, time VARCHAR)
SELECT event FROM table_name_85 WHERE time = "3:06"
Write a SQL query that answers the following question: How many silvers did Turkey get?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (silver VARCHAR, nation VARCHAR)
SELECT silver FROM table_name_78 WHERE nation = "turkey"
Write a SQL query that answers the following question: What position does Denard Walker play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_98 WHERE player = "denard walker"
Write a SQL query that answers the following question: What was the pick number for the wide receiver drafted from Michigan State?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (pick__number VARCHAR, position VARCHAR, college VARCHAR)
SELECT pick__number FROM table_name_7 WHERE position = "wide receiver" AND college = "michigan state"
Write a SQL query that answers the following question: Which player came from Kent State?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_38 WHERE college = "kent state"
Write a SQL query that answers the following question: What is the total number of bronze medals, and 4 silver medals, and 2 gold medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (bronze VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT COUNT(bronze) FROM table_name_28 WHERE silver = 4 AND gold > 2
Write a SQL query that answers the following question: Which Tournament has a score of 2–6 6–4 [10–8]?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_9 WHERE score = "2–6 6–4 [10–8]"
Write a SQL query that answers the following question: Which Tournament has a Score of 6(4)–7 2–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_73 WHERE score = "6(4)–7 2–6"
Write a SQL query that answers the following question: What is the Score of the match where Opponents in the Final was Vitalia Diatchenko Irena Pavlovic?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (score VARCHAR, opponents_in_the_final VARCHAR)
SELECT score FROM table_name_46 WHERE opponents_in_the_final = "vitalia diatchenko irena pavlovic"
Write a SQL query that answers the following question: What is the High rebounds with a Game that is 62?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (high_rebounds VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_name_71 WHERE game = 62
Write a SQL query that answers the following question: What is the Team with a Score that is l 79–92 (ot)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (team VARCHAR, score VARCHAR)
SELECT team FROM table_name_35 WHERE score = "l 79–92 (ot)"
Write a SQL query that answers the following question: Who is the coach of the 2012 Gold Coast Titans season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (coach VARCHAR, details VARCHAR)
SELECT coach FROM table_name_4 WHERE details = "2012 gold coast titans season"
Write a SQL query that answers the following question: Who is the coach of the 2010 Gold Coast Titans season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (coach VARCHAR, details VARCHAR)
SELECT coach FROM table_name_8 WHERE details = "2010 gold coast titans season"
Write a SQL query that answers the following question: Who is the captain of the 2012 NRL season competition?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (captain_s_ VARCHAR, competition VARCHAR)
SELECT captain_s_ FROM table_name_75 WHERE competition = "2012 nrl season"
Write a SQL query that answers the following question: How many wins were in the PGA Championship when there were more than 10 events?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (wins VARCHAR, tournament VARCHAR, events VARCHAR)
SELECT COUNT(wins) FROM table_name_55 WHERE tournament = "pga championship" AND events > 10
Write a SQL query that answers the following question: What is the smallest number of cuts when there were more than 0 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (cuts_made INTEGER, wins INTEGER)
SELECT MIN(cuts_made) FROM table_name_59 WHERE wins > 0
Write a SQL query that answers the following question: What is the total number of Rank for 1996–2007, when there are more than 108 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (rank VARCHAR, years VARCHAR, goals VARCHAR)
SELECT COUNT(rank) FROM table_name_51 WHERE years = "1996–2007" AND goals > 108
Write a SQL query that answers the following question: What is the lowest Rank when the goals are less than 124 for Jeff Cunningham?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (rank INTEGER, goals VARCHAR, name VARCHAR)
SELECT MIN(rank) FROM table_name_50 WHERE goals > 124 AND name = "jeff cunningham"
Write a SQL query that answers the following question: What is the total number of Rank with 100 goals, and less than 300 matches?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (rank VARCHAR, goals VARCHAR, matches VARCHAR)
SELECT COUNT(rank) FROM table_name_3 WHERE goals = 100 AND matches < 300
Write a SQL query that answers the following question: What is the highest Rank for Jason Kreis, with less than 305 matches?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR, matches VARCHAR)
SELECT MAX(rank) FROM table_name_67 WHERE name = "jason kreis" AND matches < 305
Write a SQL query that answers the following question: What is the least number of wins when the top 10 is more than 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (wins INTEGER, top_10 INTEGER)
SELECT MIN(wins) FROM table_name_41 WHERE top_10 > 8
Write a SQL query that answers the following question: What is the sum of cuts made when the top-5 is 2, and there are 12 events?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (cuts_made VARCHAR, top_5 VARCHAR, events VARCHAR)
SELECT COUNT(cuts_made) FROM table_name_45 WHERE top_5 = 2 AND events = 12
Write a SQL query that answers the following question: What is the mean number in the top 5 when the top 25 is 1 and there's fewer than 0 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (top_5 INTEGER, top_25 VARCHAR, wins VARCHAR)
SELECT AVG(top_5) FROM table_name_61 WHERE top_25 = 1 AND wins < 0
Write a SQL query that answers the following question: What is the mean number of events when top-5 is 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (events INTEGER, top_5 VARCHAR)
SELECT AVG(events) FROM table_name_51 WHERE top_5 = 1
Write a SQL query that answers the following question: How many top-25s are associated with more than 91 events?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (top_25 INTEGER, events INTEGER)
SELECT SUM(top_25) FROM table_name_24 WHERE events > 91
Write a SQL query that answers the following question: What is the lowest Wins with a Top-10 that is larger than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER)
SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9
Write a SQL query that answers the following question: What is the average Cuts that were made with a Top-10 that is larger than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (cuts_made INTEGER, top_10 INTEGER)
SELECT AVG(cuts_made) FROM table_name_15 WHERE top_10 > 9
Write a SQL query that answers the following question: Which record has 64,053 as the attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_51 WHERE attendance = "64,053"
Write a SQL query that answers the following question: Which date has rich stadium as the game site for week 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (date VARCHAR, game_site VARCHAR, week VARCHAR)
SELECT date FROM table_name_13 WHERE game_site = "rich stadium" AND week = 1
Write a SQL query that answers the following question: Which date has 1 as the week?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_22 WHERE week = 1