SELECT SBIP.Sitecode AS ‘AD Site Name’,
SBIP.IPSubnet AS ‘Site Code’
FROM  v_SiteBoundary_IPSubnet SBIP
ORDER BY
SBIP.SiteCode,
SBIP.IPSubnet