Mysql dba tips and tricks
High Performance MySQL: Optimization, Backups, Replication, and More
Monday, 21 December 2015
Save mysql query output to excel
>SELECT order_id,product_name,qty FROM orders
INTO OUTFILE '/tmp/orders.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n';
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment