日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

mysql语句怎么记_Mysql常用语句(记一下,免得忘)

發布時間:2025/3/11 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mysql语句怎么记_Mysql常用语句(记一下,免得忘) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1、去掉某列記錄中的特殊字符

例如:/r,update test_table set key=replace(key, char(13), '');

其他特殊字符類似。

2、查詢重復的記錄

Select weixinid From dianxin_highda_detail Group By weixinid Having Count(*)>1;

3、從txt向數據庫導入記錄

load data infile 'C:\\Program Files\\SecureCRT\\download\\6192.txt' into table dianxin_highda_detail;

load data infile 'C:\\Program Files\\SecureCRT\\download\\6192.txt' into table dianxin_highda_detail(accountname);

4、從數據庫中導出數據到txt

select * from dianxin_highda_detail where sharetime>='2013-06-18 17:00:00' and sharetime

總結

以上是生活随笔為你收集整理的mysql语句怎么记_Mysql常用语句(记一下,免得忘)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。