Added table queries