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