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!
Hello Atlassian Community! I'm Teresa, the Product Marketing Manager for Jira Service Desk Server at Atlassian. I'm excited to announce two exciting releases for Jira Service De...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs