Попробуйте с этим кодом
SELECT T2.[PartNumber],[SWITEM],[QTY],T1.[tcrutm],T2.[mcno]
FROM [dbo].[table_2] AS T2
LEFT OUTER JOIN [dbo].[table_1] AS T1
ON T2.[PartNumber] = T1.PartNumber AND T2.mcno = T1.mcn
Если вы хотите заполнить вторую таблицу, используйте ее сначала и используйте LEFT JOIN. Или этот запрос эквивалентен, используя RIGHT JOIN
SELECT T2.[PartNumber],[SWITEM],[QTY],T1.[tcrutm],T2.[mcno]
FROM [dbo].[table_1] AS T1
RIGHT OUTER JOIN [dbo].[table_2] AS T2
ON T1.PartNumber = T2.[PartNumber] AND T1.mcno = T2.mcno
EDIT:
Вот ответ на ваш комментарий:
SELECT T2.[PartNumber],[SWITEM],[QTY],T1.[tcrutm],T2.[mcno]
INTO [dbo].[table_results]
FROM [dbo].[table_2] AS T2
LEFT OUTER JOIN [dbo].[table_1] AS T1
ON T2.[PartNumber] = T1.PartNumber AND T2.mcno = T1.mcno
SELECT * FROM [dbo].[table_results]
Просто добавьте INTO [name_of_your_table] между полями SELECT и FROM