Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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)
4b. Based on Figure 2, Write SQL statement to produce following report (Figure 3).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions