select t1.* from table1 t1 left join table2 t2 on (t1.id = t2.t1Id and t1.name = t2.name)
select t1 from table1 t1 ,table2 t2 where t1.id = t2.t1Id and t1.name = t2.name)
hql 里面也有left join 把 select t1 from t1 left join t2 on t1.id=t2.t1id and t1.name=t2.name
67,550
社区成员
225,863
社区内容
加载中
试试用AI创作助手写篇文章吧