Question: 4 . Answer the following questions based on the given scenario: Ned s Dry Cleaning Case Questions Ned Smith owns and operates Ned s Dry

4. Answer the following questions based on the given scenario:
Neds Dry Cleaning Case Questions
Ned Smith owns and operates Neds Dry Cleaning, which is an upscale dry cleaner in a well-to-do suburban neighborhood. Ned makes his business stand out from the competition by providing superior customer service. He wants to keep track of each of his customers and their orders. Ultimately, he wants to notify them that their clothes are ready via email. Suppose that you have designed a database for Neds Dry Cleaning that has the following tables:
Client (ClientID, FirstName, LastName, Phone)
INVOICE (InvoiceNumber, ClientID*, DateIn, DateOut, Subtotal, Tax, TotalAmount)
INVOICE_ITEM (InvoiceNumber, ItemNumber, ServiceID, Quantity, UnitPrice, ExtendedPrice)
SERVICE (ServiceID, ServiceDescription, UnitPrice)
Assume that all relationships have been defined, as implied by the foreign keys in this table list, and that the appropriate referential integrity constraints are in place.
Questions
1. Alter client table by adding a new column address for each client.
2. Alter the client table by changing the phone column to contact for each client.
3. Create a constraint on unitPrice column of Invoice_Item table. UnitPrice value should be greater than $20.
4. Add a computed full_name to the Client table by using the ALTER TABLE ADD column.

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!