想不出更好的方法。可以试一下这个。
select * from t1 inner join t_type on t1.t1_type = t_type.typeid
and t1_id = 'aa'
select * from t1 inner join t_type on t1.t1_type = t_type.typeid
and t1_id = 'aa'
调试欢乐多
所以有此一问~805和817他不支持inner join啊:(