ARTIFACTORY: How to update non-admin to admin user via SQL command in emergency?

ARTIFACTORY: How to update non-admin to admin user via SQL command in emergency?

AuthorFullName__c
David Shin
articleNumber
000005399
ft:sourceType
Salesforce
FirstPublishedDate
2022-09-01T12:18:49Z
lastModifiedDate
2022-09-01
VersionNumber
2

When you have no access to any admin user in Artifactory (ie the employee with admin access leaves the company, or you cannot login, etc), there are two ways to create a new admin or promote non-admin to admin user with DB SQL queries.