結果 : create function to return table in postgresql