Question: Task 2 : The Driver Relationship team wants to arrange workshops and education materials to the drivers. However, the team wants to create clusters of

Task 2:
The Driver Relationship team wants to arrange workshops and education materials to the drivers. However, the team wants to create clusters of the drivers based on their experience in InstantStay. To collect these detail, you will need to create a SQL function called DRIVER_STATUS to determine the level of the driver as follows:
MASTER more than 4 travels
PRO more than 2 travels
ROOKIE 2 or less travels
In addition, run the function to verify it works as expected and send them back the driver levels.

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 Programming Questions!