Can we edit a view in sql?
No Answer is Posted For this Question
Be the First to Post Answer
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 Answers Deloitte, Ness Technologies,
How many sql statements are used? Define them.
What sql database should I use?
how many triggers are allowed in mysql table? : Sql dba
What is referential integrity ?
How to rename a table?
What will happen after commit statement ?
Which is better varchar or nvarchar?
Do stored procedures prevent sql injection?
how to run 'mysql' commands from a batch file? : Sql dba
Explain 3 basic parts of a trigger.
What is asqueryable?