I am trying to split the values in LOB column, while keeping the first column intact using the script below
select *
from [dbo].[ReqApp]
where lob in
(select value from string_split ('Staff;Wealth Management',';'))
The query returns this:
The desire outcome is this.
I am using SQL Server 2019. Please provide suggestions on how to modify my script to get the desired outcome.