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 \"changes_during_term\" (\n \"by_election\" real,\n \"electorate\" text,\n \"date\" text,\n \"incumbent\" text,\n \"reason\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"changes_during_term\" (\n \"by_election\" real,\n \"electorate\" text,\n \"date\" text,\n \"incumbent\" text,\n \"reason\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"changes_during_term\" (\n \"by_election\" real,\n \"electorate\" text,\n \"date\" text,\n \"incumbent\" text,\n \"reason\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_record\" (\n \"age\" real,\n \"date\" text,\n \"track\" text,\n \"race\" text,\n \"distance_miles\" text,\n \"jockey\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_record\" (\n \"age\" real,\n \"date\" text,\n \"track\" text,\n \"race\" text,\n \"distance_miles\" text,\n \"jockey\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"race_record\" (\n \"age\" real,\n \"date\" text,\n \"track\" text,\n \"race\" text,\n \"distance_miles\" text,\n \"jockey\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_talukas_in_ahmednagar_district_b\" (\n \"taluka_name\" text,\n \"population_2001_census\" real,\n \"pct_of_district_popul... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_talukas_in_ahmednagar_district_b\" (\n \"taluka_name\" text,\n \"population_2001_census\" real,\n \"pct_of_district_popul... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_talukas_in_ahmednagar_district_b\" (\n \"taluka_name\" text,\n \"population_2001_census\" real,\n \"pct_of_district_popul... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_talukas_in_ahmednagar_district_b\" (\n \"taluka_name\" text,\n \"population_2001_census\" real,\n \"pct_of_district_popul... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"list_of_talukas_in_ahmednagar_district_b\" (\n \"taluka_name\" text,\n \"population_2001_census\" real,\n \"pct_of_district_popul... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"series_overview\" (\n \"series\" real,\n \"premiere\" text,\n \"finale\" text,\n \"runners_up\" text,\n \"winner\" text\n);\n\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"series_overview\" (\n \"series\" real,\n \"premiere\" text,\n \"finale\" text,\n \"runners_up\" text,\n \"winner\" text\n);\n\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"series_overview\" (\n \"series\" real,\n \"premiere\" text,\n \"finale\" text,\n \"runners_up\" text,\n \"winner\" text\n);\n\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"series_overview\" (\n \"series\" real,\n \"premiere\" text,\n \"finale\" text,\n \"runners_up\" text,\n \"winner\" text\n);\n\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"series_overview\" (\n \"series\" real,\n \"premiere\" text,\n \"finale\" text,\n \"runners_up\" text,\n \"winner\" text\n);\n\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"series_overview\" (\n \"series\" real,\n \"premiere\" text,\n \"finale\" text,\n \"runners_up\" text,\n \"winner\" text\n);\n\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 \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" 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 \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" 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 \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" 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 \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" 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 \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_28967275_2\" (\n \"episode_num\" real,\n \"series_num\" real,\n \"episode_title\" text,\n \"original_air_date\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_28967275_2\" (\n \"episode_num\" real,\n \"series_num\" real,\n \"episode_title\" text,\n \"original_air_date\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_28967275_2\" (\n \"episode_num\" real,\n \"series_num\" real,\n \"episode_title\" text,\n \"original_air_date\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_28967275_2\" (\n \"episode_num\" real,\n \"series_num\" real,\n \"episode_title\" text,\n \"original_air_date\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_28967275_2\" (\n \"episode_num\" real,\n \"series_num\" real,\n \"episode_title\" text,\n \"original_air_date\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_eight\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_eight\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_eight\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_eight\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_eight\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_four\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"c... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_four\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"c... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_four\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"c... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_seven\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_seven\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_seven\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_seven\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_seven\" (\n \"pick_num\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"nhl_team\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"doubles_7_3_4\" (\n \"outcome\" text,\n \"year\" real,\n \"championship\" text,\n \"surface\" text,\n \"partner\" text,\n \"op... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"doubles_7_3_4\" (\n \"outcome\" text,\n \"year\" real,\n \"championship\" text,\n \"surface\" text,\n \"partner\" text,\n \"op... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"regional_broadcast_television_networks\" (\n \"network\" text,\n \"flagship\" text,\n \"programming\" text,\n \"region\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"regional_broadcast_television_networks\" (\n \"network\" text,\n \"flagship\" text,\n \"programming\" text,\n \"region\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"regional_broadcast_television_networks\" (\n \"network\" text,\n \"flagship\" text,\n \"programming\" text,\n \"region\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"regional_broadcast_television_networks\" (\n \"network\" text,\n \"flagship\" text,\n \"programming\" text,\n \"region\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"regional_broadcast_television_networks\" (\n \"network\" text,\n \"flagship\" text,\n \"programming\" text,\n \"region\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_codes\" (\n \"code\" text,\n \"subdivision_name_be_bgn_pcgn\" text,\n \"subdivision_name_be_gost\" text,\n \"subdivision... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_codes\" (\n \"code\" text,\n \"subdivision_name_be_bgn_pcgn\" text,\n \"subdivision_name_be_gost\" text,\n \"subdivision... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_codes\" (\n \"code\" text,\n \"subdivision_name_be_bgn_pcgn\" text,\n \"subdivision_name_be_gost\" text,\n \"subdivision... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_codes\" (\n \"code\" text,\n \"subdivision_name_be_bgn_pcgn\" text,\n \"subdivision_name_be_gost\" text,\n \"subdivision... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_codes\" (\n \"code\" text,\n \"subdivision_name_be_bgn_pcgn\" text,\n \"subdivision_name_be_gost\" text,\n \"subdivision... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"history\" (\n \"number\" text,\n \"serial_number\" real,\n \"into_service\" text,\n \"withdrawn\" text,\n \"scrapped\" text\n);... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"history\" (\n \"number\" text,\n \"serial_number\" real,\n \"into_service\" text,\n \"withdrawn\" text,\n \"scrapped\" text\n);... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"history\" (\n \"number\" text,\n \"serial_number\" real,\n \"into_service\" text,\n \"withdrawn\" text,\n \"scrapped\" text\n);... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"history\" (\n \"number\" text,\n \"serial_number\" real,\n \"into_service\" text,\n \"withdrawn\" text,\n \"scrapped\" text\n);... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"history\" (\n \"number\" text,\n \"serial_number\" real,\n \"into_service\" text,\n \"withdrawn\" text,\n \"scrapped\" text\n);... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"history\" (\n \"number\" text,\n \"serial_number\" real,\n \"into_service\" text,\n \"withdrawn\" text,\n \"scrapped\" text\n);... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"the_year\" (\n \"month_sequence\" real,\n \"numbered_month\" text,\n \"month_name\" text,\n \"regular_year\" text,\n \"defectiv... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"the_year\" (\n \"month_sequence\" real,\n \"numbered_month\" text,\n \"month_name\" text,\n \"regular_year\" text,\n \"defectiv... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"the_year\" (\n \"month_sequence\" real,\n \"numbered_month\" text,\n \"month_name\" text,\n \"regular_year\" text,\n \"defectiv... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"the_year\" (\n \"month_sequence\" real,\n \"numbered_month\" text,\n \"month_name\" text,\n \"regular_year\" text,\n \"defectiv... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"u_s_nielsen_ratings\" (\n \"episode\" real,\n \"first_air_date\" text,\n \"rating_18_49\" text,\n \"share_18_49\" real,\n \"vie... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"u_s_nielsen_ratings\" (\n \"episode\" real,\n \"first_air_date\" text,\n \"rating_18_49\" text,\n \"share_18_49\" real,\n \"vie... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"u_s_nielsen_ratings\" (\n \"episode\" real,\n \"first_air_date\" text,\n \"rating_18_49\" text,\n \"share_18_49\" real,\n \"vie... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"u_s_nielsen_ratings\" (\n \"episode\" real,\n \"first_air_date\" text,\n \"rating_18_49\" text,\n \"share_18_49\" real,\n \"vie... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"u_s_nielsen_ratings\" (\n \"episode\" real,\n \"first_air_date\" text,\n \"rating_18_49\" text,\n \"share_18_49\" real,\n \"vie... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"u_s_nielsen_ratings\" (\n \"episode\" real,\n \"first_air_date\" text,\n \"rating_18_49\" text,\n \"share_18_49\" real,\n \"vie... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"singles_21_10_titles_11_runners_up\" (\n \"result\" text,\n \"no\" real,\n \"date\" text,\n \"category\" text,\n \"tournament\"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"episode_information\" (\n \"episode\" real,\n \"title\" text,\n \"writer\" text,\n \"director\" text,\n \"original_airdate\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"episode_information\" (\n \"episode\" real,\n \"title\" text,\n \"writer\" text,\n \"director\" text,\n \"original_airdate\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"episode_information\" (\n \"episode\" real,\n \"title\" text,\n \"writer\" text,\n \"director\" text,\n \"original_airdate\" te... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"regular_home_and_away_season\" (\n \"round\" real,\n \"date\" text,\n \"opponent\" text,\n \"home_away\" text,\n \"score_collin... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"regular_home_and_away_season\" (\n \"round\" real,\n \"date\" text,\n \"opponent\" text,\n \"home_away\" text,\n \"score_collin... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"regular_home_and_away_season\" (\n \"round\" real,\n \"date\" text,\n \"opponent\" text,\n \"home_away\" text,\n \"score_collin... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"regular_home_and_away_season\" (\n \"round\" real,\n \"date\" text,\n \"opponent\" text,\n \"home_away\" text,\n \"score_collin... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"regular_home_and_away_season\" (\n \"round\" real,\n \"date\" text,\n \"opponent\" text,\n \"home_away\" text,\n \"score_collin... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"roster\" (\n \"name\" text,\n \"num\" real,\n \"position\" text,\n \"height\" text,\n \"weight_lb\" real,\n \"year\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"roster\" (\n \"name\" text,\n \"num\" real,\n \"position\" text,\n \"height\" text,\n \"weight_lb\" real,\n \"year\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"roster\" (\n \"name\" text,\n \"num\" real,\n \"position\" text,\n \"height\" text,\n \"weight_lb\" real,\n \"year\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"roster\" (\n \"name\" text,\n \"num\" real,\n \"position\" text,\n \"height\" text,\n \"weight_lb\" real,\n \"year\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29063233_1\" (\n \"no_overall\" real,\n \"no_for_series\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29063233_1\" (\n \"no_overall\" real,\n \"no_for_series\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29063233_1\" (\n \"no_overall\" real,\n \"no_for_series\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29063233_1\" (\n \"no_overall\" real,\n \"no_for_series\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"leadership_classification\" (\n \"stage\" real,\n \"winner\" text,\n \"general_classification\" text,\n \"mountains_classificati... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"leadership_classification\" (\n \"stage\" real,\n \"winner\" text,\n \"general_classification\" text,\n \"mountains_classificati... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"leadership_classification\" (\n \"stage\" real,\n \"winner\" text,\n \"general_classification\" text,\n \"mountains_classificati... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"leadership_classification\" (\n \"stage\" real,\n \"winner\" text,\n \"general_classification\" text,\n \"mountains_classificati... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"leadership_classification\" (\n \"stage\" real,\n \"winner\" text,\n \"general_classification\" text,\n \"mountains_classificati... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"class_34_500_ge_type_u26_c\" (\n \"ge_dl_works_no\" real,\n \"year_built\" text,\n \"built_for\" text,\n \"original_no\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29102612_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29102612_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29106680_1\" (\n \"no_overall\" real,\n \"no_for_series\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29106680_1\" (\n \"no_overall\" real,\n \"no_for_series\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29106680_1\" (\n \"no_overall\" real,\n \"no_for_series\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29087004_3\" (\n \"series_num\" real,\n \"production_code\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29087004_3\" (\n \"series_num\" real,\n \"production_code\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29087004_3\" (\n \"series_num\" real,\n \"production_code\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_29087004_3\" (\n \"series_num\" real,\n \"production_code\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.