?
What does 'name' represent in the following SQL code snippet?
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)
);
CREATE TABLE student
(
name CHAR(30),
roll_num INT,
address CHAR(30),
phone CHAR(12)
);
Answer & Solution
Correct Answer:
Option
C
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.
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.
Join the Discussion
Login to post a comment or share your explanation.
Login