最新文章列表

mybatis动态sql语句

实现一个组合查询的例子:如下 <select id="getAllBookInfo" resultType="PKBookInfoDto">         SELECT bi.id AS id              , bi.book_name AS bookName                         ,co.name as ...
xmliu 评论(0) 有1119人浏览 2014-05-30 09:35

【转】在ThinkPHP中实现复杂组合查询

针对如下语句:select * from table where ((is_top<>2 and title like '%Think%') or id=5) and status=1 以数组方式给where条件赋值1[code] $where['is_top']  = array('neq',2); $where['title']  = array('like', '%Think ...
kaindy7633 评论(0) 有6863人浏览 2012-07-28 14:02

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics