Advertisements
Advertisements
प्रश्न
Differentiate between drop and delete query in SQL with a suitable example.
फरक स्पष्ट करा
Advertisements
उत्तर
- The DELETE query removes all the records or specific records from a table, preserving the table structure.
Example: DELETE FROM Employees WHERE EmployeeID = 5; - The DROP query removes the entire table or database along with its data.
Example: DROP TABLE Employees;
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
