0

下面的代码看起来很长......但是如果你能发现错误,请告诉我..

我没有看到别名“usertns_group”的任何重复项,所以我想知道为什么我会收到那个错误..

post LEFT JOIN category2 as postcategory2 ON( post.category2_id = postcategory2.category2_id )
 LEFT JOIN category1 as category2category1 ON( postcategory2.category1_id = category2category1.category1_id )
 LEFT JOIN tns_group as category1tns_group ON( category2category1.tns_group_id = category1tns_group.tns_group_id ) 
 LEFT JOIN user as postuser ON( post.user_id = postuser.user_id )
 LEFT JOIN tns_group as usertns_group ON( postuser.tns_group_id = usertns_group.tns_group_id )
 LEFT JOIN status as poststatus ON( post.status_id = poststatus.status_id )
 LEFT JOIN tns_group as posttns_group ON( post.tns_group_id = posttns_group.tns_group_id )

谢谢..

4

1 回答 1

1

Maye usertns_group 是这些表之一中的列的名称?

于 2009-10-16T19:37:51.983 回答