instruction
stringlengths 67
299
| input
stringlengths 88
550
| output
stringlengths 32
484
|
---|---|---|
Write a SQL query that answers the following question: Who were the Opponents in the final that played on a carpet (i) Surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (opponents_in_the_final VARCHAR, surface VARCHAR) | SELECT opponents_in_the_final FROM table_name_62 WHERE surface = "carpet (i)" |
Write a SQL query that answers the following question: Played on Clay Surface, what was the Score of the Dortmund Tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (score_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT score_in_the_final FROM table_name_70 WHERE surface = "clay" AND tournament = "dortmund" |
Write a SQL query that answers the following question: Who is Partner Frederik Nielsen's Opponents in the final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (opponents_in_the_final VARCHAR, partner VARCHAR) | SELECT opponents_in_the_final FROM table_name_38 WHERE partner = "frederik nielsen" |
Write a SQL query that answers the following question: What is Partner Tomas Behrend's Score in the final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (score_in_the_final VARCHAR, partner VARCHAR) | SELECT score_in_the_final FROM table_name_48 WHERE partner = "tomas behrend" |
Write a SQL query that answers the following question: What Country does Larry Mize play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_67 WHERE player = "larry mize" |
Write a SQL query that answers the following question: What is the winning total from 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (total INTEGER, year_s__won VARCHAR) | SELECT MAX(total) FROM table_name_20 WHERE year_s__won = "1976" |
Write a SQL query that answers the following question: What year was owner Michael E. Pegram's last win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (year INTEGER, owner VARCHAR) | SELECT MAX(year) FROM table_name_42 WHERE owner = "michael e. pegram" |
Write a SQL query that answers the following question: Who is the trainer for Cherry Valley Farm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (trainer VARCHAR, owner VARCHAR) | SELECT trainer FROM table_name_94 WHERE owner = "cherry valley farm" |
Write a SQL query that answers the following question: Who owned winner Blueeyesintherein after 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (owner VARCHAR, year VARCHAR, winner VARCHAR) | SELECT owner FROM table_name_75 WHERE year > 2009 AND winner = "blueeyesintherein" |
Write a SQL query that answers the following question: Who was the Blue Jays' opponent when their record was 33-15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_8 WHERE record = "33-15" |
Write a SQL query that answers the following question: Who did the Blue Jays lose to when their record was 36-20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_3 WHERE record = "36-20" |
Write a SQL query that answers the following question: What is the rank of the qual 141.471? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (rank VARCHAR, qual VARCHAR) | SELECT rank FROM table_name_3 WHERE qual = "141.471" |
Write a SQL query that answers the following question: What is the start of lap 55? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (start VARCHAR, laps VARCHAR) | SELECT start FROM table_name_18 WHERE laps = 55 |
Write a SQL query that answers the following question: What is rank of the year 1956? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (rank VARCHAR, year VARCHAR) | SELECT rank FROM table_name_63 WHERE year = "1956" |
Write a SQL query that answers the following question: What is the lap number for the rank of 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (laps VARCHAR, rank VARCHAR) | SELECT laps FROM table_name_78 WHERE rank = "13" |
Write a SQL query that answers the following question: What is the rank for 1961? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (rank VARCHAR, year VARCHAR) | SELECT rank FROM table_name_33 WHERE year = "1961" |
Write a SQL query that answers the following question: What is the sum of the lap with a finish of 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (laps INTEGER, finish VARCHAR) | SELECT SUM(laps) FROM table_name_60 WHERE finish = "24" |
Write a SQL query that answers the following question: Which band plays Self Versus Self - Immersion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (band VARCHAR, album_or_song VARCHAR) | SELECT band FROM table_name_17 WHERE album_or_song = "self versus self - immersion" |
Write a SQL query that answers the following question: What Event used submission (rear naked choke) with 9-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (event VARCHAR, method VARCHAR, record VARCHAR) | SELECT event FROM table_name_11 WHERE method = "submission (rear naked choke)" AND record = "9-4" |
Write a SQL query that answers the following question: What event was Donald Ouimet involved? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_41 WHERE opponent = "donald ouimet" |
Write a SQL query that answers the following question: What event did she finish 3rd in 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (event VARCHAR, position VARCHAR, year VARCHAR) | SELECT event FROM table_name_37 WHERE position = "3rd" AND year = 2010 |
Write a SQL query that answers the following question: What year did she compete in tampere, finland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (year INTEGER, venue VARCHAR) | SELECT AVG(year) FROM table_name_95 WHERE venue = "tampere, finland" |
Write a SQL query that answers the following question: Ben Hogan with a score larger than 66 had a place listed of what? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (place VARCHAR, score VARCHAR, player VARCHAR) | SELECT place FROM table_name_77 WHERE score > 66 AND player = "ben hogan" |
Write a SQL query that answers the following question: With a score of 70, this player's name is listed as what? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_27 WHERE score = 70 |
Write a SQL query that answers the following question: With a score smaller than 71 along with a place of t6, what is the To par score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (to_par VARCHAR, score VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_69 WHERE score < 71 AND place = "t6" |
Write a SQL query that answers the following question: Which Hanyu Pinyin has a GDP in 2011 larger than 688.02 billion yuan and a regional population of 8,700,400 in 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (hanyu_pinyin VARCHAR, gdp_2011__billion_yuan_ VARCHAR, regional_population_2010_ VARCHAR) | SELECT hanyu_pinyin FROM table_name_98 WHERE gdp_2011__billion_yuan_ > 688.02 AND regional_population_2010_ = "8,700,400" |
Write a SQL query that answers the following question: Which Hanzi has a Regional Population of 4,591,972 in 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (hanzi VARCHAR, regional_population_2010_ VARCHAR) | SELECT hanzi FROM table_name_92 WHERE regional_population_2010_ = "4,591,972" |
Write a SQL query that answers the following question: What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 55.62? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (name VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR) | SELECT name FROM table_name_19 WHERE rank < 5 AND time < 55.62 AND lane < 5 AND nationality = "netherlands" |
Write a SQL query that answers the following question: What is the highest Rank of Karen Pickering when she had a time of less than 55.71? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (rank INTEGER, name VARCHAR, time VARCHAR) | SELECT MAX(rank) FROM table_name_59 WHERE name = "karen pickering" AND time < 55.71 |
Write a SQL query that answers the following question: What is the highest Lane number of a person with a time of 55.94 with a Rank that's bigger than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (lane INTEGER, time VARCHAR, rank VARCHAR) | SELECT MAX(lane) FROM table_name_68 WHERE time > 55.94 AND rank > 8 |
Write a SQL query that answers the following question: What was the date of the game that had a loss of Burns (0-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_85 WHERE loss = "burns (0-1)" |
Write a SQL query that answers the following question: What was the loss of the game when the record was 20-16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_77 WHERE record = "20-16" |
Write a SQL query that answers the following question: What was the loss of the game that had an attendance of 18,769? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (loss VARCHAR, attendance VARCHAR) | SELECT loss FROM table_name_22 WHERE attendance = "18,769" |
Write a SQL query that answers the following question: What was the date of the game that had a loss of Geisel (0-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_5 WHERE loss = "geisel (0-1)" |
Write a SQL query that answers the following question: What is the date of the game against the Royals that had an attendance of 12,699? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_12 WHERE opponent = "royals" AND attendance = "12,699" |
Write a SQL query that answers the following question: When Regions center has a rank less than 11, what is the greatest number o floors? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (floors INTEGER, name VARCHAR, rank VARCHAR) | SELECT MAX(floors) FROM table_name_62 WHERE name = "regions center" AND rank < 11 |
Write a SQL query that answers the following question: What is the average rank for a building with 24 floors? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (rank INTEGER, floors VARCHAR) | SELECT AVG(rank) FROM table_name_84 WHERE floors = 24 |
Write a SQL query that answers the following question: What is the rank for Omni nashville hotel? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (rank INTEGER, name VARCHAR) | SELECT SUM(rank) FROM table_name_89 WHERE name = "omni nashville hotel" |
Write a SQL query that answers the following question: What is the greatest rank for Fifth third center? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR) | SELECT MAX(rank) FROM table_name_27 WHERE name = "fifth third center" |
Write a SQL query that answers the following question: When a building is 292 (89) ft (m) tall, has less than 23 floors, and ranks less than 14, what is the average year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (year INTEGER, rank VARCHAR, floors VARCHAR, height_ft__m_ VARCHAR) | SELECT AVG(year) FROM table_name_77 WHERE floors < 23 AND height_ft__m_ = "292 (89)" AND rank < 14 |
Write a SQL query that answers the following question: What type of regular season/preseason game was played on August 25, 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (regular_season___preseason VARCHAR, date VARCHAR) | SELECT regular_season___preseason FROM table_name_70 WHERE date = "august 25, 2007" |
Write a SQL query that answers the following question: In what stadium was the game on August 22, 2008 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (stadium VARCHAR, date VARCHAR) | SELECT stadium FROM table_name_36 WHERE date = "august 22, 2008" |
Write a SQL query that answers the following question: In what stadium was the home team Dallas Cowboys 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (stadium VARCHAR, home_team VARCHAR) | SELECT stadium FROM table_name_89 WHERE home_team = "dallas cowboys 21" |
Write a SQL query that answers the following question: On what date was the home team the Dallas Cowboys 34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_28 WHERE home_team = "dallas cowboys 34" |
Write a SQL query that answers the following question: Who was the visiting team on October 15, 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR) | SELECT visiting_team FROM table_name_59 WHERE date = "october 15, 2006" |
Write a SQL query that answers the following question: What's the smallest amount of Laps that had a finish of 7 with a start of 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR) | SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6" |
Write a SQL query that answers the following question: What is the smallest bronze with a Gold smaller than 3, and a Silver larger than 1, and a Rank of 6, and a Nation of hungary? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (bronze INTEGER, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT MIN(bronze) FROM table_name_36 WHERE gold < 3 AND silver > 1 AND rank = 6 AND nation = "hungary" |
Write a SQL query that answers the following question: What is the average bronze with a rank of 4 and less than 1 silver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (bronze INTEGER, rank VARCHAR, silver VARCHAR) | SELECT AVG(bronze) FROM table_name_73 WHERE rank = 4 AND silver < 1 |
Write a SQL query that answers the following question: Which silver has a Gold larger than 4, and a Rank of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (silver VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT silver FROM table_name_74 WHERE gold > 4 AND rank = 1 |
Write a SQL query that answers the following question: What lowest bronze has a total of 3, a Nation of hungary, and a Gold smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR) | SELECT MIN(bronze) FROM table_name_52 WHERE total = 3 AND nation = "hungary" AND gold < 0 |
Write a SQL query that answers the following question: How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (gold INTEGER, silver VARCHAR, rank VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_29 WHERE rank = 7 AND bronze = 1 AND silver < 0 |
Write a SQL query that answers the following question: How many Totals have a Silver smaller than 2, and a Nation of ukraine, and a Gold smaller than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (total VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT COUNT(total) FROM table_name_71 WHERE silver < 2 AND nation = "ukraine" AND gold < 3 |
Write a SQL query that answers the following question: Which player played in 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (player VARCHAR, season VARCHAR) | SELECT player FROM table_name_17 WHERE season = "2007" |
Write a SQL query that answers the following question: What was Min Patel's bowling? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (bowling VARCHAR, player VARCHAR) | SELECT bowling FROM table_name_7 WHERE player = "min patel" |
Write a SQL query that answers the following question: Who was the week 1 nomination when the week 2 nomination was Piia Jarkko? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (week_1 VARCHAR, week_2 VARCHAR) | SELECT week_1 FROM table_name_35 WHERE week_2 = "piia jarkko" |
Write a SQL query that answers the following question: Who was the week 12 nomination when the week 9 nomination walked (day 11)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (week_12 VARCHAR, week_9 VARCHAR) | SELECT week_12 FROM table_name_10 WHERE week_9 = "walked (day 11)" |
Write a SQL query that answers the following question: What is the week 12 nomination that had a week 1 nomination of Maria Maxine and a week 2 nomination of Henri Satu? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (week_12 VARCHAR, week_1 VARCHAR, week_2 VARCHAR) | SELECT week_12 FROM table_name_1 WHERE week_1 = "maria maxine" AND week_2 = "henri satu" |
Write a SQL query that answers the following question: Name the heightfor city of license of malone, ny | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (height_m___ft__ VARCHAR, city_of_license VARCHAR) | SELECT height_m___ft__ FROM table_name_44 WHERE city_of_license = "malone, ny" |
Write a SQL query that answers the following question: Name the class with call sign of wmhn | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (class VARCHAR, call_sign VARCHAR) | SELECT class FROM table_name_74 WHERE call_sign = "wmhn" |
Write a SQL query that answers the following question: Name the frequency with class of b | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (frequency VARCHAR, class VARCHAR) | SELECT frequency FROM table_name_78 WHERE class = "b" |
Write a SQL query that answers the following question: Name the city of license with frequency of 90.1 fm | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (city_of_license VARCHAR, frequency VARCHAR) | SELECT city_of_license FROM table_name_37 WHERE frequency = "90.1 fm" |
Write a SQL query that answers the following question: Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR) | SELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = "89.3 fm" AND facility_id < 40430 |
Write a SQL query that answers the following question: What is the Engine(s) that has f Tyres in 1971? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (engine_s_ VARCHAR, tyres VARCHAR, year VARCHAR) | SELECT engine_s_ FROM table_name_68 WHERE tyres = "f" AND year = 1971 |
Write a SQL query that answers the following question: What was the attendance on June 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (att INTEGER, date VARCHAR) | SELECT MIN(att) FROM table_name_6 WHERE date = "june 27" |
Write a SQL query that answers the following question: Name the surface for 12 september 2006 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_3 WHERE date = "12 september 2006" |
Write a SQL query that answers the following question: Name the score for opponent in the final being paul baccanello | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_46 WHERE opponent_in_the_final = "paul baccanello" |
Write a SQL query that answers the following question: Name the surface for 20 march 2007 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_5 WHERE date = "20 march 2007" |
Write a SQL query that answers the following question: Name the date for opponent in the final being ignasi villacampa | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (date VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_5 WHERE opponent_in_the_final = "ignasi villacampa" |
Write a SQL query that answers the following question: Name the tournament for grass surface and opponent in the final being paul baccanello | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (tournament VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT tournament FROM table_name_11 WHERE surface = "grass" AND opponent_in_the_final = "paul baccanello" |
Write a SQL query that answers the following question: When is the earliest year in milan that guillermo vilas was champion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (year INTEGER, location VARCHAR, champion VARCHAR) | SELECT MIN(year) FROM table_name_43 WHERE location = "milan" AND champion = "guillermo vilas" |
Write a SQL query that answers the following question: Where in 1985 was tim mayotte runner up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR, runner_up VARCHAR) | SELECT location FROM table_name_13 WHERE year > 1985 AND runner_up = "tim mayotte" |
Write a SQL query that answers the following question: What was the score when stefan edberg won after 1978? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (score VARCHAR, year VARCHAR, champion VARCHAR) | SELECT score FROM table_name_68 WHERE year > 1978 AND champion = "stefan edberg" |
Write a SQL query that answers the following question: What is the Facility ID that has a City of license of wheeling, and a ERP kW less than 4.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (facility_id INTEGER, city_of_license VARCHAR, erp_kw VARCHAR) | SELECT MAX(facility_id) FROM table_name_52 WHERE city_of_license = "wheeling" AND erp_kw < 4.5 |
Write a SQL query that answers the following question: What is the City of license that has a ERP kW more than 4.5 and w23dr-d? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (city_of_license VARCHAR, erp_kw VARCHAR, station VARCHAR) | SELECT city_of_license FROM table_name_45 WHERE erp_kw > 4.5 AND station = "w23dr-d" |
Write a SQL query that answers the following question: What is the location that has a date of demolition of 1940 and has a church named Christ Church Greyfriars? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (location VARCHAR, date_of_demolition VARCHAR, church_name VARCHAR) | SELECT location FROM table_name_46 WHERE date_of_demolition = 1940 AND church_name = "christ church greyfriars" |
Write a SQL query that answers the following question: How many dates of demolition are located on Wood Street? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (date_of_demolition VARCHAR, location VARCHAR) | SELECT COUNT(date_of_demolition) FROM table_name_7 WHERE location = "wood street" |
Write a SQL query that answers the following question: What was Olga Govortsova's score when she played on a clay surface on 19 May 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR) | SELECT score FROM table_name_11 WHERE surface = "clay" AND date = "19 may 2008" |
Write a SQL query that answers the following question: What was Olga Govortsova's outcome when she played on a grass surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (outcome VARCHAR, surface VARCHAR) | SELECT outcome FROM table_name_59 WHERE surface = "grass" |
Write a SQL query that answers the following question: What was Olga Govortsova's goal when she played on a clay surface on 26 May 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (score VARCHAR, surface VARCHAR, date VARCHAR) | SELECT score FROM table_name_84 WHERE surface = "clay" AND date = "26 may 2012" |
Write a SQL query that answers the following question: Which mountain range has a rank of 19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (mountain_range VARCHAR, rank VARCHAR) | SELECT mountain_range FROM table_name_35 WHERE rank = 19 |
Write a SQL query that answers the following question: Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (location VARCHAR, mountain_peak VARCHAR, mountain_range VARCHAR, rank VARCHAR) | SELECT location FROM table_name_41 WHERE mountain_range = "coast mountains" AND rank < 18 AND mountain_peak = "skihist mountain" |
Write a SQL query that answers the following question: Which mountain range includes Mount Hubbard? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (mountain_range VARCHAR, mountain_peak VARCHAR) | SELECT mountain_range FROM table_name_64 WHERE mountain_peak = "mount hubbard" |
Write a SQL query that answers the following question: Which province includes Axel Heiberg Island? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (province VARCHAR, mountain_range VARCHAR) | SELECT province FROM table_name_25 WHERE mountain_range = "axel heiberg island" |
Write a SQL query that answers the following question: What are the notes of events that finished in 12th position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (notes VARCHAR, position VARCHAR) | SELECT notes FROM table_name_94 WHERE position = "12th" |
Write a SQL query that answers the following question: Which venue was finished in 2nd position in 1985? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (venue VARCHAR, position VARCHAR, year VARCHAR) | SELECT venue FROM table_name_40 WHERE position = "2nd" AND year = 1985 |
Write a SQL query that answers the following question: What is the average year of events that took place in Antwerp, Belgium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (year INTEGER, venue VARCHAR) | SELECT AVG(year) FROM table_name_97 WHERE venue = "antwerp, belgium" |
Write a SQL query that answers the following question: What's the year of the event that took place most recently in Antwerp, Belgium with team competition notes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (year INTEGER, notes VARCHAR, venue VARCHAR) | SELECT MAX(year) FROM table_name_42 WHERE notes = "team competition" AND venue = "antwerp, belgium" |
Write a SQL query that answers the following question: What was the label's format LP and catalog of CH-9192? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (label VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_76 WHERE format = "lp" AND catalog = "ch-9192" |
Write a SQL query that answers the following question: When was Catalog CHD-9192 published? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_66 WHERE catalog = "chd-9192" |
Write a SQL query that answers the following question: I need the FCC info on the radio Frequency MHz 107.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR) | SELECT fcc_info FROM table_name_64 WHERE frequency_mhz = 107.5 |
Write a SQL query that answers the following question: Give me the MHz Frequency of Allapattah, Florida. | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (frequency_mhz VARCHAR, city_of_license VARCHAR) | SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = "allapattah, florida" |
Write a SQL query that answers the following question: What class does the w298ak sign belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (class VARCHAR, call_sign VARCHAR) | SELECT class FROM table_name_10 WHERE call_sign = "w298ak" |
Write a SQL query that answers the following question: What class is ERP W of 800? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (class VARCHAR, erp_w VARCHAR) | SELECT class FROM table_name_9 WHERE erp_w = 800 |
Write a SQL query that answers the following question: What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR, lost VARCHAR) | SELECT SUM(goals_conceded) FROM table_name_10 WHERE points < 21 AND lost < 8 |
Write a SQL query that answers the following question: What's the total of Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (lost INTEGER, place VARCHAR, points VARCHAR, draw VARCHAR) | SELECT SUM(lost) FROM table_name_69 WHERE points > 28 AND draw = 5 AND place < 1 |
Write a SQL query that answers the following question: What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. Atlético Balboa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (goals_scored INTEGER, points VARCHAR, team VARCHAR) | SELECT SUM(goals_scored) FROM table_name_40 WHERE points < 27 AND team = "c.d. atlético balboa" |
Write a SQL query that answers the following question: What is listed as the Highest Played and that has a Place that is larger than 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (played INTEGER, place INTEGER) | SELECT MAX(played) FROM table_name_9 WHERE place > 10 |
Write a SQL query that answers the following question: What is listed as the Highest Played, has Points of 17, and Draw that is smaller than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (played INTEGER, points VARCHAR, draw VARCHAR) | SELECT MAX(played) FROM table_name_19 WHERE points = 17 AND draw < 5 |
Write a SQL query that answers the following question: When was the game that ended with a score of 6-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_38 WHERE score = "6-4" |
Write a SQL query that answers the following question: What was the score on April 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_39 WHERE date = "april 8" |