Register now or log in to join your professional community.
SELECT mobile
FROM emp
WHERE mobile LIKE '00966%'
AND SUBSTR (mobile, 6, 2) IN (50, 55, 53)
AND mobile NOT LIKE '%9%'
HAVING REGEXP_COUNT (mobile,
'1',
1,
'i') = 2
GROUP BY mobile