- [Simple]
- [Lateral join]
- [CTE (nested)]
- [Crosstab]
- [Values select]
- [Values join]
- [CTE]
- [Complex]
- [Complicated]
- [Aggregation]
- [Join]
- [Generate Series]
- Docs
- Why?.
YAML
main:
from: data
distinct_on:
- data.code
join:
- query:
from:
values:
- key: 'us'
value: 'test1'
- key: 'fr'
value: 'France'
alias: codes
fields: ["code", "name"]
alias: countries
type: left_join
on:
- left: countries.code
operator: "="
right: data.code