हिंदी

code snippet. CREATE TABLE student( name CHAR(30) student_id INT, gender CHAR(1), PRIMARY KEY (student_id) ); What will be the degree of student table?

Advertisements
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 will be the degree of student table?

विकल्प

  • 30

  • 1

  • 3

  • 4

MCQ
Advertisements

उत्तर

3

Explanation:

The student table has 3 columns (attributes):

  • name
  • student_id
  • gender

Therefore, the degree = 3.

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. a) | पृष्ठ १७०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×