DBMS Lab Assignment 04
DBMS Lab Assignment 04
3. Display the Jersy_No (in descending order) and Player_Name from RUN Table (use distinct).
4. Change the attribute names in RUN Table:
“Jersy_No” as “Player_No” and “Against” as “Against_Team”.
Display all the records of RUN table.
5. Display all the records of RUN table where the field Player_No is 48.
6. Display all the records of RUN table where the field Player_No is 11.
15. Display all the records from TEAM where Player_No is in between 10 and 20 with order.
16. Delete the records of 16 Player_No from TEAM .
17. Drop column BirthDay from TEAM table.
18. Insert the following values in TEAM:
12,’Virat’,’India’
13,’Dhoni’,’India’
18,’Shoaib’,’Pakistan’
19. Find out the average score of S-Tendulkar.
20. Select Player_Name and average Score from RUN by grouping Player_Name where average
score>50.
25. Retrieve name and salary of Employees where salary is greater than >300000.
26. Retrieve total number of Employee.
27. Retrieve id, name and department of the Employee where DOJ is ‘2011-01-01’.
28. Display details of Employee whose department name start with ‘CO’.
29. Delete all records from EMPLOYEE table. (Use Turncate)
30. Delete the table EMPLOYEE.