DELETE FROM

    Note

    Example

    Used to delete the data, if the table has already been changed within the same transaction.

    1. $to_delete = (
    2. SELECT * FROM my_table;
    3. DELETE FROM my_table ON
    4. SELECT * FROM $to_delete;