Answered step by step
Verified Expert Solution
Link Copied!

Question

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)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

5. How would you describe your typical day at work?

Answered: 1 week ago

Question

7. What qualities do you see as necessary for your line of work?

Answered: 1 week ago