What are all the documents?
select * from documents
What are the average access counts in terms of each document structure?
select avg(access_count) from documents group by document_structure_code
Show the one with the least popular structure.
select avg(access_count) from documents group by document_structure_code order by count(*) asc limit 1