query function

Query emuDB