If you have looked at that for seven days and not spotted it yet, you should probably reconsider your career choices ... a simple google would have told you the problem:
INSERT - MariaDB Knowledge Base[
^]
Since the error message explicitly says:
Quote:
check the manual that corresponds to your MariaDB server version for the right syntax to use near 'list VALUES ('1', ' pencil','30','per box',' Apsara','11-12-2021',' 25 R...' at line 1
It's obvious that "product list" is not a valid table name:
Identifier Names - MariaDB Knowledge Base[
^]
Which means all you had to do was quote the name:
INSERT INTO `product list` VALUES (...