Hi There,
I have the following table structure:
Table Parent (Name, Address, Oldest_Child)
Table Child(Name, Parent_Name[Reference to Parent],age)
I want to populate the parent.oldest_child with the name of the oldest child of the parent. What is the best way to do that?
Solved! Go to Solution.
@dheerajnagpal wrote:
I want to populate the parent.oldest_child with the name of the oldest child of the parent.
ANY(ORDERBY([Related Childs], [age], true))
User | Count |
---|---|
36 | |
8 | |
3 | |
2 | |
2 |