جزاك الله خيرا
1
لقد تأكد منه وعندما قمت بتنفيذ الكود هذا ما ظهر line 36, in defaulterrorhandler raise errorclass, errorvalue _mysql_exceptions.ProgrammingError: (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \'"INSERT INTO EMPLOYEE(FRIST_NAME,\n LAST_NAME, AGE, SEX, INCOME)\n \' at line 1')
انا اقوم بتنفيذ الكود من خلال برنامج الpycharm ويظهر لي هذه الخطأ C:\Python27\python.exe C:/Users/karemo/PycharmProjects/dbs/insert.py Traceback (most recent call last): File "C:/Users/karemo/PycharmProjects/dbs/insert.py", line 9, in cursor.execute(sql) File "C:\Python27\lib\site-packages\MySQLdb\cursors.py", line 174, in execute self.errorhandler(self, exc, value) File "C:\Python27\lib\site-packages\MySQLdb\connections.py", line 36, in defaulterrorhandler raise errorclass, errorvalue _mysql_exceptions.OperationalError: (1054, "Unknown column 'FIRST_NAME' in 'field list'")