Win10:

select SMS_R_System.Name, SMS_G_System_SPC64.SOEVersion, SMS_G_System_SPC64.BuildDate from SMS_R_System inner join SMS_G_System_SPC64 on SMS_G_System_SPC64.ResourceID = SMS_R_System.ResourceId order by SMS_G_System_SPC64.SOEVersion

Win8.1:

select SMS_R_System.Name, SMS_G_System_SPC64.SOEVersion, SMS_G_System_SPC64.BuildDate from SMS_R_System inner join SMS_G_System_SPC64 on SMS_G_System_SPC64.ResourceID = SMS_R_System.ResourceId order by SMS_G_System_SPC64.SOEVersion

Results: