instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which loss has a Date of april 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_30 WHERE date = "april 26"
Write a SQL query that answers the following question: Which date has an Opponent of angels, and a Loss of sanderson (0–1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT date FROM table_name_95 WHERE opponent = "angels" AND loss = "sanderson (0–1)"
Write a SQL query that answers the following question: What is the largest Attendance with a Loss of darling (0–1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (attendance INTEGER, loss VARCHAR)
SELECT MAX(attendance) FROM table_name_35 WHERE loss = "darling (0–1)"
Write a SQL query that answers the following question: What is the maximum capacity of the San Agustin Gym?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (maximum_seating_capacity VARCHAR, arena_venue VARCHAR)
SELECT maximum_seating_capacity FROM table_name_91 WHERE arena_venue = "san agustin gym"
Write a SQL query that answers the following question: Where is the Cagayan de Oro city located?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (province_region VARCHAR, location VARCHAR)
SELECT province_region FROM table_name_98 WHERE location = "cagayan de oro city"
Write a SQL query that answers the following question: Where is the Holy Cross of Davao College campus located?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (province_region VARCHAR, home_campus VARCHAR)
SELECT province_region FROM table_name_42 WHERE home_campus = "holy cross of davao college"
Write a SQL query that answers the following question: Which campus has the San Agustin gym?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (home_campus VARCHAR, arena_venue VARCHAR)
SELECT home_campus FROM table_name_2 WHERE arena_venue = "san agustin gym"
Write a SQL query that answers the following question: What year did the San Agustin gym open?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (year_opened VARCHAR, arena_venue VARCHAR)
SELECT year_opened FROM table_name_44 WHERE arena_venue = "san agustin gym"
Write a SQL query that answers the following question: Which player has a total bigger than 285 and a to par of +14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (player VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_10 WHERE total > 285 AND to_par = "+14"
Write a SQL query that answers the following question: What is the highest total with a t12 finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (total INTEGER, finish VARCHAR)
SELECT MAX(total) FROM table_name_61 WHERE finish = "t12"
Write a SQL query that answers the following question: Which country has a finish of t4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (country VARCHAR, finish VARCHAR)
SELECT country FROM table_name_98 WHERE finish = "t4"
Write a SQL query that answers the following question: What year won has a total less than 281?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (year_s__won VARCHAR, total INTEGER)
SELECT year_s__won FROM table_name_71 WHERE total < 281
Write a SQL query that answers the following question: Which chassis is ranked 24th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (chassis VARCHAR, rank VARCHAR)
SELECT chassis FROM table_name_96 WHERE rank = "24th"
Write a SQL query that answers the following question: Which chassis was made in 1993?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (chassis VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_94 WHERE year = 1993
Write a SQL query that answers the following question: Which team is from earlier than 1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (team VARCHAR, year INTEGER)
SELECT team FROM table_name_53 WHERE year < 1994
Write a SQL query that answers the following question: What rank is later than 1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (rank VARCHAR, year INTEGER)
SELECT rank FROM table_name_4 WHERE year > 1994
Write a SQL query that answers the following question: What year did the King team have fewer than 10 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (year INTEGER, team VARCHAR, points VARCHAR)
SELECT AVG(year) FROM table_name_66 WHERE team = "king" AND points < 10
Write a SQL query that answers the following question: What are the average points for the Project Indy team that has the Ford xb engine?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (points INTEGER, engine VARCHAR, team VARCHAR)
SELECT AVG(points) FROM table_name_42 WHERE engine = "ford xb" AND team = "project indy"
Write a SQL query that answers the following question: Name the became consort for marriage of 4 april 1721
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (became_consort VARCHAR, marriage VARCHAR)
SELECT became_consort FROM table_name_92 WHERE marriage = "4 april 1721"
Write a SQL query that answers the following question: Name the birth of the person that has a spouse of frederick iv and became consort of 4 april 1721
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (birth VARCHAR, spouse VARCHAR, became_consort VARCHAR)
SELECT birth FROM table_name_55 WHERE spouse = "frederick iv" AND became_consort = "4 april 1721"
Write a SQL query that answers the following question: Name the became consort for ceased to be consort of 4 april 1588 husband's death
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (became_consort VARCHAR, ceased_to_be_consort VARCHAR)
SELECT became_consort FROM table_name_14 WHERE ceased_to_be_consort = "4 april 1588 husband's death"
Write a SQL query that answers the following question: Name the marriage of the person who is married for christian viii
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (marriage VARCHAR, spouse VARCHAR)
SELECT marriage FROM table_name_74 WHERE spouse = "christian viii"
Write a SQL query that answers the following question: Who has 48 points in the class of 500 cc?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (team VARCHAR, points VARCHAR, class VARCHAR)
SELECT team FROM table_name_11 WHERE points = 48 AND class = "500 cc"
Write a SQL query that answers the following question: How many wins does Benelli have before 1962?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (wins VARCHAR, team VARCHAR, year VARCHAR)
SELECT COUNT(wins) FROM table_name_43 WHERE team = "benelli" AND year < 1962
Write a SQL query that answers the following question: Which is Natural Wood Keyboard with a Model of clps306?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (natural_wood_keyboard VARCHAR, model VARCHAR)
SELECT natural_wood_keyboard FROM table_name_18 WHERE model = "clps306"
Write a SQL query that answers the following question: Which Graded Hammer (Non GH3) has a Model of cvp501?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (graded_hammer__non_gh3_ VARCHAR, model VARCHAR)
SELECT graded_hammer__non_gh3_ FROM table_name_44 WHERE model = "cvp501"
Write a SQL query that answers the following question: Which Natural Wood Keyboard has a CLP380 ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (natural_wood_keyboard VARCHAR, model VARCHAR)
SELECT natural_wood_keyboard FROM table_name_21 WHERE model = "clp380"
Write a SQL query that answers the following question: Which Graded Hammer Three (GH3) shows Model of clp320?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (graded_hammer_three__gh3_ VARCHAR, model VARCHAR)
SELECT graded_hammer_three__gh3_ FROM table_name_20 WHERE model = "clp320"
Write a SQL query that answers the following question: What was the date for the French Grand Prix?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_19 WHERE name = "french grand prix"
Write a SQL query that answers the following question: What was the name for the race in the Miramas circuit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (name VARCHAR, circuit VARCHAR)
SELECT name FROM table_name_31 WHERE circuit = "miramas"
Write a SQL query that answers the following question: Which circuit was Delage the winning constructor for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (circuit VARCHAR, winning_constructor VARCHAR)
SELECT circuit FROM table_name_44 WHERE winning_constructor = "delage"
Write a SQL query that answers the following question: What is the name for the Monza circuit race were Bugatti was the winning constructor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (name VARCHAR, winning_constructor VARCHAR, circuit VARCHAR)
SELECT name FROM table_name_51 WHERE winning_constructor = "bugatti" AND circuit = "monza"
Write a SQL query that answers the following question: Which report shows that Frank Lockhart was a winning driver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (report VARCHAR, winning_drivers VARCHAR)
SELECT report FROM table_name_79 WHERE winning_drivers = "frank lockhart"
Write a SQL query that answers the following question: What Ranking has Gold less than 20 and the Event 1976 Toronto?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (ranking VARCHAR, gold VARCHAR, event VARCHAR)
SELECT ranking FROM table_name_25 WHERE gold < 20 AND event = "1976 toronto"
Write a SQL query that answers the following question: What Gold has a Silver greater than 30 and a Total less than 107?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (gold VARCHAR, silver VARCHAR, total VARCHAR)
SELECT gold FROM table_name_40 WHERE silver > 30 AND total < 107
Write a SQL query that answers the following question: What is the highest Bronze with the Event 1972 Heidelberg and Total less than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (bronze INTEGER, event VARCHAR, total VARCHAR)
SELECT MAX(bronze) FROM table_name_27 WHERE event = "1972 heidelberg" AND total < 5
Write a SQL query that answers the following question: What is the Total with the Event 2004 Athens and Gold less than 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (total INTEGER, event VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_21 WHERE event = "2004 athens" AND gold < 20
Write a SQL query that answers the following question: What is the lowest Bronze with a Ranking of 22nd of 32 and Gold larger than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (bronze INTEGER, ranking VARCHAR, gold VARCHAR)
SELECT MIN(bronze) FROM table_name_2 WHERE ranking = "22nd of 32" AND gold > 4
Write a SQL query that answers the following question: Which polling firm put T. Papadopoulos at 31%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (polling_firm VARCHAR, t_papadopoulos VARCHAR)
SELECT polling_firm FROM table_name_91 WHERE t_papadopoulos = "31%"
Write a SQL query that answers the following question: What was the percentage for T. Papadopoulos when I. Kasoulidis was 27.1%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (t_papadopoulos VARCHAR, i_kasoulidis VARCHAR)
SELECT t_papadopoulos FROM table_name_85 WHERE i_kasoulidis = "27.1%"
Write a SQL query that answers the following question: What was the percentage for K. Themistokleous when I. Kasoulidis was 30.1%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (k_themistokleous VARCHAR, i_kasoulidis VARCHAR)
SELECT k_themistokleous FROM table_name_65 WHERE i_kasoulidis = "30.1%"
Write a SQL query that answers the following question: What was the percentage for T. Papadopoulos when D. Christofias was 28.4%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (t_papadopoulos VARCHAR, d_christofias VARCHAR)
SELECT t_papadopoulos FROM table_name_48 WHERE d_christofias = "28.4%"
Write a SQL query that answers the following question: Which tournament has a 2007 of 2r, and a 2011 of 2r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (tournament VARCHAR)
SELECT tournament FROM table_name_93 WHERE 2007 = "2r" AND 2011 = "2r"
Write a SQL query that answers the following question: What is the number of titles for the city of gyΕ‘r with a rank larger than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (titles INTEGER, city VARCHAR, rank VARCHAR)
SELECT SUM(titles) FROM table_name_47 WHERE city = "gyΕ‘r" AND rank > 4
Write a SQL query that answers the following question: What is the Score of the Toronto Maple Leafs home game on February 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_99 WHERE home = "toronto maple leafs" AND date = "february 1"
Write a SQL query that answers the following question: What is the score of the Boston Bruins away game on March 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_92 WHERE visitor = "boston bruins" AND date = "march 13"
Write a SQL query that answers the following question: What visiting team has a record of 9–5–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_93 WHERE record = "9–5–2"
Write a SQL query that answers the following question: What is the score of the game with a record of 12–8–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_98 WHERE record = "12–8–3"
Write a SQL query that answers the following question: What is the date that the Montreal Canadiens hosted a game with a record of 14–11–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (date VARCHAR, home VARCHAR, record VARCHAR)
SELECT date FROM table_name_77 WHERE home = "montreal canadiens" AND record = "14–11–3"
Write a SQL query that answers the following question: What is the country of Craig Stadler?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_65 WHERE player = "craig stadler"
Write a SQL query that answers the following question: What is the average total of Gay Brewer from the United States with a to par of 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (total INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT AVG(total) FROM table_name_49 WHERE country = "united states" AND to_par = 9 AND player = "gay brewer"
Write a SQL query that answers the following question: What was the finish by the player from West Germany?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (finish VARCHAR, country VARCHAR)
SELECT finish FROM table_name_36 WHERE country = "west germany"
Write a SQL query that answers the following question: What is the smallest goal during the 2006 fifa world cup qualification competition?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (goal INTEGER, competition VARCHAR)
SELECT MIN(goal) FROM table_name_45 WHERE competition = "2006 fifa world cup qualification"
Write a SQL query that answers the following question: Name the representative for party of whig
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (representative VARCHAR, party VARCHAR)
SELECT representative FROM table_name_76 WHERE party = "whig"
Write a SQL query that answers the following question: Name the total number of years for chassis of maserati 250f and points less than 0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (year VARCHAR, chassis VARCHAR, points VARCHAR)
SELECT COUNT(year) FROM table_name_85 WHERE chassis = "maserati 250f" AND points < 0
Write a SQL query that answers the following question: Name the engine with chassis of maserati 250f and entrant of luigi piotti with year less than 1957
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR)
SELECT engine FROM table_name_8 WHERE chassis = "maserati 250f" AND entrant = "luigi piotti" AND year < 1957
Write a SQL query that answers the following question: Name the sum of points for chassis of maserati 250f and entrant of officine alfieri maserati
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (points INTEGER, chassis VARCHAR, entrant VARCHAR)
SELECT SUM(points) FROM table_name_80 WHERE chassis = "maserati 250f" AND entrant = "officine alfieri maserati"
Write a SQL query that answers the following question: Name the lowest points for officine alfieri maserati
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (points INTEGER, entrant VARCHAR)
SELECT MIN(points) FROM table_name_7 WHERE entrant = "officine alfieri maserati"
Write a SQL query that answers the following question: How tall is Ye Fei?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (height VARCHAR, players VARCHAR)
SELECT height FROM table_name_36 WHERE players = "ye fei"
Write a SQL query that answers the following question: What is the attendance of the game on July 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (attendance INTEGER, date VARCHAR)
SELECT SUM(attendance) FROM table_name_1 WHERE date = "july 26"
Write a SQL query that answers the following question: How many years did the team place 2nd in Antwerp, Belgium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (year VARCHAR, venue VARCHAR, result VARCHAR)
SELECT COUNT(year) FROM table_name_21 WHERE venue = "antwerp, belgium" AND result = "2nd"
Write a SQL query that answers the following question: What is the name of the venue that was used before 1991?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (venue VARCHAR, year INTEGER)
SELECT venue FROM table_name_23 WHERE year < 1991
Write a SQL query that answers the following question: How many years did the team place 2nd in Auckland, New Zealand?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (year VARCHAR, result VARCHAR, venue VARCHAR)
SELECT COUNT(year) FROM table_name_30 WHERE result = "2nd" AND venue = "auckland, new zealand"
Write a SQL query that answers the following question: What was the started round for the competition that had the last match on January 16, 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (started_round VARCHAR, last_match VARCHAR)
SELECT started_round FROM table_name_57 WHERE last_match = "january 16, 2008"
Write a SQL query that answers the following question: On what date was the first match for the competition that ended its last match on December 16, 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (first_match VARCHAR, last_match VARCHAR)
SELECT first_match FROM table_name_81 WHERE last_match = "december 16, 2007"
Write a SQL query that answers the following question: What competition had a final round in the finals and the final position winners?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR)
SELECT competition FROM table_name_66 WHERE final_position = "winners" AND final_round = "finals"
Write a SQL query that answers the following question: On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (first_match VARCHAR, final_position VARCHAR, final_round VARCHAR)
SELECT first_match FROM table_name_35 WHERE final_position = "winners" AND final_round = "finals"
Write a SQL query that answers the following question: What competition had its first match on December 20, 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (competition VARCHAR, first_match VARCHAR)
SELECT competition FROM table_name_15 WHERE first_match = "december 20, 2007"
Write a SQL query that answers the following question: What was the date of the first match of the Fifa Club World Cup that ended with the final position as winners?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (first_match VARCHAR, final_position VARCHAR, competition VARCHAR)
SELECT first_match FROM table_name_6 WHERE final_position = "winners" AND competition = "fifa club world cup"
Write a SQL query that answers the following question: What was Len Sutton's total number of completed laps when his qualifying time was 142.653?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (laps VARCHAR, qual VARCHAR)
SELECT COUNT(laps) FROM table_name_49 WHERE qual = "142.653"
Write a SQL query that answers the following question: What call sign has a frequency of 91.3 MHz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (call_sign VARCHAR, frequency_mhz VARCHAR)
SELECT call_sign FROM table_name_81 WHERE frequency_mhz = 91.3
Write a SQL query that answers the following question: What city of license has a value of k293bg for its call sign?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_82 WHERE call_sign = "k293bg"
Write a SQL query that answers the following question: When the frequency is 103.7 MHz and the ERP W is more than 10, what is the call sign?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)
SELECT call_sign FROM table_name_77 WHERE erp_w > 10 AND frequency_mhz = 103.7
Write a SQL query that answers the following question: In Los Banos, California, when the ERP W is than 10, what is the average Frequency MHz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (frequency_mhz INTEGER, city_of_license VARCHAR, erp_w VARCHAR)
SELECT AVG(frequency_mhz) FROM table_name_21 WHERE city_of_license = "los banos, california" AND erp_w < 10
Write a SQL query that answers the following question: What is the call sign when the frequency is less than 95.5 MHz, and a ERP W is higher than 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT call_sign FROM table_name_16 WHERE frequency_mhz < 95.5 AND erp_w > 10
Write a SQL query that answers the following question: Name the player with score of 73-69-74-71=287
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287
Write a SQL query that answers the following question: Name the sum To par for score of 71-74-71-72=288
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (to_par INTEGER, score VARCHAR)
SELECT SUM(to_par) FROM table_name_26 WHERE score = 71 - 74 - 71 - 72 = 288
Write a SQL query that answers the following question: Tell me the tournament for kathy horvath opponent
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_95 WHERE opponent = "kathy horvath"
Write a SQL query that answers the following question: Name the date for hard surface at maybelline classic with opponent of wendy turnbull
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (date VARCHAR, opponent VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_59 WHERE surface = "hard" AND tournament = "maybelline classic" AND opponent = "wendy turnbull"
Write a SQL query that answers the following question: Name the tournament for semifinal hard surface for opponent of pam casale
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (tournament VARCHAR, opponent VARCHAR, round VARCHAR, surface VARCHAR)
SELECT tournament FROM table_name_86 WHERE round = "semifinal" AND surface = "hard" AND opponent = "pam casale"
Write a SQL query that answers the following question: Name the date for grass surface for quarterfinal at the nsw building society open tournament
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date VARCHAR, tournament VARCHAR, surface VARCHAR, round VARCHAR)
SELECT date FROM table_name_36 WHERE surface = "grass" AND round = "quarterfinal" AND tournament = "nsw building society open"
Write a SQL query that answers the following question: Name the surface for united airlines tournament of champions final round
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (surface VARCHAR, tournament VARCHAR, round VARCHAR)
SELECT surface FROM table_name_56 WHERE tournament = "united airlines tournament of champions" AND round = "final"
Write a SQL query that answers the following question: Name the date for chris evert opponent and carpet surface
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR, surface VARCHAR)
SELECT date FROM table_name_98 WHERE opponent = "chris evert" AND surface = "carpet"
Write a SQL query that answers the following question: Name the venue for 25 may 2008
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_94 WHERE date = "25 may 2008"
Write a SQL query that answers the following question: Name the score for 2015 afc asian cup qualification
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_73 WHERE competition = "2015 afc asian cup qualification"
Write a SQL query that answers the following question: Name the competition for 13 december 2012
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_6 WHERE date = "13 december 2012"
Write a SQL query that answers the following question: What was arrows racing team's highest points after 1982?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (points INTEGER, entrant VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_51 WHERE entrant = "arrows racing team" AND year > 1982
Write a SQL query that answers the following question: How many years has 2 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (year INTEGER, points VARCHAR)
SELECT SUM(year) FROM table_name_85 WHERE points = 2
Write a SQL query that answers the following question: Name the catalogue with song title of love me tonight
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (catalogue VARCHAR, song_title VARCHAR)
SELECT catalogue FROM table_name_33 WHERE song_title = "love me tonight"
Write a SQL query that answers the following question: Name the song title with time of 1:51
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (song_title VARCHAR, time VARCHAR)
SELECT song_title FROM table_name_75 WHERE time = "1:51"
Write a SQL query that answers the following question: Name the least track with song of little sister
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (track INTEGER, song_title VARCHAR)
SELECT MIN(track) FROM table_name_67 WHERE song_title = "little sister"
Write a SQL query that answers the following question: What player has a score of 79?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_53 WHERE score = "79"
Write a SQL query that answers the following question: Who played on waca ground and scored 79 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (opponent VARCHAR, ground VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_43 WHERE ground = "waca ground" AND score = "79"
Write a SQL query that answers the following question: What player had 49 balls?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (player VARCHAR, balls VARCHAR)
SELECT player FROM table_name_8 WHERE balls = 49
Write a SQL query that answers the following question: What was the highest attendance of a game that had a score of 3-5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (attendance INTEGER, score VARCHAR)
SELECT MAX(attendance) FROM table_name_83 WHERE score = "3-5"
Write a SQL query that answers the following question: Who took the loss in the game that ended with a 54-61 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_29 WHERE record = "54-61"
Write a SQL query that answers the following question: Name the 125cc winner with circuit of estoril
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (circuit VARCHAR)
SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril"
Write a SQL query that answers the following question: Name the date for motogp winner of casey stoner and grand prix of valencian grand prix
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (date VARCHAR, motogp_winner VARCHAR, grand_prix VARCHAR)
SELECT date FROM table_name_15 WHERE motogp_winner = "casey stoner" AND grand_prix = "valencian grand prix"
Write a SQL query that answers the following question: Name the circuit for round 18
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (circuit VARCHAR, round VARCHAR)
SELECT circuit FROM table_name_25 WHERE round = 18
Write a SQL query that answers the following question: Name the grand prix for casey stoner and circuit of losail
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (grand_prix VARCHAR, motogp_winner VARCHAR, circuit VARCHAR)
SELECT grand_prix FROM table_name_55 WHERE motogp_winner = "casey stoner" AND circuit = "losail"