Comment Comment by brusch I've used CTE's in DB2 for hierarchical data using recursive SQL (8 ? years ago) and the performace was much better than using subselects.I don't know much about Postgres, but for some things CTEs are a good tool. parent brusch 11 years ago
I don't know much about Postgres, but for some things CTEs are a good tool.