Question: Modify the following SQL command so that the Rep_ID column is the PRIMARY KEY for the table and the default value of Y is assigned

Modify the following SQL command so that the Rep_ID column is the PRIMARY KEY for the table and the default value of Y is assigned to the Comm column. ( The Comm column indicates whether the sales representative earns a commission.)

Change the STORE_REPS table so that NULL values cant be entered in the name columns (First and Last),

Change the STORE_REPS table so that NULL values cant be entered in the name columns Comm columns).

Add a column named Base_salary a with datatype of a NUMBER(1,2) to the STORE_REPS table. Ensure that the amount entered is above zero.

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!