Question
SELECT item name, color, clothes SIZE, SUM(quantity)
FROM sales
GROUP BY rollup(item name, color, clothes SIZE);
a.
8
b.
4
c.
2
d.
1
Posted under DBMS
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. How many grouping is possible in this rollup?
Similar Questions
Discover Related MCQs
Q. Which one of the following is the right syntax for DECODE ?
View solution
Q. Which of these query will display the the table given below ?
View solution
Q. Select * from employee where employee_id>1009;
Which of the following employee_id will be displayed?
View solution
Q. Consider the two relations instructor and department. Which of the following is used to create view for these relations together?
View solution
Q. Which of the following is used to provide privilege to only a particular attribute ?
View solution
Q. Which of the following statement is used to remove the privilege from the user Amir ?
View solution
Q. Which of the following is used to provide delete authorization to instructor ?
View solution
Q. Which of the following is true regarding views ?
View solution
Q. If we wish to grant a privilege and to allow the recipient to pass the privilege on to other users, we append the __________ clause to the appropriate grant command.
View solution
Q. In authorization graph if DBA provides authorization to u1 which in turn gives to u2 which of the following is correct ?
View solution
Q. Which of the following is used to avoid cascading of authorizations from the user ?
View solution
Q. The granting and revoking of roles by the user may cause some confusions when that user role is revoked .To overcome the above situation
View solution
Suggested Topics
Are you eager to expand your knowledge beyond DBMS? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!