Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. update saude_owner.agendamentos
  2. set i_classif_situacao = (select c.id from classificacoes c where C.tipo_classificacao = 'AGENDAMENTO_SITUACAO' and c.atributo_1 = 'CONFIRMADO')
  3. where i_classif_situacao = (select c.id from classificacoes c where C.tipo_classificacao = 'AGENDAMENTO_SITUACAO' and c.atributo_1 = 'NAO_CONFIRMADO');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement