You could use member of
:
SELECT * INTO personT FROM PERSON WHERE ID MEMBER OF Keys;
or a table collection expression:
SELECT * INTO personT FROM PERSON WHERE ID IN (SELECT * FROM TABLE(Keys));
db<>fiddle
Of course, as you're selecting into a single record you'll get an error if there isn't exactly one matching row, however many key values you include in the collection.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…