dbquery deals with out empty columns