· 7 years ago · Oct 12, 2018, 02:42 PM
1cursor.execute('''
2 CREATE TABLE IF NOT EXISTS order(
3 orderID INTEGER PRIMARY KEY,
4 productname STRING,
5 productprice FLOAT,
6 productquanitity INTEGER,
7 producttotal INTEGER;''')
8
9Exception in Tkinter callback
10Traceback (most recent call last):
11 File "C:Python34libtkinter__init__.py", line 1533, in __call__
12 return self.func(*args)
13 File "N:/NEW/cashregister.py", line 42, in okitem
14 producttotal INTEGER;''')
15sqlite3.OperationalError: near "order": syntax error