/build/static/layout/Breadcrumb_cap_w.png

Users without an asset associated

Hi, 

How can I create a Report that brings to me all the users without an assets associated. We used just the Assets module and not Inventory, the updates are not in real time and for help us we need that report. 

I tried in SQL but i failed. 




0 Comments   [ + ] Show comments

Answers (1)

Posted by: chucksteel 1 year ago
Red Belt
1
SELECT USER_NAME, FULL_NAME, COUNT(ASSET.ID) AS ASSETCOUNT
FROM ORG1.USER
LEFT JOIN ASSET on ASSET.OWNER_ID = USER.ID
GROUP BY USER.ID
HAVING ASSETCOUNT = 0

Comments:

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ