select a.pn, (select max(status) from tableB where tableB.pn=tableA.pn) OnHold from tableA a
select a.pn, decode( (select max(status) from tableB where tableB.pn=tableA.pn), 0, 'No', 'Yes' ) OnHold from tableA a
17,377
社区成员
95,128
社区内容
加载中
试试用AI创作助手写篇文章吧