Querry

  • Thread starter Thread starter inemuu
  • Start date Start date
I

inemuu

I have an employee table that has a relationship w/ a dependent table
and also a deptment table that has a relationship with employee table.
How do I perform a query to pull at managers from Dept table who do not
have a dependent?
 
Without having access to your table structure, something like

SELECT EmployeeID FROM dept WHERE IsManager = -1 AND EmployeeID NOT IN
(Select EmployeeID FROM dependent)

HTH;

Amy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top