Hi all,
can anyone help me on this-
i want users data who don't complete their work sheet more than 4 days.
i store username in one table and work date on other table
table-
1)educator_master - eid,first_name,last_name
2)educator_call_dtls - call_id,eid,call_date
so if there are 5 users and they fill up information everyday.
i want report of users who dont enter information for last 4 days.
[moved from comment]
ok.
I am providing dummy data:-
1)educator_master data:-
eid first_name last_name
19 Tapan Kumar Chhanda
20 SK Mumtaz Ali
21 Sanjoy Poddar
22 Md.Mokibul Hoque
23 Md.Atiqul Ali
24 Ganesh Chakraborty
25 Dinesh Chakraborty
2)educator_call_dtls data:-
call_id eid call_date
108637 19 03/25/13
108639 19 03/26/13
108641 19 03/27/13
108642 19 03/28/13
109649 19 03/29/13
109650 19 03/30/13
109653 19 03/31/13
110389 19 04/01/13
110390 19 04/02/13
109663 20 03/28/13
109664 20 03/29/13
109665 20 03/30/13
109666 20 03/31/13
110079 20 04/01/13
110387 20 04/02/13
109901 22 03/27/13
109902 22 03/28/13
109907 22 03/29/13
109928 22 03/30/13
109941 22 03/31/13
107998 23 03/27/13
109124 23 03/28/13
110086 23 03/29/13
110087 23 03/30/13
110088 23 03/31/13
108646 24 03/27/13
108647 24 03/28/13
110028 24 03/29/13
110030 24 03/30/13
110032 24 03/31/13
103173 25 03/07/13
104101 25 03/08/13
104102 25 03/09/13
104103 25 03/10/13
104701 25 03/11/13
so if you look at eid =25 in 2nd table, he entered data till 11 amrch 2013 so his name shuld come in report