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 \"grands_prix\" (\n \"rd\" real,\n \"grand_prix\" text,\n \"pole_position\" text,\n \"fastest_lap\" text,\n \"winning_driver\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"full_members\" (\n \"institution\" text,\n \"location_population\" text,\n \"founded\" real,\n \"type\" text,\n \"enrollment\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"full_members\" (\n \"institution\" text,\n \"location_population\" text,\n \"founded\" real,\n \"type\" text,\n \"enrollment\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"full_members\" (\n \"institution\" text,\n \"location_population\" text,\n \"founded\" real,\n \"type\" text,\n \"enrollment\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26263322_1\" (\n \"candidate\" text,\n \"background\" text,\n \"original_team\" text,\n \"age\" real,\n \"hometown\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26263322_1\" (\n \"candidate\" text,\n \"background\" text,\n \"original_team\" text,\n \"age\" real,\n \"hometown\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26263322_1\" (\n \"candidate\" text,\n \"background\" text,\n \"original_team\" text,\n \"age\" real,\n \"hometown\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26263322_1\" (\n \"candidate\" text,\n \"background\" text,\n \"original_team\" text,\n \"age\" real,\n \"hometown\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26263322_1\" (\n \"candidate\" text,\n \"background\" text,\n \"original_team\" text,\n \"age\" real,\n \"hometown\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26263322_1\" (\n \"candidate\" text,\n \"background\" text,\n \"original_team\" text,\n \"age\" real,\n \"hometown\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_calendar_and_results\" (\n \"round\" text,\n \"circuit\" text,\n \"date\" text,\n \"pole_position\" text,\n \"fastest_lap\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_calendar_and_results\" (\n \"round\" text,\n \"circuit\" text,\n \"date\" text,\n \"pole_position\" text,\n \"fastest_lap\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_calendar_and_results\" (\n \"round\" text,\n \"circuit\" text,\n \"date\" text,\n \"pole_position\" text,\n \"fastest_lap\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_calendar_and_results\" (\n \"round\" text,\n \"circuit\" text,\n \"date\" text,\n \"pole_position\" text,\n \"fastest_lap\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_calendar_and_results\" (\n \"round\" text,\n \"circuit\" text,\n \"date\" text,\n \"pole_position\" text,\n \"fastest_lap\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_calendar_and_results\" (\n \"round\" text,\n \"circuit\" text,\n \"date\" text,\n \"pole_position\" text,\n \"fastest_lap\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26261072_1\" (\n \"series_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26261072_1\" (\n \"series_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"nascar_nationwide_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,\n \"pol... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"nascar_nationwide_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,\n \"pol... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"nascar_nationwide_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,\n \"pol... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_2626495_1\" (\n \"episode_num\" real,\n \"prod_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_2626495_1\" (\n \"episode_num\" real,\n \"prod_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_2626495_1\" (\n \"episode_num\" real,\n \"prod_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"film_festivals\" (\n \"film_festival\" text,\n \"date_of_ceremony\" text,\n \"category\" text,\n \"participants_recipients\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"film_festivals\" (\n \"film_festival\" text,\n \"date_of_ceremony\" text,\n \"category\" text,\n \"participants_recipients\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"film_festivals\" (\n \"film_festival\" text,\n \"date_of_ceremony\" text,\n \"category\" text,\n \"participants_recipients\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"film_festivals\" (\n \"film_festival\" text,\n \"date_of_ceremony\" text,\n \"category\" text,\n \"participants_recipients\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"film_festivals\" (\n \"film_festival\" text,\n \"date_of_ceremony\" text,\n \"category\" text,\n \"participants_recipients\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"film_festivals\" (\n \"film_festival\" text,\n \"date_of_ceremony\" text,\n \"category\" text,\n \"participants_recipients\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"finished\" text,\n \"performance_order\" real,\n \"percentage_of_votes\" text,\n \"artist\" text,\n \"act\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"finished\" text,\n \"performance_order\" real,\n \"percentage_of_votes\" text,\n \"artist\" text,\n \"act\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"finished\" text,\n \"performance_order\" real,\n \"percentage_of_votes\" text,\n \"artist\" text,\n \"act\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"finished\" text,\n \"performance_order\" real,\n \"percentage_of_votes\" text,\n \"artist\" text,\n \"act\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"finished\" text,\n \"performance_order\" real,\n \"percentage_of_votes\" text,\n \"artist\" text,\n \"act\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"top_36_results_summary\" (\n \"name_name_of_act\" text,\n \"age_s\" text,\n \"genre\" text,\n \"act\" text,\n \"hometown\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_rural_communities_in_new_brunswi\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_rural_communities_in_new_brunswi\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_rural_communities_in_new_brunswi\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_rural_communities_in_new_brunswi\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_rural_communities_in_new_brunswi\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_rural_communities_in_new_brunswi\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"indicators\" (\n \"country\" text,\n \"area_km_2010\" real,\n \"population_2011\" real,\n \"gdp_ppp_intl_2011\" text,\n \"gdp_p... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"indicators\" (\n \"country\" text,\n \"area_km_2010\" real,\n \"population_2011\" real,\n \"gdp_ppp_intl_2011\" text,\n \"gdp_p... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"indicators\" (\n \"country\" text,\n \"area_km_2010\" real,\n \"population_2011\" real,\n \"gdp_ppp_intl_2011\" text,\n \"gdp_p... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26335424_86\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26335424_86\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26335424_86\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26335424_86\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26335424_86\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"district\" text,\n \"incumbent\" text,\n \"party\" text,\n \"elected\" real,\n \"status\" text,\n \"result\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"district\" text,\n \"incumbent\" text,\n \"party\" text,\n \"elected\" real,\n \"status\" text,\n \"result\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"district\" text,\n \"incumbent\" text,\n \"party\" text,\n \"elected\" real,\n \"status\" text,\n \"result\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"district\" text,\n \"incumbent\" text,\n \"party\" text,\n \"elected\" real,\n \"status\" text,\n \"result\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"district\" text,\n \"incumbent\" text,\n \"party\" text,\n \"elected\" real,\n \"status\" text,\n \"result\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26352332_4\" (\n \"engine_family\" text,\n \"cylinder_layout\" text,\n \"displacement_s\" text,\n \"injection_type\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26352332_4\" (\n \"engine_family\" text,\n \"cylinder_layout\" text,\n \"displacement_s\" text,\n \"injection_type\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26352332_4\" (\n \"engine_family\" text,\n \"cylinder_layout\" text,\n \"displacement_s\" text,\n \"injection_type\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26352332_4\" (\n \"engine_family\" text,\n \"cylinder_layout\" text,\n \"displacement_s\" text,\n \"injection_type\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26352332_4\" (\n \"engine_family\" text,\n \"cylinder_layout\" text,\n \"displacement_s\" text,\n \"injection_type\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26352332_4\" (\n \"engine_family\" text,\n \"cylinder_layout\" text,\n \"displacement_s\" text,\n \"injection_type\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"later_thalers_with_event_location_and_ye\" (\n \"location\" text,\n \"date\" real,\n \"denomination\" text,\n \"coinage_metal\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"later_thalers_with_event_location_and_ye\" (\n \"location\" text,\n \"date\" real,\n \"denomination\" text,\n \"coinage_metal\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"later_thalers_with_event_location_and_ye\" (\n \"location\" text,\n \"date\" real,\n \"denomination\" text,\n \"coinage_metal\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"later_thalers_with_event_location_and_ye\" (\n \"location\" text,\n \"date\" real,\n \"denomination\" text,\n \"coinage_metal\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"later_thalers_with_event_location_and_ye\" (\n \"location\" text,\n \"date\" real,\n \"denomination\" text,\n \"coinage_metal\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"boys\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"boys\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"boys\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"boys\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"boys\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"boys\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"elections_to_congress_of_deputies\" (\n \"election_number\" real,\n \"election_date\" text,\n \"district\" text,\n \"province\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"elections_to_congress_of_deputies\" (\n \"election_number\" real,\n \"election_date\" text,\n \"district\" text,\n \"province\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"elections_to_congress_of_deputies\" (\n \"election_number\" real,\n \"election_date\" text,\n \"district\" text,\n \"province\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"elections_to_congress_of_deputies\" (\n \"election_number\" real,\n \"election_date\" text,\n \"district\" text,\n \"province\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"elections_to_congress_of_deputies\" (\n \"election_number\" real,\n \"election_date\" text,\n \"district\" text,\n \"province\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_calendar_and_results\" (\n \"round\" real,\n \"location\" text,\n \"country\" text,\n \"date\" text,\n \"fastest_qualifyin... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_calendar_and_results\" (\n \"round\" real,\n \"location\" text,\n \"country\" text,\n \"date\" text,\n \"fastest_qualifyin... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_calendar_and_results\" (\n \"round\" real,\n \"location\" text,\n \"country\" text,\n \"date\" text,\n \"fastest_qualifyin... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"individual_triple_doubles\" (\n \"num\" real,\n \"player\" text,\n \"points\" real,\n \"rebounds\" real,\n \"assists\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"individual_triple_doubles\" (\n \"num\" real,\n \"player\" text,\n \"points\" real,\n \"rebounds\" real,\n \"assists\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"individual_triple_doubles\" (\n \"num\" real,\n \"player\" text,\n \"points\" real,\n \"rebounds\" real,\n \"assists\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"individual_triple_doubles\" (\n \"num\" real,\n \"player\" text,\n \"points\" real,\n \"rebounds\" real,\n \"assists\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"individual_triple_doubles\" (\n \"num\" real,\n \"player\" text,\n \"points\" real,\n \"rebounds\" real,\n \"assists\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"girls\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"girls\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"girls\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"girls\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"girls\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"girls\" (\n \"year\" real,\n \"under_11\" text,\n \"under_13\" text,\n \"under_15\" text,\n \"under_17\" text,\n \"under_19\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26375386_16\" (\n \"rank\" real,\n \"couple\" text,\n \"judges\" real,\n \"public\" real,\n \"total\" real,\n \"vote_pe... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26375386_16\" (\n \"rank\" real,\n \"couple\" text,\n \"judges\" real,\n \"public\" real,\n \"total\" real,\n \"vote_pe... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_26375386_16\" (\n \"rank\" real,\n \"couple\" text,\n \"judges\" real,\n \"public\" real,\n \"total\" real,\n \"vote_pe... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"region\" text,\n \"population\" real,\n \"pct_of_countrys_population\" text,\n \"change_in_population_since_1993... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"region\" text,\n \"population\" real,\n \"pct_of_countrys_population\" text,\n \"change_in_population_since_1993... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"results\" (\n \"region\" text,\n \"population\" real,\n \"pct_of_countrys_population\" text,\n \"change_in_population_since_1993... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"television_broadcasters\" (\n \"channel\" real,\n \"channel_name\" text,\n \"callsign\" text,\n \"signal_power\" text,\n \"broa... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"television_broadcasters\" (\n \"channel\" real,\n \"channel_name\" text,\n \"callsign\" text,\n \"signal_power\" text,\n \"broa... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"television_broadcasters\" (\n \"channel\" real,\n \"channel_name\" text,\n \"callsign\" text,\n \"signal_power\" text,\n \"broa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.