LATERAL` joins (AKA `CROSS APPLY`) - necessary for subqueries in which the rhs can reference the lhs · Issue #879 · PRQL/prql · GitHub
![PostgreSQL's LATERAL JOIN. PostgreSQL 9.3 introduced new kind of… | by Krzysztof Kempiński | kkempin's dev blog | Medium PostgreSQL's LATERAL JOIN. PostgreSQL 9.3 introduced new kind of… | by Krzysztof Kempiński | kkempin's dev blog | Medium](https://miro.medium.com/v2/resize:fit:1358/1*ysek1HEB8TpoWVxSVXmOHw@2x.jpeg)
PostgreSQL's LATERAL JOIN. PostgreSQL 9.3 introduced new kind of… | by Krzysztof Kempiński | kkempin's dev blog | Medium
ⓥ ⓘ ⓝ ⓒ ⓔ ⓣ ⓢ ⓔ 🖖 on Twitter: "@xaskyr Are the #Postgresql queries something you can share? Would love to see how the rewrite looks." / Twitter
![PostgreSQL's LATERAL JOIN. PostgreSQL 9.3 introduced new kind of… | by Krzysztof Kempiński | kkempin's dev blog | Medium PostgreSQL's LATERAL JOIN. PostgreSQL 9.3 introduced new kind of… | by Krzysztof Kempiński | kkempin's dev blog | Medium](https://cdn-images-1.medium.com/max/640/1*MNqc6WLk3awMbtMPZTZUrg.png)