Popular Tutorials
HTML
View allJavaScript
View allMySQL Delete Record
MySQL DELETE statement is used to remove records from the MySQL table that is no longer required in the database. This query in MySQL deletes a full row from the table and produces the count of deleted rows. It also allows us to delete more than one record from the table within a single query.
Once we delete the records using this query, we cannot recover it. Therefore before deleting any records from the table, it is recommended to create a backup of your database. The database backups allow us to restore the data whenever we need it in the future.
The following are the syntax that illustrates how to use the DELETE statement:
DELETE FROM table_name WHERE condition;
Let's move on to select record in MySQL
Share this page on :
© 2022 AnalyzeCode.com All rights reserved.