instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: what is the club when the runners-up is 1 and the last final won is 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (club VARCHAR, runners_up VARCHAR, last_final_won VARCHAR)
SELECT club FROM table_name_35 WHERE runners_up = 1 AND last_final_won = "1999"
Write a SQL query that answers the following question: what is the last final won when runners-up is 1 and club is rijeka?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (last_final_won VARCHAR, runners_up VARCHAR, club VARCHAR)
SELECT last_final_won FROM table_name_13 WHERE runners_up = 1 AND club = "rijeka"
Write a SQL query that answers the following question: How many times is runners-up less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (winners VARCHAR, runners_up INTEGER)
SELECT COUNT(winners) FROM table_name_11 WHERE runners_up < 0
Write a SQL query that answers the following question: How many games have a Result of 4–0, and an Attendance larger than 12,256?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (game VARCHAR, result VARCHAR, attendance VARCHAR)
SELECT COUNT(game) FROM table_name_29 WHERE result = "4–0" AND attendance > 12 OFFSET 256
Write a SQL query that answers the following question: Which Result has a Venue of away, and a Game smaller than 43, and an Opponent of bournemouth?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (result VARCHAR, opponent VARCHAR, venue VARCHAR, game VARCHAR)
SELECT result FROM table_name_22 WHERE venue = "away" AND game < 43 AND opponent = "bournemouth"
Write a SQL query that answers the following question: Which Result has a Venue of home, and a Date of 3 october 1987?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, date VARCHAR)
SELECT result FROM table_name_54 WHERE venue = "home" AND date = "3 october 1987"
Write a SQL query that answers the following question: What is the score of 1993?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (score VARCHAR, year VARCHAR)
SELECT score FROM table_name_91 WHERE year = "1993"
Write a SQL query that answers the following question: What is the Name when the runner-up was Sania Mirza Elena Vesnina?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (name VARCHAR, runner_up VARCHAR)
SELECT name FROM table_name_77 WHERE runner_up = "sania mirza elena vesnina"
Write a SQL query that answers the following question: What is the name with a Score of 6–3, 6–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (name VARCHAR, score VARCHAR)
SELECT name FROM table_name_97 WHERE score = "6–3, 6–3"
Write a SQL query that answers the following question: What was the location in 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (location VARCHAR, year VARCHAR)
SELECT location FROM table_name_50 WHERE year = "2009"
Write a SQL query that answers the following question: What's the railway number of a D(rebuild) class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (railway_number_s_ VARCHAR, class VARCHAR)
SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)"
Write a SQL query that answers the following question: What the least quantity having a T2A class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (quantity_rebuilt INTEGER, class VARCHAR)
SELECT MIN(quantity_rebuilt) FROM table_name_50 WHERE class = "t2a"
Write a SQL query that answers the following question: Which lane did the swimmer who had a Reaction time of 0.185 and a time of 20.9 swim in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (lane INTEGER, react VARCHAR, time VARCHAR)
SELECT SUM(lane) FROM table_name_15 WHERE react = 0.185 AND time < 20.9
Write a SQL query that answers the following question: What was the 200-metre time for the swimmer from Slovenia in lane 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (time VARCHAR, nationality VARCHAR, lane VARCHAR)
SELECT COUNT(time) FROM table_name_15 WHERE nationality = "slovenia" AND lane < 9
Write a SQL query that answers the following question: Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (athlete VARCHAR, nationality VARCHAR, time VARCHAR, lane VARCHAR)
SELECT athlete FROM table_name_49 WHERE time < 21.2 AND lane < 7 AND nationality = "dominica"
Write a SQL query that answers the following question: What player had a pick higher than 53, and a position of defensive tackle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (player VARCHAR, pick VARCHAR, position VARCHAR)
SELECT player FROM table_name_35 WHERE pick > 53 AND position = "defensive tackle"
Write a SQL query that answers the following question: What team is Jim Garcia category:Articles with Hcards on?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (team VARCHAR, player VARCHAR)
SELECT team FROM table_name_95 WHERE player = "jim garcia category:articles with hcards"
Write a SQL query that answers the following question: Who is the pick from the Purdue College?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (pick VARCHAR, college VARCHAR)
SELECT pick FROM table_name_90 WHERE college = "purdue"
Write a SQL query that answers the following question: What shows for Marcin Dołęga ( POL )when the world record shows olympic record, and a Snatch of total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (marcin_dołęga___pol__ VARCHAR, world_record VARCHAR, snatch VARCHAR)
SELECT marcin_dołęga___pol__ FROM table_name_76 WHERE world_record = "olympic record" AND snatch = "total"
Write a SQL query that answers the following question: What is the snatch when Marcin Dołęga ( POL ) was 430kg?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (snatch VARCHAR, marcin_dołęga___pol__ VARCHAR)
SELECT snatch FROM table_name_1 WHERE marcin_dołęga___pol__ = "430kg"
Write a SQL query that answers the following question: What shows for Władysławowo, Poland when the world record was clean & jerk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (władysławowo_ VARCHAR, _poland VARCHAR, world_record VARCHAR)
SELECT władysławowo_, _poland FROM table_name_85 WHERE world_record = "clean & jerk"
Write a SQL query that answers the following question: What shows for Władysławowo, Poland when the world record shows olympic record, a Marcin Dołęga (POL) is olympic standard, and Snatch is clean & jerk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (władysławowo_ VARCHAR, _poland VARCHAR, snatch VARCHAR, world_record VARCHAR, marcin_dołęga___pol__ VARCHAR)
SELECT władysławowo_, _poland FROM table_name_83 WHERE world_record = "olympic record" AND marcin_dołęga___pol__ = "olympic standard" AND snatch = "clean & jerk"
Write a SQL query that answers the following question: What date has 0-6700-30838-2-9 for a catalog?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_88 WHERE catalog = "0-6700-30838-2-9"
Write a SQL query that answers the following question: What's the date in the United Kingdom having a catalog of reveal50cd/lp?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR, region VARCHAR)
SELECT date FROM table_name_3 WHERE catalog = "reveal50cd/lp" AND region = "united kingdom"
Write a SQL query that answers the following question: What day was king's cup 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR)
SELECT date FROM table_name_49 WHERE competition = "king's cup 1996"
Write a SQL query that answers the following question: What was the score for king's cup 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_50 WHERE competition = "king's cup 1996"
Write a SQL query that answers the following question: What was the result when the score was 5-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_61 WHERE score = "5-1"
Write a SQL query that answers the following question: What tournament had an A in 2012 and Q2 in 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (tournament VARCHAR)
SELECT tournament FROM table_name_4 WHERE 2012 = "a" AND 2010 = "q2"
Write a SQL query that answers the following question: What's the 2010 when they had a Q2 in 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (Id VARCHAR)
SELECT 2010 FROM table_name_10 WHERE 2009 = "q2"
Write a SQL query that answers the following question: What's the 2012 during Wimbledon and had a Q3 in 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (tournament VARCHAR)
SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon"
Write a SQL query that answers the following question: What's the tournament name when they had an A in 2011 & 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT tournament FROM table_name_74 WHERE 2012 = "a" AND 2011 = "a"
Write a SQL query that answers the following question: What's the 2012 when 2009 was 205?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (Id VARCHAR)
SELECT 2012 FROM table_name_22 WHERE 2009 = "205"
Write a SQL query that answers the following question: How much Col (m) has a Prominence (m) of 2,344?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (col__m_ VARCHAR, prominence__m_ VARCHAR)
SELECT COUNT(col__m_) FROM table_name_15 WHERE prominence__m_ = 2 OFFSET 344
Write a SQL query that answers the following question: Which Prominence (m) has a Col (m) of 350?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (prominence__m_ INTEGER, col__m_ VARCHAR)
SELECT AVG(prominence__m_) FROM table_name_21 WHERE col__m_ = 350
Write a SQL query that answers the following question: Who was the athlete from Lithuania?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (athlete VARCHAR, country VARCHAR)
SELECT athlete FROM table_name_87 WHERE country = "lithuania"
Write a SQL query that answers the following question: How many votes did Jeannemarie Devolites Davis get in 1995-Special?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR)
SELECT votes FROM table_name_90 WHERE opponent = "jeannemarie devolites davis" AND year = "1995-special"
Write a SQL query that answers the following question: Who was the subject for the year of 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (subject VARCHAR, year VARCHAR)
SELECT subject FROM table_name_35 WHERE year = "2007"
Write a SQL query that answers the following question: Which party has a voting total greater than 4,478?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (party VARCHAR, votes INTEGER)
SELECT party FROM table_name_51 WHERE votes > 4 OFFSET 478
Write a SQL query that answers the following question: Which Type has a Nat of geo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (type VARCHAR, nat VARCHAR)
SELECT type FROM table_name_58 WHERE nat = "geo"
Write a SQL query that answers the following question: Which Moving from has a Nat of ned?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (moving_from VARCHAR, nat VARCHAR)
SELECT moving_from FROM table_name_26 WHERE nat = "ned"
Write a SQL query that answers the following question: Which Ends have a Name of zambrano?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (ends INTEGER, name VARCHAR)
SELECT MAX(ends) FROM table_name_41 WHERE name = "zambrano"
Write a SQL query that answers the following question: Which Transfer fee has a Moving from of youth system, and a Nat of mar?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (transfer_fee VARCHAR, moving_from VARCHAR, nat VARCHAR)
SELECT transfer_fee FROM table_name_10 WHERE moving_from = "youth system" AND nat = "mar"
Write a SQL query that answers the following question: Which Transfer fee has Ends larger than 2011, and a Moving from of psv?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)
SELECT transfer_fee FROM table_name_27 WHERE ends > 2011 AND moving_from = "psv"
Write a SQL query that answers the following question: What is the result for the Toscane Horse in the freestyle test?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR)
SELECT result FROM table_name_60 WHERE horse = "toscane" AND event = "freestyle test"
Write a SQL query that answers the following question: What horse has a 66.452 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (horse VARCHAR, result VARCHAR)
SELECT horse FROM table_name_69 WHERE result = "66.452"
Write a SQL query that answers the following question: What event did Sjerstin Vermeulen receive a 66.452 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (event VARCHAR, athlete VARCHAR, result VARCHAR)
SELECT event FROM table_name_57 WHERE athlete = "sjerstin vermeulen" AND result = "66.452"
Write a SQL query that answers the following question: What class had a Championship Test event with a 62.516 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR)
SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516"
Write a SQL query that answers the following question: What horse has a 65.863 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (horse VARCHAR, result VARCHAR)
SELECT horse FROM table_name_18 WHERE result = "65.863"
Write a SQL query that answers the following question: What is the displacement for the model 1400?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (displacement VARCHAR, model VARCHAR)
SELECT displacement FROM table_name_88 WHERE model = "1400"
Write a SQL query that answers the following question: What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (displacement VARCHAR, model VARCHAR, fuel_system VARCHAR, power VARCHAR)
SELECT displacement FROM table_name_20 WHERE fuel_system = "carburettor" AND power = "ps (kw; hp)" AND model = "2000"
Write a SQL query that answers the following question: What engine with the years of 1975-84 has a model of 1600?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR)
SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-84"
Write a SQL query that answers the following question: What displacement has a model of 2000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (displacement VARCHAR, model VARCHAR)
SELECT displacement FROM table_name_78 WHERE model = "2000"
Write a SQL query that answers the following question: What engine with years of 1975-84 has a displacement of 1585cc?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (engine VARCHAR, years VARCHAR, displacement VARCHAR)
SELECT engine FROM table_name_9 WHERE years = "1975-84" AND displacement = "1585cc"
Write a SQL query that answers the following question: What is the power for the years 1975-84?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (power VARCHAR, years VARCHAR)
SELECT power FROM table_name_40 WHERE years = "1975-84"
Write a SQL query that answers the following question: What is the 2nd leg in match with team 2 of Teram?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_92 WHERE team_2 = "teram"
Write a SQL query that answers the following question: What was the result of the December 15, 2002 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_66 WHERE date = "december 15, 2002"
Write a SQL query that answers the following question: What date was the game that was attended by 69,024?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_52 WHERE attendance = "69,024"
Write a SQL query that answers the following question: On what date was the week 17 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_37 WHERE week = 17
Write a SQL query that answers the following question: What is the Model of the Engine with 29 Seats Built in 1941–1942?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (model VARCHAR, seats VARCHAR, built VARCHAR)
SELECT model FROM table_name_85 WHERE seats = 29 AND built = "1941–1942"
Write a SQL query that answers the following question: What is the Quantity of the engine Model PG-2901?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (quantity VARCHAR, model VARCHAR)
SELECT quantity FROM table_name_65 WHERE model = "pg-2901"
Write a SQL query that answers the following question: Why did the manager who departed on August 1, 2008 leave?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (reason_of_departure VARCHAR, date_outgoing VARCHAR)
SELECT reason_of_departure FROM table_name_69 WHERE date_outgoing = "august 1, 2008"
Write a SQL query that answers the following question: On what date did the manager for PSIS Semarang take over for the manager that was sacked?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date_of_replacement VARCHAR, reason_of_departure VARCHAR, team VARCHAR)
SELECT date_of_replacement FROM table_name_54 WHERE reason_of_departure = "sacked" AND team = "psis semarang"
Write a SQL query that answers the following question: Why did the manager who departed on August 1, 2008 leave?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (reason_of_departure VARCHAR, date_outgoing VARCHAR)
SELECT reason_of_departure FROM table_name_84 WHERE date_outgoing = "august 1, 2008"
Write a SQL query that answers the following question: When did Peter Butler leave his team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date_outgoing VARCHAR, outgoing_manager VARCHAR)
SELECT date_outgoing FROM table_name_12 WHERE outgoing_manager = "peter butler"
Write a SQL query that answers the following question: When did the manager take over for the manager that left on August 20, 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (date_of_replacement VARCHAR, date_outgoing VARCHAR)
SELECT date_of_replacement FROM table_name_98 WHERE date_outgoing = "august 20, 2008"
Write a SQL query that answers the following question: In which competition(s) did Iljuštšenko jump 1.90 m?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (competition VARCHAR, notes VARCHAR)
SELECT competition FROM table_name_99 WHERE notes = "1.90 m"
Write a SQL query that answers the following question: In which position did Iljuštšenko finish in the European Championships held prior to 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (position VARCHAR, year VARCHAR, competition VARCHAR)
SELECT position FROM table_name_48 WHERE year < 2008 AND competition = "european championships"
Write a SQL query that answers the following question: In what year did Iljuštšenko compete in Barcelona, Spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR)
SELECT year FROM table_name_70 WHERE venue = "barcelona, spain"
Write a SQL query that answers the following question: What's the number of electorates for constituency number 56?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR)
SELECT SUM(number_of_electorates__2009_) FROM table_name_56 WHERE constituency_number = "56"
Write a SQL query that answers the following question: What is the tour Apps when the career caps show 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (tour_apps VARCHAR, career_caps VARCHAR)
SELECT tour_apps FROM table_name_57 WHERE career_caps = 15
Write a SQL query that answers the following question: What is the number of career caps for a full back, when tour Apps is smaller than 29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (career_caps VARCHAR, position VARCHAR, tour_apps VARCHAR)
SELECT COUNT(career_caps) FROM table_name_78 WHERE position = "full back" AND tour_apps < 29
Write a SQL query that answers the following question: What is the career caps for half-back, when tests is more than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (career_caps VARCHAR, position VARCHAR, tests VARCHAR)
SELECT career_caps FROM table_name_73 WHERE position = "half-back" AND tests > 3
Write a SQL query that answers the following question: What name has tour Apps larger than 7, tests larger than 4, and a Career caps of 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (name VARCHAR, career_caps VARCHAR, tour_apps VARCHAR, tests VARCHAR)
SELECT name FROM table_name_22 WHERE tour_apps > 7 AND tests > 4 AND career_caps = 20
Write a SQL query that answers the following question: What constructor has a grid less than 21, and time/retired of engine?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT constructor FROM table_name_64 WHERE grid < 21 AND time_retired = "engine"
Write a SQL query that answers the following question: When the entrant is fred saunders what is the driver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (driver VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_11 WHERE entrant = "fred saunders"
Write a SQL query that answers the following question: What's the lowest grid with and entrant of fred saunders?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (grid INTEGER, entrant VARCHAR)
SELECT MIN(grid) FROM table_name_47 WHERE entrant = "fred saunders"
Write a SQL query that answers the following question: What is the time/retired for the driver emerson fittipaldi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_55 WHERE driver = "emerson fittipaldi"
Write a SQL query that answers the following question: Which Artist has the Label of Columbia and the Standard number of COCC-72073?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (artist VARCHAR, label VARCHAR, standard_number VARCHAR)
SELECT artist FROM table_name_86 WHERE label = "columbia" AND standard_number = "cocc-72073"
Write a SQL query that answers the following question: What Type has the Artist of Hiroyuki Takami?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (type VARCHAR, artist VARCHAR)
SELECT type FROM table_name_42 WHERE artist = "hiroyuki takami"
Write a SQL query that answers the following question: What Title has the Label of Columbia and Standard number of CODC-8760?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (title VARCHAR, label VARCHAR, standard_number VARCHAR)
SELECT title FROM table_name_27 WHERE label = "columbia" AND standard_number = "codc-8760"
Write a SQL query that answers the following question: What is the type of Kuang-Hsing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (type VARCHAR, name__wade_giles_ VARCHAR)
SELECT type FROM table_name_71 WHERE name__wade_giles_ = "kuang-hsing"
Write a SQL query that answers the following question: What type has the characters 廣丙?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (type VARCHAR, characters VARCHAR)
SELECT type FROM table_name_25 WHERE characters = "廣丙"
Write a SQL query that answers the following question: What's the name that has the characters 廣亨?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (name__wade_giles_ VARCHAR, characters VARCHAR)
SELECT name__wade_giles_ FROM table_name_87 WHERE characters = "廣亨"
Write a SQL query that answers the following question: What type has the characters 廣利?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (type VARCHAR, characters VARCHAR)
SELECT type FROM table_name_48 WHERE characters = "廣利"
Write a SQL query that answers the following question: What is the type of Guangjia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (type VARCHAR, name__pinyin_ VARCHAR)
SELECT type FROM table_name_50 WHERE name__pinyin_ = "guangjia"
Write a SQL query that answers the following question: What soap opera has a rank larger than 1, and a Character named Emily Bishop?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (soap_opera VARCHAR, rank VARCHAR, character VARCHAR)
SELECT soap_opera FROM table_name_81 WHERE rank > 1 AND character = "emily bishop"
Write a SQL query that answers the following question: What is the highest Rank 1960—?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (rank INTEGER, years VARCHAR)
SELECT MAX(rank) FROM table_name_81 WHERE years = "1960—"
Write a SQL query that answers the following question: What is the name of the actor with a duration of 61 years?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (actor VARCHAR, duration VARCHAR)
SELECT actor FROM table_name_84 WHERE duration = "61 years"
Write a SQL query that answers the following question: What are the years for Eileen Derbyshire with a duration of 52 years?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (years VARCHAR, duration VARCHAR, actor VARCHAR)
SELECT years FROM table_name_4 WHERE duration = "52 years" AND actor = "eileen derbyshire"
Write a SQL query that answers the following question: What soap opera was on 1960–1965, 1965–1983, 1984–2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (soap_opera VARCHAR, years VARCHAR)
SELECT soap_opera FROM table_name_33 WHERE years = "1960–1965, 1965–1983, 1984–2010"
Write a SQL query that answers the following question: Who are the rowers for Australia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (rowers VARCHAR, country VARCHAR)
SELECT rowers FROM table_name_54 WHERE country = "australia"
Write a SQL query that answers the following question: What's Italy's rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (rank INTEGER, country VARCHAR)
SELECT SUM(rank) FROM table_name_36 WHERE country = "italy"
Write a SQL query that answers the following question: Who is the visitor team on Saturday, November 22 when linköpings hc was the home team and there were more than 20 rounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (visitor VARCHAR, date VARCHAR, home VARCHAR, round VARCHAR)
SELECT visitor FROM table_name_89 WHERE home = "linköpings hc" AND round > 20 AND date = "saturday, november 22"
Write a SQL query that answers the following question: What is the lowest attendance on Monday, November 10 when linköpings hc was the home team and there were more than 18 rounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (attendance INTEGER, round VARCHAR, home VARCHAR, date VARCHAR)
SELECT MIN(attendance) FROM table_name_30 WHERE home = "linköpings hc" AND date = "monday, november 10" AND round > 18
Write a SQL query that answers the following question: Who is the visitor at the axa sports center in round 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (visitor VARCHAR, venue VARCHAR, round VARCHAR)
SELECT visitor FROM table_name_6 WHERE venue = "axa sports center" AND round = 20
Write a SQL query that answers the following question: What is the Attendance of the game on November 6, 1966?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_7 WHERE date = "november 6, 1966"
Write a SQL query that answers the following question: What is the Result of the game on November 6, 1966?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_78 WHERE date = "november 6, 1966"
Write a SQL query that answers the following question: Who is the club with a 4:03.63 time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (club VARCHAR, time VARCHAR)
SELECT club FROM table_name_91 WHERE time = "4:03.63"
Write a SQL query that answers the following question: What was the Green-Communist percentage in the poll in which the Socialist Party earned 41.0%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (green_communist VARCHAR, socialist VARCHAR)
SELECT green_communist FROM table_name_59 WHERE socialist = "41.0%"
Write a SQL query that answers the following question: What is the Green-Communist percentage in the poll showing a 9.7% lead?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (green_communist VARCHAR, lead VARCHAR)
SELECT green_communist FROM table_name_1 WHERE lead = "9.7%"