A derived query is a Spring Data repository method whose name describes the query: findByNom, findByAgeGreaterThan, existsByEmail, countByVille, findByNomAndVille. Spring generates the query from the name. Beyond a few criteria, @Query is preferred.
Example
List<Client> findByVilleOrderByNomAsc(String ville);