SELECT dbo.ProductType.Id
FROM dbo.ProductType
INNER JOIN dbo.RawProduct ON dbo.ProductType.SourceId = dbo.RawProduct.ProductTypeId
Looking to take this SELECT
and use it to do an update on a separate table called dbo.Product
and update the column ProductTypeID