Hello,
I have a table called “vouchers” it contains fields named “voucher_value” and “redeemed_at”. redeemed_at is in Unix timestamp format (generated by PHP time() function).
So I need get the total of voucher_value since the beginning of the month.
What’s the SQL code for that?
Thanks.