I just want to replace the reference id with name from item table in the result as I showed in last table
1st table and Parent table