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

³îÀ̾ƶì

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

°ü·Ã¹è³Ê