how to find the first two highest salaries in deptno in emp
table
Answer Posted / 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 |
Post New Answer View All Answers
Explain about the hierarchical model of the database?
You have two tables with a one to many join based on a field named id. You need to find records in the parent table that are not represented in the child table. how would you accomplish this?
In which database can extended stored procedures be added?
1. Using the XML Document below, with the URI “recipe.xml”
define
the following queries in XQuery:
a.) Give the names of all breakfast in the menu.
b.) Select breakfasts that have price lower than $7.00?
How can you fix a poorly performing query?
What is DB Development software?
You are testing the performance of a query the first time you run the query, the performance is slow. the second time you run the query, the performance is fast. why is this?
Explain the process of the user request and data generating?
Explain about a primary key?
How to read and create .LDC data files which are used by linguatic dictionary.
Explain about network model?
On friday, you issued several insert statements using query analyzer. You then verified the data had been correctly entered with a select statement on monday, your users report that the data is not there what happened?
Explain about the relational database?
What are the three types of database design?
explain detail about ftp in datastage?