I\'m trying to select the order total sum ($) and invoice count over a 5 day period in a single query. I can\'t seem to get this to happen though. The current query I have
If your created column type is int then just try this one
created<= UNIX_TIMESTAMP(DATE_ADD(CURDATE(),INTERVAL 5 DAY))')