Hello Sir,
'
(if there is mistake in select query please current it) and also i have attached herewith 4 tables with data script.
select distinct(Tble_MainData.ID),ProductCompany.Id as CompanyID,Brands.Id as BrandID, Items.Id as ItemID from Tble_MainData
inner join Brands on Tble_MainData.Brand = Brands.BrandName
inner join Items on Tble_MainData.Item = Items.ItemName
inner join ProductCompany on Tble_MainData.Company = ProductCompany.CompanyName
inner join Brands on Tble_MainData.Brand = Brands.BrandName
inner join Items on Tble_MainData.Item = Items.ItemName
inner join ProductCompany on Tble_MainData.Company = ProductCompany.CompanyName
Kindly replay me.
Thanks.


Francis SusaimichaelRank #466 · 5.4K reputationPosted Jun 11, 2016, 4:38 PM EDT
Francis SusaimichaelRank #466 · 5.4K reputationPosted Jun 10, 2016, 7:34 AM EDT
Abhilash J ARank #1,243 · 1.4K reputationPosted Jun 10, 2016, 9:45 AM EDT