Correlated Subquery – NOT EXIST

pts.
Tags:
MySQL
SQL
SQL Server
Hi - I'm trying to add a not exist subquery in my where statement and have several other joins ahead of it. I'm having difficulty determining where to put the NOT EXIST as the subquery is named as a column - ie blue.color in (select * from .....). Where would I put the NOT EXIST In this case? Thanks.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Please post the full sql statement so I can determine where to put the not exists clause.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • JohndeCoville
    Example: (Am I addressing your concern?) SELECT P.BOOK, P.MAP, P.PARCEL, P.SPLIT, P.TAX_AREA_C, P.TOWNSHIP, P.RANGE, P.SECTION, P.CRT_DATE, P.CHG_DATE, P.RETIRE_CD, P.T1DELF FROM ELGRANDE.PCSHAREDTA.PARCEL_MAS P WHERE P.RETIRE_CD = 'R' AND EXISTS (SELECT DISTINCT T.CLPRCL FROM ELGRANDE.TRLIBDTA.TXPRCLP T Where P.PARCEL_ID = T.CLPRCL) Thanks --John
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: