Can not select table: SELECT * FROM usbpro WHERE id=16 and enable=1 and publish <= SYSDATE() and (unpublish ='0000-00-00 00:00:00' or unpublish > SYSDATE())ORDER BY od asc