vimwiki

Sql delete data

To delete data from a table, use the following syntax:

DELETE FROM <table name> 
WHERE <condition>;

For example, to delete all students with an age less than 18:

DELETE FROM students
WHERE age < 18;