SQL IN query

I don’t suppose anyone manages to get this working initially. This should help.