📝 Question
#1040
An attribute A of datatype varchar(20) has the value “Avi”. The attribute B of datatype char(20) has value ”Reed”. Here attribute A has ____ spaces and attribute B has ____ spaces.
✓
Correct Answer
A. 3, 20
💡
Explanation
Varchar changes its length accordingly whereas char has a specific length which has to be filled by either letters or spaces.
⌨️ Press
A
B
C
D
to select