Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

MYSQL QUESTION Create the following two tables. (include screenshot) of show col

ID: 3934408 • Letter: M

Question

MYSQL QUESTION
Create the following two tables. (include screenshot) of show columns from customer;and show columns from salesperson; as deliverables.

Customer

custid int(3) auto_increment

fname char(10)

lname char(10)

address char(10)

telnum int(10)

salespersonid int(3)

Salesperson

salesid int(3) auto_increment

fname char(10)

lname char(10)

officenum char(4)

telnum char(10)

What is the MySQL query needed to expand customer.custid to int(10)?

What is the MySQL command to reduce customer.salesperson id to int(1)?

How do you change customer.telnum to a character data type?

Explanation / Answer

alter table Customer modify custid int(10); alter table Salesperson modify salesid int(10); alter table Customer change telnum telnum varchar(255);

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote