We read your photo as:

Design two database tables: CUSTOMER and SALES. Specify attributes, data types, and keys.

Computer Science

ScanSolve AI Answer

Here are the designs for the two database tables:

Table 1: CUSTOMER

Attribute NameData TypeKey
Customer IDINTPrimary Key
Full NameVARCHAR(255)
TelephoneVARCHAR(20)
E-mailVARCHAR(255)
AddressVARCHAR(500)

Table 2: SALES

Attribute NameData TypeKey
Sales IDINTPrimary Key
Item NameVARCHAR(255)
QuantityINT
AmountDECIMAL(10, 2)
DateDATE
Delivery AddressVARCHAR(500)
Was this helpful?

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question
Handwritten step-by-step solution preview

Handwritten Step-by-Step Solution

Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.

Try on WhatsApp