Guest User

Untitled

a guest
Oct 19th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. -- Listado de pacientes con 4 o más ordenes de consulta sin cerrar
  2. SELECT pacientePersonaId, count(*) as total FROM `centromedicobck`.`orden` where cierreid is null AND tipoBono = 0 group by pacientePersonaId having total>3;
Add Comment
Please, Sign In to add comment