instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What's the Chinese population in the borough with 26347 Pakistanis?
The relevant table was constructed using the following SQL : CREATE TABLE table_19149550_9 (chinese_population VARCHAR, pakistani_population VARCHAR)
SELECT chinese_population FROM table_19149550_9 WHERE pakistani_population = 26347
Write a SQL query that answers the following question: How many Asians live in the borough with 8109 Chinese population?
The relevant table was constructed using the following SQL : CREATE TABLE table_19149550_9 (total_asian_population INTEGER, chinese_population VARCHAR)
SELECT MIN(total_asian_population) FROM table_19149550_9 WHERE chinese_population = 8109
Write a SQL query that answers the following question: How many Bangladeshi citizens live in the borough ranked at number 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_19149550_9 (bangladeshi_population INTEGER, rank VARCHAR)
SELECT MAX(bangladeshi_population) FROM table_19149550_9 WHERE rank = 14
Write a SQL query that answers the following question: How many members did Africa have the year that Australia had 94615?
The relevant table was constructed using the following SQL : CREATE TABLE table_1914090_2 (africa VARCHAR, australia VARCHAR)
SELECT africa FROM table_1914090_2 WHERE australia = 94615
Write a SQL query that answers the following question: How many members did Europe have the year that America had 403892?
The relevant table was constructed using the following SQL : CREATE TABLE table_1914090_2 (europe VARCHAR, america VARCHAR)
SELECT europe FROM table_1914090_2 WHERE america = 403892
Write a SQL query that answers the following question: What is the minimum number of members Europe had at the time Africa had 7375139?
The relevant table was constructed using the following SQL : CREATE TABLE table_1914090_2 (europe INTEGER, africa VARCHAR)
SELECT MIN(europe) FROM table_1914090_2 WHERE africa = 7375139
Write a SQL query that answers the following question: What is the minimum number of members Africa had in 2001?
The relevant table was constructed using the following SQL : CREATE TABLE table_1914090_2 (africa INTEGER, year VARCHAR)
SELECT MIN(africa) FROM table_1914090_2 WHERE year = 2001
Write a SQL query that answers the following question: What is the most members Europe had when Australia had 94615?
The relevant table was constructed using the following SQL : CREATE TABLE table_1914090_2 (europe INTEGER, australia VARCHAR)
SELECT MAX(europe) FROM table_1914090_2 WHERE australia = 94615
Write a SQL query that answers the following question: What is the latest year that Europe had 471895?
The relevant table was constructed using the following SQL : CREATE TABLE table_1914090_2 (year INTEGER, europe VARCHAR)
SELECT MAX(year) FROM table_1914090_2 WHERE europe = 471895
Write a SQL query that answers the following question: What's the bus width (in bit) of the model whose core is 650 MHz?
The relevant table was constructed using the following SQL : CREATE TABLE table_19161046_1 (bus_width___bit__ VARCHAR, core___mhz__ VARCHAR)
SELECT COUNT(bus_width___bit__) FROM table_19161046_1 WHERE core___mhz__ = 650
Write a SQL query that answers the following question: What's the directx of the model with code name RV770 PRO and a core bigger than 650.0 MHz?
The relevant table was constructed using the following SQL : CREATE TABLE table_19161046_1 (directx VARCHAR, code_name VARCHAR, core___mhz__ VARCHAR)
SELECT directx FROM table_19161046_1 WHERE code_name = "RV770 PRO" AND core___mhz__ > 650.0
Write a SQL query that answers the following question: What are the notes recorded for the model HIS HD4850 (512MB)?
The relevant table was constructed using the following SQL : CREATE TABLE table_19161046_1 (notes VARCHAR, model VARCHAR)
SELECT notes FROM table_19161046_1 WHERE model = "HIS HD4850 (512MB)"
Write a SQL query that answers the following question: What is the title of episode number 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_19161605_2 (title VARCHAR, _number VARCHAR)
SELECT title FROM table_19161605_2 WHERE _number = 14
Write a SQL query that answers the following question: If the net worth of fixed assets is 621, what is the current ratio?
The relevant table was constructed using the following SQL : CREATE TABLE table_19166421_1 (current_ratio VARCHAR, net_worth_to_fixed_assets VARCHAR)
SELECT current_ratio FROM table_19166421_1 WHERE net_worth_to_fixed_assets = 621
Write a SQL query that answers the following question: Name the score for opponent of cleveland
The relevant table was constructed using the following SQL : CREATE TABLE table_19169116_8 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_19169116_8 WHERE opponent = "Cleveland"
Write a SQL query that answers the following question: Featherstone Rovers club played a total of how many games?
The relevant table was constructed using the following SQL : CREATE TABLE table_19179465_1 (played VARCHAR, club VARCHAR)
SELECT COUNT(played) FROM table_19179465_1 WHERE club = "Featherstone Rovers"
Write a SQL query that answers the following question: How many games were lost when the club got 34 points
The relevant table was constructed using the following SQL : CREATE TABLE table_19179465_1 (lost INTEGER, points VARCHAR)
SELECT MIN(lost) FROM table_19179465_1 WHERE points = 34
Write a SQL query that answers the following question: What was the B.P. of club Halifax?
The relevant table was constructed using the following SQL : CREATE TABLE table_19179465_1 (bp VARCHAR, club VARCHAR)
SELECT bp FROM table_19179465_1 WHERE club = "Halifax"
Write a SQL query that answers the following question: What is the first year she played in the french open?
The relevant table was constructed using the following SQL : CREATE TABLE table_1920271_2 (year INTEGER, championship VARCHAR)
SELECT MIN(year) FROM table_1920271_2 WHERE championship = "French Open"
Write a SQL query that answers the following question: How many times was the score 6–7(5), 6–2, 6–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_1920271_2 (opponents VARCHAR, score VARCHAR)
SELECT COUNT(opponents) FROM table_1920271_2 WHERE score = "6–7(5), 6–2, 6–3"
Write a SQL query that answers the following question: Who was her partner at the US Open and they were runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_1920271_3 (partner VARCHAR, championship VARCHAR, outcome VARCHAR)
SELECT partner FROM table_1920271_3 WHERE championship = "US Open" AND outcome = "Runner-up"
Write a SQL query that answers the following question: Who was her partner at the US Open and they were runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_1920271_3 (partner VARCHAR, outcome VARCHAR, championship VARCHAR)
SELECT partner FROM table_1920271_3 WHERE outcome = "Runner-up" AND championship = "US Open"
Write a SQL query that answers the following question: Who did she play with on clay?
The relevant table was constructed using the following SQL : CREATE TABLE table_1920271_3 (partner VARCHAR, surface VARCHAR)
SELECT partner FROM table_1920271_3 WHERE surface = "Clay"
Write a SQL query that answers the following question: state the number of surface where championship is australian open and score in the final is 6–3, 4–6, 11–9
The relevant table was constructed using the following SQL : CREATE TABLE table_1918850_2 (surface VARCHAR, championship VARCHAR, score_in_the_final VARCHAR)
SELECT COUNT(surface) FROM table_1918850_2 WHERE championship = "Australian Open" AND score_in_the_final = "6–3, 4–6, 11–9"
Write a SQL query that answers the following question: which championship had arantxa sánchez vicario todd woodbridge as opponents in the final
The relevant table was constructed using the following SQL : CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR)
SELECT championship FROM table_1918850_2 WHERE opponents_in_the_final = "Arantxa Sánchez Vicario Todd Woodbridge"
Write a SQL query that answers the following question: what is the surface of the final which had score 6-2, 6-3
The relevant table was constructed using the following SQL : CREATE TABLE table_1918850_2 (surface VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_1918850_2 WHERE score_in_the_final = "6-2, 6-3"
Write a SQL query that answers the following question: when were helena suková todd woodbridge the opponents in the final
The relevant table was constructed using the following SQL : CREATE TABLE table_1918850_2 (year VARCHAR, opponents_in_the_final VARCHAR)
SELECT year FROM table_1918850_2 WHERE opponents_in_the_final = "Helena Suková Todd Woodbridge"
Write a SQL query that answers the following question: which championship had helena suková tom nijssen as opponents in the final and nicole provis as partner, the surface was hard and the outcome was winner
The relevant table was constructed using the following SQL : CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT championship FROM table_1918850_2 WHERE outcome = "Winner" AND surface = "Hard" AND partner = "Nicole Provis" AND opponents_in_the_final = "Helena Suková Tom Nijssen"
Write a SQL query that answers the following question: when was the last performance of the first performance on 11/15/1909
The relevant table was constructed using the following SQL : CREATE TABLE table_19189856_1 (last_performance VARCHAR, first_performance VARCHAR)
SELECT last_performance FROM table_19189856_1 WHERE first_performance = "11/15/1909"
Write a SQL query that answers the following question: how many first performances where performer is wilfred engelman category:articles with hcards
The relevant table was constructed using the following SQL : CREATE TABLE table_19189856_1 (first_performance VARCHAR, performer VARCHAR)
SELECT COUNT(first_performance) FROM table_19189856_1 WHERE performer = "Wilfred Engelman category:Articles with hCards"
Write a SQL query that answers the following question: who was the performer that did last performance on 04/08/1963
The relevant table was constructed using the following SQL : CREATE TABLE table_19189856_1 (performer VARCHAR, last_performance VARCHAR)
SELECT performer FROM table_19189856_1 WHERE last_performance = "04/08/1963"
Write a SQL query that answers the following question: what is the first performance of the last performance on 03/29/1957
The relevant table was constructed using the following SQL : CREATE TABLE table_19189856_1 (first_performance VARCHAR, last_performance VARCHAR)
SELECT first_performance FROM table_19189856_1 WHERE last_performance = "03/29/1957"
Write a SQL query that answers the following question: what is the last performance of leon varkas category:articles with hcards
The relevant table was constructed using the following SQL : CREATE TABLE table_19189856_1 (last_performance VARCHAR, performer VARCHAR)
SELECT last_performance FROM table_19189856_1 WHERE performer = "Leon Varkas category:Articles with hCards"
Write a SQL query that answers the following question: How many different finales had the English title "Beyond the Realm of Conscience"?
The relevant table was constructed using the following SQL : CREATE TABLE table_19210674_1 (finale VARCHAR, english_title VARCHAR)
SELECT COUNT(finale) FROM table_19210674_1 WHERE english_title = "Beyond the Realm of Conscience"
Write a SQL query that answers the following question: What was the maximum average of the episode with a Chinese title 古靈精探b?
The relevant table was constructed using the following SQL : CREATE TABLE table_19210674_1 (average INTEGER, chinese_title VARCHAR)
SELECT MAX(average) FROM table_19210674_1 WHERE chinese_title = "古靈精探B"
Write a SQL query that answers the following question: How was the episode seen by 2.26 million HK viewers ranked?
The relevant table was constructed using the following SQL : CREATE TABLE table_19210674_1 (rank VARCHAR, hk_viewers VARCHAR)
SELECT rank FROM table_19210674_1 WHERE hk_viewers = "2.26 million"
Write a SQL query that answers the following question: What is the finale number ranked at number 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_19210674_1 (finale VARCHAR, rank VARCHAR)
SELECT finale FROM table_19210674_1 WHERE rank = 7
Write a SQL query that answers the following question: What is every conflict in Iraq?
The relevant table was constructed using the following SQL : CREATE TABLE table_1921_1 (conflict VARCHAR, location VARCHAR)
SELECT conflict FROM table_1921_1 WHERE location = "Iraq"
Write a SQL query that answers the following question: What is every branch involved in Afghanistan?
The relevant table was constructed using the following SQL : CREATE TABLE table_1921_1 (branches_involved VARCHAR, location VARCHAR)
SELECT branches_involved FROM table_1921_1 WHERE location = "Afghanistan"
Write a SQL query that answers the following question: Which conflicts took place in Yemen?
The relevant table was constructed using the following SQL : CREATE TABLE table_1921_1 (conflict VARCHAR, location VARCHAR)
SELECT conflict FROM table_1921_1 WHERE location = "Yemen"
Write a SQL query that answers the following question: How many conflicts started in Afghanistan?
The relevant table was constructed using the following SQL : CREATE TABLE table_1921_1 (start_of_conflict VARCHAR, location VARCHAR)
SELECT COUNT(start_of_conflict) FROM table_1921_1 WHERE location = "Afghanistan"
Write a SQL query that answers the following question: How many u.s. viewers (million) have the number 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_19229713_6 (us_viewers__million_ VARCHAR, _number VARCHAR)
SELECT us_viewers__million_ FROM table_19229713_6 WHERE _number = 16
Write a SQL query that answers the following question: How many u.s. viewers (million) have the production code of 5.09?
The relevant table was constructed using the following SQL : CREATE TABLE table_19229713_6 (us_viewers__million_ VARCHAR, production_code VARCHAR)
SELECT us_viewers__million_ FROM table_19229713_6 WHERE production_code = "5.09"
Write a SQL query that answers the following question: When middle prut valley is the land formation what is the highest of which currently forests, km² ?
The relevant table was constructed using the following SQL : CREATE TABLE table_19242_5 (_km² VARCHAR, of_which_currently_forests INTEGER, land_formation VARCHAR)
SELECT MAX(of_which_currently_forests), _km² FROM table_19242_5 WHERE land_formation = "Middle Prut Valley"
Write a SQL query that answers the following question: What's the series number of the episode with season number 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_19236587_4 (series_no INTEGER, season_no VARCHAR)
SELECT MIN(series_no) FROM table_19236587_4 WHERE season_no = 2
Write a SQL query that answers the following question: What's the series number of the episode seen by 2.43 million viewers in the UK?
The relevant table was constructed using the following SQL : CREATE TABLE table_19236587_4 (series_no VARCHAR, uk_viewers__million_ VARCHAR)
SELECT series_no FROM table_19236587_4 WHERE uk_viewers__million_ = "2.43"
Write a SQL query that answers the following question: How many different original air dates does the episode with series number 13 have?
The relevant table was constructed using the following SQL : CREATE TABLE table_19236587_4 (original_air_date VARCHAR, series_no VARCHAR)
SELECT COUNT(original_air_date) FROM table_19236587_4 WHERE series_no = 13
Write a SQL query that answers the following question: Name the number for viewers being 1.87
The relevant table was constructed using the following SQL : CREATE TABLE table_19229713_4 (_number INTEGER, us_viewers__million_ VARCHAR)
SELECT MAX(_number) FROM table_19229713_4 WHERE us_viewers__million_ = "1.87"
Write a SQL query that answers the following question: Name the production code for viewers for 1.69
The relevant table was constructed using the following SQL : CREATE TABLE table_19229713_4 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT production_code FROM table_19229713_4 WHERE us_viewers__million_ = "1.69"
Write a SQL query that answers the following question: whare are al of the launche dates where th carrier is orange and the up is 5.76 mbit/s
The relevant table was constructed using the following SQL : CREATE TABLE table_19246_2 (launch_date__ddmmyyyy_ VARCHAR, _up_ VARCHAR, carrier VARCHAR)
SELECT launch_date__ddmmyyyy_ FROM table_19246_2 WHERE _up_ = "5.76 Mbit/s" AND carrier = "Orange"
Write a SQL query that answers the following question: With the country of Sweden and the result is out, what is the song?
The relevant table was constructed using the following SQL : CREATE TABLE table_19249824_1 (song VARCHAR, result VARCHAR, country VARCHAR)
SELECT song FROM table_19249824_1 WHERE result = "Out" AND country = "Sweden"
Write a SQL query that answers the following question: If the English translation is hello girl, what was the language?
The relevant table was constructed using the following SQL : CREATE TABLE table_19249824_1 (language VARCHAR, english_translation VARCHAR)
SELECT language FROM table_19249824_1 WHERE english_translation = "Hello girl"
Write a SQL query that answers the following question: What was the connection speed when launched on 07.06.2005?
The relevant table was constructed using the following SQL : CREATE TABLE table_19246_1 (connection_speed VARCHAR, launch_date__ddmmyyyy_ VARCHAR)
SELECT connection_speed FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "07.06.2005"
Write a SQL query that answers the following question: When the carrier is idc, what are the frequencies?
The relevant table was constructed using the following SQL : CREATE TABLE table_19246_1 (frequency VARCHAR, carrier VARCHAR)
SELECT frequency FROM table_19246_1 WHERE carrier = "IDC"
Write a SQL query that answers the following question: When the launch date is 14.09.2005, and the frequency is 900mhz and 1800mhz, how many carriers are there?
The relevant table was constructed using the following SQL : CREATE TABLE table_19246_1 (carrier VARCHAR, frequency VARCHAR, launch_date__ddmmyyyy_ VARCHAR)
SELECT COUNT(carrier) FROM table_19246_1 WHERE frequency = "900MHz and 1800MHz" AND launch_date__ddmmyyyy_ = "14.09.2005"
Write a SQL query that answers the following question: How many standards are there, when the launch date was 17.04.2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_19246_1 (standard VARCHAR, launch_date__ddmmyyyy_ VARCHAR)
SELECT COUNT(standard) FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "17.04.2006"
Write a SQL query that answers the following question: Name the 2 car sets for 622
The relevant table was constructed using the following SQL : CREATE TABLE table_19255192_2 (total_vehicles VARCHAR)
SELECT 2 AS _car_sets FROM table_19255192_2 WHERE total_vehicles = 622
Write a SQL query that answers the following question: Name the most 3 car sets
The relevant table was constructed using the following SQL : CREATE TABLE table_19255192_2 (Id VARCHAR)
SELECT MAX(3 AS _car_sets) FROM table_19255192_2
Write a SQL query that answers the following question: Name the least 4 car sets
The relevant table was constructed using the following SQL : CREATE TABLE table_19255192_2 (Id VARCHAR)
SELECT MIN(4 AS _car_sets) FROM table_19255192_2
Write a SQL query that answers the following question: Name the % for core moldova being 4.36%
The relevant table was constructed using the following SQL : CREATE TABLE table_19260_1 (_percentage VARCHAR, _percentage_core_moldova VARCHAR)
SELECT _percentage FROM table_19260_1 WHERE _percentage_core_moldova = "4.36_percentage"
Write a SQL query that answers the following question: Name the % for total being 57613
The relevant table was constructed using the following SQL : CREATE TABLE table_19260_1 (_percentage VARCHAR, total VARCHAR)
SELECT _percentage FROM table_19260_1 WHERE total = 57613
Write a SQL query that answers the following question: Name the total for % core moldova for 4.36%
The relevant table was constructed using the following SQL : CREATE TABLE table_19260_1 (total VARCHAR, _percentage_core_moldova VARCHAR)
SELECT total FROM table_19260_1 WHERE _percentage_core_moldova = "4.36_percentage"
Write a SQL query that answers the following question: What was the waveform of the encoding with a bit rate of 6.203?
The relevant table was constructed using the following SQL : CREATE TABLE table_1926240_1 (waveform VARCHAR, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)
SELECT waveform FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203"
Write a SQL query that answers the following question: What was the informational CVBS Lines of the encoding with max character of 32 and has B (global) standard?
The relevant table was constructed using the following SQL : CREATE TABLE table_1926240_1 (informational_cvbs_lines VARCHAR, max_characters__per_page_row_ VARCHAR, standard VARCHAR)
SELECT informational_cvbs_lines FROM table_1926240_1 WHERE max_characters__per_page_row_ = 32 AND standard = "B (global)"
Write a SQL query that answers the following question: How many color systems has a bit rate of 5.734?
The relevant table was constructed using the following SQL : CREATE TABLE table_1926240_1 (color_system VARCHAR, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)
SELECT COUNT(color_system) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "5.734"
Write a SQL query that answers the following question: What was the max character (per page row) of the encoding with a bit rate of 6.203?
The relevant table was constructed using the following SQL : CREATE TABLE table_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)
SELECT MAX(max_characters__per_page_row_) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203"
Write a SQL query that answers the following question: With U.S. viewers of 9.32 million, what is the production code?
The relevant table was constructed using the following SQL : CREATE TABLE table_19266557_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
SELECT production_code FROM table_19266557_1 WHERE us_viewers__millions_ = "9.32"
Write a SQL query that answers the following question: For episode number 7, what was the numbers of original air dates?
The relevant table was constructed using the following SQL : CREATE TABLE table_19266557_1 (original_air_date VARCHAR, _number VARCHAR)
SELECT COUNT(original_air_date) FROM table_19266557_1 WHERE _number = 7
Write a SQL query that answers the following question: How many millions of viewers were there for number 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_19266557_1 (us_viewers__millions_ VARCHAR, _number VARCHAR)
SELECT us_viewers__millions_ FROM table_19266557_1 WHERE _number = 6
Write a SQL query that answers the following question: How many teams won $2,089,556?
The relevant table was constructed using the following SQL : CREATE TABLE table_1929755_1 (wins VARCHAR, winnings VARCHAR)
SELECT COUNT(wins) FROM table_1929755_1 WHERE winnings = "$2,089,556"
Write a SQL query that answers the following question: HOw many top 5 starts did the team with an average start of 17.7 have?
The relevant table was constructed using the following SQL : CREATE TABLE table_1929755_1 (top_5 VARCHAR, avg_start VARCHAR)
SELECT COUNT(top_5) FROM table_1929755_1 WHERE avg_start = "17.7"
Write a SQL query that answers the following question: Who is team 1 when team 2 is koper?
The relevant table was constructed using the following SQL : CREATE TABLE table_19294812_2 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_19294812_2 WHERE team_2 = "Koper"
Write a SQL query that answers the following question: What is the tie when team 2 is koper?
The relevant table was constructed using the following SQL : CREATE TABLE table_19294812_2 (tie_no INTEGER, team_2 VARCHAR)
SELECT MIN(tie_no) FROM table_19294812_2 WHERE team_2 = "Koper"
Write a SQL query that answers the following question: How many 1st leg have team 1 ofk belgrade?
The relevant table was constructed using the following SQL : CREATE TABLE table_19294812_2 (team_1 VARCHAR)
SELECT COUNT(1 AS st_leg) FROM table_19294812_2 WHERE team_1 = "OFK Belgrade"
Write a SQL query that answers the following question: How many tie no have team 1 as borac banja luka?
The relevant table was constructed using the following SQL : CREATE TABLE table_19294812_2 (tie_no VARCHAR, team_1 VARCHAR)
SELECT tie_no FROM table_19294812_2 WHERE team_1 = "Borac Banja Luka"
Write a SQL query that answers the following question: What's the language in the school teaching grades 4-12?
The relevant table was constructed using the following SQL : CREATE TABLE table_1930857_1 (language VARCHAR, grades VARCHAR)
SELECT language FROM table_1930857_1 WHERE grades = "4-12"
Write a SQL query that answers the following question: What's the language of the school founded in 1949?
The relevant table was constructed using the following SQL : CREATE TABLE table_1930857_1 (language VARCHAR, year_founded VARCHAR)
SELECT language FROM table_1930857_1 WHERE year_founded = "1949"
Write a SQL query that answers the following question: What's the gender of the students taught in the school founded in 1894?
The relevant table was constructed using the following SQL : CREATE TABLE table_1930857_1 (gender VARCHAR, year_founded VARCHAR)
SELECT gender FROM table_1930857_1 WHERE year_founded = "1894"
Write a SQL query that answers the following question: What's the language of classes in the school founded in 1874?
The relevant table was constructed using the following SQL : CREATE TABLE table_1930857_1 (language VARCHAR, year_founded VARCHAR)
SELECT language FROM table_1930857_1 WHERE year_founded = "1874"
Write a SQL query that answers the following question: what is the least current
The relevant table was constructed using the following SQL : CREATE TABLE table_19312274_2 (current INTEGER)
SELECT MIN(current) FROM table_19312274_2
Write a SQL query that answers the following question: how many total where last/current driver(s) is narain karthikeyan ( 2010 )
The relevant table was constructed using the following SQL : CREATE TABLE table_19312274_2 (total VARCHAR, last_current_driver_s_ VARCHAR)
SELECT COUNT(total) FROM table_19312274_2 WHERE last_current_driver_s_ = "Narain Karthikeyan ( 2010 )"
Write a SQL query that answers the following question: How many numbers were recorded for Qatari female when Qatari male was 97?
The relevant table was constructed using the following SQL : CREATE TABLE table_19309079_2 (qatari_female VARCHAR, qatari_male VARCHAR)
SELECT COUNT(qatari_female) FROM table_19309079_2 WHERE qatari_male = 97
Write a SQL query that answers the following question: How many years were there 97 qatari male births?
The relevant table was constructed using the following SQL : CREATE TABLE table_19309079_2 (year VARCHAR, qatari_male VARCHAR)
SELECT COUNT(year) FROM table_19309079_2 WHERE qatari_male = 97
Write a SQL query that answers the following question: What is the national cup statistics when the Championship is 21 app / 6 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_19333752_1 (national_cup VARCHAR, championship VARCHAR)
SELECT national_cup FROM table_19333752_1 WHERE championship = "21 app / 6 goals"
Write a SQL query that answers the following question: Who came in 3rd place in Krško , Slovenia Matije Gubca Stadium
The relevant table was constructed using the following SQL : CREATE TABLE table_19317584_2 (city_and_venue VARCHAR)
SELECT 3 AS rd_placed FROM table_19317584_2 WHERE city_and_venue = "Krško , Slovenia Matije Gubca Stadium"
Write a SQL query that answers the following question: How many placed 4th on April 25?
The relevant table was constructed using the following SQL : CREATE TABLE table_19317584_2 (date VARCHAR)
SELECT COUNT(4 AS th_placed) FROM table_19317584_2 WHERE date = "April 25"
Write a SQL query that answers the following question: What caused the collapse of the Mausoleum at Halicarnassus?
The relevant table was constructed using the following SQL : CREATE TABLE table_19342760_1 (cause_of_destruction VARCHAR, name VARCHAR)
SELECT cause_of_destruction FROM table_19342760_1 WHERE name = "Mausoleum at Halicarnassus"
Write a SQL query that answers the following question: How was the Temple of Artemis at Ephesus destroyed?
The relevant table was constructed using the following SQL : CREATE TABLE table_19342760_1 (cause_of_destruction VARCHAR, name VARCHAR)
SELECT cause_of_destruction FROM table_19342760_1 WHERE name = "Temple of Artemis at Ephesus"
Write a SQL query that answers the following question: Who came as a replacement in Sheffield United?
The relevant table was constructed using the following SQL : CREATE TABLE table_19359427_6 (replaced_by VARCHAR, team VARCHAR)
SELECT replaced_by FROM table_19359427_6 WHERE team = "Sheffield United"
Write a SQL query that answers the following question: When was the new manager of the team on 21st position appointed?
The relevant table was constructed using the following SQL : CREATE TABLE table_19359427_6 (date_of_appointment VARCHAR, position_in_table VARCHAR)
SELECT date_of_appointment FROM table_19359427_6 WHERE position_in_table = "21st"
Write a SQL query that answers the following question: What was Gary Megson's manner of departure?
The relevant table was constructed using the following SQL : CREATE TABLE table_19359427_6 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
SELECT manner_of_departure FROM table_19359427_6 WHERE outgoing_manager = "Gary Megson"
Write a SQL query that answers the following question: When did the old manager vacate his position in Plymouth Argyle?
The relevant table was constructed using the following SQL : CREATE TABLE table_19359427_6 (date_of_vacancy VARCHAR, team VARCHAR)
SELECT date_of_vacancy FROM table_19359427_6 WHERE team = "Plymouth Argyle"
Write a SQL query that answers the following question: Name the class 1-200 for university of hertfordshire for university of warwick
The relevant table was constructed using the following SQL : CREATE TABLE table_1936678_1 (class_1 VARCHAR, best_uk_team VARCHAR, class_1a VARCHAR)
SELECT class_1 - 200 FROM table_1936678_1 WHERE best_uk_team = "University of Hertfordshire" AND class_1a = "University of Warwick"
Write a SQL query that answers the following question: Name the class 3 for silverstone rmit university
The relevant table was constructed using the following SQL : CREATE TABLE table_1936678_1 (class_3 VARCHAR, location VARCHAR, class_1 VARCHAR)
SELECT class_3 FROM table_1936678_1 WHERE location = "Silverstone" AND class_1 = "RMIT University"
Write a SQL query that answers the following question: When 4th, great lakes is the regular season what is the league?
The relevant table was constructed using the following SQL : CREATE TABLE table_1939235_1 (league VARCHAR, regular_season VARCHAR)
SELECT league FROM table_1939235_1 WHERE regular_season = "4th, Great Lakes"
Write a SQL query that answers the following question: When 5th is the regular season what is the highest season?
The relevant table was constructed using the following SQL : CREATE TABLE table_1939235_1 (division INTEGER, regular_season VARCHAR)
SELECT MAX(division) FROM table_1939235_1 WHERE regular_season = "5th"
Write a SQL query that answers the following question: When it's the 2nd round of the open cup what is the playoffs?
The relevant table was constructed using the following SQL : CREATE TABLE table_1939235_1 (playoffs VARCHAR, open_cup VARCHAR)
SELECT playoffs FROM table_1939235_1 WHERE open_cup = "2nd Round"
Write a SQL query that answers the following question: What league has an average attendance of 1452?
The relevant table was constructed using the following SQL : CREATE TABLE table_1939202_2 (league VARCHAR, avg_attendance VARCHAR)
SELECT league FROM table_1939202_2 WHERE avg_attendance = 1452
Write a SQL query that answers the following question: What year at the US Open Cup quarterfinals, were the playoffs in the semifinals for the USL second division?
The relevant table was constructed using the following SQL : CREATE TABLE table_1939202_2 (year VARCHAR, us_open_cup VARCHAR, league VARCHAR, playoffs VARCHAR)
SELECT year FROM table_1939202_2 WHERE league = "USL Second division" AND playoffs = "Semifinals" AND us_open_cup = "Quarterfinals"
Write a SQL query that answers the following question: Name the original air date for production code of 3t7501
The relevant table was constructed using the following SQL : CREATE TABLE table_19396259_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT COUNT(original_air_date) FROM table_19396259_1 WHERE production_code = "3T7501"