Home » MYSQL » Mysql miscellaneous » Question
  1. What is the number of attributes in the following table?
    CREATE TABLE employee (
    stu_name CHAR(50),
    stu_add CHAR(50),
    stu_id INT
    );
    1. 0
    2. 1
    3. 2
    4. 3
    5. 50
Correct Option: D

The name of the table created is ’employee’. It has two attributes, namely, ’stu_name’, stu_add and ’stu_id’. The attributes are the columns in a table. stu_name is of type string and stu_id is of type integer.



Your comments will be displayed only after manual approval.