Q885
What does 'name' represent in the following SQL code snippet? CREATE TABLE student ( name CHAR(30), roll_num INT, address CHAR(30), phone CHAR(12) );
A.
A table
B.
A row
C.
A column
AnswerD.
An object
Answer: Option C
Solution
Answer: Option C
Solution:
This SQL code snippet creates a table called "student". Inside the table, you define different "columns" to store information about each student.
In this code, "name" represents a column in the "student" table.
This column is used to store the names of the students.
So the answer is Option C: A column.