0

好吧,我有一张我老板做的桌子……它们是两张桌子……

first where products are going to be has
(table A)

idinvoice (since table B)
idpruduct
description (it is the name of product)
quantity
unitPrice
TotalPrice

another table (i am going to call it table B)
idinvoice
date
deadline
type
idclient
saler (i consider it is sooo bad)
street
transport
status
Total

为什么我认为它是坏的?

因为首先客户要选择产品(但它没有idinvoice)我从来没有做过这样的事情,只在Windows窗体上,但我从来没有建立过在线点销售,

你认为我必须有几张桌子?(什么栏目)

4

1 回答 1

1

你需要三张桌子。它们可能是这样的:

  1. 产品:idpruduct、description(是产品名称)、unitPrice

  2. 客户:idclient,街道

  3. 发票:idinvoice、idclient、saler,以及与一种或多种产品的装运或销售相关的所有其他内容。

您可能还想要:

  1. 销售员或推销员:姓名、身份证号(也可能是 idclient)

首先,这听起来接近正确吗?

于 2011-08-02T01:27:02.553 回答