Make Your Microsoft Dynamics Investment Count & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.
select a.dob,a.dname, (select sum(b.gamt) from sale_item b where b.dob = a.dob and b.unit = a.unit and b.dname = a.dname) all_sales, (select sum(c.gamt) from sale_item c where c.dob = a.dob and c.unit = a.unit and c.period = 2 and c.dname = a.dname ) noon_sales from sale_item a where a.dob > = '07-aug-13' and a.dob <='28-jun-14' and a.unit = '2001' and a.dname IN ('Fri','Sat') GROUP BY a.DOB,a.dname order by a.dob;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Assistance required for troubleshooting an issue - ORA-12154: TNS error - MS SQL Server 2008||3||69|
|Checking for column width||8||49|
|Oracle TRC and TRM files are taking too much space at Oracle client computer.||5||128|
|Oracle Mulit-site configuration||28||73|
Join the community of 500,000 technology professionals and ask your questions.