M
M
marshinov2013-12-22 15:05:07
SQL
marshinov, 2013-12-22 15:05:07

How to make a function that will make a select with group by and join'om?

Previously worked with MySQL and MsSQL. I want to make a function that will make a select with group by and join. The output is SETOF. And here is SETOF of what? I don't have such a table. VIew is not suitable, because parameters are passed to the function for filtering.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sirinh, 2013-12-23
@marshinov

If I understand correctly, the solution is here.
info-comp.ru/obucheniest/197--sql-return-table.html
Adapt to your task

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question