I have created a sqlite database on this directory 'C:\sqlite\db' and I want to delete record where id = 2 (as an example) but when I run code I get 'no such tale error'.
I have checked with command line for the table on the same directory and find the table and database on the same directory with data in tables.
what would be the error in my code. it does it have any problem with directory setting?
import sqlite3
con = sqlite3.connect('C:\\sqlite\db\pythonsqlite')
sql = 'DELETE FROM FIRST WHERE id = ?'
cur = con.cursor()
cur.execute(sql, (1,))