Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 Criteria 在 Hibernate 中编写非 equijoin 查询?
我有员工表和等级表。我想根据该员工的薪水获取每个员工的员工交易和工作等级。
下面是 SQL:
select e.empName, e.salary. g.grade from employees e, grade g where e.salary between g.lowest_sal and g.highest_sal
对此的等效条件查询是什么?
请让我知道这件事。