Hi,
Im trying to get Docs with most versions using the default livereport but editing it so that the parent folder os also listed. However my inner join is not working, can anyone advise?
select d.name, d.subtype, d2.name, DVersData.MimeType, DVersData.DataSize, count(*) "count(*)"
from dtree d, DVersData
Inner join dtree d2 on d.parentid = d2.dataid
where %2 and (d.DataID = DVersData.DocID)
group by d.name, d.subtype, d2.name, DVersData.MimeType, DVersData.DataSize
order by count(*) desc