IN 을 사용해 주시면 됩니다.
SELECT * FROM EMP
WHERE 1 =1
AND DEPTNO IN ( 1 , 2 , 3)
UPDATE * FROM EMP
WHERE 1 =1
AND DEPTNO IN ( 1 , 2 , 3)
DELETE * FROM EMP
WHERE 1 =1
AND DEPTNO IN ( 1 , 2 , 3)
<iterate prepend="IN" property="test" open="(" close=")" conjunction=",">
#test[]#
</iterate>