I am wondering whether the sentence
That school has all smart students
is a valid alternative to
All the students of that school are smart.
Is it idiomatic/grammatically sound? (Let's assume that there is no risk of ambiguity, namely that by reading the first sentence no one is going to think that e.g. all the smart students of the town go that school.)