Since Service Desk is an add-on, this query should get you (at least mostly) there:
SELECT * FROM public.propertyentry pe JOIN public.propertytext pt on pe.id=pt.id WHERE pe.property_key like 'com.atlassian.upm.license%';
And here's some light reading that may help as well!
Hi Jira Service Desk community, Atlassian is on a mission to unleash the potential of all teams, and we know that tools are just one piece of that puzzle. With Jira Service Desk, we have productiv...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events