I have a SQL query which I am performing on two tables.
Here is my query
Select a.cSubGroupName,a.cAddedBy,a.dAddedOn,b.cGroupName
from sys_Log_Account_SubGroup a,sys_Account_Primary_Group b
where a.cAuthorizedStatus='Pending' and a.nGroupCode=b.nGroupCode
I am trying to perform the same query using Lambda expression.
or
Note that the last select is only necessary if you want to explicity exclude the
cAuthorizedStatuscolumn in the return set.