你好,您需要为正在查询的两个视图创建一个连接。试试这个:
选择SMS_R_System。名字, SMS_G_System_DISK.Model from SMS_R_System inner join SMS_G_System_DISK on SMS_G_System_DISK.ResourceID = SMS_R_System.ResourceId where SMS_G_System_DISK.Model = "SSDPR-PX500-512-80" order by SMS_R_System.Name
你好,您需要为正在查询的两个视图创建一个连接。试试这个:
选择SMS_R_System。名字, SMS_G_System_DISK.Model from SMS_R_System inner join SMS_G_System_DISK on SMS_G_System_DISK.ResourceID = SMS_R_System.ResourceId where SMS_G_System_DISK.Model = "SSDPR-PX500-512-80" order by SMS_R_System.Name