Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 what should be query

Author  Topic 

asifbhura
Posting Yak Master

165 Posts

Posted - 2011-01-23 : 06:14:15
I have 2 table

Table1 contains reqid,deptid,date,IsActionGm,IsActionCEO,actionHR

Table2 contains reqid,empno,sdate,edate,level1App,level2app

Now I want to dispaly records from table1 with where actionhr=no, and
isactiongm=yes and isaction ceo=yes and there must be related employee in table2,

regards,

asifbhura
Posting Yak Master

165 Posts

Posted - 2011-01-23 : 06:40:45
I got answer
Go to Top of Page
   

- Advertisement -