标签: sql sql-server
SELECT dbo.ProductType.Id FROM dbo.ProductType INNER JOIN dbo.RawProduct ON dbo.ProductType.SourceId = dbo.RawProduct.ProductTypeId
希望获取此SELECT并使用它在名为dbo.Product的单独表格上进行更新,并更新列ProductTypeID
SELECT
dbo.Product
ProductTypeID