You are on page 1of 1

Project Id Project Name Location Status

PROJ-001 Building Remodelling Bangalore Active

Project Id Task Id Task Name Planned Planned Cost Actual Cost


Date (INR) (INR)
PROJ-001 A1000 Digging the Land 10-Jan-2018 10000.00 12000.00
PROJ-001 A1001 Pillars Foundation 20-Jan-2018 14000.00 13000.00
PROJ-001 A1002 Flooring (Ground Floor) 5-Feb-2018 18000.00 20000.00
PROJ-001 A1003 Flooring (First Floor) 12-Feb-2018 20000.00 19000.00
PROJ-001 A1004 Basement 8-Mar-2018 24000.00 25000.00
PROJ-001 A1005 Granite flooring 18-Mar-2018 28000.00 27000.00
PROJ-001 A1006 Remodel Kitchen 6-Apr-2018 30000.00 30000.00

There are two tables in the database called Project and Task Tables as shown
above. Write a query to get the below output.
Planned Date Planned Cost Actual Cost Cummulative Cummulative
(Monthly) (INR) (INR) Planned Cost (INR) Actual Cost (INR)
Jan-2018 24000.00 25000.00 24000.00 25000.00
Feb-2018 38000.00 39000.00 62000.00 64000.00
Mar-2018 52000.00 52000.00 114000.00 116000.00
Apr-2018 30000.00 30000.00 144000.00 146000.00

You might also like