Mysql
SunShinetou
这个作者很懒,什么都没留下…
展开
-
mysql--select
1、查询第一行记录: select * from table limit 1 2、查询第n行到第m行记录 select * from table1 limit n-1,m-n; SELECT * FROM table LIMIT 5,10;返回第6行到第15行的记录 select * from employee limit 3,1; // 返回第4行 3、查询前n行记录转载 2013-08-30 13:51:53 · 564 阅读 · 0 评论 -
我的 MySql 命令语句总结
除selest都需要加sqlSession.commit();查找:select id from tableselect *from table where id=1增加:insert into table(name,email) values('tom','tom@gmail.com')修改:update table set name='tom', email原创 2013-10-07 17:25:19 · 1010 阅读 · 0 评论 -
MySQL---can't connect to MySQL server on '127.0.0.1'(1006)
can't connect to MySQL server on '127.0.0.1'(1006)解决:C:\Program Files\MySQL\MySQL Server 5.6\bin原创 2014-07-07 10:53:39 · 1179 阅读 · 0 评论 -
MySQL 加入数据库
1.左上角第二 ‘SQL’下面文档原创 2014-08-15 12:20:58 · 468 阅读 · 0 评论