[A] Query to get device signatures associated to a user
select devicesignature from arrfdeviceinfo where deviceidseqid in (select deviceidseqid from arrfdevuserasso where username='<username in capital letter>');
For example:
select devicesignature from arrfdeviceinfo where deviceidseqid in (select deviceidseqid from arrfdevuserasso where username='TEST');
[B] Query to get device signatures associated to a device id
select devicesignature from arrfdeviceinfo where deviceid='device id';
For example:
select devicesignature from arrfdeviceinfo where deviceid='r5phe+9SpnI13Zgg2idMeeYrpdlrYEYtoFjA67zBk/IlXxhwbdrkzA==';