But Anglesey primaries dominated the list with 10 schools making the top 100, compared to Flintshire’s seven.

Gwynedd saw five schools make an appearance, with two schools in Wrexham, two in Denbighshire and one in Conwy.

The data unit ranked the state-funded establishments on their results, teaching and attendance.

Each school has been given an overall rating out of 100 – as well as star ratings in the four key categories of Foundation Phase attainment, Key Stage 2 attainment, attendance and staffing and finances.

Derwen Foundation School achieved five stars in all key ratings categories, apart from staffing and finances, but it made the top 10 nationally finishing eighth.

It beat Ysgol Parc Y Llan, which finished second overall in North Wales and eleventh nationally followed by Ysgol Cefn Coch (15th nationally) in Gwynedd and Ysgol Y Graig on Anglesey (28th regionally).

At county level, the best performing school in Conwy was Ysgol Deganwy which finished in 41st place in Wales.

The best in Denbighshire was Rhos Street CP School (54th nationally) and Wrexham’s was St Mary’s CIW Primary School in Ruabon (87th nationally).