I have a table that has multiple rows with the following fields:
PersonName SongName Status
I want to use names selected from a multiple s
SELECT PersonName, songName, status
FROM table
WHERE name IN ('Holly', 'Ryan')
If you are using parametrized Stored procedure:
INNER JOIN ON t.PersonName = newTable.PersonName
using a table variable which contains passed in names