select * from receipt where is_deleted=0 and receipt_no="98" ORDER BY id desc limit 1