From a remote shell to your device or from your host machine, you can use the sqlite3 command-line ...
developer.android.com