How to join an entity with custom select using CriteriaBuilder

后端 未结 0 404
不思量自难忘°
不思量自难忘° 2021-02-05 12:10

I have a scenario where I need to get the row with maximum date. The SQL query for this would be

SELECT c.* 
FROM course c 
INNER JOIN 
(SELECT moduleId ,MAX(endD         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题