mysql 格式化保存

win -e 'SELECT * from t_share_template;' | sed 's/ /,/g' > aa.csv

原文地址:https://www.cnblogs.com/lgj8/p/12188366.html