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.

1. Echline Primary School
Echline Primary School, in South Queensferry, scored perfect marks across the board. Like all 10 top performing schools in the City of Edinburgh Council area it has a very low level of deprivation - with less than 10 per cent of pupils classified as coming from a "very deprived" background. | Google Maps

2. Blackhall Primary School
Blackhall Primary School, located in one of Edinburgh's most desirable neighbourhoods, got the full 400/400. The school employs 20 teachers, with an average class size of 24.6. | Google Maps

3. Brunstfield Primary School
Bruntsfield Primary School earend the full 100 marks across numeracy, reading, writing, and listening and talking. The school has an impressive 94.9 per cent pupil attendance rate. | Google Maps

4. Gylemuir Primary School
Nearly every child at Corstorphine's Gylemuir Primary School is taught to the required standard across all key skills. It has a pupil-to-teacher ratio of 18.6. | Google Maps

