A SELECT statement, or query, is executed against a registered archived table to retrieve data from registered Data Vault data files, displaying this information in the form of a results table. In the case of a Direct Export, the results of the query are instead written to one or more output flat files.