Informatics Practices
Assertion. Multi-row functions when applied on a column in a table, yield values which are not equal to number of rows in the table.
Reason. Multiple-rows functions do not work with all the rows in the table.
- 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.
SQL Queries
1 Like
Answer
A is true but R is false.
Explanation
Multiple row functions when applied on a column in a table, work on multiple rows together and return a summary result for a group of rows. Hence, the result values are not equal to number of rows in the table.
Answered By
1 Like
Related Questions
INSTR() and SUBSTR() work identically.
Assertion. Single row functions when applied on a column in a table, yield multiple values equal to number of rows in the table.
Reason. Single row functions work with individual rows and yield values accordingly.
- 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. 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.