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 \"season_2006_07\" (\n \"date\" text,\n \"presenter\" text,\n \"guest_1\" text,\n \"guest_2\" text,\n \"guest_3\" text,\n \"gues... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"season_2006_07\" (\n \"date\" text,\n \"presenter\" text,\n \"guest_1\" text,\n \"guest_2\" text,\n \"guest_3\" text,\n \"gues... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_20466963_13\" (\n \"date\" text,\n \"presenter\" text,\n \"guest_1\" text,\n \"guest_2\" text,\n \"guest_3\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_20466963_13\" (\n \"date\" text,\n \"presenter\" text,\n \"guest_1\" text,\n \"guest_2\" text,\n \"guest_3\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_20466963_13\" (\n \"date\" text,\n \"presenter\" text,\n \"guest_1\" text,\n \"guest_2\" text,\n \"guest_3\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_20466963_13\" (\n \"date\" text,\n \"presenter\" text,\n \"guest_1\" text,\n \"guest_2\" text,\n \"guest_3\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_20466963_13\" (\n \"date\" text,\n \"presenter\" text,\n \"guest_1\" text,\n \"guest_2\" text,\n \"guest_3\" text,\n \"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"newport_rfc_record\" (\n \"season\" text,\n \"games\" real,\n \"tries\" real,\n \"conversions\" real,\n \"penalties\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"newport_rfc_record\" (\n \"season\" text,\n \"games\" real,\n \"tries\" real,\n \"conversions\" real,\n \"penalties\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"newport_rfc_record\" (\n \"season\" text,\n \"games\" real,\n \"tries\" real,\n \"conversions\" real,\n \"penalties\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real,\n \"o... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real,\n \"o... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real,\n \"o... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county_city\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real\n)... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county_city\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real\n)... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county_city\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real\n)... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county_city\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real\n)... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county_city\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real\n)... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real,\n \"t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real,\n \"t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real,\n \"t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_20540006_6\" (\n \"date\" text,\n \"time\" text,\n \"big_east_team\" text,\n \"sec_team\" text,\n \"location\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_20540006_6\" (\n \"date\" text,\n \"time\" text,\n \"big_east_team\" text,\n \"sec_team\" text,\n \"location\" text,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"mlb_draft_history\" (\n \"draft_year\" real,\n \"player\" text,\n \"summer_team\" text,\n \"college\" text,\n \"mlb_team\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"mlb_draft_history\" (\n \"draft_year\" real,\n \"player\" text,\n \"summer_team\" text,\n \"college\" text,\n \"mlb_team\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"mlb_draft_history\" (\n \"draft_year\" real,\n \"player\" text,\n \"summer_team\" text,\n \"college\" text,\n \"mlb_team\" text... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"laboratory_findings_in_various_platelet_\" (\n \"condition\" text,\n \"prothrombin_time\" text,\n \"partial_thromboplastin_time\"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"laboratory_findings_in_various_platelet_\" (\n \"condition\" text,\n \"prothrombin_time\" text,\n \"partial_thromboplastin_time\"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"laboratory_findings_in_various_platelet_\" (\n \"condition\" text,\n \"prothrombin_time\" text,\n \"partial_thromboplastin_time\"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"laboratory_findings_in_various_platelet_\" (\n \"condition\" text,\n \"prothrombin_time\" text,\n \"partial_thromboplastin_time\"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"laboratory_findings_in_various_platelet_\" (\n \"condition\" text,\n \"prothrombin_time\" text,\n \"partial_thromboplastin_time\"... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"2009_results\" (\n \"player\" text,\n \"starts\" real,\n \"cuts_made\" real,\n \"best_finish\" text,\n \"money_list_rank\" real... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"2009_results\" (\n \"player\" text,\n \"starts\" real,\n \"cuts_made\" real,\n \"best_finish\" text,\n \"money_list_rank\" real... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"2009_results\" (\n \"player\" text,\n \"starts\" real,\n \"cuts_made\" real,\n \"best_finish\" text,\n \"money_list_rank\" real... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"stock_list\" (\n \"original_no\" real,\n \"lner_no_intermediate_no\" text,\n \"br_no\" real,\n \"name\" text,\n \"rebuild_date\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"stock_list\" (\n \"original_no\" real,\n \"lner_no_intermediate_no\" text,\n \"br_no\" real,\n \"name\" text,\n \"rebuild_date\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"polling\" (\n \"poll_source\" text,\n \"dates_administered\" text,\n \"joe_miller_r\" text,\n \"lisa_murkowski_r_write_in_candid... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"polling\" (\n \"poll_source\" text,\n \"dates_administered\" text,\n \"joe_miller_r\" text,\n \"lisa_murkowski_r_write_in_candid... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"umicore_n_v_financial_results\" (\n \"year_ended\" real,\n \"revenue_million\" real,\n \"earnings_before_interest_and_taxes_m\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"umicore_n_v_financial_results\" (\n \"year_ended\" real,\n \"revenue_million\" real,\n \"earnings_before_interest_and_taxes_m\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"umicore_n_v_financial_results\" (\n \"year_ended\" real,\n \"revenue_million\" real,\n \"earnings_before_interest_and_taxes_m\" t... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_20613292_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_20613292_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 \"1996_97_season_as_a_three_year_old\" (\n \"result\" text,\n \"date\" text,\n \"race\" text,\n \"venue\" text,\n \"group\" text,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"1996_97_season_as_a_three_year_old\" (\n \"result\" text,\n \"date\" text,\n \"race\" text,\n \"venue\" text,\n \"group\" text,... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"1998_99_season_as_a_five_year_old\" (\n \"result\" text,\n \"date\" text,\n \"race\" text,\n \"venue\" text,\n \"group\" text,\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"1998_99_season_as_a_five_year_old\" (\n \"result\" text,\n \"date\" text,\n \"race\" text,\n \"venue\" text,\n \"group\" text,\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"1997_98_season_as_a_four_year_old\" (\n \"result\" text,\n \"date\" text,\n \"race\" text,\n \"venue\" text,\n \"group\" text,\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"1997_98_season_as_a_four_year_old\" (\n \"result\" text,\n \"date\" text,\n \"race\" text,\n \"venue\" text,\n \"group\" text,\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"career_results\" (\n \"result\" text,\n \"date\" text,\n \"race\" text,\n \"venue\" text,\n \"distance\" text,\n \"class\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"career_results\" (\n \"result\" text,\n \"date\" text,\n \"race\" text,\n \"venue\" text,\n \"distance\" text,\n \"class\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"career_results\" (\n \"result\" text,\n \"date\" text,\n \"race\" text,\n \"venue\" text,\n \"distance\" text,\n \"class\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"career_results\" (\n \"result\" text,\n \"date\" text,\n \"race\" text,\n \"venue\" text,\n \"distance\" text,\n \"class\" tex... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"summary_of_osculating_selenocentric_orbi\" (\n \"epoch_utc\" text,\n \"periselene_km\" text,\n \"aposelene_km\" text,\n \"eccent... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"summary_of_osculating_selenocentric_orbi\" (\n \"epoch_utc\" text,\n \"periselene_km\" text,\n \"aposelene_km\" text,\n \"eccent... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"summary_of_osculating_selenocentric_orbi\" (\n \"epoch_utc\" text,\n \"periselene_km\" text,\n \"aposelene_km\" text,\n \"eccent... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"summary_of_osculating_selenocentric_orbi\" (\n \"epoch_utc\" text,\n \"periselene_km\" text,\n \"aposelene_km\" text,\n \"eccent... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"summary_of_osculating_selenocentric_orbi\" (\n \"epoch_utc\" text,\n \"periselene_km\" text,\n \"aposelene_km\" text,\n \"eccent... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"summary_of_osculating_selenocentric_orbi\" (\n \"epoch_utc\" text,\n \"periselene_km\" text,\n \"aposelene_km\" text,\n \"eccent... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"result\" text,\n \"bruins_points\" real,\n \"opponents... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"events\" (\n \"tournament\" text,\n \"also_currently_known_as\" text,\n \"city_s\" text,\n \"country\" text,\n \"court_surface\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"events\" (\n \"tournament\" text,\n \"also_currently_known_as\" text,\n \"city_s\" text,\n \"country\" text,\n \"court_surface\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"events\" (\n \"tournament\" text,\n \"also_currently_known_as\" text,\n \"city_s\" text,\n \"country\" text,\n \"court_surface\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"events\" (\n \"tournament\" text,\n \"also_currently_known_as\" text,\n \"city_s\" text,\n \"country\" text,\n \"court_surface\... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"scania_ab_publ_principal_shareholders\" (\n \"shareholder_name\" text,\n \"a_shares\" real,\n \"b_shares\" real,\n \"pct_of_capi... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"scania_ab_publ_principal_shareholders\" (\n \"shareholder_name\" text,\n \"a_shares\" real,\n \"b_shares\" real,\n \"pct_of_capi... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"scania_ab_publ_principal_shareholders\" (\n \"shareholder_name\" text,\n \"a_shares\" real,\n \"b_shares\" real,\n \"pct_of_capi... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"scania_ab_publ_principal_shareholders\" (\n \"shareholder_name\" text,\n \"a_shares\" real,\n \"b_shares\" real,\n \"pct_of_capi... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"convertible\" (\n \"interior_roof\" text,\n \"black_ua\" real,\n \"red_e8\" real,\n \"white_zr\" real,\n \"green_sw\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"convertible\" (\n \"interior_roof\" text,\n \"black_ua\" real,\n \"red_e8\" real,\n \"white_zr\" real,\n \"green_sw\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"convertible\" (\n \"interior_roof\" text,\n \"black_ua\" real,\n \"red_e8\" real,\n \"white_zr\" real,\n \"green_sw\" real,\n ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"cfl_draft\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"college\" text\n);\n\nQuest... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"cfl_draft\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"college\" text\n);\n\nQuest... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"cfl_draft\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"college\" text\n);\n\nQuest... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"cfl_draft\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"college\" text\n);\n\nQuest... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"cfl_draft\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"college\" text\n);\n\nQuest... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"cfl_draft\" (\n \"pick_num\" real,\n \"cfl_team\" text,\n \"player\" text,\n \"position\" text,\n \"college\" text\n);\n\nQuest... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"composition\" (\n \"bse_code\" text,\n \"company\" text,\n \"city\" text,\n \"gics_sector\" text,\n \"free_float\" text,\n \"i... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"composition\" (\n \"bse_code\" text,\n \"company\" text,\n \"city\" text,\n \"gics_sector\" text,\n \"free_float\" text,\n \"i... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"composition\" (\n \"bse_code\" text,\n \"company\" text,\n \"city\" text,\n \"gics_sector\" text,\n \"free_float\" text,\n \"i... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"composition\" (\n \"bse_code\" text,\n \"company\" text,\n \"city\" text,\n \"gics_sector\" text,\n \"free_float\" text,\n \"i... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"composition\" (\n \"bse_code\" text,\n \"company\" text,\n \"city\" text,\n \"gics_sector\" text,\n \"free_float\" text,\n \"i... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"composition\" (\n \"bse_code\" text,\n \"company\" text,\n \"city\" text,\n \"gics_sector\" text,\n \"free_float\" text,\n \"i... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"opinion_polls\" (\n \"date_of_opinion_poll\" text,\n \"conductor\" text,\n \"sample_size\" real,\n \"for\" text,\n \"against\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"opinion_polls\" (\n \"date_of_opinion_poll\" text,\n \"conductor\" text,\n \"sample_size\" real,\n \"for\" text,\n \"against\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"opinion_polls\" (\n \"date_of_opinion_poll\" text,\n \"conductor\" text,\n \"sample_size\" real,\n \"for\" text,\n \"against\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"opinion_polls\" (\n \"date_of_opinion_poll\" text,\n \"conductor\" text,\n \"sample_size\" real,\n \"for\" text,\n \"against\" ... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"official_delegates\" (\n \"country\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_cm\" real,\n \"height_ft\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"official_delegates\" (\n \"country\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_cm\" real,\n \"height_ft\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"official_delegates\" (\n \"country\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_cm\" real,\n \"height_ft\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"official_delegates\" (\n \"country\" text,\n \"contestant\" text,\n \"age\" real,\n \"height_cm\" real,\n \"height_ft\" text,\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real\n);\n\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real\n);\n\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real\n);\n\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_county\" (\n \"county\" text,\n \"obamapct\" text,\n \"obamanum\" real,\n \"mc_cainpct\" text,\n \"mc_cainnum\" real\n);\n\n... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"barangays_districts\" (\n \"barangay\" text,\n \"district\" text,\n \"population_may_1_2000\" real,\n \"population_august_1_2007... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"barangays_districts\" (\n \"barangay\" text,\n \"district\" text,\n \"population_may_1_2000\" real,\n \"population_august_1_2007... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"barangays_districts\" (\n \"barangay\" text,\n \"district\" text,\n \"population_may_1_2000\" real,\n \"population_august_1_2007... |
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_20704243_3\" (\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_20704243_3\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.