有3个表 t1,t2,t3 t1有2个外键(t2_id,t3_id)分别指向t2,t3。 select t1.* from t1.t2_id=t2.id and t1.t3_id=t3.id 我只会写1个外键关联的hql,2个外键关联怎么写?
67,538
社区成员
225,852
社区内容
加载中
试试用AI创作助手写篇文章吧