Ver originalselect id_sucursal as id, sucursal from w_sucursal where id_sucursal not in(40,33,32,31)order by sucursal