Postgresql Converting Select Statement Directly Into

Postgresql Converting Select Statement Directly Into