For each format, how many files are there?
select formats,count(*) from files group by formats
So which format is the most common one?
select formats from files group by formats order by count (*) desc limit 1