I have two(2) tables and I\'m trying to count all records from Table1 and Table1_delta were pagename from Table1_delta is not yet listed into Table1. Incase pagename from Ta
Try using joins
Select count(Table1_delta.pagename) from Table1_delta INNER JOIN Table1 ON Table1_delta.pagename != Table1 .pagename AND Table1.status != 1