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 \"cultural_and_ethnic_composition\" (\n \"self_identification\" text,\n \"moldovan_census\" real,\n \"pct_core_moldova\" text,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"cultural_and_ethnic_composition\" (\n \"self_identification\" text,\n \"moldovan_census\" real,\n \"pct_core_moldova\" text,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"teletext_binary_nrz_encodings\" (\n \"standard\" text,\n \"color_system\" text,\n \"informational_cvbs_lines\" text,\n \"bit_rat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"teletext_binary_nrz_encodings\" (\n \"standard\" text,\n \"color_system\" text,\n \"informational_cvbs_lines\" text,\n \"bit_rat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"teletext_binary_nrz_encodings\" (\n \"standard\" text,\n \"color_system\" text,\n \"informational_cvbs_lines\" text,\n \"bit_rat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"teletext_binary_nrz_encodings\" (\n \"standard\" text,\n \"color_system\" text,\n \"informational_cvbs_lines\" text,\n \"bit_rat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"calculations_are_made_for_the_top_of_eac\" (\n \"currency_bracket\" text,\n \"dollars_taxed_in_bracket\" text,\n \"rate\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"calculations_are_made_for_the_top_of_eac\" (\n \"currency_bracket\" text,\n \"dollars_taxed_in_bracket\" text,\n \"rate\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"nascar_sprint_cup_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_sprint_cup_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 \"second_round\" (\n \"tie_no\" real,\n \"team_1\" text,\n \"agg\" text,\n \"team_2\" text,\n \"1st_leg\" text,\n \"2nd_leg\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"second_round\" (\n \"tie_no\" real,\n \"team_1\" text,\n \"agg\" text,\n \"team_2\" text,\n \"1st_leg\" text,\n \"2nd_leg\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"second_round\" (\n \"tie_no\" real,\n \"team_1\" text,\n \"agg\" text,\n \"team_2\" text,\n \"1st_leg\" text,\n \"2nd_leg\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"second_round\" (\n \"tie_no\" real,\n \"team_1\" text,\n \"agg\" text,\n \"team_2\" text,\n \"1st_leg\" text,\n \"2nd_leg\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schools\" (\n \"school\" text,\n \"year_founded\" text,\n \"denomination\" text,\n \"language\" text,\n \"grades\" text,\n \"g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schools\" (\n \"school\" text,\n \"year_founded\" text,\n \"denomination\" text,\n \"language\" text,\n \"grades\" text,\n \"g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schools\" (\n \"school\" text,\n \"year_founded\" text,\n \"denomination\" text,\n \"language\" text,\n \"grades\" text,\n \"g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schools\" (\n \"school\" text,\n \"year_founded\" text,\n \"denomination\" text,\n \"language\" text,\n \"grades\" text,\n \"g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schools\" (\n \"school\" text,\n \"year_founded\" text,\n \"denomination\" text,\n \"language\" text,\n \"grades\" text,\n \"g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_nationality\" (\n \"country\" text,\n \"total\" real,\n \"champions\" real,\n \"current\" real,\n \"first_driver_s\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_nationality\" (\n \"country\" text,\n \"total\" real,\n \"champions\" real,\n \"current\" real,\n \"first_driver_s\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"registered_live_births_by_nationality_an\" (\n \"year\" real,\n \"qatari_male\" real,\n \"qatari_female\" real,\n \"total_qatari... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"registered_live_births_by_nationality_an\" (\n \"year\" real,\n \"qatari_male\" real,\n \"qatari_female\" real,\n \"total_qatari... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"career_statistics\" (\n \"season\" text,\n \"club\" text,\n \"country\" text,\n \"championship\" text,\n \"national_cup\" text,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"calendar\" (\n \"round\" real,\n \"date\" text,\n \"city_and_venue\" text,\n \"winner\" text,\n \"runner_up\" text,\n \"3rd_pl... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"calendar\" (\n \"round\" real,\n \"date\" text,\n \"city_and_venue\" text,\n \"winner\" text,\n \"runner_up\" text,\n \"3rd_pl... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"calendar\" (\n \"round\" real,\n \"date\" text,\n \"city_and_venue\" text,\n \"winner\" text,\n \"runner_up\" text,\n \"3rd_pl... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"calendar\" (\n \"round\" real,\n \"date\" text,\n \"city_and_venue\" text,\n \"winner\" text,\n \"runner_up\" text,\n \"3rd_pl... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"the_seven_ancient_wonders\" (\n \"name\" text,\n \"date_of_construction\" text,\n \"builder\" text,\n \"date_of_destruction\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"the_seven_ancient_wonders\" (\n \"name\" text,\n \"date_of_construction\" text,\n \"builder\" text,\n \"date_of_destruction\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"managerial_changes\" (\n \"team\" text,\n \"outgoing_manager\" text,\n \"manner_of_departure\" text,\n \"date_of_vacancy\" text,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"managerial_changes\" (\n \"team\" text,\n \"outgoing_manager\" text,\n \"manner_of_departure\" text,\n \"date_of_vacancy\" text,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"managerial_changes\" (\n \"team\" text,\n \"outgoing_manager\" text,\n \"manner_of_departure\" text,\n \"date_of_vacancy\" text,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"managerial_changes\" (\n \"team\" text,\n \"outgoing_manager\" text,\n \"manner_of_departure\" text,\n \"date_of_vacancy\" text,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"winners\" (\n \"year\" text,\n \"location\" text,\n \"class_1\" text,\n \"best_uk_team\" text,\n \"class_1_200\" text,\n \"cla... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"winners\" (\n \"year\" text,\n \"location\" text,\n \"class_1\" text,\n \"best_uk_team\" text,\n \"class_1_200\" text,\n \"cla... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"winners\" (\n \"year\" text,\n \"location\" text,\n \"class_1\" text,\n \"best_uk_team\" text,\n \"class_1_200\" text,\n \"cla... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"winners\" (\n \"year\" text,\n \"location\" text,\n \"class_1\" text,\n \"best_uk_team\" text,\n \"class_1_200\" text,\n \"cla... |
[
{
"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 \"table1_19396259_1\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19396259_1\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19396259_1\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19401346_1\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19401346_1\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19401346_1\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19401346_1\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19401346_1\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"see_also\" (\n \"rank_2011\" real,\n \"change_since_2006\" text,\n \"urban_area\" text,\n \"county\" text,\n \"population_2011\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"see_also\" (\n \"rank_2011\" real,\n \"change_since_2006\" text,\n \"urban_area\" text,\n \"county\" text,\n \"population_2011\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"see_also\" (\n \"rank_2011\" real,\n \"change_since_2006\" text,\n \"urban_area\" text,\n \"county\" text,\n \"population_2011\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"see_also\" (\n \"rank_2011\" real,\n \"change_since_2006\" text,\n \"urban_area\" text,\n \"county\" text,\n \"population_2011\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"see_also\" (\n \"rank_2011\" real,\n \"change_since_2006\" text,\n \"urban_area\" text,\n \"county\" text,\n \"population_2011\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19398910_4\" (\n \"athlete\" text,\n \"class\" text,\n \"event\" text,\n \"bout_1\" text,\n \"bout_2\" text,\n \"bout_3... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19398910_4\" (\n \"athlete\" text,\n \"class\" text,\n \"event\" text,\n \"bout_1\" text,\n \"bout_2\" text,\n \"bout_3... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19398910_4\" (\n \"athlete\" text,\n \"class\" text,\n \"event\" text,\n \"bout_1\" text,\n \"bout_2\" text,\n \"bout_3... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19398910_4\" (\n \"athlete\" text,\n \"class\" text,\n \"event\" text,\n \"bout_1\" text,\n \"bout_2\" text,\n \"bout_3... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"team_career_passing_records\" (\n \"name\" text,\n \"completions\" real,\n \"attempts\" real,\n \"completion_pct\" text,\n \"ya... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"team_career_passing_records\" (\n \"name\" text,\n \"completions\" real,\n \"attempts\" real,\n \"completion_pct\" text,\n \"ya... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"team_career_passing_records\" (\n \"name\" text,\n \"completions\" real,\n \"attempts\" real,\n \"completion_pct\" text,\n \"ya... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"team_career_passing_records\" (\n \"name\" text,\n \"completions\" real,\n \"attempts\" real,\n \"completion_pct\" text,\n \"ya... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"team_career_passing_records\" (\n \"name\" text,\n \"completions\" real,\n \"attempts\" real,\n \"completion_pct\" text,\n \"ya... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"team_career_passing_records\" (\n \"name\" text,\n \"completions\" real,\n \"attempts\" real,\n \"completion_pct\" text,\n \"ya... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_1941183_2\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"final_score\" text,\n \"team_record\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19412902_1\" (\n \"pos\" real,\n \"member_association\" text,\n \"points_total_500\" real,\n \"clubs\" real,\n \"group_s... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19412902_1\" (\n \"pos\" real,\n \"member_association\" text,\n \"points_total_500\" real,\n \"clubs\" real,\n \"group_s... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19412902_1\" (\n \"pos\" real,\n \"member_association\" text,\n \"points_total_500\" real,\n \"clubs\" real,\n \"group_s... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19412902_1\" (\n \"pos\" real,\n \"member_association\" text,\n \"points_total_500\" real,\n \"clubs\" real,\n \"group_s... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19417244_2\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19417244_2\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19417244_2\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19417244_2\" (\n \"no_in_series\" real,\n \"no_in_season\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_b... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19412902_2\" (\n \"pos\" real,\n \"member_association\" text,\n \"points_total_500\" real,\n \"clubs\" text,\n \"group_s... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19412902_2\" (\n \"pos\" real,\n \"member_association\" text,\n \"points_total_500\" real,\n \"clubs\" text,\n \"group_s... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19412902_2\" (\n \"pos\" real,\n \"member_association\" text,\n \"points_total_500\" real,\n \"clubs\" text,\n \"group_s... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"whanau_house_system\" (\n \"house_name\" text,\n \"house_mascot\" text,\n \"house_colour\" text,\n \"year_opened\" real,\n \"ho... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"whanau_house_system\" (\n \"house_name\" text,\n \"house_mascot\" text,\n \"house_colour\" text,\n \"year_opened\" real,\n \"ho... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"whanau_house_system\" (\n \"house_name\" text,\n \"house_mascot\" text,\n \"house_colour\" text,\n \"year_opened\" real,\n \"ho... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"whanau_house_system\" (\n \"house_name\" text,\n \"house_mascot\" text,\n \"house_colour\" text,\n \"year_opened\" real,\n \"ho... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_19485888_1\" (\n \"o_o_corresponds_to_the_official_order_as_listed_by_institut_national_de_l_audiovisuel_ina_and_animez_vous... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"notes\" (\n \"team\" text,\n \"games\" real,\n \"wins\" real,\n \"losses\" real,\n \"ties\" real,\n \"win_pct\" text,\n \"pla... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"notes\" (\n \"team\" text,\n \"games\" real,\n \"wins\" real,\n \"losses\" real,\n \"ties\" real,\n \"win_pct\" text,\n \"pla... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"administrative_divisions_regions_and_sta\" (\n \"no\" real,\n \"state_region\" text,\n \"districts\" real,\n \"town_ships\" real... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"administrative_divisions_regions_and_sta\" (\n \"no\" real,\n \"state_region\" text,\n \"districts\" real,\n \"town_ships\" real... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"administrative_divisions_regions_and_sta\" (\n \"no\" real,\n \"state_region\" text,\n \"districts\" real,\n \"town_ships\" real... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_name\" (\n \"name\" text,\n \"country\" text,\n \"seasons\" text,\n \"championship_titles\" text,\n \"race_entries_starts\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_name\" (\n \"name\" text,\n \"country\" text,\n \"seasons\" text,\n \"championship_titles\" text,\n \"race_entries_starts\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_name\" (\n \"name\" text,\n \"country\" text,\n \"seasons\" text,\n \"championship_titles\" text,\n \"race_entries_starts\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_1949746_1\" (\n \"call_sign\" text,\n \"frequency\" text,\n \"city_of_license\" text,\n \"licensee\" text,\n \"format\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_1949746_1\" (\n \"call_sign\" text,\n \"frequency\" text,\n \"city_of_license\" text,\n \"licensee\" text,\n \"format\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_1949746_1\" (\n \"call_sign\" text,\n \"frequency\" text,\n \"city_of_license\" text,\n \"licensee\" text,\n \"format\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_1949746_1\" (\n \"call_sign\" text,\n \"frequency\" text,\n \"city_of_license\" text,\n \"licensee\" text,\n \"format\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_nationality\" (\n \"country\" text,\n \"total_drivers\" real,\n \"champions\" real,\n \"championships\" real,\n \"current_ma... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_nationality\" (\n \"country\" text,\n \"total_drivers\" real,\n \"champions\" real,\n \"championships\" real,\n \"current_ma... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_nationality\" (\n \"country\" text,\n \"total_drivers\" real,\n \"champions\" real,\n \"championships\" real,\n \"current_ma... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_nationality\" (\n \"country\" text,\n \"total_drivers\" real,\n \"champions\" real,\n \"championships\" real,\n \"current_ma... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_nationality\" (\n \"country\" text,\n \"total_drivers\" real,\n \"champions\" real,\n \"championships\" real,\n \"current_ma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.