हिंदी

Write suitable SQL query for the following: To display the last three characters of the registration_number column (attribute) in the Vehicles table. - Informatics Practices

Advertisements
Advertisements

प्रश्न

Write suitable SQL query for the following:

To display the last three characters of the registration_number column (attribute) in the Vehicles table. (Note: The registration numbers are stored in the format DL-01-AV-1234).

कोड लेखन

उत्तर

SELECT RIGHT(registration_number, 3) FROM Vehicles;

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×