Q. What is the number of attributes in the following SQL table?
CREATE TABLE employee (
emp_name CHAR(30),
emp_id INT
);

  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 30
πŸ’¬ Discuss
βœ… Correct Answer: (B) 2
Explanation: This question is about understanding the structure of a table in a database. The code you see defines a table called "employee" with two columns:
Explanation by: Vikash Gupta
This question is about understanding the structure of a table in a database. The code you see defines a table called "employee" with two columns:

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
88
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vikash Gupta
Publisher
πŸ“ˆ
87%
Success Rate