Accenture Interview Question

I was asked about ways to make a query in Spring.