1. How to fetch all the duplicate records from the table.
2. How to fetch the second highest salary from the table.
Answer Posted / oracle.hemant
select max(salary) from emp where salary<(select max(salary)
from emp)
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is query optimization process?
Write a program using SQL queries to find a unique entry in a table.
How do you improve the performance of a SQL Azure Database?
What are system databases in ms sql server?
Recommend an approach to ensuring that all changes in the remote databases synchronize with the SQL Azure database?
What do you understand by the analysis services in sql server?
Can we call stored procedure in view in sql server?
What is a bit datatype?
What is a group function explain with an example?
What do you mean by acid?
How is SQL Azure different than SQL server?
What is the difference between dropping a database and taking a database offline?
What program is used to store the data source file?
How you can move data or databases between servers and databases in sql server?
How to transfer a table from one schema to another?