select
*
from
SubCategory a1
where Parent = '20005' or a1.seqnum in (select a2.Seqnum from SubCategory a2 where Parent = a1.SubCategoryID)
I need to get the parent and child.. there is a parent child relation ship in here where SubcategoryID is used to determine which is the parent of the subcategory.. But im only getting the parent

New Topic/Question
Reply


MultiQuote





|