随笔 - 6  文章 - 129  trackbacks - 0
<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

常用链接

留言簿(14)

随笔档案(6)

文章分类(467)

文章档案(423)

相册

收藏夹(18)

JAVA

搜索

  •  

积分与排名

  • 积分 - 815417
  • 排名 - 49

最新评论

阅读排行榜

评论排行榜

Bob's SQL:

select CONTENT "料號" from T_DISENABLE_MATERIAL_INFO where ITEM='M' and DOCUMENT_ID=4329

select CONTENT "DC" from T_DISENABLE_MATERIAL_INFO where ITEM='D' and DOCUMENT_ID=4329

select CONTENT "LOTNO" from T_DISENABLE_MATERIAL_INFO where ITEM='C' and DOCUMENT_ID=4329

select CONTENT "廠商名稱" from T_DISENABLE_MATERIAL_INFO where ITEM='V' and DOCUMENT_ID=4329

select CONTENT "廠商代碼" from T_DISENABLE_MATERIAL_INFO where ITEM='N' and DOCUMENT_ID=4329


 

Wallace's SQL

select max(decode(item,'M',content,'')) "料號",

     max(decode(item,'D',content,'')) DC,

     max(decode(item,'C',content,'')) LOTNO,

     max(decode(item,'V',content,'')) "廠商名稱",

     max(decode(item,'N',content,'')) "廠商代碼" from T_DISENABLE_MATERIAL_INFO where DOCUMENT_ID=4329



posted on 2009-09-07 20:12 Ke 阅读(2838) 评论(0)  编辑  收藏 所属分类: oracle

只有注册用户登录后才能发表评论。


网站导航: