SQL Query to Determine SMB Version

I know very little about SQL queries in general, and even less when it comes to R7 IVM. I am trying to determine which versions of SMB exist in my environment. Currently only versions linked to vulnerabilities (SMBv<3.0) are searchable from the WEbUI and support says there is no way other than SQL Queries to pull SMB versions 3.0+. I need to locate assets with SMBv3 to have patched up to the most current version.