Home Forums SQL Server 2005 Administering need solution and feedback to the below question!! RE: need solution and feedback to the below question!!

  • Just another way of doing it.

    select *

    from dept d

    WHERE NOT EXISTS( SELECT 1 FROM empp e WHERE e.dept = d.dname)

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2