I have a table that records errors generated during document reviews. The table is strucuted (roughly) in the following format:

Document, Review #, Error Type, Detail

Basically, there is a document review which will produce a number of errors (say 5-10), and each error is captured as a line item in the table.

I want to query this information to obtain a summary of each unique combination of Document and Review # combination. So If I have 15 records that have the same Document values and Review values, the query will produce a line item like this: Document, Review #, 15.

Any help or suggestions?