Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


explain the ROLLUP, CUBE, RANK AND DENSE_RANK FUNCTIONS OF
ORACLE 8I

Answers were Sorted based on User's Feedback



explain the ROLLUP, CUBE, RANK AND DENSE_RANK FUNCTIONS OF ORACLE 8I..

Answer / vikram

Diff between RANK() and DENSE_RANK():-
------------*******-----************-------

RANK():-
---> It leaves a gap in the sequence of ranking in the
event of tie.
DENSE_RANK():-
---> It doesn't leave a gap in the sequence of ranking
in the event of tie.

EX:-
empno ename RANK DENSE_RANK
101 AAA 1 1
102 BBB 2 2
102 BBB 2 2
102 BBB 2 2
103 CCC -->5 --> 3
103 CCC 5 3
104 DDD -->7 --> 4

Is This Answer Correct ?    10 Yes 0 No

explain the ROLLUP, CUBE, RANK AND DENSE_RANK FUNCTIONS OF ORACLE 8I..

Answer / satya

ROLLUP is used to Calculate The subtotals And Grand Total
Based On The Groupby Function.
This ROLLUP is used after the GROUP BY function.
CUBE generates a result set that represents aggregates for
all combinations of values in the selected columns.
RANK Function Is Used To Give The Ranks,But It miss Some
Ranks When Both Are Getting Same Ranks.
DENSE_RANK function Won't Give The Gaps Between The Ranks.

Is This Answer Correct ?    8 Yes 3 No

explain the ROLLUP, CUBE, RANK AND DENSE_RANK FUNCTIONS OF ORACLE 8I..

Answer / friend

ROLL UP IS USED TO FIND THE SUB TOTALS ,IT IS USED AFTER
GROUP BY FUNCTION,AND"CUBE"IS ALSO HAVING THE SAME
MEANING,AND RANK FUNC IS USED TO FIND THE RANKS AND IT
GIVES THE SAME RANK IF DATA HAVING SAME DATA,AND DENSE
_RANK ALSO SAME AS RANK BUT IT WILL GIVE DISTINCT RANKS IF
AT ALL IF THE DATA HAVING SAME DATA.

Is This Answer Correct ?    8 Yes 7 No

Post New Answer

More Data Warehouse General Interview Questions

Explain the structure of cold fusion?

0 Answers  


In microstrategy, how can we direct the sql generated to use a specifc table?

0 Answers  


Explain what is the main difference between inmon and kimball philosophies of data warehousing?

0 Answers  


how to find unique records in informatica level

1 Answers   IBM,


How many different schemas or dw models can be used in siebel analytics. I know only star and snow flake and any other model that can be used?

0 Answers  


How many project sources we can create in metadata?

0 Answers  


Explain multivalued dependency?

0 Answers  


Explain in simple terms, the concept of Data Mining.

3 Answers  


What is source qualifier?

2 Answers  


Explain where do we use semi and non additive facts?

0 Answers  


How would you write a left join statement to return a result set of movie.title�s and director.name�s?

0 Answers  


what is data validation strategies for data mart validation after loading process

1 Answers  


Categories