题目详情

某海外代购公司,为扩展公司业务,需要开发一个信息息化管理系统。请根据公司现有业务及需求完成该系统的数据库设计。

【需求描述】

(1)记录公司员工信息。员工信息包括工号、身份证号、姓名、性别和一个手机号,工号唯一标识每位员工,员工分为代购员和配送员。

(2)记录采购的商品信息。商品信息包括商品名称、所在超市名称、采购价格、销售价格和商品介绍,系统内部用商品条码唯一标识每种商品。一种商品只在一家超市代购。

(3)记录顾客信息。顾客信息包括顾客真实姓名、身份证号(清关缴税用)、一个手机号和一个收货地址,系统自动生成唯一的顾客编号

(4)记录托运公司信息。托运公司信息包括托运公司名称、电话和地址,系统自动生成唯一的托运公司编号。

(5)顾客登录系统之后,可以下订单购买商品。订单支付成功后,系统记录唯一的支付凭证编号。顾客需要在订单里指定运送方式:空运或海运。

(6)代购员根据顾客的订单在超市采购对应商品,一份订单所含的多个商品可能由多名代购员从不同超市采购。

(7)采购完的商品交由配送员根据顾客订单组合装箱,然后交给托运公司运送。托运公司按顾客订单核对商品名称和数量,然后按顾客的地址进行运送。

【概念模型设计】根据需求阶段收集的信息,设计的实体联系图(不完整)如如图 2-1 所示。

中级数据库系统工程师,章节练习,基础复习,数据库设计

【逻辑模型设计】根据概念模型设计阶段完成的实体联系图,得出如下关系模式(不完整):员工(工号,身份号,姓名,性别,手机号)商品(条码,商品名称,所在超市名称,采购价格,销售价格,商品介绍)顾客(编号,姓名,身份证号,手机号,( a ))托运公司(托运公司编号,托运公司名称,电话,地址)订单(订单 1D,画品条码,顺编号,( b ),运送方式,支付凭证编号)代购(代购 1D,代购员工号,订单 D2,( c ))运送(运送 1D,配送员工号,托运公司编号,订单 1D,发运时间)

【问题1】根据问题描述,补充图 2-1 的实体联系图。

【问题2】补充逻辑结构设计结果中的(a)、(b)、(c)三处空缺。

正确答案及解析

正确答案
解析

【问题1】

中级数据库系统工程师,章节练习,基础复习,数据库设计

【问题2】a)收货地址b)订购数量c)商品条码,代购数量

你可能感兴趣的试题

单选题

Advancements in ( )have contributed to the growth of the automotive industry through the creation and evolution of self-driving vehicles.

  • A.Artificial Intelligence
  • B.Cloud Computing
  • C.Internet of Things
  • D.Big Data
查看答案
单选题

In project human resource management , ( )is not a source of power for the project manager.

  • A.referent power
  • B.expert power
  • C.reward power
  • D.audit power
查看答案
单选题

At the project establishment stage , the feasibility study mainly includes techinical feasibility analysis , ( ), operation environment feasibility analysis and other aspects of feasibility analysis.

  • A.detail feasibility analysis
  • B.opportunity analysis
  • C.economic feasibility analysis
  • D.risk analysis
查看答案
单选题

( )is a grid that shows the project resources assigned to each work package.

  • A.Stakeholder engagement assessment matrix
  • B.Requirements traceability matrix
  • C.Probability and impact matrix
  • D.Responsibility assignment matrix
查看答案
单选题

Xinhua News Agency reported in January 2022,Chian will further promote the developmet of a digital economy during the 14th Five-Year Plan eriod(2021-2025). The plan also emphasized industrial ( )transformation.

  • A.digital
  • B.networking
  • C.intelligentize
  • D.informatization
查看答案

相关题库更多 +