How can I find out the version of SolidWorks a file was saved with in PDM Database?

I need a quey on database to know the version of SolidWorks a file was saved with.

I search on many tables on database but I don't find any field with this information... how is possibile?

Anyone know in with table and filed I can get this information?

Thanks in advance