Or did you mean like using the same CTE across multiple queries? Views / materialized views are good for that.
Need to delete from multiple tables with foreign keys back to a single primary table. This before deleting from the primary table, due to consistency.
We often get a "list" of pks, then use it in multiple "delete key in" statements. A kludge, but these are for one-off tests on a dev database.
Or did you mean like using the same CTE across multiple queries? Views / materialized views are good for that.