-
What is the number of attributes in the following table?
CREATE TABLE employee (
stu_name CHAR(50),
stu_add CHAR(50),
stu_id INT
);
-
- 0
- 1
- 2
- 3
- 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.