How to Use a correlated subquery to get sum of colums for particular items select itemid from table1 A where col1 = 'sp' and amt <> (select sum(amt) from table1 B where B.itemid = A.itemid and col1 in ('a','b') ) ;
ERP Project Management,Asp.net,PL SQL Tips for error resolution,Research,Software Errors and solution,SQL 2014,2012,2008,Procedural language,SP,Power BI,excel macro ,Musical notations,Business software,Degree, diploma related informations.