Multiple choice technology databases

The o/p of the below two queries would be same.. 1.select '1'+1 from dual; 2.select 1+1 from dual;

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Oracle implicitly converts the string '1' to a number when used in arithmetic with + operator. So '1'+1 becomes 1+1, which equals 2. The second query 1+1 also equals 2. Both return the same result.