mysql數據導出到excel的三種方式

使用mysql命令行 1.打開mysql命令行,進入數據庫: 2.執行select * from 表名 就顯示出表中的所有數據: 3.執行以下語句完成導出到 excel:select * from 某個表 into outfile ‘文件路徑’ ; 比如輸入: select * from t_category into outfile ‘d:\excel\t_category.xls’; 將mys
相關文章
相關標籤/搜索