Explain the cube operator?
Answer / Abhishek Swaroop
The CUBE operator in SQL creates a cross product of all possible groupings of columns in a query's result set, including all single-column groupings. It is similar to the GROUP BY operator but generates more rows by aggregating data across multiple dimensions. The resulting table has one row for each unique combination of grouped values.nnFor example:n```sqlnSELECT department, job_title, COUNT(*) FROM employees GROUP BY CUBE (department, job_title);```
| Is This Answer Correct ? | 0 Yes | 0 No |
How would you design a database for an online site, which would average a million hits a day?
What are the three types of database design?
There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?
What is dbms explain in brief?
What are the constraints on severity level in raiseerror?
Who are end users in dbms?
what is difference between primary key and unique key ?
Explain about the hierarchical model of the database?
What is a database development?
Explain about query and reporting.
Explain what a database is?
How to use online Backups?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)