DELETE tutorial in php

 DELETE Syntax :

DELETE FROM table_name WHERE condition;


If we want to DELETE any particular record from table name "personal" using DELETE then we can use  below query : 

While performing DELETE query, there must be condition otherwise all records will be deleted.

DELETE FROM personal WHERE id = 30;

Comments

Popular posts from this blog

Logical_Operators

SubQuery with EXISTS and NOT EXISTS in PHP

Get Functions