English

Write SQL query for the following: To display the first five characters of the Name column from STUDENTS table. - Informatics Practices

Advertisements
Advertisements

Question

Write SQL query for the following:

To display the first five characters of the Name column from STUDENTS table.

Code Writing
Advertisements

Solution

SELECT SUBSTR (NAME,1,5) FROM STUDENTS;

shaalaa.com
  Is there an error in this question or solution?

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×