select t.DATA_PRECISION,t.DATA_SCALE,t.DATA_LENGTH,t.DATA_TYPE,t.COLUMN_NAME, t.NULLABLE,t.DATA_DEFAULT,c.COMMENTS from all_tab_columns t left join al...
分类:
数据库 时间:
2014-07-19 00:35:47
阅读次数:
272
#include
#include
using namespace std;
void hello()
{
cout<<"hello kitty"<<endl;
}
int main()
{
std::thread t(hello);
t.join();
return 0;
}...
分类:
编程语言 时间:
2014-07-18 23:03:18
阅读次数:
343
SELECT a.id ,b.order_id,b.attr FROM tourist_order a LEFT JOIN order_attr b ON a.id = b.order_id AND b.attr='order_status' WHERE b.order_id IS NUL...
分类:
数据库 时间:
2014-07-18 18:18:52
阅读次数:
218
DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…The Lunar New Year ...
分类:
其他好文 时间:
2014-07-18 18:17:12
阅读次数:
280
总是对Oracle的左连接、右连接以及(+)对应的外连接类型糊涂,通过实验加深对连接类型语法的理解。外连接分为三种:
1. 左外连接,对应SQL关键字:LEFT (OUTER) JOIN
2. 右外连接,对应SQL关键字:RIGHT (OUTER) JOIN
3. 全外连接,对应SQL关键字:FULL (OUTER) JOIN
左右外连接都是以一张表为基表,在显示基表所有记...
分类:
数据库 时间:
2014-07-18 15:08:27
阅读次数:
260
最近在给一个客户做调优的时候发现一个很有意思的现象,对于一个复杂查询(涉及12个表)建立必要的索引后,语句使用的IO急剧下降,但执行时间不降反升,由原来的8秒升到20秒。 通过观察执行计划,发现之前的执行计划在很多大表连接的部分使用了Hash Join,由于涉及的表中数据众多,因此查询优化器选择使用...
分类:
数据库 时间:
2014-07-18 08:01:44
阅读次数:
346
1.pthread_create function creates thread that share the same memory with the process.2.pthread_join function wait for threads until they stop3.The pth...
分类:
系统相关 时间:
2014-07-18 00:19:54
阅读次数:
317
用例:f = os.popen("%s %s %s" % ("pkg-config", " ".join(args), mod))popen(...) popen(command [, mode='r' [, bufsize]]) -> pipe Open a pipe to/from a com....
分类:
编程语言 时间:
2014-07-18 00:00:03
阅读次数:
392
sql表连接left join,right join,inner join区别left join(左联接) 返回包括左表中的所有记录和右表中联结字段相等的记录 (以左表数据为基准,不足补为NULL)right join(右联接) 返回包括右表中的所有记录和左表中联结字段相等的记录(以右表数据为基准,...
分类:
数据库 时间:
2014-07-17 13:34:45
阅读次数:
331
题解:注意题目中规定取到最后一粒石子的人算输,所以是Anti-Nim游戏,胜负判断为:先手必胜: 1.所有堆的石子数都为1且游戏的SG值为0; 2.有些堆的石子数大于1且游戏的SG值不为0。#include int main(){ int t,n,s,x,tmp; scanf("%d...
分类:
其他好文 时间:
2014-07-17 11:09:17
阅读次数:
303