Table './visathanhc_db/counter' is marked as crashed and should be repairedsyntax error: SELECT MAX(id) AS total FROM counter