instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: If the city is Santa Clara, what is the population total number? | The relevant table was constructed using the following SQL : CREATE TABLE table_25200461_9 (population VARCHAR, city VARCHAR) | SELECT COUNT(population) FROM table_25200461_9 WHERE city = "Santa Clara" |
Write a SQL query that answers the following question: In what prefecture is Susaki located? | The relevant table was constructed using the following SQL : CREATE TABLE table_2518850_4 (prefecture VARCHAR, city_town VARCHAR) | SELECT prefecture FROM table_2518850_4 WHERE city_town = "Susaki" |
Write a SQL query that answers the following question: How many previous years did Maebashi Ikuei high school have a total number of 1 participation? | The relevant table was constructed using the following SQL : CREATE TABLE table_2518850_4 (year_of_previous_participation VARCHAR, total_number_of_participation VARCHAR, high_school_name VARCHAR) | SELECT COUNT(year_of_previous_participation) FROM table_2518850_4 WHERE total_number_of_participation = 1 AND high_school_name = "Maebashi Ikuei" |
Write a SQL query that answers the following question: In what prefecture is Nihon Bunri located? | The relevant table was constructed using the following SQL : CREATE TABLE table_2518850_4 (prefecture VARCHAR, high_school_name VARCHAR) | SELECT prefecture FROM table_2518850_4 WHERE high_school_name = "Nihon Bunri" |
Write a SQL query that answers the following question: In what prefecture is Daito located? | The relevant table was constructed using the following SQL : CREATE TABLE table_2518850_4 (prefecture VARCHAR, city_town VARCHAR) | SELECT prefecture FROM table_2518850_4 WHERE city_town = "Daito" |
Write a SQL query that answers the following question: Which high school is located in Kyoto? | The relevant table was constructed using the following SQL : CREATE TABLE table_2518850_4 (high_school_name VARCHAR, prefecture VARCHAR) | SELECT high_school_name FROM table_2518850_4 WHERE prefecture = "Kyoto" |
Write a SQL query that answers the following question: What was the year of previous participation for the school in the Kagoshima prefecture? | The relevant table was constructed using the following SQL : CREATE TABLE table_2518850_4 (year_of_previous_participation VARCHAR, prefecture VARCHAR) | SELECT year_of_previous_participation FROM table_2518850_4 WHERE prefecture = "Kagoshima" |
Write a SQL query that answers the following question: What was the data on January 15-16 if March 27-29 is March 29, 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_25216791_3 (january_15_16 VARCHAR, march_27_29 VARCHAR) | SELECT january_15_16 FROM table_25216791_3 WHERE march_27_29 = "March 29, 2006" |
Write a SQL query that answers the following question: What was the data on November 3, if the data on January 15-16 is January 15, 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_25216791_3 (november_3 VARCHAR, january_15_16 VARCHAR) | SELECT november_3 FROM table_25216791_3 WHERE january_15_16 = "January 15, 2010" |
Write a SQL query that answers the following question: How many datas were recorded on January 15-16 if August 21-22 is 155? | The relevant table was constructed using the following SQL : CREATE TABLE table_25216791_3 (january_15_16 VARCHAR, august_21_22 VARCHAR) | SELECT COUNT(january_15_16) FROM table_25216791_3 WHERE august_21_22 = "155" |
Write a SQL query that answers the following question: What was the data on January 15-16 if the data recorded June 10-11 is June 10, 1964? | The relevant table was constructed using the following SQL : CREATE TABLE table_25216791_3 (january_15_16 VARCHAR, june_10_11 VARCHAR) | SELECT january_15_16 FROM table_25216791_3 WHERE june_10_11 = "June 10, 1964" |
Write a SQL query that answers the following question: How many data are on points for if the percentage is 94.29? | The relevant table was constructed using the following SQL : CREATE TABLE table_25229283_4 (points_for VARCHAR, percentage___percentage_ VARCHAR) | SELECT COUNT(points_for) FROM table_25229283_4 WHERE percentage___percentage_ = "94.29" |
Write a SQL query that answers the following question: Who was the opponent with a points for of 177? | The relevant table was constructed using the following SQL : CREATE TABLE table_25229283_4 (opponent VARCHAR, points_for VARCHAR) | SELECT opponent FROM table_25229283_4 WHERE points_for = 177 |
Write a SQL query that answers the following question: What was the minimum points against if the opponent is Port Adelaide? | The relevant table was constructed using the following SQL : CREATE TABLE table_25229283_4 (points_against INTEGER, opponent VARCHAR) | SELECT MIN(points_against) FROM table_25229283_4 WHERE opponent = "Port Adelaide" |
Write a SQL query that answers the following question: If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders? | The relevant table was constructed using the following SQL : CREATE TABLE table_25220821_3 (rider VARCHAR, thurs_3_june VARCHAR) | SELECT rider FROM table_25220821_3 WHERE thurs_3_june = "20' 27.93 110.615mph" |
Write a SQL query that answers the following question: What is the Tuesday 1 June total number if Monday 31 May is 20' 15.35 111.761mph? | The relevant table was constructed using the following SQL : CREATE TABLE table_25220821_3 (tues_1_june VARCHAR, mon_31_may VARCHAR) | SELECT COUNT(tues_1_june) FROM table_25220821_3 WHERE mon_31_may = "20' 15.35 111.761mph" |
Write a SQL query that answers the following question: What is Friday 4 June if Wednesday 2 June is 20' 11.98 112.071mph? | The relevant table was constructed using the following SQL : CREATE TABLE table_25220821_3 (fri_4_june VARCHAR, wed_2_june VARCHAR) | SELECT fri_4_june FROM table_25220821_3 WHERE wed_2_june = "20' 11.98 112.071mph" |
Write a SQL query that answers the following question: If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number? | The relevant table was constructed using the following SQL : CREATE TABLE table_25220821_3 (rider VARCHAR, tues_1_june VARCHAR) | SELECT COUNT(rider) FROM table_25220821_3 WHERE tues_1_june = "21' 05.27 107.351mph" |
Write a SQL query that answers the following question: If Tuesday 1 June is 20' 59.60 107.834mph, what is the rank maximum? | The relevant table was constructed using the following SQL : CREATE TABLE table_25220821_3 (rank INTEGER, tues_1_june VARCHAR) | SELECT MAX(rank) FROM table_25220821_3 WHERE tues_1_june = "20' 59.60 107.834mph" |
Write a SQL query that answers the following question: What is the Friday 4 June if the Wednesday 2 June is 20' 50.62 108.608mph? | The relevant table was constructed using the following SQL : CREATE TABLE table_25220821_3 (fri_4_june VARCHAR, wed_2_june VARCHAR) | SELECT fri_4_june FROM table_25220821_3 WHERE wed_2_june = "20' 50.62 108.608mph" |
Write a SQL query that answers the following question: What is the 2 June time for the rider with time of 17' 48.58 127.111mph on 3 June? | The relevant table was constructed using the following SQL : CREATE TABLE table_25220821_4 (wed_2_june VARCHAR, thurs_3_june VARCHAR) | SELECT wed_2_june FROM table_25220821_4 WHERE thurs_3_june = "17' 48.58 127.111mph" |
Write a SQL query that answers the following question: How many times are listed for 31 May for the rider ranked 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_25220821_4 (mon_31_may VARCHAR, rank VARCHAR) | SELECT COUNT(mon_31_may) FROM table_25220821_4 WHERE rank = 5 |
Write a SQL query that answers the following question: What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph? | The relevant table was constructed using the following SQL : CREATE TABLE table_25220821_4 (thurs_3_june VARCHAR, wed_2_june VARCHAR) | SELECT thurs_3_june FROM table_25220821_4 WHERE wed_2_june = "17' 45.11 127.525mph" |
Write a SQL query that answers the following question: Who is ranked 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_25220821_4 (rider VARCHAR, rank VARCHAR) | SELECT rider FROM table_25220821_4 WHERE rank = 2 |
Write a SQL query that answers the following question: How many times does November 3rd occur when January 15, 1991 does? | The relevant table was constructed using the following SQL : CREATE TABLE table_25235489_2 (november_3 VARCHAR, january_15_16 VARCHAR) | SELECT COUNT(november_3) FROM table_25235489_2 WHERE january_15_16 = "January 15, 1991" |
Write a SQL query that answers the following question: When November is 153 what is the March number? | The relevant table was constructed using the following SQL : CREATE TABLE table_25235489_2 (march_27_29 VARCHAR, november_3 VARCHAR) | SELECT march_27_29 FROM table_25235489_2 WHERE november_3 = "153" |
Write a SQL query that answers the following question: How many times does an occurance happen in June when it happens on NOvember 3, 1975? | The relevant table was constructed using the following SQL : CREATE TABLE table_25235489_2 (june_10_11 VARCHAR, november_3 VARCHAR) | SELECT COUNT(june_10_11) FROM table_25235489_2 WHERE november_3 = "november_3, 1975" |
Write a SQL query that answers the following question: When march is 129 what is the August number? | The relevant table was constructed using the following SQL : CREATE TABLE table_25235489_2 (august_21_22 VARCHAR, march_27_29 VARCHAR) | SELECT august_21_22 FROM table_25235489_2 WHERE march_27_29 = "129" |
Write a SQL query that answers the following question: How many numbers are there for August when March is 139? | The relevant table was constructed using the following SQL : CREATE TABLE table_25235489_2 (august_21_22 VARCHAR, march_27_29 VARCHAR) | SELECT COUNT(august_21_22) FROM table_25235489_2 WHERE march_27_29 = "139" |
Write a SQL query that answers the following question: How many teams have been in Topperserien for 8 seasons? | The relevant table was constructed using the following SQL : CREATE TABLE table_2522473_1 (team VARCHAR, seasons VARCHAR) | SELECT COUNT(team) FROM table_2522473_1 WHERE seasons = 8 |
Write a SQL query that answers the following question: What is the maximum number of seasons for any team? | The relevant table was constructed using the following SQL : CREATE TABLE table_2522473_1 (seasons INTEGER) | SELECT MAX(seasons) FROM table_2522473_1 |
Write a SQL query that answers the following question: Which teams homeeground is Stemmemyren? | The relevant table was constructed using the following SQL : CREATE TABLE table_2522473_1 (team VARCHAR, home_ground VARCHAR) | SELECT team FROM table_2522473_1 WHERE home_ground = "Stemmemyren" |
Write a SQL query that answers the following question: What is the home ground for the team whose home city is Trondheim with 27 seasons? | The relevant table was constructed using the following SQL : CREATE TABLE table_2522473_1 (home_ground VARCHAR, seasons VARCHAR, home_city VARCHAR) | SELECT home_ground FROM table_2522473_1 WHERE seasons = 27 AND home_city = "Trondheim" |
Write a SQL query that answers the following question: What is the home city for the team whose home ground is dnb nor arena? | The relevant table was constructed using the following SQL : CREATE TABLE table_2522473_1 (home_city VARCHAR, home_ground VARCHAR) | SELECT home_city FROM table_2522473_1 WHERE home_ground = "DnB Nor Arena" |
Write a SQL query that answers the following question: What Home city has the home ground Klepp stadion? | The relevant table was constructed using the following SQL : CREATE TABLE table_2522473_1 (home_city VARCHAR, home_ground VARCHAR) | SELECT home_city FROM table_2522473_1 WHERE home_ground = "Klepp Stadion" |
Write a SQL query that answers the following question: How many data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601? | The relevant table was constructed using the following SQL : CREATE TABLE table_25244412_2 (total_electricity__gw VARCHAR, renewable_electricity_w_o_hydro__gw·h_ VARCHAR) | SELECT COUNT(total_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE renewable_electricity_w_o_hydro__gw·h_ = 3601 |
Write a SQL query that answers the following question: How many data was given the total electricity in GW-h if % renewable is 92.3%? | The relevant table was constructed using the following SQL : CREATE TABLE table_25244412_2 (total_electricity__gw VARCHAR, _percentage_renewable VARCHAR) | SELECT COUNT(total_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE _percentage_renewable = "92.3%" |
Write a SQL query that answers the following question: How much was the minimum renewable electricity (GW-h) that is ranked 36? | The relevant table was constructed using the following SQL : CREATE TABLE table_25244412_2 (renewable_electricity__gw INTEGER, rank VARCHAR) | SELECT MIN(renewable_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE rank = 36 |
Write a SQL query that answers the following question: What was the state with the total electricity generated is 38380 gw-h? | The relevant table was constructed using the following SQL : CREATE TABLE table_25244412_2 (state VARCHAR, total_electricity__gw·h_ VARCHAR) | SELECT state FROM table_25244412_2 WHERE total_electricity__gw·h_ = 38380 |
Write a SQL query that answers the following question: What number episode in the series had a production code of 111? | The relevant table was constructed using the following SQL : CREATE TABLE table_25246990_2 (no_in_series VARCHAR, prod_code VARCHAR) | SELECT no_in_series FROM table_25246990_2 WHERE prod_code = "111" |
Write a SQL query that answers the following question: What number episode in the series had a production code of 110? | The relevant table was constructed using the following SQL : CREATE TABLE table_25246990_2 (no_in_series VARCHAR, prod_code VARCHAR) | SELECT no_in_series FROM table_25246990_2 WHERE prod_code = "110" |
Write a SQL query that answers the following question: How many U.S. viewers in millions watched the number 7 episode in the series that was written by Jed Spingarn? | The relevant table was constructed using the following SQL : CREATE TABLE table_25246990_2 (us_viewers__millions_ VARCHAR, written_by VARCHAR, no_in_series VARCHAR) | SELECT us_viewers__millions_ FROM table_25246990_2 WHERE written_by = "Jed Spingarn" AND no_in_series = "7" |
Write a SQL query that answers the following question: What was the original U.S. air date of the episode directed by Julian Petrillo? | The relevant table was constructed using the following SQL : CREATE TABLE table_25246990_5 (original_us_air_date VARCHAR, directed_by VARCHAR) | SELECT original_us_air_date FROM table_25246990_5 WHERE directed_by = "Julian Petrillo" |
Write a SQL query that answers the following question: How many different original U.S. air dates appear where the U.S. viewers were 2.5 million? | The relevant table was constructed using the following SQL : CREATE TABLE table_25246990_5 (original_us_air_date VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(original_us_air_date) FROM table_25246990_5 WHERE us_viewers__millions_ = "2.5" |
Write a SQL query that answers the following question: How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn? | The relevant table was constructed using the following SQL : CREATE TABLE table_25246990_5 (us_viewers__millions_ VARCHAR, written_by VARCHAR) | SELECT us_viewers__millions_ FROM table_25246990_5 WHERE written_by = "Lazar Saric & Jed Spingarn" |
Write a SQL query that answers the following question: How many U.S. viewers were there for the number 4 episode in season? | The relevant table was constructed using the following SQL : CREATE TABLE table_25246990_5 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR) | SELECT us_viewers__millions_ FROM table_25246990_5 WHERE no_in_season = 4 |
Write a SQL query that answers the following question: Name the least rank | The relevant table was constructed using the following SQL : CREATE TABLE table_2527063_3 (rank INTEGER) | SELECT MIN(rank) FROM table_2527063_3 |
Write a SQL query that answers the following question: Name the growth rate for hooghly | The relevant table was constructed using the following SQL : CREATE TABLE table_2527063_3 (growth_rate VARCHAR, district VARCHAR) | SELECT growth_rate FROM table_2527063_3 WHERE district = "Hooghly" |
Write a SQL query that answers the following question: Name the total number of rank for east midnapore | The relevant table was constructed using the following SQL : CREATE TABLE table_2527063_3 (rank VARCHAR, district VARCHAR) | SELECT COUNT(rank) FROM table_2527063_3 WHERE district = "East Midnapore" |
Write a SQL query that answers the following question: Name the total number of rank for growth raate for 14.47 | The relevant table was constructed using the following SQL : CREATE TABLE table_2527063_3 (rank VARCHAR, growth_rate VARCHAR) | SELECT COUNT(rank) FROM table_2527063_3 WHERE growth_rate = "14.47" |
Write a SQL query that answers the following question: Who is the champion of the 1994 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_2527617_1 (champion VARCHAR, season VARCHAR) | SELECT champion FROM table_2527617_1 WHERE season = 1994 |
Write a SQL query that answers the following question: Who is the best player in the 1998 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_2527617_1 (best_player VARCHAR, season VARCHAR) | SELECT best_player FROM table_2527617_1 WHERE season = 1998 |
Write a SQL query that answers the following question: What was the largest index the year/s forcible rapes numbered 1084? | The relevant table was constructed using the following SQL : CREATE TABLE table_25271777_1 (index INTEGER, forcible_rape VARCHAR) | SELECT MAX(index) FROM table_25271777_1 WHERE forcible_rape = 1084 |
Write a SQL query that answers the following question: How many violent catagories are listed for the year forcible rapes were 1156? | The relevant table was constructed using the following SQL : CREATE TABLE table_25271777_1 (violent VARCHAR, forcible_rape VARCHAR) | SELECT COUNT(violent) FROM table_25271777_1 WHERE forcible_rape = 1156 |
Write a SQL query that answers the following question: What was the largest number of aggravated assaults when there were 3811 robberies? | The relevant table was constructed using the following SQL : CREATE TABLE table_25271777_1 (aggravated_assault INTEGER, robbery VARCHAR) | SELECT MAX(aggravated_assault) FROM table_25271777_1 WHERE robbery = 3811 |
Write a SQL query that answers the following question: What was the number of murders the year forcible rapes were at 166? | The relevant table was constructed using the following SQL : CREATE TABLE table_25271777_1 (murder VARCHAR, forcible_rape VARCHAR) | SELECT murder FROM table_25271777_1 WHERE forcible_rape = 166 |
Write a SQL query that answers the following question: How many violent crimes occurred the year that the index was 191037? | The relevant table was constructed using the following SQL : CREATE TABLE table_25271777_1 (violent VARCHAR, index VARCHAR) | SELECT violent FROM table_25271777_1 WHERE index = 191037 |
Write a SQL query that answers the following question: Who wrote episode number 149 in the series? | The relevant table was constructed using the following SQL : CREATE TABLE table_25277363_2 (written_by VARCHAR, no_in_series VARCHAR) | SELECT written_by FROM table_25277363_2 WHERE no_in_series = 149 |
Write a SQL query that answers the following question: What title did Bill Foster direct ? | The relevant table was constructed using the following SQL : CREATE TABLE table_25276528_2 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_25276528_2 WHERE directed_by = "Bill Foster" |
Write a SQL query that answers the following question: Kim Weiskopf and Jeff Franklin wrote all the no. in series. | The relevant table was constructed using the following SQL : CREATE TABLE table_25276528_2 (no_in_series VARCHAR, written_by VARCHAR) | SELECT no_in_series FROM table_25276528_2 WHERE written_by = "Kim Weiskopf and Jeff Franklin" |
Write a SQL query that answers the following question: Which co-stars did Kalyanji-anandji direct in 1963? | The relevant table was constructed using the following SQL : CREATE TABLE table_2528382_2 (co_stars VARCHAR, music_director VARCHAR, year VARCHAR) | SELECT co_stars FROM table_2528382_2 WHERE music_director = "Kalyanji-Anandji" AND year = "1963" |
Write a SQL query that answers the following question: Which co-singers appear in the movie Pyaasa? | The relevant table was constructed using the following SQL : CREATE TABLE table_2528382_2 (Co VARCHAR, singers VARCHAR, movie_album VARCHAR) | SELECT Co - singers FROM table_2528382_2 WHERE movie_album = "Pyaasa" |
Write a SQL query that answers the following question: What is the additional information in the song mera yaar bana hai dulha | The relevant table was constructed using the following SQL : CREATE TABLE table_2528382_2 (additional_info VARCHAR, song VARCHAR) | SELECT additional_info FROM table_2528382_2 WHERE song = "Mera Yaar Bana Hai Dulha" |
Write a SQL query that answers the following question: In which years are co-stars mala sinha and amitabh bachchan? | The relevant table was constructed using the following SQL : CREATE TABLE table_2528382_2 (year VARCHAR, co_stars VARCHAR) | SELECT year FROM table_2528382_2 WHERE co_stars = "Mala Sinha and Amitabh Bachchan" |
Write a SQL query that answers the following question: Which song has Drunkard Groom listed as additional information? | The relevant table was constructed using the following SQL : CREATE TABLE table_2528382_1 (song VARCHAR, additional_info VARCHAR) | SELECT song FROM table_2528382_1 WHERE additional_info = "Drunkard Groom" |
Write a SQL query that answers the following question: Who was the lyricist for the song with music directed by madan mohan kohli? | The relevant table was constructed using the following SQL : CREATE TABLE table_2528382_1 (lyricist VARCHAR, music_director VARCHAR) | SELECT lyricist FROM table_2528382_1 WHERE music_director = "Madan Mohan Kohli" |
Write a SQL query that answers the following question: Which song directed by datta naik had the ending stranza written by Johnny Walker? | The relevant table was constructed using the following SQL : CREATE TABLE table_2528382_1 (additional_info VARCHAR, music_director VARCHAR) | SELECT additional_info FROM table_2528382_1 WHERE music_director = "Datta Naik" |
Write a SQL query that answers the following question: In which album can Dil De De Nahin Nahin Dil Le Le be found? | The relevant table was constructed using the following SQL : CREATE TABLE table_2528382_1 (movie_album VARCHAR, song VARCHAR) | SELECT movie_album FROM table_2528382_1 WHERE song = "Dil De De Nahin Nahin Dil Le Le" |
Write a SQL query that answers the following question: What was the GDP for 2002-2005 for the construction center? | The relevant table was constructed using the following SQL : CREATE TABLE table_25282151_1 (supply_sector___percentage_of_gdp_in_current_prices_ VARCHAR) | SELECT 2002 AS _2005 FROM table_25282151_1 WHERE supply_sector___percentage_of_gdp_in_current_prices_ = "Construction" |
Write a SQL query that answers the following question: What is the November 3 result when June 10-11 is 147? | The relevant table was constructed using the following SQL : CREATE TABLE table_25284864_3 (november_3 VARCHAR, june_10_11 VARCHAR) | SELECT november_3 FROM table_25284864_3 WHERE june_10_11 = "147" |
Write a SQL query that answers the following question: What is the November 3 result when the result for January 15-16 is 141? | The relevant table was constructed using the following SQL : CREATE TABLE table_25284864_3 (november_3 VARCHAR, january_15_16 VARCHAR) | SELECT november_3 FROM table_25284864_3 WHERE january_15_16 = "141" |
Write a SQL query that answers the following question: What June 10-11 is is that corresponds to March 28, 1968? | The relevant table was constructed using the following SQL : CREATE TABLE table_25284864_3 (june_10_11 VARCHAR, march_27_29 VARCHAR) | SELECT june_10_11 FROM table_25284864_3 WHERE march_27_29 = "March 28, 1968" |
Write a SQL query that answers the following question: What January 15-16 is is that corresponds to November 3, 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_25284864_3 (january_15_16 VARCHAR, november_3 VARCHAR) | SELECT january_15_16 FROM table_25284864_3 WHERE november_3 = "november_3, 2013" |
Write a SQL query that answers the following question: When 127 is on June 10th to 11th what is November 3rd? | The relevant table was constructed using the following SQL : CREATE TABLE table_25286976_2 (november_3 VARCHAR, june_10_11 VARCHAR) | SELECT november_3 FROM table_25286976_2 WHERE june_10_11 = "127" |
Write a SQL query that answers the following question: When 129 is on March 27th to 29th what is June 10th to 11th? | The relevant table was constructed using the following SQL : CREATE TABLE table_25286976_2 (june_10_11 VARCHAR, march_27_29 VARCHAR) | SELECT june_10_11 FROM table_25286976_2 WHERE march_27_29 = "129" |
Write a SQL query that answers the following question: When 139 is on March 27th to 29th what is August 21st to 22nd? | The relevant table was constructed using the following SQL : CREATE TABLE table_25286976_2 (august_21_22 VARCHAR, march_27_29 VARCHAR) | SELECT august_21_22 FROM table_25286976_2 WHERE march_27_29 = "139" |
Write a SQL query that answers the following question: During November 3 where august 21-22 is august 21, 2017? | The relevant table was constructed using the following SQL : CREATE TABLE table_25287007_2 (november_3 VARCHAR, august_21_22 VARCHAR) | SELECT november_3 FROM table_25287007_2 WHERE august_21_22 = "August 21, 2017" |
Write a SQL query that answers the following question: How many solar eclipse on June 10-11, while November 3 is 153? | The relevant table was constructed using the following SQL : CREATE TABLE table_25287007_2 (june_10_11 VARCHAR, november_3 VARCHAR) | SELECT june_10_11 FROM table_25287007_2 WHERE november_3 = "153" |
Write a SQL query that answers the following question: How many solar eclipse during August 21-22 where June 10-11 on June 11, 1983? | The relevant table was constructed using the following SQL : CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, june_10_11 VARCHAR) | SELECT COUNT(august_21_22) FROM table_25287007_2 WHERE june_10_11 = "June 11, 1983" |
Write a SQL query that answers the following question: How many solar eclipse during June 10-11 and march 27-29 is 149? | The relevant table was constructed using the following SQL : CREATE TABLE table_25287007_2 (june_10_11 VARCHAR, march_27_29 VARCHAR) | SELECT june_10_11 FROM table_25287007_2 WHERE march_27_29 = "149" |
Write a SQL query that answers the following question: How many solar eclipse during august 21-22 and January 15-16 is 141? | The relevant table was constructed using the following SQL : CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, january_15_16 VARCHAR) | SELECT august_21_22 FROM table_25287007_2 WHERE january_15_16 = "141" |
Write a SQL query that answers the following question: How many solar eclipse during January 15-16 and august 21-22 on august 21, 2017? | The relevant table was constructed using the following SQL : CREATE TABLE table_25287007_2 (january_15_16 VARCHAR, august_21_22 VARCHAR) | SELECT january_15_16 FROM table_25287007_2 WHERE august_21_22 = "August 21, 2017" |
Write a SQL query that answers the following question: Name the fastest lap for round 14 | The relevant table was constructed using the following SQL : CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, round VARCHAR) | SELECT COUNT(fastest_lap) FROM table_25322130_3 WHERE round = "14" |
Write a SQL query that answers the following question: Name the winning driver for 20 april | The relevant table was constructed using the following SQL : CREATE TABLE table_25322130_3 (winning_driver VARCHAR, date VARCHAR) | SELECT winning_driver FROM table_25322130_3 WHERE date = "20 April" |
Write a SQL query that answers the following question: Name the circuit for 13 july | The relevant table was constructed using the following SQL : CREATE TABLE table_25322130_3 (circuit VARCHAR, date VARCHAR) | SELECT circuit FROM table_25322130_3 WHERE date = "13 July" |
Write a SQL query that answers the following question: Name the fastest lap for round 3 | The relevant table was constructed using the following SQL : CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, round VARCHAR) | SELECT fastest_lap FROM table_25322130_3 WHERE round = "3" |
Write a SQL query that answers the following question: Name the fastest lap for piquet sports and silverstone | The relevant table was constructed using the following SQL : CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR) | SELECT fastest_lap FROM table_25322130_3 WHERE winning_team = "Piquet Sports" AND circuit = "Silverstone" |
Write a SQL query that answers the following question: How many laps where the position is 10th and the races is smaller than 9.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_25318033_1 (f_laps VARCHAR, position VARCHAR, races VARCHAR) | SELECT COUNT(f_laps) FROM table_25318033_1 WHERE position = "10th" AND races < 9.0 |
Write a SQL query that answers the following question: What is the lowest amount of races? | The relevant table was constructed using the following SQL : CREATE TABLE table_25318033_1 (races INTEGER) | SELECT MIN(races) FROM table_25318033_1 |
Write a SQL query that answers the following question: Which races have 137 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_25318033_1 (races VARCHAR, points VARCHAR) | SELECT races FROM table_25318033_1 WHERE points = "137" |
Write a SQL query that answers the following question: What team has 137 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_25318033_1 (team VARCHAR, points VARCHAR) | SELECT team FROM table_25318033_1 WHERE points = "137" |
Write a SQL query that answers the following question: How many points were scored when the podiums is 0 and position is 10th? | The relevant table was constructed using the following SQL : CREATE TABLE table_25318033_1 (points VARCHAR, podiums VARCHAR, position VARCHAR) | SELECT points FROM table_25318033_1 WHERE podiums = 0 AND position = "10th" |
Write a SQL query that answers the following question: What is the rate limit when the desired rate change (%) is +40.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_25316812_1 (rate_limit__p_ VARCHAR, desired_rate_change___percentage_ VARCHAR) | SELECT rate_limit__p_ FROM table_25316812_1 WHERE desired_rate_change___percentage_ = "+40.4" |
Write a SQL query that answers the following question: What is the rate limit when budget plans (£m) is limit agreed? | The relevant table was constructed using the following SQL : CREATE TABLE table_25316812_1 (rate_limit__p_ VARCHAR, budget_plans__£m_ VARCHAR) | SELECT rate_limit__p_ FROM table_25316812_1 WHERE budget_plans__£m_ = "limit agreed" |
Write a SQL query that answers the following question: What is the rate limit when the desired rate (p) is 162? | The relevant table was constructed using the following SQL : CREATE TABLE table_25316812_1 (rate_limit__p_ VARCHAR, desired_rate__p_ VARCHAR) | SELECT rate_limit__p_ FROM table_25316812_1 WHERE desired_rate__p_ = "162" |
Write a SQL query that answers the following question: What is the rate change % when the rate limit is 82.86? | The relevant table was constructed using the following SQL : CREATE TABLE table_25316812_1 (rate_change___percentage_ VARCHAR, rate_limit__p_ VARCHAR) | SELECT rate_change___percentage_ FROM table_25316812_1 WHERE rate_limit__p_ = "82.86" |
Write a SQL query that answers the following question: What is the desired rate when the rate limit (p) is 50.33? | The relevant table was constructed using the following SQL : CREATE TABLE table_25316812_1 (desired_rate__p_ VARCHAR, rate_limit__p_ VARCHAR) | SELECT desired_rate__p_ FROM table_25316812_1 WHERE rate_limit__p_ = "50.33" |
Write a SQL query that answers the following question: What is the authority who set the budget limit (£m) at 900? | The relevant table was constructed using the following SQL : CREATE TABLE table_25316812_1 (authority VARCHAR, budget_limit__£m_ VARCHAR) | SELECT authority FROM table_25316812_1 WHERE budget_limit__£m_ = "900" |
Write a SQL query that answers the following question: What was the highest share? | The relevant table was constructed using the following SQL : CREATE TABLE table_25304789_1 (share INTEGER) | SELECT MAX(share) FROM table_25304789_1 |
Write a SQL query that answers the following question: What was the final score of the game with 7523 in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_25331766_3 (final_score VARCHAR, attendance VARCHAR) | SELECT final_score FROM table_25331766_3 WHERE attendance = 7523 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.