Mysql Function Select Into An Existing