toagit
2/19/2015 - 9:25 AM

DB2 for zOS 流用可能なPLANの抽出。

DB2 for zOS 流用可能なPLANの抽出。

SELECT COUNT(NAME),PLNAME FROM SYSIBM.SYSDBRM
WHERE NAME IN ('moduleA','moduleB','moduleC')
GROUP BY PLNAME
HAVING COUNT(NAME) = 3
ORDER BY PLNAME