码迷,mamicode.com
首页 >  
搜索关键字:select case when    ( 55702个结果
When to use Class.isInstance() & when to use instanceof operator?
I think the official documentation gives you the answer to this one (albeit in a fairly nonspecific way):This method is the dynamic equivalent of the ...
分类:其他好文   时间:2014-05-14 03:31:06    阅读次数:223
MySQL Select
查询分类单表查询:简单查询多表查询:连接查询联合查询:多个查询结果汇总查询的组成投影查询:挑选要显示的字段select array1,array2,... from tb_name;选择查询:挑选符合条件的行select * from tb_name where-clausewhere-clause...
分类:数据库   时间:2014-05-14 03:08:33    阅读次数:440
oracle 中top-n的使用
对于ms sqlserver数据库中可以直接使用top(n)提取前N 个结果,而oracle中并不能直接使用的。oracle中提供了对于提取前N 条的结果的方法 那就是用行编号例如:select [column_list],ROWNUM from ( select [colum...
分类:数据库   时间:2014-05-12 22:14:41    阅读次数:429
IE下iframe中使用滤镜document.selection.createRange().text获取不到值得解决办法
通常的写法是select方法后跟一个blur方法,但是这里我们不能使用blur方法,应该将blur改为window.parent.document.body.focus();
分类:其他好文   时间:2014-05-12 19:23:37    阅读次数:995
mysql 得到重复的记录
select devicetoken from client_user group by devicetoken having count(devicetoken)>1
分类:数据库   时间:2014-05-12 02:16:42    阅读次数:273
Spinner 简介
Spinner 提供了快速从一个数据集中选择一个值的方法,默认显示的是当前选择的值,点击可以显示下拉列表,用户可以列表中选择一个新值。spinner有两种显示模式dialog和dropdown,有不同的属性对应使用:spinner源码中的片段switch (mode) { case M...
分类:其他好文   时间:2014-05-12 00:32:02    阅读次数:412
linux中的等待队列
最近看epoll 和 select 都涉及到一个东西叫做设备等待队列,等待队列是如何工作的,内核是怎么管理的?看这篇文章问题:进程是如何组织起来的?我们知道,进程是有很多种状态的:include/linux/sched.h#define TASK_RUNNING 0#define TASK_INT....
分类:系统相关   时间:2014-05-11 23:08:52    阅读次数:537
数据库概论的笔记
存储过程与函数的区别 存储过程是用户定义的一系列sql语句的集合,设计特定的表或其他对象的任务,用户可以调用存储过程; 而函数通常是数据库已定义的方法,它接受参数并返回某种类型的值并且不涉及特定的用户表。...
分类:数据库   时间:2014-05-11 21:06:52    阅读次数:418
POJ 3468 A Simple Problem with Integers(线段树)
题目链接:http://poj.org/problem?id=3468 A Simple Problem with Integers Time Limit: 5000MS   Memory Limit: 131072K Total Submissions: 56005   Accepted: 16903 Case Time Limit...
分类:其他好文   时间:2014-05-11 18:40:16    阅读次数:301
mysql limit性能问题
offset大的时候的比较SELECT * FROM persons LIMIT 200000,10;耗时0.078sSELECT *FROM persons WHERE id>=(SELECT id FROM persons ORDER BY id LIMIT 200000,1) LIMIT 10...
分类:数据库   时间:2014-05-11 16:23:57    阅读次数:322
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!