Assignment 3

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 6

1 Separate First Name and Last Name for the below list .

2 Create Employee ID: initials of Name+first 2 letters of Department name+region initial+S.No

S.No Full Name FN LN Hiring date


1 Melwyn Crasto Melwyn Crasto 9-Jul-71
2 Piyush Shah Piyush Shah 11-Jan-77
3 Rajesh Bohra Rajesh Bohra 9-Aug-77
4 Dhiren Haria Dhiren Haria 24-Apr-81
5 Rajesh Dedhia Rajesh Dedhia 5-May-85
6 Heena Dongre Heena Dongre 18-Jul-85
7 Bobby Tanna Bobby Tanna 23-Nov-86
8 Stan Serrao Stan Serrao 24-Mar-87
9 Rajeesh C Rajeesh C 9-May-87
10 Tulsidas Shetty Tulsidas Shetty 7-Feb-91
11 Sachin Bangera Sachin Bangera 7-May-91
12 Boneca Rego Boneca Rego 28-Feb-93
13 Rajeev Singh Rajeev Singh 9-Mar-93
14 Gururaj Joshi Gururaj Joshi 9-Sep-93
15 Sudesh Pillai Sudesh Pillai 3-Feb-94
16 Yashraj Vaidya Yashraj Vaidya 24-Sep-95
17 Dinesh Dhanuka Dinesh Dhanuka 29-Sep-96
18 Yogesh Mansharamani Yogesh Mansharamani 24-Jan-98
19 Ram Ambradkar Ram Ambradkar 8-Feb-99
20 Ruffina Joshi Ruffina Joshi 29-Apr-99
21 Simon Rodrigues Simon Rodrigues 14-Nov-99
22 Dhiren Sheth Dhiren Sheth 16-May-01
23 Ashok Samtaney Ashok Samtaney 21-Nov-03
24 Vishnu Desai Vishnu Desai 6-May-04
25 Raju Manek Raju Manek 7-Apr-05
26 Jagjit Kahlon Jagjit Kahlon 2-Feb-09
27 Satish Pasari Satish Pasari 1-Jun-10
28 Kawdoor Shetty Kawdoor Shetty 13-Nov-10
29 Jitendra Thacker Jitendra Thacker 31-Jan-11
30 Dattatray Desai Dattatray Desai 6-May-13
31 Piyush Kamdar Piyush Kamdar 23-Jan-15
32 D Kulkarni D Kulkarni 30-Apr-15
33 Praful Savla Praful Savla 23-Jul-15
34 Sharadchandra Riswadkar SharadchandrRiswadkar 31-Jan-16
35 Nitin Patki Nitin Patki 16-Sep-16
36 Shankar Shetty Shankar Shetty 7-Feb-17
37 Venitha Shetty Venitha Shetty 4-Jun-17
38 Prem Pherwani Prem Pherwani 23-Dec-17
tment name+region initial+S.No (ALL IN UPPER CASE). Example: MCMAN01

Gender M_Status Department Region Basic Salary Employee ID


Male Married Marketing North 22000
Female Married Inside Sales East 20000
Female Married Digital Marketing North 67000
Male Married Learning & DevelopmSouth 37000
Male Married Director North 91000
Male Married Inside Sales North 50000
Male Married Marketing South 58000
Male Married Finance North 85000
Male Single Inside Sales South 87000
Female Married Digital Marketing North 81000
Female Single Digital Marketing North 35000
Female Single Finance East 49000
Female Married Sales North 52000
Male Married Learning & DevelopmEast 43000
Male Single Inside Sales East 75000
Male Single CCD North 26000
Male Single Digital Marketing East 92000
Female Single FLM South 62000
Female Married FLM North 48000
Female Married CEO East 90000
Male Married Finance Mid West 83000
Male Married CCD East 47000
Female Married Sales South 53000
Male Married Digital Marketing Mid West 45000
Female Married CCD South 85000
Male Married CCD East 34000
Male Married Inside Sales Mid West 15000
Female Married Sales South 57000
Male Married Marketing Mid West 47000
Male Married Learning & DevelopmMid West 77000
Male Married Digital Marketing South 82000
Male Married Inside Sales South 67000
Male Married Operations South 65000
Male Married CCD South 50000
Female Married Operations South 81000
Female Married Director South 87000
Female Married Marketing East 27000
Male Married Finance South 19000
Current Date
Current Time

Name Birthdate Day Month(in number)


Boneca Rego 14-Nov-99
Rajeev Singh 16-May-01
Gururaj Joshi 21-Nov-03
Sudesh Pillai 6-May-04
Yashraj Vaidya 7-Apr-05
Dinesh Dhanuka 2-Feb-09
Yogesh Mansharamani 1-Jun-10
Ram Ambradkar 13-Nov-10
Ruffina Joshi 31-Jan-11
Simon Rodrigues 6-May-13
Dhiren Sheth 23-Jan-15
Ashok Samtaney 30-Apr-15

Q. Convert the date from first format to the second format and sort in ascending order.

Date (yyyymmdd.000) Date (mm/dd/yyyy)


20070623 ?
20070624 ?
20070523 ?
20061202 ?
20070112 ?
20070519 ?
20080419 ?
20071017 ?
20051220 ?
Last Modified Date
Last Modified Time

Month(in text) Year Age(in years) Exact Age with Years,Month,days

cending order.
VALIDATION SHEET

Emp_Code Birthdate Salary UserID Region Area

1.Give validation to Emp_code so that the user can enter only between 1 to 1000 without decimal
2.Give validation to Birthdate so that the date after 2002 should not be accepted
3.Give validation to Salary so that the salary is between 25000-85000
4.Give validation to User_Id so that the userid is minimum 5 character long
5.Give validation to Region so that the user will select the region from list
6.Depending upon the region selected the user will get the respective Area
Consider yourself as a manager you need to
send this sheet to employees
to gather data.For proper data collection validate
the columns Region Details

East West North South


Kurla Andheri Virar Churchgate
Ghatkopar Santacruz Bhyander Nariman point
Vashi Vileparle Mira Road Colaba
Thane Khar Vasai Kalbadevi
Mulund Bandra Nallasopara Masjid Bunder
Chembur Gogeshwari Naigaon Dockyard

Indirect()-Area

hout decimal

You might also like