Check out example codes for "sqlite3.OperationalError: near "WHERE": syntax error". It will help you in understanding the concepts better.

Code Example 1

there shoudnt be a comma on the line before the WHERE clause ;)

Learn ReactJs, React Native from akashmittal.com