select
z.Nomer,
(
SELECT distinct Name + CHAR(10) FROM #product p
where p.ID in (select n.ProduktID from #nakladnaya n where n.ZakazNomer = z.Nomer)
FOR xml path('')
) 'names'
from #zakaz z
inner join #nakladnaya n on n.ZakazNomer = z.Nomer
group by z.Nomer
/* вместо #тбличка ... подставь свои таблицы, а далее жмякай F5 */
SELECT z.Nomer, GROUP_CONCAT(p.Name SEPARATOR ', ')
FROM Nakladnaya as n
INNER JOIN Product as p ON n.ProductID = p.ID
INNER JOIN Zakaz as z ON n.ZakazNomer = z.Nomer
GROUP BY z.Nomer
SELECT *
FROM Nakladnaya
INNER JOIN Zakaz
ON Nakladnaya.ZakazNomer=Zakaz.Nomer
INNER JOIN Product
ON Nakladnaya.ProductId=Product.ID