CREATE TABLE [dbo].[Libros] (
    [IdLibro]     INT          IDENTITY (1, 1) NOT NULL,
    [IdEditorial] INT          NULL,
    [IdIsbn]      INT          NULL,
    [IdAutor]     INT          NULL,
    [Nombre]      VARCHAR (50) NULL,
    CONSTRAINT [PK_Libros] PRIMARY KEY ([IdLibro]),
    CONSTRAINT [FK_Libros_Autores] FOREIGN KEY ([IdAutor]) REFERENCES [dbo].[Autores] ([IdAutor]),
    CONSTRAINT [FK_Libros_Editoriales] FOREIGN KEY ([IdEditorial]) REFERENCES [dbo].[Editoriales] ([IdEditorial]),
    CONSTRAINT [FK_Libros_Isbn] FOREIGN KEY ([IdIsbn]) REFERENCES [dbo].[Isbn] ([IdIsbn])
    
);

