· 7 years ago · Mar 02, 2019, 01:16 PM
1create_table_string = "create table if not exists '" + match_time_table_name + "' (id INTEGER PRIMARY KEY, time TEXT)"
2cursor.execute(create_table_string)
3connection.commit()
4
5cursor.execute("INSERT INTO " + match_time_table_name + " (time) VALUES(?,)", (true_time))
6
7sqlite3.OperationalError: near ")": syntax error
8
9tottenhamarsenal2_2_2019MatchTime