Solutionunvalidated
Use PERFORM with the CTE in the documented form: wrap the WITH query in parentheses as a FROM-subquery (e.g., `PERFORM * FROM (WITH test_as_cte AS (SELECT * FROM myTable) SELECT * FROM test_as_cte) sub;`). This allows executing the query while discarding the result even with multiple columns.
9f05fb41-7500-49ba-9211-1b8760875faf
Use PERFORM with the CTE in the documented form: wrap the WITH query in parentheses as a FROM-subquery (e.g., PERFORM * FROM (WITH test_as_cte AS (SELECT * FROM myTable) SELECT * FROM test_as_cte) sub;). This allows executing the query while discarding the result even with multiple columns.