Examveda

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

D. An object

Answer: Option C

Solution (By Examveda Team)

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.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous