How to make a custom SQL query on a collection in storage?

Answered in new thread: How to Index Storage JSON for Custom SQL Query?