Use value from one query into the second one – Postgresql
How can I use the value from one query into the second one. I tried with an alias "papa" but I read that the order of executions makes the alias not available to the second query. What would be the…