工作流程以及如何设计模型或图表

时间:2012-09-28 15:43:36

标签: database database-design entity-relationship

我正在尝试设计一个ER diagram or model of a dvd rental system但是我遇到了设计问题我到目前为止我想为管理员设置一个实体,以便他可以看到所有内容,我也想修改客户实体这样客户只能看到商店里的东西而不是一切,顾客只能查看基本知识 这是我下面的ER MODEL

the movie rental system er model

1 个答案:

答案 0 :(得分:0)

所有用户都必须具有访问数据库的权限。权限取决于用户。基本权限是。

 SELECT | gives the right to read the table contents.
 INSERT | gives the right to add new rows to the table.
 DELETE | gives the right to remove rows from the table.
 UPDATE | gives the right to update the contents of the table.

客户将SELECT可能更新到他申请部分所需的任何表格。

应用程序管理员可以拥有应用程序数据库中所有表的上述所有权限。

数据库管理员将拥有数据库中的所有权限,并将授予客户&的GRANT权限。应用程序管理员

这是一个非常简化的版本,您应该进一步研究,尤其是正在使用的数据库