query

  • I have table

    tblemp(empjob,emprole)

    empjob emprole

    1 Mngr

    1 Mngr

    1 Mngr

    2 clerk

    2 clerk

    2 clerk

    How can I find records if there is any records that are not matching like (empjob=1,empname=clerk)

  • SELECT *

    FROM tblEmp

    WHERE empjob=1

    AND emprole <>'clerk'

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

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