Skip to main content
Call FLUSH after DELETE to persist the changes to storage. This ensures that the changes are committed and visible for subsequent reads.

Syntax

Parameters

Example

The taxi_trips table has three records:
The following statement removes the record with id 3 from the table. Also, it returns the value of id for the deleted row.
The following statement removes all rows from the table.
Let’s see the result.