Equivalence of from dual in PostgreSQL May 24, 2023 by Tarik You don’t need a FROM clause at all. Just SELECT 1 will do it.