Question
Computer Science Question on SQL
What is the output of the SQL statement?
SELECT MID('CUET2024',2,5)?
A
UET2
B
UET20
C
ET202
D
CUET2
Answer
ET202
Explanation
Solution
The MID() function extracts a substring starting from the 2nd character and includes 5 characters, resulting in 'ET202'.