Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION Employees on development projects 0 8 0 Ueing the tabletrol conetruct an 5 0 2 query to retrime o list of all employees. For

QUESTION
Employees on development projects
080
Ueing the tabletrol conetruct an 502 query to retrime o list of all employees. For eoch employee, the query shoule disptay ther fulf narme the name of their deportment. the city where their department is bocated ond the name of any projects thent nontene the word 'Development' in the propect name. If an employee is not associated with amy project or if their project doesthot inctucte "Development" in its narre, the project name should be displayed os wiLi
Provide the SQL statement to achieve this outcome. The output should be ordered in the alphobetical order of LastName and incase of collision of ary same Last Name, sort the output on the basis of First Name.
Tables Schema as Below.
\table[[Employees],[columnName,dataType],[EmployeelD,int],[FirstName,varchar(100)],[LostName,varchar(100)],[DepartmentiD,int]]
\table[[Departments],[columnName,dataType],[DepartmentID,int],[DepartmentName,varchar(100)],[LocationID,int],[City,varchar(100)],[ProjectAssignments,],[columnName,dataType],[AssignmentiD,int],[EmployeelD,int],[ProjectName,varchar(255)]]
image text in transcribed

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

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

=+2 Why did OBI create Centers of Excellence?

Answered: 1 week ago