Código SQL [-]Select p.id_paciente, e.id_paciente as Tiene_Estudios from paciente p left join estudios e on e.id_paciente = p.id_paciente where Tiene_Estudios is Null
Select p.id_paciente, e.id_paciente as Tiene_Estudios from paciente p left join estudios e on e.id_paciente = p.id_paciente where Tiene_Estudios is Null