📌  相关文章
📜  如何获取json数据mysql代码示例

📅  最后修改于: 2022-03-11 15:05:20.434000             🧑  作者: Mango

代码示例2
SELECT 
    ID, CITY,
    json_extract(POPULATION_JSON_DATA, '$.male') AS POPL_MALE,
    json_extract(POPULATION_JSON_DATA, '$.female') AS POPL_FEMALE,
    json_extract(POPULATION_JSON_DATA, '$.other') AS POPL_OTHER
FROM TBL_JSON;