0% found this document useful (0 votes)
2 views4 pages

DBMS Practical 3

The document outlines a practical assignment for a Database Management System (DBMS) course, detailing various tasks to be performed on employee data. Tasks include formatting names, generating email addresses, displaying hire dates, and calculating salary raises. The assignment is structured to enhance skills in data manipulation and querying within a DBMS environment.

Uploaded by

22bce281
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views4 pages

DBMS Practical 3

The document outlines a practical assignment for a Database Management System (DBMS) course, detailing various tasks to be performed on employee data. Tasks include formatting names, generating email addresses, displaying hire dates, and calculating salary raises. The assignment is structured to enhance skills in data manipulation and querying within a DBMS environment.

Uploaded by

22bce281
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

DBMS PRACTICAL 3

NAME:RATHVA DIPESHKUMAR B

ROLL NO.: 23BCE277

DIVISION: E

BATCH: E2

Do as directed:
1) Display the first name in lower case and last name in upper
case, for all employees whose employee number is in the
range between 80 and 150.

2) Generating new email address


a) For each employee, display the first name, last name, and
email address. The email address will be composed from the
first letter of first name, concatenated with the three first
letters of last name, concatenated with @oracle.com.
b) For each employee, display the first name, last name, and
email address. The email address will be composed from the
first letter of first name, concatenated with the three last
letters of last name, concatenated with @oracle.com.
3) For each employee, display the first name concatenated
with the last name, concatenated with hire date.

4) Display the last name for all employees where last name’s
length is greater than 8 characters.

5) For each employee, display the first name, last name,


phone number and a new phone number. In the new
phone number, replace all occurrences of 515 with 815.
6) For each employee, display first name, salary, salary after
a raise of 12%, salary after a raise of 12%, expressed as a
whole number, salary after a raise of 12%, round down to
the nearest whole number.

7) For each employee, display the first name, hire date, hire
date minus 10 days, hire date plus one month, and the day
difference between current date and hire date.

8) For each employee, display the first name, last name, hire
date, number of months he works in the company, and
number of years he works in the company.
9) For each employee, display the first name, hire date, and
hire date plus one year.

10) For each employee, display the first name, hire date, hire
date rounded up to the nearest year, and hire date
rounded up to the nearest month.

You might also like