No. Real-time and historical data are stored on separate servers — one serves real-time data, and the other serves data stored since the start of your contract.
Data Query blocks any query that tries to pull from both sources at the same time. To combine the two, export each time period separately and merge the results in Excel or another tool.