I am looking for quarterly financial statements of publicly traded companies in all the report versions that were filed with SEC. It can be up to 6 versions - one original filling and further restatements. How to form the query to retrieve such data.