select concat_ws(':',concat_ws('{',if(DeviceID is null or DeviceID='','null',concat('"',DeviceID,'"'))),concat_ws('','',if(NewProbeID is null or NewProbeID='','null}' ,concat('',NewProbeID,'}')))) json_format from em_qprobes where NewProbeID > 0 into outfile '/tmp/newprobeid2.json' ;
mysql 导出json格式
最新推荐文章于 2025-03-02 18:40:01 发布