DELETE语句用于从数据库表中删除记录。以下是使用DELETE语句的正确方法:
DELETE FROM table_name;
DELETE FROM table_name WHERE column_name = value;
DELETE FROM table_name WHERE column_name1 = value1 AND column_name2 = value2;
请注意,在使用DELETE语句时要格外小心,因为删除操作是不可逆的,一旦执行就无法恢复数据。因此,在执行DELETE操作之前,请务必确保你要删除的记录是正确的。