text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "l" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What is the position of the player that came from... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "l" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: Who is the player who's number is 3?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "l" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What is the height for the player in 1968-72?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "l" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: Which player had a height of 6-0?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "l" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What is the position for the player that played i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "k" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What are all the names of the players who are 7-0... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "k" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: Kimball, toby toby kimball is a player; How many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "k" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: In connecticut the school/club team/country had a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "k" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: Rockets height was 6-6 in feet, list the time fra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s" (
"player" text,
"no_s" real,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What is the hight of the player who's tenure last... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s" (
"player" text,
"no_s" real,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What school did the 7-4 player attend?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "w" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: what's the years for rockets where position is g... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "w" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: what is the total number of player where years fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "w" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: what is the total number of player where years fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "w" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: what's the position where player is williams, be... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "w" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: what is the total number of years for rockets whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "t" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: How many positions had jersey number 32
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "t" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: Which years had a jersey number 55
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "c" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: Which school, club team, or country played for th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "c" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: During which years did number 13 play for the Roc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "suburbs" (
"suburb" text,
"population_in_2008" real,
"median_age_in_2006" text,
"mean_household_size_in_2006" text,
"area_km" text,
"density_km" real,
"date_first_settled_as_a_suburb" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "suburbs" (
"suburb" text,
"population_in_2008" real,
"median_age_in_2006" text,
"mean_household_size_in_2006" text,
"area_km" text,
"density_km" real,
"date_first_settled_as_a_suburb" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "suburbs" (
"suburb" text,
"population_in_2008" real,
"median_age_in_2006" text,
"mean_household_size_in_2006" text,
"area_km" text,
"density_km" real,
"date_first_settled_as_a_suburb" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "suburbs" (
"suburb" text,
"population_in_2008" real,
"median_age_in_2006" text,
"mean_household_size_in_2006" text,
"area_km" text,
"density_km" real,
"date_first_settled_as_a_suburb" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "presenters" (
"series" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text,
"saturday" text,
"sunday" text
);
Question: Who is the thursday presenter of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "presenters" (
"series" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text,
"saturday" text,
"sunday" text
);
Question: Who is the friday presenter for e... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "presenters" (
"series" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text,
"saturday" text,
"sunday" text
);
Question: Who is the Tuesday presenter of C... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "presenters" (
"series" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text,
"saturday" text,
"sunday" text
);
Question: Who is the Wednesday presenter of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "presenters" (
"series" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text,
"saturday" text,
"sunday" text
);
Question: List all of the shows with Alice ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"player" text,
"no_s" real,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What are all the positions for the rockets in 200... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"player" text,
"no_s" real,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What is the height of the school club team member... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "f" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What years for the rockets did player ford, alton... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "f" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What years for the rockets did the player ford, p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "f" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
Question: What school/club team/country did the player fitc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"num" real,
"episode" text,
"air_date" text,
"timeslot" text,
"rating" text,
"share" real,
"18_49" text,
"viewers" text,
"weekly_rank" text
);
Question: What is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"num" real,
"episode" text,
"air_date" text,
"timeslot" text,
"rating" text,
"share" real,
"18_49" text,
"viewers" text,
"weekly_rank" text
);
Question: What is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
Question: What is the minimum of t20 matches... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
Question: Where is ropery lane located?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
Question: Where is ropery lane and la matche... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
Question: What is the maximum fc matches?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
Question: What is the maximum fc matches at ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
Question: What is the maximum t20 on green l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "petrol_engines" (
"model" text,
"cylinders_valves" text,
"displacement_cc" real,
"max_power_k_w_ps_at_rpm" text,
"max_torque_nm_at_rpm" text,
"engine_code" text,
"top_speed_km_h" real,
"pr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11793221_2" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
Question: Which units are commanded by Lieutenant Colonel Francis Hepbu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11793221_2" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
Question: What are the complements when the commander is Major William ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11793221_2" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
Question: How many were wounded when the complement was 173 off 2059 me... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11793221_2" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
Question: How many where killed under Major-General Jean Victor de Cons... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11793221_2" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
Question: Who were the commanders when 8 off 0 men were wounded?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "prospective_members" (
"country" text,
"population" real,
"area_km" real,
"gdp_nominal" text,
"gdp_per_capita_nominal" text
);
Question: What is the gpa per capita (nominal) for the country wit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "prospective_members" (
"country" text,
"population" real,
"area_km" real,
"gdp_nominal" text,
"gdp_per_capita_nominal" text
);
Question: How many countries has a gdp (nominal) of $29.9 billion?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "prospective_members" (
"country" text,
"population" real,
"area_km" real,
"gdp_nominal" text,
"gdp_per_capita_nominal" text
);
Question: What is the GDP (nominal) for Uzbekistan?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "prospective_members" (
"country" text,
"population" real,
"area_km" real,
"gdp_nominal" text,
"gdp_per_capita_nominal" text
);
Question: What is the area (km²) for the country with a population... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dvd_releases" (
"dvd_name" text,
"released" text,
"audio" text,
"aspect_ratio" text,
"duration" text,
"number_of_episodes" real,
"num_of_discs" real
);
Question: What is the aspect ratio of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dvd_releases" (
"dvd_name" text,
"released" text,
"audio" text,
"aspect_ratio" text,
"duration" text,
"number_of_episodes" real,
"num_of_discs" real
);
Question: What is the name of the DVD... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dvd_releases" (
"dvd_name" text,
"released" text,
"audio" text,
"aspect_ratio" text,
"duration" text,
"number_of_episodes" real,
"num_of_discs" real
);
Question: How many releases did the D... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dvd_releases" (
"dvd_name" text,
"released" text,
"audio" text,
"aspect_ratio" text,
"duration" text,
"number_of_episodes" real,
"num_of_discs" real
);
Question: What is the total number of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dvd_releases" (
"dvd_name" text,
"released" text,
"audio" text,
"aspect_ratio" text,
"duration" text,
"number_of_episodes" real,
"num_of_discs" real
);
Question: What is the name of the DVD... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11793221_4" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
Question: What were the wounded for complement of 46 off 656 men?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11793221_4" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
Question: What was the missing for lieutenant general sir thomas picton... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11793221_4" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
Question: Name the number of complement for 4th hanoverian brigade
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11793221_4" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
Question: Name the commander of 167 off 2348 men
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_draft_picks" (
"round" real,
"overall" real,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_draft_picks" (
"round" real,
"overall" real,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: WHAT ROUND WAS FORWARD ANDRE PETERSSON SELECTED?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_draft_picks" (
"round" real,
"overall" real,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: WHAT POSITION DOES PATRICK WIERCIOCH PLAY?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_draft_picks" (
"round" real,
"overall" real,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: NAME THE OVERALL FOR THE OMAHA (USHL) CLUB TEAM
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_draft_picks" (
"round" real,
"overall" real,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: WHERE IS ANDRE PETERSSON FROM?
<|assistant|>
SELECT "nation... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: What club team did JArrod Maidens play for?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: What position does Cody Ceci play?
<|assistant|>
SELECT "po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: What is the Nationality when the club team is Peterborough ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: Which player is in round 5?
<|assistant|>
SELECT "player" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: What position is associated with an overall value of 126?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: What position is the player Jordan Fransoo in?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: How many rounds is the player Matthew Puempel associated wi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: What is the position of player Tobias Lindberg?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: How many players had overall 78?
<|assistant|>
SELECT COUNT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: What is the last round with club team Guelph Storm (ohl)?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: How many positions did player Ben Harpur play?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
Question: What is the position of player Marcus Hogberg?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
Question: 3488 is the enrollment amount of what col... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
Question: Barry University had the highest enrollme... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
Question: The fighting knights has what type of nic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
Question: Boca Raton, Florida had what joined amoun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
Question: If the enrollment is 3584, what's the lar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
Question: Barry University had a maximum enrollment... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11820086_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11820086_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11820086_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11820086_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "norwegian_americans_by_state" (
"state" text,
"norwegian_americans_1980" real,
"percent_1980" text,
"norwegian_americans_1990" real,
"percent_1990" text,
"norwegian_americans_2000" real,
"pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "norwegian_americans_by_state" (
"state" text,
"norwegian_americans_1980" real,
"percent_1980" text,
"norwegian_americans_1990" real,
"percent_1990" text,
"norwegian_americans_2000" real,
"pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "norwegian_americans_by_state" (
"state" text,
"norwegian_americans_1980" real,
"percent_1980" text,
"norwegian_americans_1990" real,
"percent_1990" text,
"norwegian_americans_2000" real,
"pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "norwegian_americans_by_state" (
"state" text,
"norwegian_americans_1980" real,
"percent_1980" text,
"norwegian_americans_1990" real,
"percent_1990" text,
"norwegian_americans_2000" real,
"pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "norwegian_americans_by_state" (
"state" text,
"norwegian_americans_1980" real,
"percent_1980" text,
"norwegian_americans_1990" real,
"percent_1990" text,
"norwegian_americans_2000" real,
"pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
);
Question: What is the English version of th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
);
Question: What is the smallest track number... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
);
Question: How many tracks are titled Mō Suk... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
);
Question: What is the Japanese title for Fa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
);
Question: How long is track number 8?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_11875915_2" (
"rnd" real,
"circuit" text,
"wsc_winning_team" text,
"gt1_winning_team" text,
"gt2_winning_team" text,
"gt3_winning_team" text,
"results" text
);
Question: Who was the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "events" (
"tournament" text,
"date" text,
"city" text,
"country" text,
"surface" text,
"singles_champions" text,
"doubles_champions" text
);
Question: How many doubles champions were there ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.