Given an employee table, how would you find out the second
highest salary?
Answer Posted / balindra sahani
select max(sal) from emp
where sal not in (select max(sal) from emp )
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to replace not in with not exist?
Explain about the hierarchical model of the database?
What are the types of database model?
What is database design and development?
How can I detect whether a given connection is blocked?
What is dbms explain in brief?
What is normalization? Explain different levels of normalization?
Hi , any one can help me on the same,this is regarding the Informatica Function doc,i want to know how developer is will develop the mapping. pl forwar the any function doc .just for my references. svlc75@yahoo.co.in
Explain about query and reporting.
What is dbms and its application?
How can you fix a poorly performing query?
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?
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?
Explain the role of indexing in databases?
Explain the rollup operator?