upload sql to have view