CREATE VIEW [dbo].[vw_EShopGoods]
AS
SELECT        good.Id, good.K_Code AS Code, good.Name1 AS Name, good.Name2 AS Alias, g.Id AS GroupId, good.Eshop_Flag AS isActive, u1.Id AS UnitId, good.SalesCeiling, good.MinQtyTelegram
FROM            dbo.KalaId AS good INNER JOIN
                         dbo.Unit1 AS u1 ON good.U_Code1 = u1.U_Code1 LEFT OUTER JOIN
                         dbo.Group1 AS g ON g.Gid = good.Gid_Fk
