This doesnt make sense...you want to filter all employees whose status is 0.
And once you have filtered these records you want to refilter that original filter to include all employees which have department 100 (which is still ok), but then you want the status to be 1. How can that be given that you stated in your original request you only wanted employees with 0 status???
Think about it and take it from a person trying to answer your question.
You have 10 records, half of them have employees with a 0 status and the other half have a 1 status.
Jon1 1
Jon2 1
Jon3 1
Jon4 1
Jon5 1
JOn6 0
Jon7 0
Jon8 0
Jon9 0
Jon10 0
So you want all employees with 0:
JOn6 0
Jon7 0
Jon8 0
Jon9 0
Jon10 0
Simple enough : SELECT blah FROM Employees WHERE Status=0
Now you want another query which has their department number of 100 but have a status of 1. Well how can you find one that has a status of 1 when you filtered for a status of 0????
You probably want an OR condition:
SELECT blah FROM myTable WHERE EmpStatus=0 OR (EmpStatus=1 AND Dept=100)
Which clearly is a different question...