Help me in solving SQLP165 problem

My issue

Didn’t get this question bcx between is used so it have to give only 5 row but it shows 50

Learning course: Analytics case studies
Problem Link: CodeChef: Practical coding for everyone