this is an sql what is the best replacement for "!="
SELECT DISTINCT A.NUMBER,
A.FLAG, A.FIRST,
A.MIDDLE, A.SUFFIX,
A.LAST, A.DESIGN,
A.CODE, A.SENIOROITY,
A.REMARK, B.GROUPCODE,
B.SUBGROUPCODE FROM PROFILE A,
DIVERT B, IDENTITY C,
SUBGROUPS S,SUBGROUPE E
WHERE C.LOGINID= 'Fddadadadadad'
AND A.ID =C.ID
AND A.GROUPID = B.GROUPID
AND B.ID=S.ID
AND B.GROUPCODE(+)=S.GROUPCODE
AND B.SUBGROUPCODE !=S.SUBGROUPCODE
AND B.ID=E.ID
AND B.SVB024_GROUPCODE(+)=E.SVB024_GROUPCODE
AND B.SUBGROUPCODE != S.SUBGROUPCODE
SELECT DISTINCT A.NUMBER,
A.FLAG, A.FIRST,
A.MIDDLE, A.SUFFIX,
A.LAST, A.DESIGN,
A.CODE, A.SENIOROITY,
A.REMARK, B.GROUPCODE,
B.SUBGROUPCODE FROM PROFILE A,
DIVERT B, IDENTITY C,
SUBGROUPS S,SUBGROUPE E
WHERE C.LOGINID= 'Fddadadadadad'
AND A.ID =C.ID
AND A.GROUPID = B.GROUPID
AND B.ID=S.ID
AND B.GROUPCODE(+)=S.GROUPCODE
AND B.SUBGROUPCODE !=S.SUBGROUPCODE
AND B.ID=E.ID
AND B.SVB024_GROUPCODE(+)=E.SVB024_GROUPCODE
AND B.SUBGROUPCODE != S.SUBGROUPCODE