Which command is used to erase all records marked for deletion mcq?
Answers
Answer:
Delete command is used to erase all records marked for deletion. Delete command is perhaps the most important command in Database Management System.
It is used to delete rows as well as columns. One or more than one records of data can be removed from the table. If someone creates a subset for deletion using certain conditions, then only a portion is deleted otherwise all the records are removed.
Answer: DELETE
Concept : Delete in SQL
Given : Command used to erase all records marked for deletion
To Find : Which command is used to erase all records marked for deletion?
Explanation:
Delete command is used to erase all records marked for deletion. Delete command is a DML command (Data Manipulation Language) and perhaps it is the most important command in Database Management System. Delete command is used to delete rows as well as columns. By using Delete command, all the records can be erased in one go, or can be erased one by one. One or more than one record of data can be removed from the table. If conditions are applied, then only specific records are deleted according to the condition. In SQL, Drop and truncate commands are also used. Drop command is used to drop the whole table in one go and truncate command is used to delete all rows of a relation in one go.
#SPJ2