Difference between Rank and Dense Rank in Oracle |Oracle interview question rank vs dense_rank|Tamil

preview_player
Показать описание
#Oracle#rank#dense_rank

RANK: This gives you the ranking within your ordered partition. Ties are assigned the same rank, with the next ranking(s) skipped. Therefore, if you have 3 items at rank 2, the next rank listed will be ranked 5.

DENSE_RANK: This gives you the ranking within your ordered partition, but the ranks are consecutive in it. Also, no ranks are skipped if there are ranks with multiple items.

Note: For nulls, ranking depends on the ORDER BY clause

========================================================
🌕Want to join WhatsApp Group? (Only technical discussion, no spam messages, no promotion msg)

Informatica PowerCenter

Oracle-SQL

IICS
========================================================

Notes:

row_number vs rank vs dense_rank in sql server
dense_rank vs rank vs row_number sql server
rank dense_rank row_number in sql server
Difference between rank dense rank and row number in SQL
oracle sql interview questions for developers
sql interview questions and answers
oracle rank vs dense_rank

#JUSTIN#ORACLE#SQL#TAMIL#oracle#sqlinterviewquestions#sqlinterviewquestionsandanswers#oracle#sqlinterviewquestions#sqlinterviewquestionsandanswers

*****************************************************************************************************
📌 Join this channel and support my effort with your small contribution:
*****************************************************************************************************
📌 Oracle 18C Installation: with software:

-----------------------------------------------------------------------------------
Oracle 11g Installation: (light weight - please follow first 15 minutes to install Oracle and SQL developer)

-----------------------------------------------------------------------------------
📌 Oracle SQL - Complete tutorial Playlist

*****************************************************************************************************

📌 Oracle SQL Day wise Video:

Oracle SQL Tutorial - Day 6 -

Oracle SQL Tutorial - Day 7 -

Oracle SQL Tutorial - Day 8 -

Oracle SQL Tutorial - Day 9 -

Oracle SQL Tutorial - Day 10 -

**********************************************************************************
📌 Oracle SQL Full Course in 6 hours - TAMIL

📌Oracle SQL Day wise Video: TAMIL
-----------------------------------

************************************************************************************
Рекомендации по теме
Комментарии
Автор

*Complete 48 hours of Self-Paced Courses and Interview Questions Links:*

Are you interested in joining my Live training? or Self-Paced course?

You can visit our website for more details.



*WhatsApp group:*


Thanks,
NiC IT Academy




🔵Oracle SQL Tutorial - English

📌*IICS demo session:*

📌*Informatica Full Course:*

📌*SQL Full Course:*

📌*Informatica, IICS, and SQL playlist*

🌕 IICS Tutorial ENGLISH - Playlist

🌕 Informatica training in ENGLISH - Playlist

🌕 Informatica Interview Preparation - ENGLISH

🌕Oracle SQL - தமிழில்

🔵 Informatica training in தமிழில் - Playlist

🔵 Informatica Interview Preparation - TAMIL

🔵Unix for Informatica Developer

🌕Informatica Project videos

Please subscribe, Like, and comment. I will post more videos.

ThanksAre you interested in joining my Live training? or Self-Paced course?

Please visit our website for more details.



Thanks,

NICITACADEMY
Автор

1)Select top 5 balance account ?

Answer :

select * from
(select Name, balance_amount, dense_rank() over(order by balance_amount desc) as rnk from rank_test)
where rnk <=5

2)Select latest 5 transactions for each account ?

Answer :

select * from
(select name, Transaction_id, account_no, dense_rank() over(partition by account_no order by transaction_id desc) as rnk from rank_test)
where rnk <=5;


3)Which is the top transaction in each day ?

Answer :

select * from
(select name, trans_date, dense_rank() over(partition by trans_date order by balance_amount desc) as rnk from rank_test)
where rnk=1;

rajachinna
Автор

Sir idhu apdiyae informatica la panni kaata mudiyuma... Dense rank result and rank result?..by the way semmaiya nadathininga sir... God bless you and your family

balajilb
Автор

Sir how to insert multiple columns in a single query using insert all

stick_with_me