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
Get step-by-step solutions from verified subject matter experts
