棋手的概率问题
这是 PUZZLEUP 2014 的15题 ,ITPUB的oracle开发版有一专门的帖子There are 24 players in a chess tournament. 8 teams participated with 2 players , and 8 teams participated with 1 player. For the 12 matches in the first round, the pairings will be drawn randomly. What is the probability that at le...
oracle 多列unpivot及unpivot 使用
这是一个复杂的例子,想对它有一个深入的使用,那仔细看看吧点击(此处)折叠或打开create table TT_TEST2( allup_level NUMBER(2), cross_flag NUMBER(1), book_id NUMBER(10), &nb...
瘦化拉链表
由于前期分析不到位,导致缓慢变化维表增长速度过快,影响查询性能,分析发现只是由于一些无关紧要的字段变化产生此类数据,因此,要实现拉链表的瘦化,例如,有一个表tb_aa(pk_id,a,b,c,d,e,start_date,end_date),pk_id是源表主键,原先是根据a,b,c,d,e这些字段做的拉链,导致数据量过大,目前通过分析,只需要a,b,c进...
手写数据数字识别
题目看这里,http://f.dataguru.cn/thread-171808-1-1.htmlhttp://f.dataguru.cn/group-125-1.html 一个很有意思的竞赛题,由于本人R语言半途而废了,因此,用java来进行的识别。最后结果,只能识别六成左右。而R语言采用训练集方式,都达到九成多了个人思想:1,点阵生成二维矩阵,以一定值进行黑白降燥。2,...