We have some nodes with incorrect properties where cq:title does not equal cq:summary (we want these to always equal). To find them I type:
SELECT * FROM [nt:base] AS s WHERE s.[cq:title] <> s.[cq:summary]
I get the error:
expected: static operand
I read that we cannot compare properties under the same node. I need a workaround please!