Professional Documents
Culture Documents
Paper
Paper
1. TableName : Person
Columns : Firstname, LastName, City, Qualification
select all the information of persons table that the firstname starts with A
2. Create a store procedure that receives the first name of the person table as
input and the last name as output.
3. Create a query to show the first_name and customerid from the customer
table for the customer without orders.
5. Write a query to find out how many permanent candidate take salary more
than 5000
6. Use the above table and find out the total salary paid to permanent
employees
7. Table : Emp
Select the details of the employee who work either for department E-104 or
E-102
Em EmpN Depart EmpHe
EmailId
pid ame ment adId
isha@gmail.c
101 Isha E-101 105
om
priya@yahoo.
102 Priya E-104 103
com
neha@gmail.
103 Neha E-101 101
com
rahul@yahoo.
104 Rahul E-102 105
com
Abhis abhishek@g
105 E-101 102
hek mail.com
8. Table : EmpDept
9) Create temp table and push the result set obtained in the result (8)