My SQL query:
SELECT tbl_Providers.Org_Type, tbl_Providers.Providers, tbl_OBGYN_List.Providers
FROM tbl_Providers
LEFT OUTER JOIN tbl_OBGYN_List ON tbl_Providers.Providers = tbl_OBGYN_List.Providers
Where tbl_Providers.Org_Type = "OBGYN"
UNION SELECT tbl_Providers.Org_Type, tbl_Providers.Providers, tbl_OBGYN_List.Providers
FROM tbl_Providers
right OUTER JOIN tbl_OBGYN_List ON tbl_Providers.Providers = tbl_OBGYN_List.Providers;
tbl_providers.Providers is showing non-obgyn list. Does the WHERE statement needs to go somewhere else?
SELECT tbl_Providers.Org_Type, tbl_Providers.Providers, tbl_OBGYN_List.Providers
FROM tbl_Providers
LEFT OUTER JOIN tbl_OBGYN_List ON tbl_Providers.Providers = tbl_OBGYN_List.Providers
Where tbl_Providers.Org_Type = "OBGYN"
UNION SELECT tbl_Providers.Org_Type, tbl_Providers.Providers, tbl_OBGYN_List.Providers
FROM tbl_Providers
right OUTER JOIN tbl_OBGYN_List ON tbl_Providers.Providers = tbl_OBGYN_List.Providers;
tbl_providers.Providers is showing non-obgyn list. Does the WHERE statement needs to go somewhere else?