USE [Clinica]
GO
/****** Object:  View [Clinica].[VWBoxProfesionalLista]    Script Date: 18-08-2025 21:40:49 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

create view [Clinica].[VWBoxProfesionalLista]
as
select bp.IdBoxProfesional, b.IdBox, b.IdCentroMedico, b.Descripcion as Box from Clinica.BoxProfesional bp
join Clinica.Box b on b.IdBox = bp.IdBox
join Clinica.CentroMedico cm on cm.IdCentroMedico = b.IdCentroMedico
GO
