SQL Function Analysis: The MID() function extracts a substring from a string. The syntax is MID(string, start_position, length).
Breaking down the query: MID('CUET2024', 2, 5)
Evaluating the options:
(1) UET2 → Incorrect (only 4 characters)
(2) UET20 → Correct (positions 2-6: U,E,T,2,0)
(3) ET202 → Incorrect (starts at position 3 instead of 2)
(4) CUET2 → Incorrect (starts at position 1 instead of 2)
Character Position Mapping:
C U E T 2 0 2 4 1 2 3 4 5 6 7 8
The correct output is (3) UET20, as it correctly extracts 5 characters starting from position 2.
List-I (Words) | List-II (Definitions) |
(A) Theocracy | (I) One who keeps drugs for sale and puts up prescriptions |
(B) Megalomania | (II) One who collects and studies objects or artistic works from the distant past |
(C) Apothecary | (III) A government by divine guidance or religious leaders |
(D) Antiquarian | (IV) A morbid delusion of one’s power, importance or godliness |