try db query