A total of 84 of Scotland’s primary schools ensure that almost ever primary seven pupil is up to standard in reading, writing, numeracy, listening and talking according to a new league table.
The Sunday Times report used data submitted by schools in each of the four categories to come up with a mark out of a maximum of 400.
Read more: Prestigious international school that claimed steady pupil numbers could shut over falling roll
A total of 1,197 primary schools provided data for the annual Achievement in Curriculum for Excellence Levels publications, with the remaining 729 on the government database not participating, either because no children were up to standard, the school roll was too small or the data was not collected centrally.
Schools with a higher proportion of deprived pupils were weighted to rise up the league table to recognise their achievement in delivering a good education despite the challenges of poverty.
The schools were then placed in a league table according to how well they were performing.
In the area covered by the City of Edinburgh Council a total of 11 received the maximum of 400 points.
Here are all 11.
Make sure you don't miss a moment of breaking news from across Scotland by signing up to our free newsletter here.

9. South Morningside Primary School
South Morningside Primary School is the ninth of 11 Edinburgh primaries to earn the full 400 points. It has a 95.7 per cent pupil attendance rate. | Google Maps

10. Towerbank Primary School
The penultimate primary to get full marks is Towerbank Primary School in Portobello. The school has a pupil-to-teacher ration of 20.5. | Google Maps

11. Dean Park Primary School
The final primary under the auspices of the City of Edinburgh Council is Dean Park Primary School in Balerno. Its 494 pupils are taught by 23 teachers. | Google Maps

