When do we use group by clause in a sql query?
Answer / Indresh Kumar
The GROUP BY clause is used in SQL queries to group rows that have the same values in specified columns. It is typically used when performing aggregate functions such as SUM, AVG, MIN, MAX, or COUNT on the result set.
| Is This Answer Correct ? | 0 Yes | 0 No |
Please explain oracle left join with an example?
What are the differences between a sys and system user and what are the extra privileges available to the sys user?
How to create a new oracle data file?
Define the SGA and: How you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?
In oracle there is column command, how will you explain that?
What is Partitions in Table ?
There is a big table with "n" of rows and 40 + columns .It doesn't have primary key.How do you select the primary key. In other words how do you get the duplicate records.
What is the effect of setting the value 'FIRST_ROWS' for OPTIMIZER_GOAL parameter of the ALTER SESSION command ?
what are stored procedures?
What privilege is needed for a user to connect to oracle server?
what is cartesian product?
What happens to the current transaction if the session is ended?