You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(select parent,prueba from `tabConsulta Prueba Privada` ) UNION (select parent,prueba from `tabConsulta Prueba`) ;
CREATE VIEW `viewPruebas En Consulta` (parent,prueba) AS ((select parent,prueba from `tabConsulta Prueba Privada` ) UNION (select parent,prueba from `tabConsulta Prueba`) );
create view `viewRelacion Pacientes` as (select fecha,name,'Consulta Privada' as tipo,paciente,' ' as ars_nombre,diferencia as privado,0 as reclamado,0 as autorizado,0 as diferencia,medico,sucursal,sucursal_nombre, docstatus from `tabConsulta Privada` )
union
(select fecha,name,'Consulta Seguro' as tipo,paciente,ars_nombre,0 as privado, reclamado,autorizado,diferencia,medico,sucursal,sucursal_nombre,docstatus from `tabConsulta Seguro`);