Question: Write a SELECT statement that returns these columns from the Students table: The EnrollmentDate column A column that returns the four-digit year thats stored in

  1. Write a SELECT statement that returns these columns from the Students table: Write a SELECT statement that returns these columns from the Students
    • The EnrollmentDate column
    • A column that returns the four-digit year thats stored in the EnrollmentDate column
    • A column that returns only the day of the month thats stored in the EnrollmentDate column
    • A column that returns the result from adding four years to the EnrollmentDate column; use the CAST function so only the year is returned

100 % Results Student ID 1 1 2 2 3 W NI 3 4 First Name Amber George Tony Jonathan Donna Rose 4 Messages Last Name Howard White MacNamara Welch Taylor Price Rodriguez Williams Kent Kramer DeLorean Graduation Date 2019-12-14 2019-12-14 2019-05-07 2019-12-14 NULL 2019-12-14 5 5 6 6 Enrollment Date 2015-12-18 16:44:26 2015-12-20 11:12:26 2015-12-21 09:21:55 2015-12-21 13:23:10 2015-12-28 10:32:16 2016-01-02 12:37:31 2016-01-03 13:08:37 2016-01-03 15:44:56 2016-07-15 11:14:23 2016-07-15 17:02:45 2016-07-18 12:48:43 2016-07-20 09:37:53 CON 7 7 Jesse 8 9 10 9 COPEN 2019-05-07 NULL NULL NULL NULL Bonnie Thomas Maggie Cameron Frank 10 11 11 12 12 Sanchez NULL

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!