Added select method for SqlQuery class.