Answer & Explanation

4 Answers
Verified Correct Answer

Option A

SELECT id,LOWER(TRIM(email)) AS normalized_email FROM customers WHERE email IS NOT NULL;
Additional Explanation
Correct implementation. Prefer parameterized queries in application code, validate affected rows for UPDATE/DELETE, and use transactions for related writes.
Sarkari Resultess
Editorial Answer 1
Verified

Option B

Compare NULL using = NULL.
Additional Explanation
This option is incorrect for the stated requirement.
Sarkari Resultess
Editorial Answer 2
Verified

Option C

Use DELETE for the transformation.
Additional Explanation
This option is incorrect for the stated requirement.
Sarkari Resultess
Editorial Answer 3
Verified

Option D

Use string concatenation without handling NULL values.
Additional Explanation
This option is incorrect for the stated requirement.
Sarkari Resultess
Editorial Answer 4