Hey guys!, i have to do the following:
Suppose i have the following data:
i need to make a stored procedure that gives the the result of something like this.
Any ideas of how i can do this?
Thanks for your help!
Suppose i have the following data:
Code:
ID ACTIVITY DATE 1 gardening 01/01/2011 2 cooking 02/01/2011 1 gardening 03/01/2011
Code:
ID ACTIVITY INITIAL_DATE END_DATE 1 gardening 01/01/2011 03/01/2011 2 cooking 02/01/2011 NULL
Thanks for your help!
Comment