Fixed db initialization. Added the first query.