text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"institution" text,
"location" text,
"nickname" text,
"founded" real,
"enrollment" real,
"joined" real
);
Question: Name the number location of georgia perimeter college
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"institution" text,
"location" text,
"nickname" text,
"founded" real,
"enrollment" real,
"joined" real
);
Question: Name the location for chattahoochee technical college
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"institution" text,
"location" text,
"nickname" text,
"founded" real,
"enrollment" real,
"joined" real
);
Question: Name the location for abraham baldwin agricultural college
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"institution" text,
"location" text,
"nickname" text,
"founded" real,
"enrollment" real,
"joined" real
);
Question: Name the total number of nicknames for andrew college
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"institution" text,
"location" text,
"nickname" text,
"founded" real,
"enrollment" real,
"joined" real
);
Question: Name the most enrollment when nickname is hawks
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_7" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"w_l" text,
"result" text
);
Question: WHAT WAS THE SURFACE MADE OF WHEN THE OPPON... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_7" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"w_l" text,
"result" text
);
Question: WHAT WERE ALL OF THE RESULTS WHEN THEY PLAY... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: What was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: When the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: On July 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: What c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: How ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: How ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: What c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: How ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: How ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: How many... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: What pol... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: What was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: What was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: How many... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "faculae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter" text,
"year_named" real,
"namesake" text
);
Question: What is the latitude when the diameter is 184.0?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "faculae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter" text,
"year_named" real,
"namesake" text
);
Question: How many longitudes have a diameter of 224.0?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "faculae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter" text,
"year_named" real,
"namesake" text
);
Question: What is the namesake of the feature found at 189.5w longitude?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "faculae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter" text,
"year_named" real,
"namesake" text
);
Question: When the longitude is 147.1w what is the namesake of the feature?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "faculae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter" text,
"year_named" real,
"namesake" text
);
Question: How many longitudes have a latitude of 9.9n?
<|assistant|>
SELECT C... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sulci" (
"name" text,
"latitude" text,
"longitude" text,
"diameter" text,
"year_named" real,
"namesake" text
);
Question: Philae Sulcus has a latitude of what?
<|assistant|>
SELECT "latitude"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league" (
"match" real,
"date" text,
"opponent" text,
"venue" text,
"result" text,
"turbine_goals" text,
"attendance" real,
"report" text
);
Question: Name the opponent for 12 may 2008
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: how many points scor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_of_16" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: For team Atlético Nacional, what were the points?
<|assistant|>
SELECT "points" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_of_16" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: If team two is San Lorenzo, how many were on team one?
<|assistant|>
SELECT COUNT("... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_of_16" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: If team two is Lanús, what was the total number of points?
<|assistant|>
SELECT COU... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fossae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What is the name origin of Nike Fossae?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fossae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: Which name is at latitude 10.0s?
<|assistant|>
SELECT "name" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fossae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: At what latitude can the name origin of yuzut-arkh fossae be f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fossae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: At what latitude can the name origin of naijok fossae be found... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fossae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: At what latitude can you find the diameter (km) of 500.0?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dorsa" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: How many numbers are listed under diameter with a lattitude of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dorsa" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What is the name origin with a diameter of 220.0 kilometers?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dorsa" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What is the name of feature with a longitude 246.0e?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fluctus" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What is every name origin with the name Ovda Fluctus?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fluctus" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What is the highest year named for the name Tie Fluctus?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fluctus" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What is every year named for the latitude of 66.5N?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fluctus" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What is every name for longitude of 152.0E?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "farra" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What is the diameter of the feature with longitude 8.0e?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "farra" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What feature is at latitude 23.9S?
<|assistant|>
SELECT "name" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "farra" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: When was the most recently named feature named?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tesserae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: Name the diameter for likho , east slavic deity of bad fate... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tesserae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: Name the name of 36.0n
<|assistant|>
SELECT "name" FROM "tes... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tesserae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: Name the latitude of laima tessera
<|assistant|>
SELECT "lat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tesserae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: Name the name origin for 54.0e
<|assistant|>
SELECT "name_or... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tesserae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: Name the total number of year named for athena , greek godd... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tholi" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: Grechukha Tholi has what longitude?
<|assistant|>
SELECT "longi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tholi" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: Where is longitude 202.9e?
<|assistant|>
SELECT "name" FROM "th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tholi" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: How many schools are named otafuku tholi?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tholi" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What year was Norterma Tholus created?
<|assistant|>
SELECT MAX... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_team_standings" (
"rank" real,
"team" text,
"round1" real,
"round2" real,
"round3" real,
"round4" real,
"round5" real,
"total_points" real
);
Question: What was Great Britain's Ro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_team_standings" (
"rank" real,
"team" text,
"round1" real,
"round2" real,
"round3" real,
"round4" real,
"round5" real,
"total_points" real
);
Question: What was team Toshiba's rou... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_team_standings" (
"rank" real,
"team" text,
"round1" real,
"round2" real,
"round3" real,
"round4" real,
"round5" real,
"total_points" real
);
Question: What was the highest score ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_team_standings" (
"rank" real,
"team" text,
"round1" real,
"round2" real,
"round3" real,
"round4" real,
"round5" real,
"total_points" real
);
Question: What was the round 5 score ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_team_standings" (
"rank" real,
"team" text,
"round1" real,
"round2" real,
"round3" real,
"round4" real,
"round5" real,
"total_points" real
);
Question: What is the score for round... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lineae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: At the longitude of 355.0e, what is the name origin?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lineae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: What is the name origin of Morrigan Linea?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lineae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: How many years have a longitude measure of 20.0e?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lineae" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"year_named" real,
"name_origin" text
);
Question: At a longitude of 293.0e, what is the diameter, in km?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_soundtracks" (
"story_num" real,
"title" text,
"doctor" text,
"narrator" text,
"format" text,
"release_date" text,
"notes" text
);
Question: What is the release date of the bonus... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_soundtracks" (
"story_num" real,
"title" text,
"doctor" text,
"narrator" text,
"format" text,
"release_date" text,
"notes" text
);
Question: Which narrator has the bonus intervie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_soundtracks" (
"story_num" real,
"title" text,
"doctor" text,
"narrator" text,
"format" text,
"release_date" text,
"notes" text
);
Question: What is the release date for Destiny ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Name the total number of inde... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Name the icb sector for ai
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Name the company where index ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Name the index weighting % fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
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
);
Question: Na... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.