Great article! I wish all SQL libraries would adhere to this structure instead of forcing devs to write glorified (string) SQL. Ie., let me
from(join(table1, table2))
.where(table1.col1 > 10)
.groupBy(col1)
.project(col1, avg(col2))
and only in that order.