हिंदी

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?

Advertisements

प्रश्न

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?

विकल्प

  • a table

  • a row

  • a column

  • a database

MCQ
Advertisements

उत्तर

a column

Explanation:

name is a column because it stores the names of students.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 8: Introduction to Structured Query Language (SQL) - Exercise [पृष्ठ १७०]

APPEARS IN

एनसीईआरटी Informatics Practices [English] Class 11
अध्याय 8 Introduction to Structured Query Language (SQL)
Exercise | Q 2. b) | पृष्ठ १७०
Advertisements
Share
Notifications



      Forgot password?
Use app×