4,156 questions
4,369 answers
5,718 comments
You have many different ways of slicing and dicing stream items, but it does not support SQL. I'm not example sure what you want to do with this query, but maybe liststreamkeyitems is what you're looking for? See the 'Querying subscribed streams' section on this page:
https://www.multichain.com/developers/json-rpc-api/