How to select entities until sum reaches to certain values in jpql?

后端 未结 0 1641
谎友^
谎友^ 2021-01-20 14:41

I found one solution for this question in mysql but it doesn\'t work with jpa.

select t.* 
from (select t.*, 
    (@su         


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