English

What will be the output of the following SQL query: SELECT RIGHT ("CHANDRAYAN3", 4); - Informatics Practices

Advertisements
Advertisements

Question

What will be the output of the following SQL query:

SELECT RIGHT ("CHANDRAYAN3", 4);

Short Answer

Solution

"YAN3"

Explanation:

The RIGHT() method returns the rightmost character in a string. In this case, the string "CHANDRAYAN3" creates the string's rightmost four characters, "YAN3." 

shaalaa.com
  Is there an error in this question or solution?
2023-2024 (February) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×