Performed db query