Linear queries have better performance than recursive CTEs.
Attach a file by drag & drop or click to upload