Attributes with underline belong to the Primary Key of each entity.
Kizspy. me ttributes which reference to the primary key of another table must have the same name as the attributes in the primary key of the referencing table.
When submitting the responses for this question, submit only SQL statements for creating tables with corresponding keys and foreign keys. Do not use "create database", "Alterdatabase", "use database_name" or any statements using database's name in your submission.
Username varchar(30)
Password:
nvarchar(20)
Role ID:int
1
Users
N
hasRole
Roles
N
Emait
name:nvarchar(100)
nvarchar(200)
hasPermission
M
Permissions
permissionID:
int
name:nvarchar(50)
Zoom
+ 67%
Close