This is a bit of an odd use-case but suppose a user has provided a SQL query and, without knowing the query, I only have access to the subquery in the form of: