हिंदी

Differentiate between drop and delete query in SQL with a suitable example. - Computer Science (Python)

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2025-2026 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×