Question: part2: Write a SELECT statement that returns six columns based on the empFirstName, empLastName and EmpDateOfBirth fields in the EMPLOYEE table: 1 The employee first

part2:

Write a SELECT statement that returns six columns based on the empFirstName, empLastName and EmpDateOfBirth fields in the EMPLOYEE table:

1 The employee first and last names concatenated with a space between the name parts

2 Use the CAST function to return the first column as a data type varchar

3 Use EmpDateOfBirth and the CONVERT function to return the second, third and fourth columns as a varchar, using style 1, 7 and 10 respectively.

4 Use the EmpDateOfBirth and the CAST function to return the fifth column as data type real

5 Display the unformatted empDateOfBirth as the sixth column

6 Use appropriate descriptive column alias names

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!