码迷,mamicode.com
首页 >  
搜索关键字:from    ( 57817个结果
15_exists型子查询
子查询: where型子查询 把内层的查询结果作为外层查询的比较条件。 from型子查询 把内层的查询结果作为临时表,供外层sql再次查询。 exists型子查询 把外层的查询结果,拿到内层,看内层的查询是否成立。 ------------------------------- exists子查询 把外层的查询结..
分类:其他好文   时间:2015-05-20 18:45:49    阅读次数:165
leetcode---Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. Note: You can only move either down or right at...
分类:其他好文   时间:2015-05-20 18:34:22    阅读次数:138
mysql索引使用笔记
1.使用explain语句查看性能mysql> explain select product_id from orders where order_id in (123, 312, 223, 132, 224) \G2.为什么要创建组合索引呢?如果只有一个索引,2个查询条件的语句中会先去索引查询一个...
分类:数据库   时间:2015-05-20 18:11:57    阅读次数:220
QTP使用Smtp协议发送邮件
NameSpace="http://schemas.microsoft.com/cdo/configuration/"SetEmail=CreateObject("CDO.Message")Email.From="XXX@YY.com"Email.To="XXX@YY.com"Email.CC=""...
分类:其他好文   时间:2015-05-20 18:05:26    阅读次数:127
hive关系运算详解
关系运算:1.等值比较: = 语法:A=B 操作类型:所有基本类型 描述:如果表达式A与表达式B相等,则为TRUE;否则为FALSE 举例: hive>select 1 from lxw_dual where 1=1;2.不等值比较: 语法: A B操作类型: 所有基本类...
分类:其他好文   时间:2015-05-20 17:52:19    阅读次数:171
sql常用语句
得到一个表列的个数:select count(a.name) as count from syscolumns a where a.id=object_id('TB_B_PROJECTS')修改列的长度: alter table [TB_B_PROJECTS] alter column [INTRO...
分类:数据库   时间:2015-05-20 14:42:46    阅读次数:145
mysql 毫秒时间转换
当在数据库中存储的时间类型为bigint类型时,及时间的毫秒数java中:new DATE().gettime();//获取时间的毫秒数当需要将毫秒数转化为时间的时候mysql中:FROM_UNIXTIME(1431574755832/ 1000,'%Y-%m-%d');格式化时间类型:now()取...
分类:数据库   时间:2015-05-20 14:41:31    阅读次数:554
iOS 解决Charles无法抓取Xcode6的Simulator数据包问题
官网给出解决办法:http://www.charlesproxy.com/documentation/faqs/ssl-connections-from-within-iphone-applications/ 1、charles->Help -> Install Cahrles CA SSL Certificatein iOS Simulators (charles 3.9.3以上) 2、重启...
分类:移动开发   时间:2015-05-20 13:16:54    阅读次数:163
【leetcode】Word Search II(hard)★
Given a 2D board and a list of words from the dictionary, find all words in the board.Each word must be constructed from letters of sequentially adjac...
分类:其他好文   时间:2015-05-20 13:07:43    阅读次数:123
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!