For the license itself, no school grade is required. EASA, the FAA, CASA in Australia and CAA NZ ask for age, a medical, English, exams and flight experience. Schools and airline cadet programs set their own entry rules on top. Singapore Airlines, for example, accepts A levels, a diploma or a degree, or five O level credits including English, mathematics and a science. Check what your school asks for before you apply.
Read more How to become a pilot