Step 1: Understand the MID function |
The MID() function in SQL is used to extract a substring from a string. The syntax is MID(string, start, length) , where: |
- string is the original string. |
- start is the position where the extraction begins. Positions are 1-based. |
- length is the number of characters to extract. |
Step 2: Applying MID to the given string |
In this case, the SQL statement SELECT MID('CUET2024',2,5) is evaluated. |
- String: 'CUET2024' |
- Start Position: 2 (the character at position 2 is 'U') |
- Length: 5 |
Step 3: Extract the Substring |
Starting from position 2 (which corresponds to 'U') and extracting 5 characters gives us the substring 'UET20'. |
Output |
The result of the SQL statement is UET20. |
Correct Answer: UET20 |
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.
On a relation named Loan of a bank:
Rearrange the parts to form a coherent sentence:
A) when it is no longer fun.
B) stop doing something
C) if you're not growing
D) or learning from it
A consumer experiences the following total utility from consuming a certain good:
If the price per unit is ₹4, at what quantity does the consumer stop purchasing under the equilibrium condition where M U m = 5?
The Darsanams of the Gosangi
Over the costumes, Gosangi wears various objects made up of leather, shells, metal and threads as ornaments. Traditionally, the prominent among them is known as Darsanam-s, which literally means vision or suggesting that which is visible. There are altogether seven Darsanams, which can be neither considered as costumes nor ornaments. But, for an outsider, they may look like ornaments. The first Darsanam that Gosangi wears,cover chest and the back. This is traditionally identified as Rommu Darsanam or Sanku Darsanam. The second one is tied around the neck and called as Kanta Darsanam. The third and fourth ones are tied around the arms of left and right hands. The fifth and sixth ones are tied to the left and right wrists. (For these specific names are mentioned by the performers). The seventh one is known as Siro Darsanam, and it is tied around the already tied hair (koppu). The performers also know all these Dasanam except the Rommu Darsanam and Dasthavejulu (records).
Percussive Musical Instruments of India
India is very rich in the number and variety of musical instruments. From time immemorial, musical instruments have been connected with various Gods and goddesses according to mythol ogy. Musical Instruments have been classified into Thata, Avanadha, Ghana and Sushira. We came across this classification first in Natyashastra. Thata variety, is an instrument with strings and played by plucking or bowing. The instruments like Veena, Sitar, violin, Sarangi etc. come under this category. The Avandha variety are instruments with skin-covered heads, and are played by beating on both sides or one side. Mridangam, Pakhawaj, Tabla etc. come under this category. Ghana vadyas are those made with metal content. Manjira, Ghatom etc. are some of the examples of Ghana Vadya. Sushira Vadya are those instruments with holes and make the sound by blowing air through the holes. Flute, Nagaswaram, Saxophone, Clarinet are some of the examples.