0% found this document useful (0 votes)
6 views5 pages

Lab 9

The document outlines a series of lab tasks for a Database Management System course, specifically for creating and managing a table named MY_EMPLOYEE. Tasks include inserting data, updating records, deleting entries, and confirming changes to the database. The document serves as a guide for students to practice SQL operations within the context of a lab assignment.

Uploaded by

Ahmed Mehmood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views5 pages

Lab 9

The document outlines a series of lab tasks for a Database Management System course, specifically for creating and managing a table named MY_EMPLOYEE. Tasks include inserting data, updating records, deleting entries, and confirming changes to the database. The document serves as a guide for students to practice SQL operations within the context of a lab assignment.

Uploaded by

Ahmed Mehmood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Database Management System

Department: BS-SE 4th Sem


Lab 9

Submitted by:

Ahmed Mehmood RCF30145

Submitted to:

Mam Sehrish ferdous


LAB TASKS

1. Create the table MY_EMPLOYEE which has the following schema.

2. Add the first row of data to the MY_EMPLOYEE table from the following sample data.

3. Populate the MY_EMPLOYEE table with the second row of sample data from the
preceding list. This time, list the columns explicitly in the INSERT clause.

4. Confirm your addition to the table.


5. Populate the table with the next two rows of sample data by using the insert statement

6. Make the data additions permanent

7. Change the last name of employee 3 to Drexler

8. Change the salary to 1000 for all employees with a salary less than 900
9. Verify your change to the table

10. Delete Betty Dancs from the MY_EMPLOYEE table

11. Empty the entire table

12. Confirm that the table is empty

13. Discard the most recent DELETE operation without discarding the earlier INSERT
statement
14. Confirm that the new row is still intact.

15. Make the data changes permanent

You might also like