반응형
SELECT *
FROM
(SELECT rownum as rnum, userId, userName, userPhone, userEmail, classFlag, groupFlag, useFlag, registDate
FROM
(
select userId, userName, userPhone, userEmail, classFlag, groupFlag, useFlag, registDate from studio.customer_mng where useFlag='Y' order by idx DESC, userName
) )
WHERE rnum > 0 AND rownum <= 10
반응형