Practical6
Practical6
20. Make a copy of employee table as “NewEmp_section” table with all records.
21. See the records of “NewEmp_section” table.
22. Make a copy of employee table as “Emp2_section” table with no (Zero) records.
23. See the records of all 3 table (Employee, NewEmp_section and Emp2_section).
24. See the structure of all 3 table (Employee, NewEmp_section and Emp2_section).
25. Create a new table “MyTable_section” from employee_section table with only
Name and Salary columns.
26. See the records of Employee Table and MyTable_section.
27. See the list of all tables.
28. Commit your data.
29. Drop the columns “name” and “empcode” from NewEmp_section table.
30. See the records of NewEmp_section Table.
31. Truncate the “MyTable_section” table. (do not use delete or DROP command).
32. See the records of “MyTable_section” table.
33. Rollback.
34. Again See the records of “MyTable_section” table. (What is your observation?)
35. Drop the “MyTable_section” table.
36. See the records of “MyTable_section” table.
37. Rollback.
38. Again See the records of “MyTable_section” table. (What is your observation?)
39. See the list of all tables in our login.
40. Commit the data.