DELETE FROM table
WHERE search_condition
ORDER BY criteria
LIMIT row_count OFFSET offset;
- 匯入 artists.csv
CREATE TABLE artists_backup(
artistid INTEGER PRIMARY KEY AUTOINCREMENT,
name NVARCHAR
);
INSERT INTO artists_backup
SELECT artistid,name
FROM artists;
SELECT
artistid,
name
FROM
artists_backup;
DELETE FROM artists_backup
WHERE artistid = 1;
DELETE FROM artists_backup
WHERE name LIKE '%Santana%';
DELETE FROM artists_backup;