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 \"tunnels\" (\n \"no\" real,\n \"name\" text,\n \"mi_from_kingston\" text,\n \"km_from_kingston\" text,\n \"parish\" text,\n \"l... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"tunnels\" (\n \"no\" real,\n \"name\" text,\n \"mi_from_kingston\" text,\n \"km_from_kingston\" text,\n \"parish\" text,\n \"l... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"tunnels\" (\n \"no\" real,\n \"name\" text,\n \"mi_from_kingston\" text,\n \"km_from_kingston\" text,\n \"parish\" text,\n \"l... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"num\" real,\n \"date\" text,\n \"at_vs\" text,\n \"opponent\" text,\n \"score\" text,\n \"attendance\" real,\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"num\" real,\n \"date\" text,\n \"at_vs\" text,\n \"opponent\" text,\n \"score\" text,\n \"attendance\" real,\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"num\" real,\n \"date\" text,\n \"at_vs\" text,\n \"opponent\" text,\n \"score\" text,\n \"attendance\" real,\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278602_1\" (\n \"danish_name\" text,\n \"english_name\" text,\n \"seat_of_administration\" text,\n \"largest_city\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278602_1\" (\n \"danish_name\" text,\n \"english_name\" text,\n \"seat_of_administration\" text,\n \"largest_city\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278602_1\" (\n \"danish_name\" text,\n \"english_name\" text,\n \"seat_of_administration\" text,\n \"largest_city\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"submissions\" (\n \"year_ceremony\" text,\n \"film_title_used_in_nomination\" text,\n \"language_s\" text,\n \"director\" text,\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"submissions\" (\n \"year_ceremony\" text,\n \"film_title_used_in_nomination\" text,\n \"language_s\" text,\n \"director\" text,\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16255245_1\" (\n \"year_ceremony\" text,\n \"film_title_used_in_nomination\" text,\n \"original_title\" text,\n \"directo... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16255245_1\" (\n \"year_ceremony\" text,\n \"film_title_used_in_nomination\" text,\n \"original_title\" text,\n \"directo... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16255245_1\" (\n \"year_ceremony\" text,\n \"film_title_used_in_nomination\" text,\n \"original_title\" text,\n \"directo... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"provinces_of_afghanistan\" (\n \"province\" text,\n \"map_num\" real,\n \"iso_3166_2_af\" text,\n \"centers\" text,\n \"populat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"provinces_of_afghanistan\" (\n \"province\" text,\n \"map_num\" real,\n \"iso_3166_2_af\" text,\n \"centers\" text,\n \"populat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"provinces_of_afghanistan\" (\n \"province\" text,\n \"map_num\" real,\n \"iso_3166_2_af\" text,\n \"centers\" text,\n \"populat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"provinces_of_afghanistan\" (\n \"province\" text,\n \"map_num\" real,\n \"iso_3166_2_af\" text,\n \"centers\" text,\n \"populat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"provinces_of_afghanistan\" (\n \"province\" text,\n \"map_num\" real,\n \"iso_3166_2_af\" text,\n \"centers\" text,\n \"populat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278825_1\" (\n \"name_of_county\" text,\n \"county_seat\" text,\n \"area_km\" real,\n \"population\" real,\n \"populat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278825_1\" (\n \"name_of_county\" text,\n \"county_seat\" text,\n \"area_km\" real,\n \"population\" real,\n \"populat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278825_1\" (\n \"name_of_county\" text,\n \"county_seat\" text,\n \"area_km\" real,\n \"population\" real,\n \"populat... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"solheim_cup_record\" (\n \"year\" text,\n \"total_matches\" real,\n \"total_w_l_h\" text,\n \"singles_w_l_h\" text,\n \"foursom... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"solheim_cup_record\" (\n \"year\" text,\n \"total_matches\" real,\n \"total_w_l_h\" text,\n \"singles_w_l_h\" text,\n \"foursom... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"solheim_cup_record\" (\n \"year\" text,\n \"total_matches\" real,\n \"total_w_l_h\" text,\n \"singles_w_l_h\" text,\n \"foursom... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"title\" text,\n \"series\" text,\n \"release\" text,\n \"featuring\" text,\n \"writer\" text,\n \"direc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"title\" text,\n \"series\" text,\n \"release\" text,\n \"featuring\" text,\n \"writer\" text,\n \"direc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"title\" text,\n \"series\" text,\n \"release\" text,\n \"featuring\" text,\n \"writer\" text,\n \"direc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"title\" text,\n \"series\" text,\n \"release\" text,\n \"featuring\" text,\n \"writer\" text,\n \"direc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"title\" text,\n \"series\" text,\n \"release\" text,\n \"featuring\" text,\n \"writer\" text,\n \"direc... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278894_1\" (\n \"code\" real,\n \"county\" text,\n \"former_province\" text,\n \"area_km_2\" text,\n \"population_cens... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278894_1\" (\n \"code\" real,\n \"county\" text,\n \"former_province\" text,\n \"area_km_2\" text,\n \"population_cens... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278894_1\" (\n \"code\" real,\n \"county\" text,\n \"former_province\" text,\n \"area_km_2\" text,\n \"population_cens... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278894_1\" (\n \"code\" real,\n \"county\" text,\n \"former_province\" text,\n \"area_km_2\" text,\n \"population_cens... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278894_1\" (\n \"code\" real,\n \"county\" text,\n \"former_province\" text,\n \"area_km_2\" text,\n \"population_cens... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16278894_1\" (\n \"code\" real,\n \"county\" text,\n \"former_province\" text,\n \"area_km_2\" text,\n \"population_cens... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"winners\" (\n \"year\" real,\n \"dates\" text,\n \"champion\" text,\n \"country\" text,\n \"score\" real,\n \"to_par\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"winners\" (\n \"year\" real,\n \"dates\" text,\n \"champion\" text,\n \"country\" text,\n \"score\" real,\n \"to_par\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_competition\" (\n \"state\" text,\n \"preliminary_average\" text,\n \"interview\" text,\n \"swimsuit\" text,\n \"evening_... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16331025_2\" (\n \"dates_mdy\" text,\n \"position\" real,\n \"gross_sales\" text,\n \"tickets_sold_available\" text,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16331025_2\" (\n \"dates_mdy\" text,\n \"position\" real,\n \"gross_sales\" text,\n \"tickets_sold_available\" text,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16331025_2\" (\n \"dates_mdy\" text,\n \"position\" real,\n \"gross_sales\" text,\n \"tickets_sold_available\" text,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16331025_2\" (\n \"dates_mdy\" text,\n \"position\" real,\n \"gross_sales\" text,\n \"tickets_sold_available\" text,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"finite_forms_of_garnu_to_do\" (\n \"simple_present_future\" text,\n \"probable_future\" text,\n \"simple_past\" text,\n \"past_h... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"finite_forms_of_garnu_to_do\" (\n \"simple_present_future\" text,\n \"probable_future\" text,\n \"simple_past\" text,\n \"past_h... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"finite_forms_of_garnu_to_do\" (\n \"simple_present_future\" text,\n \"probable_future\" text,\n \"simple_past\" text,\n \"past_h... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"finite_forms_of_garnu_to_do\" (\n \"simple_present_future\" text,\n \"probable_future\" text,\n \"simple_past\" text,\n \"past_h... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"finite_forms_of_garnu_to_do\" (\n \"simple_present_future\" text,\n \"probable_future\" text,\n \"simple_past\" text,\n \"past_h... |
[
{
"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_10\" real,\n \"avg_start\" 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_10\" real,\n \"avg_start\" 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_10\" real,\n \"avg_start\" 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_10\" real,\n \"avg_start\" 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_10\" real,\n \"avg_start\" text,\n \... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"nascar_camping_world_truck_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"nascar_camping_world_truck_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"nascar_camping_world_truck_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"nascar_camping_world_truck_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_standings\" (\n \"team\" text,\n \"acc_regular_season\" text,\n \"acc_pct\" text,\n \"acc_home\" text,\n \"acc_road\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_standings\" (\n \"team\" text,\n \"acc_regular_season\" text,\n \"acc_pct\" text,\n \"acc_home\" text,\n \"acc_road\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_standings\" (\n \"team\" text,\n \"acc_regular_season\" text,\n \"acc_pct\" text,\n \"acc_home\" text,\n \"acc_road\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"average_domestic_passenger_fares_for_cap\" (\n \"year\" real,\n \"lansing_lan\" text,\n \"detroit_dtw\" text,\n \"grand_rapids_g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"average_domestic_passenger_fares_for_cap\" (\n \"year\" real,\n \"lansing_lan\" text,\n \"detroit_dtw\" text,\n \"grand_rapids_g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"average_domestic_passenger_fares_for_cap\" (\n \"year\" real,\n \"lansing_lan\" text,\n \"detroit_dtw\" text,\n \"grand_rapids_g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"average_domestic_passenger_fares_for_cap\" (\n \"year\" real,\n \"lansing_lan\" text,\n \"detroit_dtw\" text,\n \"grand_rapids_g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"average_domestic_passenger_fares_for_cap\" (\n \"year\" real,\n \"lansing_lan\" text,\n \"detroit_dtw\" text,\n \"grand_rapids_g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"average_domestic_passenger_fares_for_cap\" (\n \"year\" real,\n \"lansing_lan\" text,\n \"detroit_dtw\" text,\n \"grand_rapids_g... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"membership\" (\n \"school\" text,\n \"location\" text,\n \"founded\" real,\n \"affiliation\" text,\n \"enrollment\" real,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"membership\" (\n \"school\" text,\n \"location\" text,\n \"founded\" real,\n \"affiliation\" text,\n \"enrollment\" real,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"membership\" (\n \"school\" text,\n \"location\" text,\n \"founded\" real,\n \"affiliation\" text,\n \"enrollment\" real,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"membership\" (\n \"school\" text,\n \"location\" text,\n \"founded\" real,\n \"affiliation\" text,\n \"enrollment\" real,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_standings\" (\n \"team\" text,\n \"acc_regular_season\" text,\n \"acc_pct\" text,\n \"acc_home\" text,\n \"acc_road\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16384596_4\" (\n \"number_in_series\" real,\n \"broadcast_order\" text,\n \"title\" text,\n \"directed_by\" text,\n \"wr... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16384596_4\" (\n \"number_in_series\" real,\n \"broadcast_order\" text,\n \"title\" text,\n \"directed_by\" text,\n \"wr... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16384596_4\" (\n \"number_in_series\" real,\n \"broadcast_order\" text,\n \"title\" text,\n \"directed_by\" text,\n \"wr... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_16384596_4\" (\n \"number_in_series\" real,\n \"broadcast_order\" text,\n \"title\" text,\n \"directed_by\" text,\n \"wr... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_teams\" (\n \"institution\" text,\n \"location\" text,\n \"team_nickname\" text,\n \"joined_tschl\" real,\n \"home_aren... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_teams\" (\n \"institution\" text,\n \"location\" text,\n \"team_nickname\" text,\n \"joined_tschl\" real,\n \"home_aren... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_teams\" (\n \"institution\" text,\n \"location\" text,\n \"team_nickname\" text,\n \"joined_tschl\" real,\n \"home_aren... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_teams\" (\n \"institution\" text,\n \"location\" text,\n \"team_nickname\" text,\n \"joined_tschl\" real,\n \"home_aren... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_teams\" (\n \"institution\" text,\n \"location\" text,\n \"team_nickname\" text,\n \"joined_tschl\" real,\n \"home_aren... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"current_teams\" (\n \"institution\" text,\n \"location\" text,\n \"team_nickname\" text,\n \"joined_tschl\" real,\n \"home_aren... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"subdivisions\" (\n \"english_name\" text,\n \"simplified\" text,\n \"traditional\" text,\n \"pinyin\" text,\n \"area\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"subdivisions\" (\n \"english_name\" text,\n \"simplified\" text,\n \"traditional\" text,\n \"pinyin\" text,\n \"area\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"subdivisions\" (\n \"english_name\" text,\n \"simplified\" text,\n \"traditional\" text,\n \"pinyin\" text,\n \"area\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"subdivisions\" (\n \"english_name\" text,\n \"simplified\" text,\n \"traditional\" text,\n \"pinyin\" text,\n \"area\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"subdivisions\" (\n \"english_name\" text,\n \"simplified\" text,\n \"traditional\" text,\n \"pinyin\" text,\n \"area\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"1st_round\" (\n \"home_team\" text,\n \"home_team_score\" text,\n \"away_team\" text,\n \"away_team_score\" text,\n \"ground\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"1st_round\" (\n \"home_team\" text,\n \"home_team_score\" text,\n \"away_team\" text,\n \"away_team_score\" text,\n \"ground\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"round_of_16\" (\n \"home_team\" text,\n \"home_team_score\" text,\n \"away_team\" text,\n \"away_team_score\" text,\n \"ground\... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.