摘要:
假设有组织数据表orgstdstruct,其中包含UNITID,PUNITID,UNITNAME等字段,其中PUNITID是本表UNITID字段的外键,那么在ORACLE中可以通过以下语句直接查询出具有层次关系的数据,使用起来非常方便。select level,unitid,punitid,unitname from orgstdstructstart with punitid is nullco... 阅读全文
posted @ 2009-01-22 15:08
mp3 swf
阅读(587)
评论(0)
推荐(0)

浙公网安备 33010602011771号