Class - 12 CBSE Computer Science Important Output Questions 2025
What will be the output of following code ?
mysql> SELECT CONCAT(LOWER('Class'), UPPER('xii'));
SQL Queries
3 Likes
Answer
+--------------------------------------+
| CONCAT(LOWER('Class'), UPPER('xii')) |
+--------------------------------------+
| classXII |
+--------------------------------------+
Working
In the query, LOWER('Class')
converts 'Class' to lowercase, resulting in 'class', and UPPER('xii')
converts 'xii' to uppercase, resulting in 'XII'. The CONCAT()
function then combines these two results, producing the final output 'classXII'.
Answered By
3 Likes