problem in select statement

  • hi,

    There is a table mmproductstyle contains details about partno and style number.

    EG:--style number as 34,68,70

    These styles are assigned to partno.

    partno stylenumbers

    ------ ----------

    100400916

    300342934

    100451668

    300219221

    100468516

    300342968

    100451634

    I need to get the partno which contains both stylenumbers 34 and 68

    The results must be

    3003429

    1004516

    Regards,

    Prakash

  • select partno from table3 where style='34'

    intersect

    select partno from table3 where stylenumbers='68'

  • hi,

    I used it but its not working.

    Regards,

    PRakash

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply