SELECT *
FROM tg20101209
INTO OUTFILE '***.csv'
FIELDS TERMINATED BY ','
ESCAPED BY ''
LINES TERMINATED BY '/n'
----------------------------------------------直接保存到CSV只能保存在数据库服务器上
SELECT *
FROM tg20101209
INTO OUTFILE '***.csv'
FIELDS TERMINATED BY ','
ESCAPED BY ''
LINES TERMINATED BY '/n'
----------------------------------------------直接保存到CSV只能保存在数据库服务器上