mysql中经常使用类型转换

一、varchar转int spa select * from SYS_MENU where PARENT_ID = '6' order by cast (MENU_ORDER as UNSIGNED INTEGER)  ; ast select * from SYS_MENU where PARENT_ID = '6' order by cast (MENU_ORDER as SIGNED IN
相关文章
相关标签/搜索