output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT COUNT("rank_07_11") FROM "world_ranking_of_chemical_engineering_sc" WHERE "world_ranking"='4';
## Task Generate a SQL query to answer the following question: `How many figures are there for Rank 07-11 when the world ranking is 4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "world_ranking_of_chemical_engineering_sc" ( "school" text, "locat...
SELECT COUNT("pubs_2011") FROM "world_ranking_of_chemical_engineering_sc" WHERE "location"='Chennai';
## Task Generate a SQL query to answer the following question: `How many figures are given for pubs 2011 in Chennai?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "world_ranking_of_chemical_engineering_sc" ( "school" text, "location" text, "pubs...
SELECT COUNT("location") FROM "members" WHERE "institution"='Georgia Perimeter College';
## Task Generate a SQL query to answer the following question: `Name the number location of georgia perimeter college` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "members" ( "institution" text, "location" text, "nickname" text, "founded" rea...
SELECT "location" FROM "members" WHERE "institution"='Chattahoochee Technical College';
## Task Generate a SQL query to answer the following question: `Name the location for chattahoochee technical college` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "members" ( "institution" text, "location" text, "nickname" text, "founded" rea...
SELECT "location" FROM "members" WHERE "institution"='Abraham Baldwin Agricultural College';
## Task Generate a SQL query to answer the following question: `Name the location for abraham baldwin agricultural college` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "members" ( "institution" text, "location" text, "nickname" text, "founded...
SELECT COUNT("nickname") FROM "members" WHERE "institution"='Andrew College';
## Task Generate a SQL query to answer the following question: `Name the total number of nicknames for andrew college` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "members" ( "institution" text, "location" text, "nickname" text, "founded" rea...
SELECT MAX("enrollment") FROM "members" WHERE "nickname"='Hawks';
## Task Generate a SQL query to answer the following question: `Name the most enrollment when nickname is hawks` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "members" ( "institution" text, "location" text, "nickname" text, "founded" real, "...
SELECT "surface" FROM "singles_7" WHERE "opponent"='George Khrikadze';
## Task Generate a SQL query to answer the following question: `WHAT WAS THE SURFACE MADE OF WHEN THE OPPONENT WAS GEORGE KHRIKADZE?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_7" ( "edition" text, "round" text, "date" text, "agains...
SELECT "result" FROM "singles_7" WHERE "surface"='Clay' AND "against"='Lithuania';
## Task Generate a SQL query to answer the following question: `WHAT WERE ALL OF THE RESULTS WHEN THEY PLAYED AGAINST LITHUANIA AND THE SURFACE WAS MADE OF CLAY?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_7" ( "edition" text, "round" t...
SELECT "republican_steve_sauerberg" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='September 15-September 18, 2008';
## Task Generate a SQL query to answer the following question: `Name the republican steve sauerberg where dates administered september 15-september 18, 2008` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "...
SELECT "republican_steve_sauerberg" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='August 12, 2008';
## Task Generate a SQL query to answer the following question: `Name the republican steve sauerberg for august 12, 2008` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administe...
SELECT "poll_source" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='July 12, 2008';
## Task Generate a SQL query to answer the following question: `Name the poll source for july 12, 2008` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "dem...
SELECT "republican_steve_sauerberg" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='August 12, 2008';
## Task Generate a SQL query to answer the following question: `Name the republican steve sauerberg for august 12, 2008` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administe...
SELECT "republican_steve_sauerberg" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='August 12, 2008';
## Task Generate a SQL query to answer the following question: `Name the republican steve sauerberg for august 12, 2008` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administe...
SELECT "democrat_vivian_davis_figures" FROM "opinion_polling_for_the_united_states_se" WHERE "lead_margin"=35;
## Task Generate a SQL query to answer the following question: `When the lead margin was 35, what were the Democrat: Vivian Davis Figures?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text,...
SELECT "republican_jeff_sessions" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='June 30, 2008';
## Task Generate a SQL query to answer the following question: `On June 30, 2008 who what was the Republican: Jeff Sessions percentage?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, ...
SELECT COUNT("republican_jeff_sessions") FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='November 14, 2007';
## Task Generate a SQL query to answer the following question: `On November 14, 2007, how many different Republican: Jeff Sessions are there?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" te...
SELECT "democrat_vivian_davis_figures" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='November 14, 2007';
## Task Generate a SQL query to answer the following question: `On November 14, 2007, what are the Democrat: Vivian Davis Figures percentages? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" ...
SELECT "democrat_vivian_davis_figures" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='July 31, 2008';
## Task Generate a SQL query to answer the following question: `On July 31, 2008, what are the Democrat: Vivian Davis Figures percentages?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text,...
SELECT "democrat_mark_begich" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='October 6, 2008';
## Task Generate a SQL query to answer the following question: `What was Mark Begich polling on October 6, 2008?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" te...
SELECT COUNT("dates_administered") FROM "opinion_polling_for_the_united_states_se" WHERE "poll_source"='Research 2000/Daily Kos';
## Task Generate a SQL query to answer the following question: `When the poll source is research 2000/daily kos, what is the total number of dates administered? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ...
SELECT COUNT("lead_maragin") FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='July 17, 2008';
## Task Generate a SQL query to answer the following question: `On July 17, 2008, what was the total number of lead maragin? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_adm...
SELECT "club" FROM "2005_06_table" WHERE "points_against"='608';
## Task Generate a SQL query to answer the following question: `What clubs had 608 points against?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2005_06_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_f...
SELECT "played" FROM "2005_06_table" WHERE "points"='48';
## Task Generate a SQL query to answer the following question: `How many games played for the team with 48 points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2005_06_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" t...
SELECT "played" FROM "2005_06_table" WHERE "points_against"='686';
## Task Generate a SQL query to answer the following question: `How many games played for the team with 686 points against?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2005_06_table" ( "club" text, "played" text, "won" text, "drawn" text, ...
SELECT "club" FROM "2005_06_table" WHERE "points_for"='748';
## Task Generate a SQL query to answer the following question: `What clubs recorded 748 points to the good?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2005_06_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, ...
SELECT COUNT("points_for") FROM "2005_06_table" WHERE "points_against"='632';
## Task Generate a SQL query to answer the following question: `How many teams had 632 points against?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2005_06_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "poin...
SELECT "drawn" FROM "2005_06_table" WHERE "lost"='11' AND "points_for"='748';
## Task Generate a SQL query to answer the following question: `How many games drawn for the team that lost 11 and had 748 points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2005_06_table" ( "club" text, "played" text, "won" text, "drawn" ...
SELECT COUNT("republican_jack_hoogendyk") FROM "opinion_polling_for_the_united_states_se" WHERE "poll_source"='Public Policy Polling';
## Task Generate a SQL query to answer the following question: `How many times did Public Policy Polling under Republican: Jack Hoogendyk?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text,...
SELECT "poll_source" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='July 10, 2008';
## Task Generate a SQL query to answer the following question: `What poll source had an administered date on July 10, 2008?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_admin...
SELECT MIN("lead_margin") FROM "opinion_polling_for_the_united_states_se" WHERE "poll_source"='Strategic Vision' AND "democrat_carl_levin"='57%';
## Task Generate a SQL query to answer the following question: `What was the smallest lead margin when the source of polls came from Strategic Vision and Democrat Carl Levin had 57%?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_t...
SELECT "poll_source" FROM "opinion_polling_for_the_united_states_se" WHERE "democrat_carl_levin"='54%' AND "lead_margin"=28;
## Task Generate a SQL query to answer the following question: `What was the poll source when Democrat Carl Levin had 54% and the lead margin was 28?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_so...
SELECT COUNT("dates_administered") FROM "opinion_polling_for_the_united_states_se" WHERE "poll_source"='Strategic Vision' AND "republican_jack_hoogendyk"='29%';
## Task Generate a SQL query to answer the following question: `How many dates were recorder administered when poll were sourced from Strategic Vision and the Republican Jack Hoogendyk had 29%?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "opinion_p...
SELECT "latitude" FROM "faculae" WHERE "diameter"='184.0';
## Task Generate a SQL query to answer the following question: `What is the latitude when the diameter is 184.0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "faculae" ( "name" text, "latitude" text, "longitude" text, "diameter" text, "year...
SELECT COUNT("longitude") FROM "faculae" WHERE "diameter"='224.0';
## Task Generate a SQL query to answer the following question: `How many longitudes have a diameter of 224.0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "faculae" ( "name" text, "latitude" text, "longitude" text, "diameter" text, "year_na...
SELECT "namesake" FROM "faculae" WHERE "longitude"='189.5W';
## Task Generate a SQL query to answer the following question: `What is the namesake of the feature found at 189.5w longitude? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "faculae" ( "name" text, "latitude" text, "longitude" text, "diameter...
SELECT "namesake" FROM "faculae" WHERE "longitude"='147.1W';
## Task Generate a SQL query to answer the following question: `When the longitude is 147.1w what is the namesake of the feature? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "faculae" ( "name" text, "latitude" text, "longitude" text, "diame...
SELECT COUNT("longitude") FROM "faculae" WHERE "latitude"='9.9N';
## Task Generate a SQL query to answer the following question: `How many longitudes have a latitude of 9.9n?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "faculae" ( "name" text, "latitude" text, "longitude" text, "diameter" text, "year_nam...
SELECT MAX("points_against") FROM "pool_2" WHERE "pts"=10;
## Task Generate a SQL query to answer the following question: `What is the maximum points against when team's points are 10?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pool_2" ( "team" text, "p" real, "w" real, "d" real, "l" real, "tr...
SELECT MAX("tries_against") FROM "pool_2" WHERE "team"='Bridgend';
## Task Generate a SQL query to answer the following question: `What are the tries against when they played against Bridgend?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pool_2" ( "team" text, "p" real, "w" real, "d" real, "l" real, "tr...
SELECT MIN("tries_for") FROM "pool_2";
## Task Generate a SQL query to answer the following question: `What is the smallest number of tries for in a game?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pool_2" ( "team" text, "p" real, "w" real, "d" real, "l" real, "tries_for" r...
SELECT "latitude" FROM "sulci" WHERE "name"='Philae Sulcus';
## Task Generate a SQL query to answer the following question: `Philae Sulcus has a latitude of what?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "sulci" ( "name" text, "latitude" text, "longitude" text, "diameter" text, "year_named" real,...
SELECT "opponent" FROM "league" WHERE "date"='12 May 2008';
## Task Generate a SQL query to answer the following question: `Name the opponent for 12 may 2008` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "league" ( "match" real, "date" text, "opponent" text, "venue" text, "result" text, "turbine_go...
SELECT COUNT("points") FROM "torneo_clausura" WHERE "team"='Sportivo Luqueño';
## Task Generate a SQL query to answer the following question: `how many points scored by sportivo luqueño` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" re...
SELECT "points" FROM "round_of_16" WHERE "team_num2"='Atlético Nacional';
## Task Generate a SQL query to answer the following question: `For team Atlético Nacional, what were the points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" text, ...
SELECT COUNT("team_num1") FROM "round_of_16" WHERE "team_num2"='San Lorenzo';
## Task Generate a SQL query to answer the following question: `If team two is San Lorenzo, how many were on team one?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" t...
SELECT COUNT("points") FROM "round_of_16" WHERE "team_num2"='Lanús';
## Task Generate a SQL query to answer the following question: `If team two is Lanús, what was the total number of points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, "1st_le...
SELECT "name_origin" FROM "fossae" WHERE "name"='Nike Fossae';
## Task Generate a SQL query to answer the following question: `What is the name origin of Nike Fossae? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fossae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named...
SELECT "name" FROM "fossae" WHERE "latitude"='10.0S';
## Task Generate a SQL query to answer the following question: `Which name is at latitude 10.0s?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fossae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, ...
SELECT "latitude" FROM "fossae" WHERE "name"='Yuzut-Arkh Fossae';
## Task Generate a SQL query to answer the following question: `At what latitude can the name origin of yuzut-arkh fossae be found?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fossae" ( "name" text, "latitude" text, "longitude" text, "diame...
SELECT "latitude" FROM "fossae" WHERE "name"='Naijok Fossae';
## Task Generate a SQL query to answer the following question: `At what latitude can the name origin of naijok fossae be found?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fossae" ( "name" text, "latitude" text, "longitude" text, "diameter_...
SELECT "latitude" FROM "fossae" WHERE "diameter_km"='500.0';
## Task Generate a SQL query to answer the following question: `At what latitude can you find the diameter (km) of 500.0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fossae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" te...
SELECT COUNT("diameter_km") FROM "dorsa" WHERE "latitude"='5.0N';
## Task Generate a SQL query to answer the following question: `How many numbers are listed under diameter with a lattitude of 5.0n?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "dorsa" ( "name" text, "latitude" text, "longitude" text, "diame...
SELECT "name_origin" FROM "dorsa" WHERE "diameter_km"='220.0';
## Task Generate a SQL query to answer the following question: `What is the name origin with a diameter of 220.0 kilometers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "dorsa" ( "name" text, "latitude" text, "longitude" text, "diameter_km" ...
SELECT "name" FROM "dorsa" WHERE "longitude"='246.0E';
## Task Generate a SQL query to answer the following question: `What is the name of feature with a longitude 246.0e?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "dorsa" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, ...
SELECT "name_origin" FROM "fluctus" WHERE "name"='Ovda Fluctus';
## Task Generate a SQL query to answer the following question: `What is every name origin with the name Ovda Fluctus?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fluctus" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text,...
SELECT MAX("year_named") FROM "fluctus" WHERE "name"='Tie Fluctus';
## Task Generate a SQL query to answer the following question: `What is the highest year named for the name Tie Fluctus?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fluctus" ( "name" text, "latitude" text, "longitude" text, "diameter_km" te...
SELECT "year_named" FROM "fluctus" WHERE "latitude"='66.5N';
## Task Generate a SQL query to answer the following question: `What is every year named for the latitude of 66.5N?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fluctus" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, ...
SELECT "name" FROM "fluctus" WHERE "longitude"='152.0E';
## Task Generate a SQL query to answer the following question: `What is every name for longitude of 152.0E?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fluctus" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_n...
SELECT "diameter_km" FROM "farra" WHERE "longitude"='8.0E';
## Task Generate a SQL query to answer the following question: `What is the diameter of the feature with longitude 8.0e?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "farra" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text...
SELECT "name" FROM "farra" WHERE "latitude"='23.9S';
## Task Generate a SQL query to answer the following question: `What feature is at latitude 23.9S?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "farra" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real,...
SELECT MAX("year_named") FROM "farra";
## Task Generate a SQL query to answer the following question: `When was the most recently named feature named?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "farra" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "yea...
SELECT "diameter_km" FROM "tesserae" WHERE "name_origin"='Likho , East Slavic deity of bad fate.';
## Task Generate a SQL query to answer the following question: `Name the diameter for likho , east slavic deity of bad fate.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tesserae" ( "name" text, "latitude" text, "longitude" text, "diameter_...
SELECT "name" FROM "tesserae" WHERE "latitude"='36.0N';
## Task Generate a SQL query to answer the following question: `Name the name of 36.0n` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tesserae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_...
SELECT "latitude" FROM "tesserae" WHERE "name"='Laima Tessera';
## Task Generate a SQL query to answer the following question: `Name the latitude of laima tessera` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tesserae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" re...
SELECT "name_origin" FROM "tesserae" WHERE "longitude"='54.0E';
## Task Generate a SQL query to answer the following question: `Name the name origin for 54.0e` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tesserae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, ...
SELECT COUNT("year_named") FROM "tesserae" WHERE "name_origin"='Athena , Greek goddess of wisdom .';
## Task Generate a SQL query to answer the following question: `Name the total number of year named for athena , greek goddess of wisdom .` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tesserae" ( "name" text, "latitude" text, "longitude" text...
SELECT "longitude" FROM "tholi" WHERE "name"='Grechukha Tholi';
## Task Generate a SQL query to answer the following question: `Grechukha Tholi has what longitude?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tholi" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real...
SELECT "name" FROM "tholi" WHERE "longitude"='202.9E';
## Task Generate a SQL query to answer the following question: `Where is longitude 202.9e?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tholi" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name...
SELECT COUNT("year_named") FROM "tholi" WHERE "name"='Otafuku Tholi';
## Task Generate a SQL query to answer the following question: `How many schools are named otafuku tholi?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tholi" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named...
SELECT MAX("year_named") FROM "tholi" WHERE "name"='Norterma Tholus';
## Task Generate a SQL query to answer the following question: `What year was Norterma Tholus created?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tholi" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" r...
SELECT "round1" FROM "overall_team_standings" WHERE "team"='Great Britain';
## Task Generate a SQL query to answer the following question: `What was Great Britain's Round 1 score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "overall_team_standings" ( "rank" real, "team" text, "round1" real, "round2" real, "round3"...
SELECT MIN("round4") FROM "overall_team_standings" WHERE "team"='Team Toshiba';
## Task Generate a SQL query to answer the following question: `What was team Toshiba's round 4 score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "overall_team_standings" ( "rank" real, "team" text, "round1" real, "round2" real, "round3" ...
SELECT MAX("round2") FROM "overall_team_standings";
## Task Generate a SQL query to answer the following question: `What was the highest score for round 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "overall_team_standings" ( "rank" real, "team" text, "round1" real, "round2" real, "round3"...
SELECT "round5" FROM "overall_team_standings" WHERE "total_points"=212;
## Task Generate a SQL query to answer the following question: `What was the round 5 score if the team's total points where 212?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "overall_team_standings" ( "rank" real, "team" text, "round1" real, ...
SELECT COUNT("round2") FROM "overall_team_standings" WHERE "team"='Team Toshiba';
## Task Generate a SQL query to answer the following question: `What is the score for round 2 for team Toshiba?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "overall_team_standings" ( "rank" real, "team" text, "round1" real, "round2" real, ...
SELECT "name_origin" FROM "lineae" WHERE "longitude"='355.0E';
## Task Generate a SQL query to answer the following question: `At the longitude of 355.0e, what is the name origin?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "lineae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, ...
SELECT "name_origin" FROM "lineae" WHERE "name"='Morrigan Linea';
## Task Generate a SQL query to answer the following question: `What is the name origin of Morrigan Linea?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "lineae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_nam...
SELECT COUNT("year_named") FROM "lineae" WHERE "longitude"='20.0E';
## Task Generate a SQL query to answer the following question: `How many years have a longitude measure of 20.0e?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "lineae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "y...
SELECT "diameter_km" FROM "lineae" WHERE "longitude"='293.0E';
## Task Generate a SQL query to answer the following question: `At a longitude of 293.0e, what is the diameter, in km?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "lineae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text,...
SELECT "release_date" FROM "television_soundtracks" WHERE "notes"='Bonus interview with Peter Purves';
## Task Generate a SQL query to answer the following question: `What is the release date of the bonus interview with Peter Purves?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "television_soundtracks" ( "story_num" real, "title" text, "doctor" ...
SELECT "narrator" FROM "television_soundtracks" WHERE "notes"='Bonus interview with Frazer Hines';
## Task Generate a SQL query to answer the following question: `Which narrator has the bonus interview with Frazer Hines?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "television_soundtracks" ( "story_num" real, "title" text, "doctor" text, "...
SELECT "release_date" FROM "television_soundtracks" WHERE "title"='Destiny of the Daleks';
## Task Generate a SQL query to answer the following question: `What is the release date for Destiny of the Daleks?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "television_soundtracks" ( "story_num" real, "title" text, "doctor" text, "narrat...
SELECT "profits_billion" FROM "2011_list" WHERE "company"='Wells Fargo';
## Task Generate a SQL query to answer the following question: `What are the profits of Wells Fargo (in billions)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, ...
SELECT MIN("rank") FROM "2011_list" WHERE "company"='BNP Paribas';
## Task Generate a SQL query to answer the following question: `What is the ranking of BNP Paribas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion...
SELECT "headquarters" FROM "2011_list" WHERE "sales_billion"='69.2';
## Task Generate a SQL query to answer the following question: `Where are the headquarters of the company whose sales were 69.2 billion?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_list" ( "rank" real, "company" text, "headquarters" text...
SELECT "assets_billion" FROM "2011_list" WHERE "headquarters"='China' AND "profits_billion"='21.2';
## Task Generate a SQL query to answer the following question: `What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_list" ( "rank" real, "c...
SELECT "profits_billion" FROM "2011_list" WHERE "market_value_billion"='172.9';
## Task Generate a SQL query to answer the following question: `What are the profits (in billions) of the company with a market value of 172.9 billion?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_list" ( "rank" real, "company" text, "hea...
SELECT "profits_billion" FROM "2011_list" WHERE "assets_billion"='192.8';
## Task Generate a SQL query to answer the following question: `What are the profits (in billions) where the assets are 192.8 billion?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_list" ( "rank" real, "company" text, "headquarters" text, ...
SELECT COUNT("index_weighting_pct_at_17_january_2013") FROM "composition" WHERE "company"='Bouygues';
## Task Generate a SQL query to answer the following question: `Name the total number of index weighting % at 17 january 2013 for bouygues` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "composition" ( "company" text, "icb_sector" text, "ticker_s...
SELECT "icb_sector" FROM "composition" WHERE "ticker_symbol"='AI';
## Task Generate a SQL query to answer the following question: `Name the icb sector for ai` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "composition" ( "company" text, "icb_sector" text, "ticker_symbol" text, "index_weighting_pct_at_17_januar...
SELECT "company" FROM "composition" WHERE "index_weighting_pct_at_17_january_2013"='11.96';
## Task Generate a SQL query to answer the following question: `Name the company where index weighting % is 11.96` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "composition" ( "company" text, "icb_sector" text, "ticker_symbol" text, "index_wei...
SELECT "index_weighting_pct_at_17_january_2013" FROM "composition" WHERE "ticker_symbol"='RNO';
## Task Generate a SQL query to answer the following question: `Name the index weighting % for 17 januaary 2013 for rno` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "composition" ( "company" text, "icb_sector" text, "ticker_symbol" text, "ind...
SELECT COUNT("headquarters") FROM "2007_list" WHERE "company"='HSBC';
## Task Generate a SQL query to answer the following question: `How many headquarters are there listed for HSBC?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2007_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "...
SELECT "market_value_billion" FROM "2007_list" WHERE "assets_billion"='1,380.88';
## Task Generate a SQL query to answer the following question: `What is the market value in billions when the assets totaled 1,380.88?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2007_list" ( "rank" real, "company" text, "headquarters" text, ...
SELECT MAX("rank") FROM "2007_list" WHERE "industry"='Oil and gas' AND "headquarters"='Netherlands';
## Task Generate a SQL query to answer the following question: `What is the highest rank of a company in the oil and gas industry headquartered in Netherlands?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2007_list" ( "rank" real, "company" text...
SELECT MIN("rank") FROM "2007_list" WHERE "assets_billion"='248.44';
## Task Generate a SQL query to answer the following question: `What is the lowest rank of a company with 248.44 billions of dollars in assets?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2007_list" ( "rank" real, "company" text, "headquarter...
SELECT "industry" FROM "2007_list" WHERE "sales_billion"='89.16';
## Task Generate a SQL query to answer the following question: `In what industry was the company that had 89.16 billions of dollars in sales?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2007_list" ( "rank" real, "company" text, "headquarters"...
SELECT COUNT("rank") FROM "2005_list" WHERE "profits_billion"='9.52';
## Task Generate a SQL query to answer the following question: `Name the number of rank for 9.52 profits` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2005_list" ( "rank" real, "company" text, "country" text, "industry" text, "sales_billion...
SELECT "country" FROM "2005_list" WHERE "market_value_billion"='188.77';
## Task Generate a SQL query to answer the following question: `Name the country for 188.77 market value` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2005_list" ( "rank" real, "company" text, "country" text, "industry" text, "sales_billion...