Database that is actually used is not stored in the APK. It needs to be in a writable location. Canonically it's in databases
under the application's data directory e.g. /data/data/package.name/databases
.
Many apps generate their databases dynamically in code. Some apps ship with a pre-populated database in assets, but even they need to copy it to a writable location before using.