首页 > 编程知识 正文

oracle查询表字段和备注,建表sql语句 并备注

时间:2023-05-05 00:46:59 阅读:57766 作者:1774

版权声明:本文是博客的原创文章,未经博客许可不得转载。

createorreplaceviewoes _ material _ series _ refas

select t.productgroup,o.id nrk材质代码,t.series代码

from oes_park_priority t

innerjoinoms _ hm _ MTL _ general _ viewv

ont.material code=v.material _ code

left join oms_modelbom_noderela o

on t.materialcode=o.matnr

where 1=1

and v.primary _ uom=‘Tao’

group by t.productgroup,t.materialcode,o.idnrk,t.seriescode

统一号

选择t.product group,t.materialcode,t.seriescode

from oes_park_priority t

innerjoinoms _ hm _ MTL _ general _ viewv

ont.material code=v.material _ code

组by t.product group,t.materialcode,t.seriescode;

commentoncolumnoes _ material _ series _ ref.productgroupis“产品组”;

commentoncolumnoes _ material _ series _ ref .傻黑裤子is ‘料号‘;

commentoncolumnoes _ material _ series _ ref.hsjdbyis‘系列‘;

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。