This sounds like one of the file permission changes from Android 10.
Go to the bug fix test server ai2-test.appinventor.mit.edu
and read its release notes to see if it addresses this issue.
You might need to get help from your SQLite extension developer($) for the Android 10 update.
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.