write query for fourth maximum salary from employee table
Answer Posted / arun kumar
select top 1 e.emp_code,e.emp_name,ed.basic_salary from
employee_master e, employee_salary_detail ed where
e.emp_id=ed.emp_id order by basic_salary desc
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Why functions are used in sql server?
What is a transact-sql statement batch in ms sql server?
You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date
Explain time data type in sal server 2008?
Can we add our custom code in ssis?
What are the operating modes in which database mirroring runs?
What’s the use of custom fields in report?
What are the differences between “row_number()”, “rank()” and “dense_rank()”?
Are all views updatable ?
Explain following error properties?
What are xml indexes?
What is Lock table in SQL?
Explain what is log shipping?
What are the rules to use the rowguidcol property to define a globally unique identifier column?
Explain about link server in sql server?