<div dir="ltr">We use a CF called 'Community Bug' to track bugzilla bug numbers associated with customer tickets. It would be really useful to know which values of CF.{Community Bug} occur most often.<br><div><br></div><div>If you'll pardon a mix of SQL and query builder syntax, I'm looking to do something like this:</div><div><br></div><div>SELECT COUNT(*), CF.{Community Bug}</div><div>FROM CF</div><div>GROUP BY CF.{Community Bug}</div><div>ORDER BY COUNT(*)</div><div><br></div><div>I'm well aware that query builder doesn't work like this, but I'm wondering if there's a way to do something like this.</div><div><br></div><div>I'm sure that I could do this by querying the database directly, but I'd prefer to do it the RT way if there is one.</div><div><br></div><div>Thanks!</div><div><br></div><div>--Barton</div></div>