I have a DeviceCategory table like this
DeviceCategory
In the table, the CategoryID column is a child of CategoryParentCode. I want to
CategoryID
CategoryParentCode