i tried this query
SELECT * FROM EMPLOYEES_MASTER
WHERE FIRST_NAME LIKE 'P%' OR FIRST_NAME LIKE 'D%' OR FIRST_NAME LIKE 'SN%'OR
FIRST_NAME LIKE 'AD%';
but are there any other solution for that ??
i tried this query
SELECT * FROM EMPLOYEES_MASTER
WHERE FIRST_NAME LIKE 'P%' OR FIRST_NAME LIKE 'D%' OR FIRST_NAME LIKE 'SN%'OR
FIRST_NAME LIKE 'AD%';
but are there any other solution for that ??
Try this:
SELECT *
FROM EMPLOYEES_MASTER
WHERE REGEXP_lIKE(LAST_NAME,'^(P|D|SN|AD)');