Hi Paul,
Thanks for raising the concern.
However, please be suggested to raise this with our support team to assist you for requested SQL Query.
You can use our support portal to reach for the same at https://supportportal.gemalto.com/csm .
Best regards,
Parth