Javatpoint Logo
Javatpoint Logo

MariaDB DELETE Data

The MariaDB DELETE statement is used to delete one or more records from the table in MariaDB database.

Syntax:

DELETE data using one condition

Let's delete data using one condition.

Example:

Mariadb Delete data 1

Query is executed successfully. You can now see that selected data is deleted.

Output:

Mariadb Delete data 2

You can see that "Mahesh" is not available in table.


DELETE data using multiple condition

Mariadb Delete data 3

Query is executed successfully. You can now see that selected data is deleted.

Output:

Mariadb Delete data 4

You can see that "Aryan" is not available in table.







Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA