Similar presentations:
Практическая работа по Базам Данных
1.
Практическая работа по Базам ДанныхВыполнили:Коновалов Владислав, Романов Сергiй
2.
gocreate table Student(
id_s int not null primary key
,F varchar(20) not null
,I varchar(20) not null
,O varchar(20)
,id_md int not null references Med_dok
)
3.
insert into Med_dok (id_md,rost,ves,pasport,snils) values4.
gocreate table Gruppa (
id_s int not null references Student
,Specialinoct varchar(50) not null
)
5.
gocreate table Predmet(
id_pr int not null primary key
,name_pred varchar(150)
,f varchar(20) not null
,i varchar(20) not null
,o varchar(20)
)
6.
gocreate table Poseckaemosti(
id_pos int not null
,datg date not null
,id_s int not null references Student
,id_pr int not null references Predmet
,otmetka int not null
)