SQL โ€“ DELETE

SQL DELETE Query

SQL โ€“ DELETE Query is used to delete records(rows) from table.

SQL DELETE Syntax :

DELETE FROM TableName WHERE columnName = someColumnValue;

Suppose We Have Following Data :

tableFull

Example : We want to delete row where id is โ€˜9โ€™

Example

DELETE FROM Users WHERE ID = โ€˜9โ€™;

This Will Delete the row where id is โ€˜9โ€™ . The Table will look Now :

SQL Delete onrowDeleted


Advertisements

Add Comment

๐Ÿ“– Read More