Results 1 to 2 of 2

Thread: SQL logic

  1. #1
    Join Date
    Jun 2013
    Posts
    8

    Unanswered: SQL logic

    Hi,

    I have data as per the below scenario

    ST PRODUCT FLAG
    == ======= ====
    CA PROD1 1
    CA PROD2 1

    i will have flag either o or 1 at times. when flag is 1 and product is PROD1 then i need to restrict st(CA). if flag is 0 then i should display all the values

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    nice home work assignment.

    first post the SQL & results that you have tried
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •