The best option is to use Motodev Studio. It allows you to connect to the database on the emulator / devices and execute sql queries, etc.
Otherwise, you can also download the database to your developer's machine, and then connect to it and query it.
Or you can enter the device / emulator using
adb shell
and use sqlite3 to connect and execute queries on the command line.
source share