Question: Task 3 : Update Employee Information As the new database administrator, your next task is to update the employee information in order to bring it
Task : Update Employee Information
As the new database administrator, your next task is to update the employee information in order to bring it up to date. Specifically, you need to add
email and phone information for each employee based on certain rules, however more information may be available in the future. Keep this in mind as
you design your implementation.
Instructions:
Email Requirements
First letter of firstnamelastname @company.net address. For example, if the employee name is Waldo Weber, then his email address
should be
wweber@company.net
IF the email address is taken, that is another employee has the same last name and has the same first initial, then, add the sequential number.
For example, if after Waldo got his email, you have a Walter Weber employee. In this case, Walter's email address should be
wweber@weber.net.
Every employee must be assigned an email address.
For those employees whose title contains the word 'Senior', you need to add a second personal email address, following the same rules as above.
For example, if Waldo's title is 'Senior Engineer', you will add a personal email as:
wweber@personal.com
Phone Requirements
The company must have where is the employee number. The employee numbers range from, to Note: if the
employee number is shorted than digits, you should pad it with zeros. For example, if Waldo's employee number is then the phone
numbers should be constructed as:
Note: there may be other phone numbers available in the future: cell, home, etc.
Every employee must be assigned a phone number
Submission Checklist:
Store all your SQL commands in a file called tasksql
Store all your connector code in a file called
taskpy or whatever extension your chosen language uses.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
