Report: How to get the Affected Objects view of a JobQueue in a sql query?

Hello,

What I want is to do a report of the frozen jobs in the Job Queue. If I go on a frozen job I can see the name of the affected objects thanks to the view "Affected Objects", is there a way to retrieve the data seen there thanks to sql request so I can use it on my report?

If not, is there a way to convert my BasisObjectKey from the JobQueue table (which is in the format <Key><T>Table</T><P>Object</P></Key>) into a research of the mentioned object from the mentioned table? 

To my understanding, I need dynamic sql for the second part, so does the edit source data of the edit report support it? If so, how do I use it?

Thanks in advance!