Solucion Guia 7.docx

  • Uploaded by: Arlethe Arones Rondon
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Solucion Guia 7.docx as PDF for free.

More details

  • Words: 116
  • Pages: 3
GUIA 7:

create database control go use control go create table Materia (codigo char(5) primary key, Nombre varchar(50), UV int ) go create table Alumno (Carnet char(8) primary key, NombreCompleto varchar(50)) go

create table Inscripcion (Carnet char(8), CodigoMateria char(5), Ciclo int primary key, foreign key (Carnet) references Alumno (Carnet), foreign key (CodigoMateria) references Materia(Codigo)) go

OTRO CASO: create database control1 go use control1 go create table Materia (codigo char(5) primary key, Nombre varchar(50), UV int ) go create table Alumno (Carnet char(8) primary key, NombreCompleto varchar(50)) Go

create table Inscripcion (Carnet char(8), CodigoMateria char(5) , Ciclo int , constraint pk_inscrpcion primary key (carnet, codigomateria,ciclo), foreign key (Carnet) references Alumno (Carnet), foreign key (CodigoMateria) references Materia(Codigo)) go

Related Documents

Solucion Guia 4
May 2020 1
Solucion Guia 5
April 2020 7
Solucion Guia 4
April 2020 2
Solucion Guia 3
April 2020 5
Solucion Guia 17
May 2020 3

More Documents from ""

Bases Danza 2018.docx
December 2019 17
Solucion Guia 7.docx
December 2019 15
Doc1.docx
December 2019 11
Kleimari 2.docx
April 2020 13