sql server - displaying column based on value of another column -
there table this:
parent | child 1 | 11 11 | 12 11 | 13 12 | 14 12 | 14 if pass 1, should return ‘1’ children’s: 11, 12, 13, 14
you have @ recursive queries using cte. links topic:
Comments
Post a Comment