Advertisements
Advertisements
Question
Choose the appropriate answer with respect to the following code snippet.
code snippet.
CREATE TABLE student(
name CHAR(30)
student_id INT,
gender CHAR(1),
PRIMARY KEY (student_id)
);
What does ‘name’ represent in the above code snippet?
Options
a table
a row
a column
a database
MCQ
Advertisements
Solution
a column
Explanation:
name is a column because it stores the names of students.
shaalaa.com
Is there an error in this question or solution?
