How to find topics without a reply from someone other than the topic owner?

I failed to find a solution for this task: when a topic has a reply, but this reply wasn’t written by the topic owner.

All I found is about topics without replies and not posts:

This component will add a new top navigation link that allows users to filter a TOPIC list by unanswered topics.

This simple plugin adds the tag “unhandled” to every TOPIC if there is a non-staff reply.

You can search for topics with no replies using the advanced search, and order by latest:

I thought about a query for Database explorer. Is there any way to filter such posts without replies?