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 is true about the following SQL statement?SelecT * fROM student;
विकल्प
Displays contents of table ‘student’
Displays column names and contents of table ‘student’
Results in error as improper case has been used
Displays only the column names of table ‘student’
MCQ
Advertisements
उत्तर
Displays contents of table ‘student’
Explanation:
SQL keywords are generally case-insensitive, so SelecT * fROM student; is valid and displays all records and columns of the student table.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
