yjfhg 2007-5-29 22:24
面试的一点收获
以前做过一段时间的报表,今天面试才发现很多知识掌握的还不是全面的,整理几个知识点.
1.分析函数
1. 自动汇总函数rollup,cube,
2. rank 函数, rank,dense_rank,row_number
3. lag,lead函数
4. sum,avg,的移动增加,移动平均数
5. ratio_to_report报表处理函数
6. first,last取基数的分析函数
2.Combine data from one or more SELECT statements.
[indent]SELECT command {UNION | UNION ALL | INTERSECT | MINUS} SELECT commandkey:
UNION - Combine the unique rows returned by 2 SELECT statements
UNION ALL - Combine the rows returned by 2 SELECT statements (including all duplicates)
INTERSECT - Return only those rows that are in *both* SELECT statements
MINUS - Return the rows that are in the first SELECT but not the second[/indent]
3. START WITH and CONNECT BY in Oracle SQL
[indent]The start with .. connect by clause can be used to select data that has a hierarchical relationship (usually some sort of parent->child (boss->employee or thing->parts).
It is also being used when an sql execution plan is explained. recurse-condition can make use of the keyword prior: [/indent]
mydarkhorse 2007-5-30 14:03
感觉好复杂啊!
barcelona 2007-5-31 11:20
恩 看下 好好 楼上的莫怕呵呵
Jessica_whsljj 2007-6-4 11:15
面试数据库的?
Mary_archer 2007-6-26 15:16
呵呵,看不懂
用什么开发报表,这些函数是哪里的?
看不太懂啊,^_^
songym2007 2007-6-29 11:11
同感
lijuansun 2007-7-27 17:06
晕!
yanzs0120 2007-12-13 20:56
什么东东看不懂啊???
chengshi_101010 2008-4-1 22:30
晕了!
shhuangfy 2008-6-25 17:40
真没看明白