Postgresql Function Select Into Variable Mysql Tutorial