Last answered:

19 Jan 2024

Posted on:

04 Jan 2024

0

CHAR(N) AND ENUM(60,None)

Acc to me CHAR(N) AND ENUM(60,None) should be incorrect as N is not specified like char(12) or char(10) and enum has numeric value instead of alphabets like 'm' or 'f' as explained in videos

1 answers ( 0 marked as helpful)
Instructor
Posted on:

19 Jan 2024

0

Hi Shweta!
Thanks for reaching out.

The incorrect answer is CHAR(N) because we need to specify the exact length of the char. In this case this is an unknown value. The answer ENUM('60',None) is correct because '60' is a string.

Hope this helps.
Best,
Tsvetelin

Submit an answer