Previous Next JavaScript must be enabled to correctly display this content

## Queries

Learn about the types of queries supported by the Spring Data Framework.

You can use the queries provided in the repository base classes such as the `PagingAndSortingRepository` interface, or write your queries. The Spring Data Framework supports the following types of queries.

1. Generic queries - queries provided by methods in the `PagingAndSortingRepository` interface and `CrudRepository` interfaces.
2. Derived queries - queries derived/generated by Spring SDK from the name of the method based on the keywords.
3. Native queries - queries provided by user in the SQL for NoSQL Database format.