To make your Substreams queryable (as opposed to direct streaming), you can automatically send the data to a SQL data by using the SQL sink or through PubSub.
Quote
Sources
How to initialize a TRON-based Substreams project
Referenced by
The TRON Substreams workflow supports building, visualizing, transforming, and loading blockchain data through CLI commands, a GUI, and SQL or PubSub sinks
Crypto news
Claim