I have one table “EMPLOYEEMASTER” contains ’emp id’ as 1,2,3,4…..
The date is between 21 of one month to 20 of the next month…..
EMPLOYEEMASTER
--------------
emp id name
------ ----
1 anil
2 babu
3 anitha
i want the sql statement for getting like
emp id date
------ ----
1 21/03/2011
1 22/03/2011
1 23/03/2011
1 24/03/2011
. .
. .
. .
.
1 30/03/2011
1 01/04/2011
. .
. .
1 19/04/2011
1 20/04/2011
2 21/04/2011
2 22/04/2011
.....
plz help me?…
I’m going to assume that there is also a table that includes the employee id and their begin/end dates too…
“Generic questions get generic answers”