码迷,mamicode.com
首页 >  
搜索关键字:sele    ( 6045个结果
(转)Where与Having的总结
Where 是一个约束声明,使用Where来约束来之数据库的数据,Where是在结果返回之前起作用的,且Where中不能使用聚合函数。 Having 是一个过滤声明,是在查询返回结果集以后对查询结果进行的过滤操作,在Having中可以使用聚合函数。 在说区别之前,得先介绍GROUP BY这个子句,而 ...
分类:其他好文   时间:2017-11-17 13:19:47    阅读次数:127
jQuery each
1. $(selector).each(function(index,element)); index 选择器的index位置,element --当前的元素 2._.each([1,2,3,4,],function(n){if(n)...........}); underscore.js下的函数, ...
分类:Web程序   时间:2017-11-17 12:00:55    阅读次数:144
jdbc-mysql基础 引擎Innodb是支持回滚
礼悟: 好好学习多思考,尊师重道存感恩。叶见寻根三二一,江河湖海同一体。 虚怀若谷良心主,愿行无悔给最苦。读书锻炼强身心,诚劝且行且珍惜。 进行事物回滚的表 的引擎信息 JDBCUtils类 测试类 控制台输出结果 注:数据库这里的操作,要谨慎小心。 学习资源:itcast和itheima视频库。如 ...
分类:数据库   时间:2017-11-17 00:07:34    阅读次数:164
golang-mysql
1.mysql配置 2.golang接口 ...
分类:数据库   时间:2017-11-16 22:11:17    阅读次数:238
053-155
Observe the structure of the table employees: The table contains 8475 records. One of the employees wants to know the names of all employees of the co ...
分类:其他好文   时间:2017-11-16 15:25:26    阅读次数:179
省市区三级联动
HTML Javascrip C# ...
分类:其他好文   时间:2017-11-16 15:21:08    阅读次数:160
特殊状态数据的联表查询统计问题
现有一张订单表 status代表订单状态 0 支付 2 已发货 -2 退款申请 当状态为-2的时候 会在退款表中有一条记录 退款申请表 退款状态 refund_status -1拒绝申请 1同意 -2 取消退款申请 现在如果要统计 订单中各个状态记录的金额总和,如何书写SQL? 要求 refund_ ...
分类:其他好文   时间:2017-11-16 14:37:30    阅读次数:191
PHP中pdo的使用
<?php /** *下面代码中information为表名 * */ //1.先要连数据库 $pdo=new PDO('mysql:host=localhost;dbname=数据库名','用户','密码'); // $pdo=new PDO('mysql:host=localhost;dbnam ...
分类:Web程序   时间:2017-11-16 11:32:51    阅读次数:168
A Bite Of React(1)
react: component and views : produce html abd add them on a page( in the dom) ES6 const: ES6 syntax, declare a variable. And which means it won't chan ...
分类:其他好文   时间:2017-11-16 00:52:16    阅读次数:198
查看mysql中所有表的数据记录
select table_name,table_rows from tables where TABLE_SCHEMA = 'database name' order by table_rows desc; ...
分类:数据库   时间:2017-11-15 17:07:01    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!