如何从mysql数据库中查询指定字段且符合条件的数据 ,然后拼接成json字符串,最后导出json文件
SELECT CONCAT("{'name':'",IFNULL(Name,''),"',","'sex':'",IFNULL(Sex,''),"',","'age':'",IFNULL(Age,''),"',",
"'phone':'",IFNULL(Phone,''),"',","'birthday':'",IFNULL(Bi
原创
2018-09-12 18:51:22 ·
3003 阅读 ·
0 评论