Question: Create and test a view called EmployeeDepartmentDataView that contains the employee name concatenated and formatted as LastName, FirstName in a field named EmployeeName, EMPLOYEE.Department, DEPARTMENT.OfficeNumber,DEPARTMENT.Phone
Create and test a view called EmployeeDepartmentDataView that contains the employee name concatenated and formatted as LastName, FirstName in a field named EmployeeName, EMPLOYEE.Department, DEPARTMENT.OfficeNumber,DEPARTMENT.Phone as DepartmentPhone, and EMPLOYEE.Phone as EmployeePhone. Run this statement to create the view, and then test the view by writing and running an appropriate SQL SELECT statement.
Step by Step Solution
3.35 Rating (164 Votes )
There are 3 Steps involved in it
CREATE VIEW Employee DepartmentDataView AS SELECT dbo LastNameFirst EFirstName E LastName AS EmployeeName FROM E Department DOfficeNumber D Phone AS D... View full answer
Get step-by-step solutions from verified subject matter experts
