쿼리 결과를 CSV 파일로 생성
2019-05-12select b.*, a.* from log_table a,
somehow_table b where a.id = b.id
and check_result='Success' and a.column=123
INTO OUTFILE 'orders.csv' FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n';
-
Category
- 한줄정리