select sum(stock) from ona_item where s_cd='01' and (itemtype='B' or itemtype = 'D') and stock>0

³îÀ̾ƶì

¡°µµ¼­,½Ãû°¢ÀÚ·á´Â ¹è´Þ¿¹¾àÀÌ ºÒ°¡ÇÕ´Ï´Ù¡±
ÃÑ º¸À¯Ç°¸ñ 1,591Á¾ 2,205 °³ / °Ë»ö°á°ú 2,205Á¾ 1,591 °³

°ü·Ã¹è³Ê