SQL Delete Statement



If you want to delete a record from any MySQL table, then you can use SQL DELETE Statement.

1.)command at mysql> prompt

2.) any script like PHP.

The WHERE clause is used when a uuser wantsto delete selected rows in a table of a given database.

Deleting Data from Command Prompt:

SQL DELETE Statment with WHERE clause is used in order to delete selected data into MySQL table tutorials_table.


Deleting Data Using PHP Script:




Previous articleSQL UPDATE Statement
Next articleSQL Create Table
Hello Itsourcecoders, welcome to itsourcecode.com. I'm Joken Villanueva, MIT a passionate Blogger, Programmer and a Hobbyist. I started Itsourcecode because I wanted to give back and Share all the learnings and knowledge I've learned in my career and I believe through this website I would be able to help and assist those newbie programmers in enhancing their skills from different programming languages. So let us all help each other by sharing our ideas!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.