SELECT gr.Name as GroupName,gr.Id as GroupId
FROM SpecificationAttribute sa
INNER JOIN SpecificationGroup gr
on SpecAtr.GroupId = gr.Id
left JOIN CategoryAttribute as cat on cat.SpecificationAttributeId = SpecAtr.Id
the rows are duplicating

so gr.Id is prymary key SpecAtr.Id is primary and cat.SpecificationAttributeId is foreignkey
pleas help me
Amit KumarPosted Apr 30, 2019, 12:58 AM
Jignesh KumarPosted Apr 30, 2019, 12:26 AM
Shweta LodhaPosted Apr 18, 2019, 1:41 AM
Kapil Singh KumawatPosted Apr 16, 2019, 2:21 AM
Rajanikant HawaldarPosted Apr 15, 2019, 10:00 PM
Shweta LodhaPosted Apr 15, 2019, 9:58 PM