码迷,mamicode.com
首页 > 数据库 > 详细

数据库mark

时间:2016-10-03 21:16:56      阅读:246      评论:0      收藏:0      [点我收藏+]

标签:

LOAD DATA   INFILE I:\QQpwd\\1.txt  IGNORE
 INTO TABLE sgk.top1  
 FIELDS  
     TERMINATED BY ----  
     OPTIONALLY ENCLOSED BY ‘‘
     ESCAPED BY \\ 
# LINES TERMINATED BY ---- 
 #IGNORE number LINES
#(QQnum,QQpass,QQip,addr,QQdate,QQtime);




select count(qqpass) as count,qqpass
from sgk.top1
group by 
qqpass having count(qqpass)>6
order by count(qqpass)

 

数据库mark

标签:

原文地址:http://www.cnblogs.com/crac/p/5929533.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!