SQL DELETE - W3Schools
Có thể bạn quan tâm
DELETE
The DELETE command is used to delete existing records in a table.
The following SQL statement deletes the customer "Alfreds Futterkiste" from the "Customers" table:
Example
DELETE FROM Customers WHERE CustomerName='Alfreds Futterkiste';Note: Be careful when deleting records in a table! Notice the WHERE clause in the DELETE statement. The WHERE clause specifies which record(s) should be deleted. If you omit the WHERE clause, all records in the table will be deleted!
It is possible to delete all rows in a table without deleting the table. This means that the table structure, attributes, and indexes will be intact:
The following SQL statement deletes all rows in the "Customers" table, without deleting the table. This means that the table structure, attributes, and indexes will be intact:
Example
DELETE FROM Customers; ❮ Previous ❮ SQL Keywords Reference Next ❯ ★ +1 Sign in to track progressTừ khóa » Câu Lệnh Xóa Sql
-
Lệnh DELETE Trong SQL Server
-
Lệnh DELETE Trong SQL
-
Câu Lệnh DELETE Trong SQL - Học Sql Cơ Bản đến Nâng Cao - VietTuts
-
Mệnh đề DELETE Xóa Dữ Liệu Trong SQL
-
DELETE - Lệnh Xóa Dữ Liệu - SQL & Database
-
Câu Lệnh DELETE Trong SQL | Lập Trình Từ Đầu
-
Lệnh Delete Trong SQL Server
-
Câu Lệnh DELETE Xóa Bản Ghi Trong Một Bảng SQL
-
Câu Lệnh Delete Trong Sql, Các Cách Sử Dụng Delete Trong Sql. - MCI
-
Xóa 1 Dòng Trong Sql - .vn
-
Cách Xóa Dữ Liệu Trong SQL
-
Lệnh DELETE Trong SQL, Cú Pháp Và Cách Sử Dụng - Thủ Thuật
-
Câu Lệnh Xóa Dữ Liệu (DELETE) | Nền Tảng
-
[4 Cách] Xóa Database Trong SQL Nhanh, đơn Giản - BKNS