New th in topic table

I want to get the data from the <post_replies> table. and use it in the button which is present in the < topic-list-table> for every row it will different posts so according to the post id it will retrive the last reply and when click on the button present in the table it will paste the last reply in the container.