Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Deloitte SQL PLSQL Interview Questions
Questions Answers Views Company eMail

Differences between UNIQUE and DISTINCT in select statements

26 128290

Hi, Can anybody please explain me the flow of the below query. I am not able to understand how this query works. This query is for finding the Nth highest salary.. SELECT DISTINCT (a.sal) FROM EMP A WHERE &N = (SELECT COUNT (DISTINCT (b.sal)) FROM EMP B WHERE a.sal<=b.sal); If N = 2 then second highest salary will be the o/p. If N = 3 then third highest salary will be the o/p. and so on.. Thanks, Nitin

5 13203

Post New Deloitte SQL PLSQL Interview Questions


Deloitte SQL PLSQL Interview Questions


Un-Answered Questions

How are javascript and ecma script related?

556


What is the most powerful capabilities of the modelbinder ?

5


What does protected internal access modifier mean?

582


What is a nosql database?

48


How do you add a number to a macro variable? : sas-macro

579






What is domain parking?

372


What happen when I import the same module twice in angular 4?

514


why incomer bay is required before transformer bay if there are more than 1 nos. of transformer bay.

2656


Is php case sensitive?

539


What is the cut-off rate?

757


What is the difference between bootstrap 3 and bootstrap 4?

1


Explain Reliability Mechanisms in JMS?

1090


What is steaming?

1


What is candidate key ? What is Alter net key ? & What is foreign key ?

1472


what types of security measures are provided with silverlight?

5