adplus-dvertising
frame-decoration

Question

In which scenario would you use the ROLLUP operator for expression or columns within a GROUP BY clause?

a.

To find the groups forming the subtotal in a row

b.

To create group-wise grand totals for the groups specified within a GROUP BY clause

c.

To create a grouping for expressions or columns specified within a GROUP BY clause in one direction, from right to left for calculating the subtotals

d.

To create a grouping for expressions or columns specified within a GROUP BY clause in all possible directions, which is cross-tabular report for calculating the subtotals

Posted under DBMS

Answer: (c).To create a grouping for expressions or columns specified within a GROUP BY clause in one direction, from right to left for calculating the subtotals

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. In which scenario would you use the ROLLUP operator for expression or columns within a GROUP BY clause?

Similar Questions

Discover Related MCQs

Q. EMPDET is an external table containing the columns EMPNO and ENAME. Which command would work in relation to the EMPDET table?

Q. __________ are used to ensure that transactions access each data item in order of the transactions’ ____ if their accesses conflict.

Q. A concurrency-control policy such as this one leads to ______ performance, since it forces transactions to wait for preceding transactions to finish before they can start.

Q. In concurrency control policy the the lock is obtained on

Q. Which server can joins the indexes when only multiple indexes combined can cover the query:

Q. Which are types of recovery control techniques:

Q. How many types of recovery control techniques:

Q. Copying files to secondary or specific devices is known as ______

Q. Database security helps organizations to protect data from _____

Q. Optimization basically related to the Rewrite module is termed as_______

Q. Optimization that is basically related to the rewriter module is termed as__________

Q. Which is duplication of computer operations and routine backups to combat any unforeseen problems:

Q. Which is a duplicate copy of a file program that is stored on a different storage media than the original location:

Q. Which is refers to a stalemate situation due to which no further progress is possible as computer await response of each other:

Q. Which formal method that locates and analyses relation schemas on the basis of their primary, candidate keys, and the FD’s that are present among the attributes of these schemas:

Q. Which is the process of breaking a relation into multiple relations:

Q. E.F.Codd developed the normalization process in the which early:

Q. Who developed the normalization process:

Q. How many types of insertion anomalies:

Q. The database design prevents some data from being represented due to _______