1đź‘Ť
In your code it should be clientID=probj.clientID
and not ==
.
In your question you say “Comparing foreign keys” but it isn’t a comparison here, it’s a query with a condition “where clientID equals to probe’s clientID”.
👤Xebax
Source:stackexchange.com