GitLab Interview Question

Differences between database queries and using your application to select objects using application’s memory.