Report question

Question: How to return result of a SELECT inside a function in PostgreSQL?