正确解决 mysql 导出文件 分隔符 问题

mysql -h {host} -u {user} --password={password} {database}

-e "SELECT concat_ws(',',human_pid,human_name,'human','person') as 'humanId:ID(Human-ID),name,source,:LABEL'

from table

where mobile_id is NULL limit 10"

> /data/ID.csv

 

posted @ 2021-03-30 11:19  cup_leo  阅读(1294)  评论(0编辑  收藏  举报