Unnamed
public text v1 · immutableselect customer_code,
min(invoice_date) as inv_date
from sh_transaction
group by customer_code
order by inv_date descselect customer_code,
min(invoice_date) as inv_date
from sh_transaction
group by customer_code
order by inv_date desc