views:

678

answers:

1

How can I use select * from some_table in a function in postgres?

+3  A: 
Luc M
But in case I want to make a join with other table?
Markus
@cmax: same thing. just join it. assuming you know how to write SQL join - you can do the same thing in function. Perhaps you need to ask more detailed question.
depesz