Question: Create a table named REP. The table has the same structure as the SALES _ REP table shown on page 1 of this lab, except
Create a table named REP. The table has the same structure as the SALESREP table shown on page of this lab, except the COMMISSION and RATE columns should use the NUMERIC data type. Execute the command to describe the layout and characteristics of the REP table. To see the structure of the SALESREP table, use the DESCRIBE SALESREP; command. Add the following row to the REP table: rep ID: first name: Fred last name: Kiser address: Billings Dr city: Cody state: WY postal: cell phone: commission: rate: CREATE TABLE REP
REPID CHAR PRIMARY KEY,
FIRSTNAME CHAR
LASTNAME VARCHAR Variablelength string
ADDRESS CHAR
CITY CHAR
STATE CHAR
POSTAL CHAR
CELLPHONE CHAR
COMMISSION NUMERIC Synonym for DECIMAL
RATE NUMERIC Synonym for DECIMAL
;
DESCRIBE REP;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
