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

³îÀ̾ƶì

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

°ü·Ã¹è³Ê