Hello Vaisakh,
a very interesting question!
In general, due to the fact that 1C assigns SQL tables names like "_Document292" or "_AccumRg7110", it is quite difficult to get the data we need directly with SQL queries.
Therefore, one of the options for transferring data to the Storage may be as follows:
for example, at the end of the day, a procedure is started in 1C, which first selects the necessary data using 1C methods, and then this data is written to the right place.
To do this, we used to use direct SQL queries, now the "External Data Source" object is available in 1C, which allows us to directly connect to various databases, including SQL.