er, the other way around, you mean? Clerics and druids always know all their spells, but can only prepare ones that their available spell slots allow.
Regardless, it's ridiculous to assume it works the other way, because then the best sorc builds will all be 18 sorc / 1 cleric / 1 druid or 17 sorc / 2 lock / 1 cleric or druid.