Given an employee table, how would you find out the second
highest salary?
Answer Posted / vivek mohan singh
select salary from tablename order by salary desc limit 1,1;
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Explain about a primary key?
How long can an error message be in raiseerror function?
How can you log an error to the server event log from a stored procedure?
Why does this query return 0?
Explain about the database management systems.
How to use online Backups?
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?
Write short notes on manual refreshes.
How can I detect whether a given connection is blocked?
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?
What is dbms and its application?
Explain the rollup operator?
What is database design and development?
How to combine two function together?
Explain about network model?