Postgresql Function Return Table Example Excel