What will be the output of the below LIKE query (4)?

13. What will be the output of the below LIKE query?

WHERE SALARY LIKE '_10%8'
  1. It will find any value that has a 10 at the starting position and ends with 8.
  2. It will find any value that has a 10 in the second position and ends with 8.
  3. It will find any value that has a 10 in the third position and also has 8.
  4. It will find any value that has a 10 in the second position and starts with 8.

Answer: B) It will find any value that has a 10 in the second position and ends with 8.

Explanation:

It will find any value that has a 10 in the second position and ends with 8.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.