Comment Comment by notpushkin PRQL is a similar idea, and it compiles to SQL: https://prql-lang.org/ from invoices filter invoice_date >= @1970-01-16 derive { transaction_fees = 0.8, income = total - transaction_fees } filter income > 1 parent notpushkin 1 year ago