It's more or less Syntactic sugar.
Take a look here
Most important difference is
Unlike =, the := operator is never interpreted as a comparison
operator. This means you can use := in any valid SQL statement (not
just in SET statements) to assign a value to a variable.