Postgres View Function Python Questions Geeksforgeeks Sql