Multiple choice technology databases

Identify the correct output --- select CONCAT('ORACLE' || 'BASICS') from dual;

  1. ORACLE BASICS

  2. ORACLEBASICS

  3. oraclebasics

  4. oracleBasics

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

The || operator performs string concatenation in Oracle SQL. CONCAT('ORACLE' || 'BASICS') first evaluates 'ORACLE' || 'BASICS' to 'ORACLEBASICS', then CONCAT receives this single result. The output is 'ORACLEBASICS' with no space added. Option A shows a space that isn't present in the input.