Question: Question- 2 Create Database : Records Create Table : Emp EmpNo (Not Null, unique) EName (Not Null) Job (Not Null) ManagerNo HireDate (Not Null) Salary

Question- 2

Create Database : Records

Create Table : Emp

EmpNo

(Not Null, unique)

EName

(Not Null)

Job

(Not Null)

ManagerNo

HireDate

(Not Null)

Salary

(Not Null, >1000)

Commission

DeptNo

(Not Null)

1001

Gohar

Salesman

512

18-Dec-11

1600

400

20

1002

Ahmed

Clerk

511

28-Nov-11

1250

10

1003

Shahid

Manager

505

11-Jun-11

10000

20

1004

Toqeer

Salesman

512

15-Dec-10

2700

300

20

1005

Asif

Manager

505

18-Dec-10

12000

15

1006

Babar

Salesman

512

14-Nov-10

4000

500

20

1007

Kashif

President

21-Oct-10

20000

10

1008

Zubair

Manager

505

8-Dec-09

15000

10

1009

Yasir

Clerk

511

18-Dec-09

1650

15

1010

Salman

Salesman

512

10-May-09

5300

700

20

1011

Hafeez

Clerk

511

1-Jan-09

1500

15

Perform the following queries for above table:

  • List all Salesman and add 500 to their salaries, also change the column heading to Salary With Bonus.

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