多表连接问题?
表1
term_id term_name
1 a
2 b
3 c
表2
term_term_id term_name term_association
1 a 一
2 c 二
3 b 三
表3
object_id object_association term_association
1 张三 二
2 李四 一
3 王五 三
....还有几个表其中两两表中之间均有一个相同的字段名
最后的结果:
id object_assaction term_name term_association
1 张三 c 二
2 李四 a 一
3 王五 b 三