0đź‘Ť
You need to supply the password you used for the encryption.
Use
pragma key='mypassword';
as your first statement, just after opening the database.
The whole idea of encrypted database is that you shouldn’t be able to just “get the query to be executed”, isnt’t it?
Source:stackexchange.com