linux下Mysql导出数据到文件的方法摘要: linux下Mysql导出数据到文件的方法 mysql -h host -u user -P port -p -e 'select xxx from xxx where xx = x' > /xxx/xxx/xxx/sss.txt导出到文件,如果有多个字段的话,可以使用concat函数来连接再导出。...发表于 2020-03-03 15:23 阅读(1609) 评论(0)
备忘摘要: SELECT * FROM t_post_0 WHERE url IN (SELECT url FROM t_post_0 GROUP BY url HAVING count(url) > 1)and rowid not in (select min(rowid) from t_post_0 group ...发表于 2017-07-24 14:10 阅读(1501) 评论(0)