|
|
|
|
|
by aljazmerzen
1506 days ago
|
|
That's true - when you hit 4th CTE you are probably doing something wrong. But not always. Some analytical queries may actually need such complexity. Also, during development, you would sometimes pick only first 50 rows before joining and grouping, with intention of not overloading the db. To do this you need a CTE (or nested select), but in PRQL you just add a `take 50` transform to the top. |
|