This site is mobile accessible. Press the "Tap Here" button to use a different font-size.


Smartphone icons created by Freepik - Flaticon

  • 8.12 MySQL Delete Data

    The DELETE statement is used to delete records from a table:

    DELETE FROM table_name
    WHERE some_column = some_value
    • Notice the WHERE clause in the DELETE syntax: The WHERE clause specifies which record or records that should be deleted. If you omit the WHERE clause, all records will be deleted!
    • Let's look at the "MyGuests" table:
    Connection failed: No such file or directory