how to delete duplicates in sqlite code example
Example 1: how to avoid duplicate records in sqlite
INSERT OR REPLACE INTO MAIN (...) VALUES (...)
Example 2: how to avoid duplicate records in sqlite
CREATE TABLE MAIN
(
NAME TEXT NOT NULL,
Error_List CHAR(50),
Warning_List CHAR(50),
Advice_List CHAR(50),
Total CHAR(50),
Note CHAR(50),
UNIQUE (NAME, Error_List, Warning_List, Advice_List, Total, Note) ON CONFLICT IGNORE
);