mysql json

SELECT JSON_EXTRACT(fwsz,‘$[*]‘) s FROM liandansnzy_fu WHERE id=69

[{"feiwudm": "276-005-02", "feiwulb": "02", "feiwumc": "危废", "xingtai": "S", "xingzhi": "T", "jiliangdw": "吨", "zhuanyisl": 1, "liyongczfs": "R15", "baozhuanglx": "其他", "baozhuangsl": 1}]

 

SELECT JSON_EXTRACT(fwsz,‘$[*].*‘) s FROM liandansnzy_fu WHERE id=69

 

["276-005-02", "02", "危废", "S", "T", "吨", 1, "R15", "其他", 1]

mysql json

上一篇:SQL数据库的导出


下一篇:MySql基础知识