The AI assistant fairly frequently 'forgets' to put double quotes around table names a and fields when generating SQL to query SQLite files.
Alternatively (or perhaps additionally), we could improve the AI flow a bit to try and get it to execute the SQL it generates, and debug itself (this does prove effective -- simply re-running the prompt with the error included will generally fix the problem).
The AI assistant fairly frequently 'forgets' to put double quotes around table names a and fields when generating SQL to query SQLite files.
Alternatively (or perhaps additionally), we could improve the AI flow a bit to try and get it to execute the SQL it generates, and debug itself (this does prove effective -- simply re-running the prompt with the error included will generally fix the problem).