SELECT DISTINCT
dbo.QMS.QMSCode, dbo.QMS.QMSSerial, dbo.QMS.model, dbo.QMS.controlType, dbo.QMS.connectionType, dbo.QMS.generateType,
dbo.QMS.isCamera, dbo.QMS.centralMonitorRowCount, dbo.QMS.TV_LCD, dbo.QMS.callNumber, dbo.QMS.monitorNumber, dbo.QMS.centralMonitorNumber, dbo.QMS.description, dbo.QMS.lastUsedBranchCode,
dbo.QMS.lastUsedCompanyCode, dbo.QMS.warrantyStartDate, dbo.QMS.warrantyEndDate, dbo.QMS.warrantyType, dbo.QMS.lastCheckDate, dbo.QMS.isActive, dbo.Branch.name AS BranchName,