P
PowerCMM
Unregistered / Unconfirmed
GUEST, unregistred user!
在 Product_Assembly表中有三个字段,
Product_ID 产品ID
Assembly_ID Product_ID所属于组件或部件
Description 产品的说明
SQL语句如下:
select lpad('',2*(level-1))||Assembly_ID Assembly_ID
Product_ID,Level,Description
from Product_Assembly
start with Product_ID='B200'
connect by prior Product_ID=Assembly_ID;
我想问 lpad('',2*(level-1))||Assembly_ID Assembly_ID为什么有两个Assembly_ID,
||在Oracle中代表什么意思?
Product_ID 产品ID
Assembly_ID Product_ID所属于组件或部件
Description 产品的说明
SQL语句如下:
select lpad('',2*(level-1))||Assembly_ID Assembly_ID
Product_ID,Level,Description
from Product_Assembly
start with Product_ID='B200'
connect by prior Product_ID=Assembly_ID;
我想问 lpad('',2*(level-1))||Assembly_ID Assembly_ID为什么有两个Assembly_ID,
||在Oracle中代表什么意思?