如何为这个表绘制ERD [英] how to draw ERD for this tables

查看:260
本文介绍了如何为这个表绘制ERD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,有人请帮助我以下ERD表格



表1

ProductID 价格 数量 单位

001 50 2盒

002 20 30条



表2

ProductID 数量 单位 地方 ExpireDate

001 1盒 A 1/1/14

001 1盒 B 1/1/15

002 10 stp A 1/1/14

002 30 stp B 1/1/14



表1是购买的摘要i t不记录产品的详细信息

表2记录了该产品的到期详细信息和位置



如何关联这些产品ERD的两个表?

hello somebody please help me with this following tables for ERD

Table 1
ProductID Price Quantity Unit
001 50 2 box
002 20 30 strip

Table 2
ProductID Qty Unit Place ExpireDate
001 1 box A 1/1/14
001 1 box B 1/1/15
002 10 stp A 1/1/14
002 30 stp B 1/1/14

Table 1 is summary of the purchases it doesn''t record details of the product
Table 2 is recording the Expiry details and location of that product

how to relate these two tables for ERD?

推荐答案

Table1 连接 1到多个 Table2 on ProductID


这篇关于如何为这个表绘制ERD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆