sql query to find missing records -


i using transaction table called student_details contain batch_no, pf_no, emp_name,dob, dor , doj along other details. there master table called batch_master contains batch_no, from_date, to_date , due_date. want details of staff due date within enter_date1 , enter_date2 fall due within period , such of staff due_date earlier enter_date1 still not come (i.e there no record same person doj after due_date.) please in designing query in ms-access

you should @ sql clause. think beneficial trying achieve. used in these types of conditional statements if true (or false depending on situation) return this.

for example:

select * <location> due_date > enter_date1 , due_date < enter_date2. 

however confused on statement:

"such of staff due_date earlier enter_date1 still not come (i.e there no record same person doj after due_date"

to me sounds want return every less enter_date2, want ensure there unique records return... or assume.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -