Skip to content

JPA sum 쿼리구문 사용법? #1

@Gomding

Description

@Gomding

JPA 에서 sum 을 이용해 select 해온 값을 더하는 쿼리구문을 작성하는 법을 모르겠음.

주석 2020-07-18 173659

만들고 싶은 쿼리 구문
-> "select sum(sell_pofit) from sell where sell_date between ? and ?;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions