码迷,mamicode.com
首页 >  
搜索关键字:from    ( 57817个结果
提高SQL语句查询效率
1.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num is null可以在num...
分类:数据库   时间:2014-05-01 13:23:55    阅读次数:443
UVA 10692 Huge Mod
Problem XHuge ModInput:standard inputOutput:standard outputTime Limit:1 secondThe operator for exponentiation is different from the addition, subtract...
分类:其他好文   时间:2014-05-01 09:03:35    阅读次数:540
Oracle按时间段分组统计
想要按时间段分组查询,首先要了解level,connect by,oracle时间的加减.关于level这里不多说,我只写出一个查询语句:----level 是一个伪例 select level from dual connect by level d.dt-2 group by d.dt ...
分类:数据库   时间:2014-05-01 08:09:44    阅读次数:415
[leetcode]Remove Nth Node From End of List @ Python
原题地址:http://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/题意:Given a linked list, remove thenthnode from the end of list and return its he...
分类:编程语言   时间:2014-05-01 06:42:15    阅读次数:332
【Mysql】select
描述The SELECT statement is used to select data from a database.The result is stored in a result table, called the result-set.大意:select用来从数据库中挑选数据有以下两种形...
分类:数据库   时间:2014-05-01 06:14:32    阅读次数:467
oracle数据库备份
1. 文件查看数据文件、控制文件、日志文件查看如下:select file#, status, enabled, name from V$datafile;--查看数据文件select * from v$controlfile;--控制文件select * from v$logfile;--日志文件...
分类:数据库   时间:2014-05-01 04:49:13    阅读次数:471
SQL查询:『索引失效问题』
1、IN操作符用IN操作符写出来的SQL直观简单、易于理解。但是在where条件中使用IN操作符是低效的。例如下面这条查询语句:SELECT * FROM tab_a WHERE id IN(SELECT a_id FROM tab_b); 你认为它会怎么执行呢?先从tab_a表中遍历数据,然后拿每...
分类:数据库   时间:2014-05-01 03:28:11    阅读次数:756
Steve Jobs Stanford
I am honored to be with you today at your commencement from one of the finest universities in the world. I never graduated from college. Truth be told, this is the closest I've ever gotten to a colleg...
分类:其他好文   时间:2014-04-29 13:46:22    阅读次数:337
Use UMDH to identify memory leak problem
We sometimes got memory leak problem, and we need to find the leaked memory, Here is a useful tool from MS, UMDH, it is included in WinDBG install package. Here is a introduction on how to UMDH to identify memory leak problems...
分类:其他好文   时间:2014-04-29 13:38:21    阅读次数:374
XML From Action Script[AS中的XML学习笔记]
XML From Action Script[AS中的XML学习笔记]...
分类:其他好文   时间:2014-04-29 13:21:22    阅读次数:288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!