I want to be able to show a date when no row in the database is present for that date.
For example.
The data in the database would look as follows for 1/2/02 through 1/5/02 for employee 612
employee date hours worked
612 1/2/02 4
612 1/3/02 7
612 1/5/02 3
but there are no records in the database for 1/4/02 for this employee. How can I show zero for 1/4/02. In the end I am looking to show only where the worked hours is less than 4 but at this point I only show 1/5/02 and not 1/4/02.
Any ideas.
For example.
The data in the database would look as follows for 1/2/02 through 1/5/02 for employee 612
employee date hours worked
612 1/2/02 4
612 1/3/02 7
612 1/5/02 3
but there are no records in the database for 1/4/02 for this employee. How can I show zero for 1/4/02. In the end I am looking to show only where the worked hours is less than 4 but at this point I only show 1/5/02 and not 1/4/02.
Any ideas.