V-LH

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年5月4日

摘要: http://blog.csdn.net/tuwen/article/details/6224179 阅读全文
posted @ 2014-05-04 17:43 V-LH 阅读(153) 评论(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 阅读(2383) 评论(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 阅读(1748) 评论(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 阅读(652) 评论(0) 推荐(0) 编辑