chat_prompt stringlengths 438 1.53k |
|---|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"growth_personnel\" (\n \"date\" text,\n \"total_usaaf\" real,\n \"tot_officers\" real,\n \"tot_enlisted\" real,\n \"num_oversea... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"growth_personnel\" (\n \"date\" text,\n \"total_usaaf\" real,\n \"tot_officers\" real,\n \"tot_enlisted\" real,\n \"num_oversea... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"growth_personnel\" (\n \"date\" text,\n \"total_usaaf\" real,\n \"tot_officers\" real,\n \"tot_enlisted\" real,\n \"num_oversea... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"official_delegates\" (\n \"represent\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_ft\" text,\n \"height_mtr\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"official_delegates\" (\n \"represent\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_ft\" text,\n \"height_mtr\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"official_delegates\" (\n \"represent\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_ft\" text,\n \"height_mtr\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"official_delegates\" (\n \"represent\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_ft\" text,\n \"height_mtr\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"2010_wimbledon_championships\" (\n \"seed\" real,\n \"rank\" real,\n \"player\" text,\n \"points\" real,\n \"points_defending\"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"2010_wimbledon_championships\" (\n \"seed\" real,\n \"rank\" real,\n \"player\" text,\n \"points\" real,\n \"points_defending\"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23512864_4\" (\n \"election_year\" real,\n \"assembly\" text,\n \"winning_party_coalition\" text,\n \"chief_minister\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23512864_4\" (\n \"election_year\" real,\n \"assembly\" text,\n \"winning_party_coalition\" text,\n \"chief_minister\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23512864_4\" (\n \"election_year\" real,\n \"assembly\" text,\n \"winning_party_coalition\" text,\n \"chief_minister\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23512864_4\" (\n \"election_year\" real,\n \"assembly\" text,\n \"winning_party_coalition\" text,\n \"chief_minister\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23512864_4\" (\n \"election_year\" real,\n \"assembly\" text,\n \"winning_party_coalition\" text,\n \"chief_minister\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"tactical_organization\" (\n \"type_of_unit\" text,\n \"type_of_aircraft\" text,\n \"number_of_aircraft\" text,\n \"number_of_cre... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"tactical_organization\" (\n \"type_of_unit\" text,\n \"type_of_aircraft\" text,\n \"number_of_aircraft\" text,\n \"number_of_cre... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"tactical_organization\" (\n \"type_of_unit\" text,\n \"type_of_aircraft\" text,\n \"number_of_aircraft\" text,\n \"number_of_cre... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23513241_5\" (\n \"series_episode\" real,\n \"season_episode\" real,\n \"title\" text,\n \"u_s_viewers_millions\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23513241_5\" (\n \"series_episode\" real,\n \"season_episode\" real,\n \"title\" text,\n \"u_s_viewers_millions\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23513241_5\" (\n \"series_episode\" real,\n \"season_episode\" real,\n \"title\" text,\n \"u_s_viewers_millions\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23513241_5\" (\n \"series_episode\" real,\n \"season_episode\" real,\n \"title\" text,\n \"u_s_viewers_millions\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"winners_of_the_danish_grand_prix\" (\n \"year\" real,\n \"driver\" text,\n \"constructor\" text,\n \"location\" text,\n \"formu... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"winners_of_the_danish_grand_prix\" (\n \"year\" real,\n \"driver\" text,\n \"constructor\" text,\n \"location\" text,\n \"formu... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"winners_of_the_danish_grand_prix\" (\n \"year\" real,\n \"driver\" text,\n \"constructor\" text,\n \"location\" text,\n \"formu... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"smartphones\" (\n \"code_name\" text,\n \"market_name\" text,\n \"platform\" text,\n \"release_date\" text,\n \"android_version... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"smartphones\" (\n \"code_name\" text,\n \"market_name\" text,\n \"platform\" text,\n \"release_date\" text,\n \"android_version... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"smartphones\" (\n \"code_name\" text,\n \"market_name\" text,\n \"platform\" text,\n \"release_date\" text,\n \"android_version... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"smartphones\" (\n \"code_name\" text,\n \"market_name\" text,\n \"platform\" text,\n \"release_date\" text,\n \"android_version... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"smartphones\" (\n \"code_name\" text,\n \"market_name\" text,\n \"platform\" text,\n \"release_date\" text,\n \"android_version... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23537091_1\" (\n \"copper_age\" text,\n \"chalcolithic_4500_bc_3300_bc\" text,\n \"early_chalcolithic\" text,\n \"4500_bc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23537091_1\" (\n \"copper_age\" text,\n \"chalcolithic_4500_bc_3300_bc\" text,\n \"early_chalcolithic\" text,\n \"4500_bc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23537091_1\" (\n \"copper_age\" text,\n \"chalcolithic_4500_bc_3300_bc\" text,\n \"early_chalcolithic\" text,\n \"4500_bc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23537091_1\" (\n \"copper_age\" text,\n \"chalcolithic_4500_bc_3300_bc\" text,\n \"early_chalcolithic\" text,\n \"4500_bc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"singles_14\" (\n \"edition\" text,\n \"round\" text,\n \"date\" text,\n \"against\" text,\n \"surface\" text,\n \"opponent\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"singles_14\" (\n \"edition\" text,\n \"round\" text,\n \"date\" text,\n \"against\" text,\n \"surface\" text,\n \"opponent\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"singles_14\" (\n \"edition\" text,\n \"round\" text,\n \"date\" text,\n \"against\" text,\n \"surface\" text,\n \"opponent\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" real,\n \"division\" real,\n \"league\" text,\n \"regular_season\" text,\n \"playoffs\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" real,\n \"division\" real,\n \"league\" text,\n \"regular_season\" text,\n \"playoffs\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" real,\n \"division\" real,\n \"league\" text,\n \"regular_season\" text,\n \"playoffs\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" real,\n \"division\" real,\n \"league\" text,\n \"regular_season\" text,\n \"playoffs\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23575917_6\" (\n \"episode\" text,\n \"first_broadcast\" text,\n \"davids_team\" text,\n \"lees_team\" text,\n \"scores\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23575917_6\" (\n \"episode\" text,\n \"first_broadcast\" text,\n \"davids_team\" text,\n \"lees_team\" text,\n \"scores\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23575917_6\" (\n \"episode\" text,\n \"first_broadcast\" text,\n \"davids_team\" text,\n \"lees_team\" text,\n \"scores\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23575917_6\" (\n \"episode\" text,\n \"first_broadcast\" text,\n \"davids_team\" text,\n \"lees_team\" text,\n \"scores\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23575917_8\" (\n \"episode\" text,\n \"first_broadcast\" text,\n \"davids_team\" text,\n \"lees_team\" text,\n \"scores\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"contestants\" (\n \"represented\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_in\" text,\n \"height_cm\" real,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"contestants\" (\n \"represented\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_in\" text,\n \"height_cm\" real,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"contestants\" (\n \"represented\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_in\" text,\n \"height_cm\" real,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"contestants\" (\n \"represented\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_in\" text,\n \"height_cm\" real,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"location\" text,\n \"final_score\" text,\n \"attendanc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"location\" text,\n \"final_score\" text,\n \"attendanc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"location\" text,\n \"final_score\" text,\n \"attendanc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"s_ironclad_of_chile_and_peru_at_the_begi\" (\n \"warship\" text,\n \"tons_l_ton\" real,\n \"horse_power\" real,\n \"speed_knots\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"s_ironclad_of_chile_and_peru_at_the_begi\" (\n \"warship\" text,\n \"tons_l_ton\" real,\n \"horse_power\" real,\n \"speed_knots\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"s_ironclad_of_chile_and_peru_at_the_begi\" (\n \"warship\" text,\n \"tons_l_ton\" real,\n \"horse_power\" real,\n \"speed_knots\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"s_ironclad_of_chile_and_peru_at_the_begi\" (\n \"warship\" text,\n \"tons_l_ton\" real,\n \"horse_power\" real,\n \"speed_knots\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"s_ironclad_of_chile_and_peru_at_the_begi\" (\n \"warship\" text,\n \"tons_l_ton\" real,\n \"horse_power\" real,\n \"speed_knots\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"neighbourhood\" text,\n \"pct_0_19\" text,\n \"pct_20_39\" text,\n \"pct_40_59\" text,\n \"pct_60_74\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"neighbourhood\" text,\n \"pct_0_19\" text,\n \"pct_20_39\" text,\n \"pct_40_59\" text,\n \"pct_60_74\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"neighbourhood\" text,\n \"pct_0_19\" text,\n \"pct_20_39\" text,\n \"pct_40_59\" text,\n \"pct_60_74\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"neighbourhood\" text,\n \"pct_0_19\" text,\n \"pct_20_39\" text,\n \"pct_40_59\" text,\n \"pct_60_74\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"neighbourhood\" text,\n \"pct_0_19\" text,\n \"pct_20_39\" text,\n \"pct_40_59\" text,\n \"pct_60_74\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"neighbourhood\" text,\n \"pct_0_19\" text,\n \"pct_20_39\" text,\n \"pct_40_59\" text,\n \"pct_60_74\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"wooden_s_steamboat_of_chile_and_peru_at_\" (\n \"warship\" text,\n \"tons_l_ton\" text,\n \"horse_power\" real,\n \"speed_knots\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"wooden_s_steamboat_of_chile_and_peru_at_\" (\n \"warship\" text,\n \"tons_l_ton\" text,\n \"horse_power\" real,\n \"speed_knots\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"wooden_s_steamboat_of_chile_and_peru_at_\" (\n \"warship\" text,\n \"tons_l_ton\" text,\n \"horse_power\" real,\n \"speed_knots\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"wooden_s_steamboat_of_chile_and_peru_at_\" (\n \"warship\" text,\n \"tons_l_ton\" text,\n \"horse_power\" real,\n \"speed_knots\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"location\" text,\n \"final_score\" text,\n \"attendanc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"location\" text,\n \"final_score\" text,\n \"attendanc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"location\" text,\n \"final_score\" text,\n \"attendanc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"location\" text,\n \"final_score\" text,\n \"attendanc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"location\" text,\n \"final_score\" text,\n \"attendanc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"location\" text,\n \"final_score\" text,\n \"attendanc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" real,\n \"division\" real,\n \"league\" text,\n \"regular_season\" text,\n \"playoffs\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" real,\n \"division\" real,\n \"league\" text,\n \"regular_season\" text,\n \"playoffs\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" real,\n \"division\" real,\n \"league\" text,\n \"regular_season\" text,\n \"playoffs\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" real,\n \"division\" real,\n \"league\" text,\n \"regular_season\" text,\n \"playoffs\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" real,\n \"division\" real,\n \"league\" text,\n \"regular_season\" text,\n \"playoffs\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_three\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"school\" text\n);\n\nQues... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_three\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"school\" text\n);\n\nQues... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_three\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"school\" text\n);\n\nQues... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_three\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"school\" text\n);\n\nQues... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_three\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"school\" text\n);\n\nQues... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_country\" (\n \"country\" text,\n \"pct_of_all_immigrants_2008\" text,\n \"pct_of_all_immigrants_2007\" text,\n \"pct_of_all_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_country\" (\n \"country\" text,\n \"pct_of_all_immigrants_2008\" text,\n \"pct_of_all_immigrants_2007\" text,\n \"pct_of_all_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_country\" (\n \"country\" text,\n \"pct_of_all_immigrants_2008\" text,\n \"pct_of_all_immigrants_2007\" text,\n \"pct_of_all_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_country\" (\n \"country\" text,\n \"pct_of_all_immigrants_2008\" text,\n \"pct_of_all_immigrants_2007\" text,\n \"pct_of_all_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_country\" (\n \"country\" text,\n \"pct_of_all_immigrants_2008\" text,\n \"pct_of_all_immigrants_2007\" text,\n \"pct_of_all_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_doubles_6_4_titles_2_runner_ups\" (\n \"outcome\" text,\n \"year\" real,\n \"championship\" text,\n \"surface\" text,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_doubles_6_4_titles_2_runner_ups\" (\n \"outcome\" text,\n \"year\" real,\n \"championship\" text,\n \"surface\" text,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_doubles_6_4_titles_2_runner_ups\" (\n \"outcome\" text,\n \"year\" real,\n \"championship\" text,\n \"surface\" text,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"wins_4\" (\n \"outcome\" text,\n \"year\" real,\n \"championship\" text,\n \"partnering\" text,\n \"opponents_in_final\" text,\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"records\" (\n \"world_record\" text,\n \"paula_radcliffe_gbr\" text,\n \"2_15_25\" text,\n \"london_great_britain\" text,\n \"1... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"records\" (\n \"world_record\" text,\n \"paula_radcliffe_gbr\" text,\n \"2_15_25\" text,\n \"london_great_britain\" text,\n \"1... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"records\" (\n \"world_record\" text,\n \"paula_radcliffe_gbr\" text,\n \"2_15_25\" text,\n \"london_great_britain\" text,\n \"1... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"records\" (\n \"world_record\" text,\n \"paula_radcliffe_gbr\" text,\n \"2_15_25\" text,\n \"london_great_britain\" text,\n \"1... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23649244_1\" (\n \"song_1_title\" text,\n \"artist_1\" text,\n \"song_2_title\" text,\n \"artist_2\" text,\n \"mix_artis... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23649244_1\" (\n \"song_1_title\" text,\n \"artist_1\" text,\n \"song_2_title\" text,\n \"artist_2\" text,\n \"mix_artis... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23649244_1\" (\n \"song_1_title\" text,\n \"artist_1\" text,\n \"song_2_title\" text,\n \"artist_2\" text,\n \"mix_artis... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_23649244_1\" (\n \"song_1_title\" text,\n \"artist_1\" text,\n \"song_2_title\" text,\n \"artist_2\" text,\n \"mix_artis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.