We're using raw SQL strings rather than SQLPlatform->selectSQLText(), because we couldn't see how to use ROW_NUMBER() OVER PARTITION BY. Is this feature unavailable?
Description
Description
Event Timeline
Comment Actions
You should be able to use that as a raw sql in condition or select by wrapping it around RawSQLExpression.