数据以后会慢慢添加


SELECT * FROM TABLE1 LIMIT N

N为指定显示的条数,

select * from 表名  order by domain_ip_table_1.u_name desc limit 20\G;

倒序查询显示倒序的20个



查询包含表里含有某个字的

select * from 表名  where  结构  like   '%内容%';


查看mysql的信息

status 查看mysql的状态


show processlist;  查看mysql连接的详细信息(显示100条)


show full processlist;显示全部


查询一段内容

select * from 表名 where f_date='2013-07-05' and 162<f_time and 165>f_time ;(后面是数据库的设计的时间)