A report always starts its sql query off with this line, followed by its SELECT statement:-
DECLARE @v1_TrusteeScope nvarchar(max)
SET @v1_TrusteeScope = N'%TrusteeScope%'
The SELECT statement will include the following lines which JOIN the trustee syntax to a database object, which in this example was the vComputer view which was given an alias of "i" :-
JOIN dbo.ScopeMembership sm ON sm.[ResourceGuid] = i.Guid
AND sm.[ScopeCollectionGuid] IN
(SELECT * FROM dbo.fnGetTrusteeScopeCollections (@v1_TrusteeScope))