Oracle: How to create a function returning values for a "SELECT * FROM tab WHERE name IN (function())" Oracle: How to create a function returning values for a "SELECT * FROM tab WHERE name IN (function())" oracle oracle