Error in Query : select count(iOrderId) as tot FROM orders o, order_status os WHERE o.iCustomerId='' AND os.iOrderStatusId = o.iOrderStatusId AND os.vStatus <> 'Deleted'
: