Closed
Description
Hello,
I’m working on an SQL page that makes several calls to the same table, with about ten columns, joins, and filters. This table is quite large, and I’m wondering if it’s possible to store this SELECT in a variable or call it recursively. Additionally, I’d like to be able to apply further filters afterwards. I want to avoid creating a temporary table. I’m working with a PostgreSQL database. If you have any ideas, I’d be happy to hear them!