Get startedGet started for free

Conversion functions

As a final request, eSymphony has asked you to help them get some insight into their hiring over time. They want to know for all years in the database, the total number of employees hired each month. The resulting date should be formatted as follows: 2019-12.

To achieve this, you need to make use of conversion functions to convert the HireDate from the Employee table to a suitable format.

This exercise is part of the course

Introduction to Oracle SQL

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

-- Select the converted date from the Employee table
SELECT ___(___, '___') AS YearMonth
___
Edit and Run Code