Add SELECT method to autoSql function.