List the project name and department details worked in projects that are ‘Complete’.
sql->select p1name,ddname,hodd,locationd from department,project1 where department1.dno1=project1.dno1 and project1.status='C';
Display total budget of each department
sql> selct sum(budget),ddname from department1,project1 where department1.dno1=project1.dno1 group by ddname;
Display incomplete project of each department
sql> select p1name,staus,count(department1.dno1) from department,project1 where department.dno1= project1.dno1 and project1.staus='1' group by staus,p1name;
Find the names of departments that have budget greater than 50000
.
sql>select ddname from department,project1 where department1.dno1=project1.dno and budget>=50000;
Display all project working under 'Mr.Desai'.
sql select p1name from department1,project1 where department1.dno1=project1.dno1 and hodd='mr.dessai';
/