What is the N+1 query problem and how to solve it?…
LINK