You are on page 1of 3

A:

Q1: What is Query to find Second highest salary for employee?


Q2: Fetching Nth Record from the table.
Q3: Write a query to get the following output.

B:

Q1: Write down the query to fetch EmployeeName & Project who has assign more than one
project.

Q2: Write a query to get the following output.


Q3: Write the query to get the department and department wise total(sum) salary, display it in
ascending order according to salary

C:

Q1: Write down the query to get ProjectName and respective EmployeeName(firstname)
which are working on the project,
--if more then one employee working on same project, then it should be in same cell seprated
by comma --for example :- Task Tracker : Vikas, Ashish

Q2: Write down the query to create employee table with Identity column([EmployeeID]) –

Q3:Write a query to get followwing output.

D:

Q1: Get employee name, project name order by firstname from "EmployeeDetail" and
"ProjectDetail" for those employee which have assigned project already.

Q2: Write down the query to fetch Project name assign to more than one Employee

Q3: Get all employee detail from EmployeeDetail table whose "FirstName" containing '%'.
ex:-"Vik%as".

You might also like