@Dominique DUCHEMIN
Thank you for posting in Microsoft Q&A forum.
The vgsis2 is an alias of SMS_G_System_INSTALLED_SOFTWARE, the query result only show the column once if there is any duplicate data.
You may try to use a SQL query to get the required results.
select v_R_System.Name0, v_GS_INSTALLED_SOFTWARE.ProductName0, v_GS_INSTALLED_SOFTWARE.ProductVersion0,
vgis2.ProductName0, vgis2.ProductVersion0
from v_R_System inner join v_GS_INSTALLED_SOFTWARE on v_GS_INSTALLED_SOFTWARE.ResourceID = v_R_System.ResourceId
Inner join v_GS_INSTALLED_SOFTWARE vgis2 on vgis2.ResourceID = v_R_System.ResourceId
where v_GS_INSTALLED_SOFTWARE.ProductName0 like '%c++%'
and vgis2.ProductName0 like '%microsoft%'
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.