CBSE Class 12 Informatics Practices
Question 16 of 44
Solved 2025 Sample Question Paper CBSE Class 12 Informatics Practices (065) — Question 16
Back to all questions 16
Question Match the following SQL functions/clauses with their descriptions:
| SQL Function | Description | ||
|---|---|---|---|
| P. | MAX() | 1. | Find the position of a substring in a string. |
| Q. | SUBSTRING() | 2. | Returns the maximum value in a column. |
| R. | INSTR() | 3. | Sorts the data based on a column. |
| S. | ORDER BY | 4. | Extracts a portion of a string. |
- P-2, Q-4, R-3, S-1
- P-2, Q-4, R-1, S-3
- P-4, Q-3, R-2, S-1
- P-4, Q-2, R-1, S-3
P-2, Q-4, R-1, S-3
Reason —
The
MAX()function is used to return the maximum value from a specified column in a database table.The
SUBSTRING()function extracts a portion of a string based on specified starting position and length.The
INSTR()function returns the position of a substring within a string.The
ORDER BYclause is used to sort the result set based on one or more columns in ascending or descending order.