G
Guest
I am trying to identify duplicate [exception oid] + role for borrowers and
collateral owners. This is not working. How can I code it?
And, what does the HAVING clause do? I can not find a definition.
SELECT a.[exception oid] AS Expr1, a.role AS Expr2, Count(*) AS Cnt1
FROM tblassociatedpartylinks AS a
WHERE (role like "*BORROWER*" or role like "*COLLATERAL OWNER*") and role
not like "*CO-COLL*"
GROUP BY a.[exception oid], a.role
HAVING 3 > 1
ORDER BY 3, 1;
Brenda
collateral owners. This is not working. How can I code it?
And, what does the HAVING clause do? I can not find a definition.
SELECT a.[exception oid] AS Expr1, a.role AS Expr2, Count(*) AS Cnt1
FROM tblassociatedpartylinks AS a
WHERE (role like "*BORROWER*" or role like "*COLLATERAL OWNER*") and role
not like "*CO-COLL*"
GROUP BY a.[exception oid], a.role
HAVING 3 > 1
ORDER BY 3, 1;
Brenda