can you write that query .
im not understanding that, im new for db2.
i have a columns like sales_day and week id-yyyyww(201206), and weekday
User Profile
Collapse
-
If we give this year and weekid like 201106 we have to find last week data?
Hi,
if the we give the data retrieval given in yyyyww from in which yyyy= year and ww=week ex:201206
i have to retrive the last week monday(frist_da y) sales data and last sunday(last_day ) data ex:201205.
when we give the same any week in the year , we have to retrive last week monday(frist_da y) and sunday(last_day )
we have to find.
pls send the logic.
Thanks in Advance.
RK
No activity results to display
Show More
Leave a comment: