Change some code of table, to implement join chain.