Informatics Practices
Define a function.
SQL Queries
3 Likes
Answer
A function is a special type of predefined command set that performs some operation and returns a single value.
Answered By
3 Likes
Related Questions
Assertion. Multiple rows functions when applied on a column in a table, yield values which are not equal to number of rows in the table.
Reason. The multi-row functions work with data of multiple rows at a time and return aggregated value.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Assertion. The count(*) will yield a single value while round() will yield number of values equal to the cardinality of the table.
Reason. The count (*) is a multiple-rows function and round() is a single-row function.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Explain the UCASE() SQL function using suitable examples.
Explain the TRIM() SQL function using suitable examples.