Hello,

I have a problem related SQL Query

SELECT a.cAction_Name,a.nAction_ID  FROM tbl_actionmaster a  LEFT  JOIN
tbl_roleactionrelation b ON  a.nAction_ID != b.nAction_ID
WHERE b.nRole_ID = 3
group by a.cAction_Name

In this query i wants to find Action name and Action Id from the Action
Master table.
As comparing with RoleActionReation table (field -> nAction_ID , nRole_ID )

I need those Action Name which are not mapped with the Role Name .

This Query shows me those field also which are already mapped.

Thanks

Manish Mehta
E-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to