how to find the first two highest salaries in deptno in emp
table
Answers were Sorted based on User's Feedback
Answer / santhosh kandula
if u want select the second highest salary from the emp
table then u have to write query as
select max(salary) from emp where
salary < ( select max(salary) from emp )
Is This Answer Correct ? | 6 Yes | 1 No |
The count() function always returns a int value type what should you do if you need to count rows from a query which you know will return a value that is too large for an int value type?
Write short notes on manual refreshes.
When installing the datastage7.5x2 edtion iam getting aproblem i.e the cpu count is 2 but the cpu count in installation is one . how can i install in my p.c (system is dual core).
How to use online Backups?
How long can an error message be in raiseerror function?
What is dbms explain in brief?
What is the difference between a primary index and a secondary index? What is a duplicate data entry in an index? Can a primary index contain duplicates?
What is the physical representation for a many-to-many relationship?
What are the types of database model?
What is DB Development software?
You have a table with three columns: amount1, amount2, and amount3 in a single row only one of these three columns will have a value and the other two will be null. Write a sql query to retrieve the values from these columns?
What are the 18 schemas?