Question: 4 a . Based on TABLES above, write the following SQL statements: i ) Write the necessary SQL statement to create table Project and describes

4a. Based on TABLES above, write the following SQL statements:
i) Write the necessary SQL statement to create table Project and describes suitable type of attributes as well.
(5 marks)
ii) Show the output result following SQL.
a. SELECT * FROM Employee WHERE
Employee.Department No.= Department.Department No.
GROUP BY Department. Department Name
(5 marks)
b. SELECT Project. ProjectTitle, Project. ProjectManager, Project.ProjectBudget, ProjectTeam.EmployeeNo
FROM
Project, ProjectTeam
WHERE
Project.ProjectCode=ProjectTeam.ProjectCode
GROUP BY
Project.ProjectTitle.
(5 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!