Q. Which data type is most appropriate for storing a customer’s last name?

A
INT
B
DECIMAL
C
VARCHAR(100)
D
BOOLEAN
Solution:

VARCHAR is used for variable-length character strings. INT is for integers, DECIMAL for fixed-point numbers, and BOOLEAN for true/false values. A name is a string of characters.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!