Select * from AMEDIAproject_TitleManagement_TitleDetails full
outer JOIN AMEDIAproject_TitleManagement_TitleOwner
ON AMEDIAproject_TitleManagement_TitleDetails.title_owner_id =
AMEDIAproject_TitleManagement_TitleOwner.title_owner_id
where AMEDIAproject_TitleManagement_TitleDetails.title_code=@title_code
or (AMEDIAproject_TitleManagement_TitleDetails.title_code is not null)
答案 0 :(得分:1)
where AMEDIAproject_TitleManagement_TitleDetails.title_code =
coalesce(@title_code, AMEDIAproject_TitleManagement_TitleDetails.title_code)