mysql -h <host> -u<user> -p<passport> crm -e "select ....." | csvcut -t > output.csvmysql
若是沒有csvcut,須要先經過pip安裝sql
pip install csvkitip