question
sqlite3 uses the .import command to import the input and the error-INSERT failed: datatype mismatch occurs
reason
The default delimiter of the file field is "|", and the .csv file converted from excel defaults to a comma, which results in an error in file parsing and "data type mismatch"
solve
Modify the separator before the .import command - .separator ","