List of Assets that consume Node license

List of Assets that consume Node license

SELECT 
    Resources.RESOURCEID,
    Resources.resourcename,
    ComponentType.COMPONENTTYPENAME AS "Product Type"
FROM 
    Resources
    LEFT JOIN ComponentDefinition 
        ON Resources.COMPONENTID = ComponentDefinition.COMPONENTID
    LEFT JOIN ComponentType 
        ON ComponentDefinition.COMPONENTTYPEID = ComponentType.COMPONENTTYPEID
    LEFT JOIN ResourceType 
        ON ComponentType.RESOURCETYPEID = ResourceType.RESOURCETYPEID
    LEFT JOIN ResourceCategory 
        ON ComponentType.RESOURCECATEGORYID = ResourceCategory.RESOURCECATEGORYID
    LEFT JOIN ResourceState 
        ON Resources.RESOURCESTATEID = ResourceState.RESOURCESTATEID
WHERE 
    ResourceCategory.CATEGORY LIKE 'IT'
    AND ResourceType.TYPE LIKE 'Asset'
    AND ResourceState.RESOURCESTATEID NOT IN (4, 5);

                  New to ADSelfService Plus?