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
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
相关文章: