阅读背景:

SQL查询 - 两个关系多对一的表(规范化问题)

来源:互联网 

I have this example tables:

我有这个示例表:

table ORDERS

client   orderno   cant1   code1   notes1   cant2   code2   notes2   cant[i]   code[i] [...]
--------------------------------------------------------------------------------------
1          1        3      AA01    Test      4      BB01    Testing
2          2        10     XX05    Test      



table PRODUCTS

code   prod    price
---------------------
AA01   Engine   100  
BB01   Wheel     50  



table CLIENTS

client   name      address     telephone
-----------------------------------------
  1     Maxwell   24 1st st    0987654321
  2     Hammer    77 main st   1234567890
table 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: