Add sql methods2