为了在页面做5级级联菜单
需要将名称和代码进行简化
SELECT SUBSTR(AreaCode,1,Level*2) as a,AreaCode,Level,Name FROM area WHERE AreaCode LIKE '11%' AND Level<4 LIMIT 1000
SELECT SUBSTR(AreaCode,1,3*2+(Level-3)*3) as a,AreaCode,Level,Name FROM area WHERE AreaCode LIKE '11%' AND Level>=4 LIMIT 1000