Query Error... : select * from orders and or_state>0 and (or_date >= '1794706465' and or_date <= '1796520865') order by idx desc