Let's say we have a query
select id,
history_contact__r.last_seen__c,
request__c
from history__c
where lot__r.active__c = true
and history_contact__c = '0031y000004Kr1AAAS'
and history_contact__r.last_seen__c < request__c
but result is:
'Unknown error parsing query'
Why we cannot compare two fields directly and have to use parameters?