I using CAST and CONVERT sintax to convert data like this picture:

this is my query:
SELECT MAX(CONVERT(INT, kode_walimurid)) as idmaks FROM walimurid
The error:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INT, kode_walimurid)) as idmaks FROM walimurid LIMIT 0, 25' at line 1
INTis.INTin the manual, and he's getting an error right atINT