Lesson 6
Lesson 6
ESSENTIAL DELETE
OVERVIEW
In this lesson, you will learn how to make remove unnecessary or
unwanted data or information from your database to save space in the
memory of the computer.
LEARNING OUTCOMES
We need to use primary key to avoid deletion of two data in your table.
Press control T or tab to try the command for you to compare the
previous table to the current table if you deleted the data.
Put Select * from dbGrocery.tblProducts; at the bottom of your Delete
command to update your table.
This will display the fabric softener only, all data will be deleted.
Be careful in truncating the table because all data will be deleted in your
table.
Note: It will just delete all the data and not the table, that’s is why
fieldnames remained.
It will remove all the data together with the table.
It will remove or delete the entire database as well as tables stored on it.
The
Database dbgrocery has been deleted immediately from the Schemas.
Just try to do all examples available in this lesson.