Database/table integrated. Returns total sales every 5 seconds