Try to search your question here, if you can't find : Ask Any Question Now ?

Spring Data JPA – Get All Unique Values in Column

HomeCategory: stackoverflowSpring Data JPA – Get All Unique Values in Column
willson asked 2 weeks ago

I have a project using Spring Data JPA that consumes data from a table full of addresses. One of the columns of this table is the city. I would like to get a distinct list of cities that are in the table i.e. SELECT DISTINCT city FROM address.

Is there a way to do this using Spring Data JPA?

1 Answers
Best Answer
Arben answered 2 weeks ago
Your Answer

2 + 8 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com