摘要:
http://blog.csdn.net/tuwen/article/details/6224179 阅读全文
posted @ 2014-05-04 17:43
V-LH
阅读(159)
评论(0)
推荐(0)
|
摘要:
http://blog.csdn.net/tuwen/article/details/6224179 阅读全文
posted @ 2014-05-04 17:43
V-LH
阅读(159)
评论(0)
推荐(0)
摘要:
需求:查找不在sys_user_role表中的用户一,String sql = "select u.id,u.username from sys_user u where u.id not in (select distinct r.user_id from sys_user_role r)";问题... 阅读全文
posted @ 2014-05-04 17:39
V-LH
阅读(2395)
评论(0)
推荐(0)
摘要:
mysql>select*from kbe_userlimit5,10;//检索从第6行开始,最多10行记录(下标从0开始)//为了检索从某一个偏移量到记录集的结束所有的记录行,可以指定第二个参数为-1:mysql>select*fromkbr_objlimit10,-1;//检索记录行 下标为10... 阅读全文
posted @ 2014-05-04 14:21
V-LH
阅读(1779)
评论(0)
推荐(0)
摘要:
String sql = "update kbr_user k set increment = ifnull(k.increment,0) + " + increment + ",integral = ifnull(k.integral,0) + " + integral + " where use... 阅读全文
posted @ 2014-05-04 11:50
V-LH
阅读(674)
评论(0)
推荐(0)
|