1. Write a SELECT statement that returns these columns from the Instructors table: The monthly salary (the AnnualSalary

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

1. Write a SELECT statement that returns these columns from the Instructors table: The monthly salary (the AnnualSalary

Post by answerhappygod »

1. Write a SELECT statement that returns these columns from the
Instructors table: The monthly
salary (the AnnualSalary column divided by 12)
A column that uses the CAST function to return the monthly salary
with 1 digit to the right of the
decimal point
A column that uses the CONVERT function to return the monthly
salary as an integer
A column that uses the CAST function to return the monthly salary
as an integer
2. Write a SELECT statement that returns these columns from the
Students table: The
EnrollmentDate column
A column that uses the CAST function to return the EnrollmentDate
column with its date only
(year, month, and day)
A column that uses the CAST function to return the EnrollmentDate
column with its full time
only (hour, minutes, seconds, and milliseconds)
A column that uses the CAST function to return the EnrollmentDate
column with just the year
and month
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply