SingleStore supports multiple ways to delete data from a table using another table.

SingleStore: Delete From Table

There are many scenarios where it is required to delete data either directly from a table or using another table.

Sample Table and Data

Basic Delete : Deleting from single table

DELETE FROM deletetable 
WHERE id=4;

Output:
Query OK, 1 row affected


➠ Different approaches can be used to delete data from one table using other table.