I would like to retrieve the total of all Woocommerce orders for a specific time and users (by last name). The first part is quite easy:
SELECT format(sum(meta_va