Quantcast
Channel: Scribd Feed
Viewing all articles
Browse latest Browse all 299477

Database Queries (1)

$
0
0
Create table department ( deptNo number(7) not null primary key, Name varchar(30) not null ); Create table DeptLocation ( deptNo number(7) not null, Location varchar(30) not null, primary key(deptNo, Location) ); Create table employee ( empNo number(7) not null primary key, empname varchar(30), DeptNo number(7), SocialSecurityNo Number(7) not null, SupervisorNo Number(7), Address varchar(30), Salary Number(7), Sex varchar(10), DOB Date, constraint fk_supervisr FOREIGN key (SupervisorNo) *references employee(empNo), constraint fk_DeptNoEmp FOREIGN key (DeptNo) references Department(DeptNo) );

Viewing all articles
Browse latest Browse all 299477

Trending Articles