Can procedures be used in SugarCRM Advanced Reports?

Hi,

I want to use a query in a report based on another query.

This may be possible with a select * on a subquery
or with a loop through a table and execution of a stored procedure for each entry.

Hence the question: can procedures be used in SugarCRM Advanced Reports?

Thanks!

Steffen