Multiple choice technology

A T- SQL has Group By statements where the column used in the GROUP BY clause need not be a part of the SELECT list. PL/SQL does not allow this type of GROUPBY queries. What should be used in PL/SQL in such scenarios?

  1. Over Partition By

  2. Over Group By

  3. Both

  4. None

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

T-SQL allows columns in GROUP BY that are not in the SELECT list, but PL/SQL prohibits this. The OVER clause with PARTITION BY provides similar functionality in PL/SQL by allowing window functions without the restrictive GROUP BY requirement.