Hi Everyone,
Sorted it myself by removing the PRE SQL Statement
The "incomplete input" error in SQLite usually occurs when the SQL statement is not properly terminated with a semicolon (;). Ensure that each SQL statement ends with a semicolon.