This query should pull the SNMP version information if it was gathered during a scan.
SELECT
da.ip_address
,da.host_name
,ds.name
,dasc.name
,dasc.value
FROM dim_asset_service_configuration dasc
JOIN dim_service ds ON dasc.service_id = ds.service_id
JOIN dim_asset da on dasc.asset_id = da.asset_id
WHERE dasc.service_id = 5 AND (dasc.name = 'snmp.version' OR dasc.name = 'nmap.service.product')
I included âdasc.name = âsnmp.versionâ OR dasc.name = ânmap.service.productââ because I found version information in both keys in my testing.