Oracle Error ORA-13766: A ranking measure is required.

Oracle Error Message

ORA-13766: A ranking measure is required.

Reason for the Error

The user attempted to select data from a SQL Tuning Set using a percentage argument without specifying a ranking measure.

Solution

Add a ranking measure or remove the percentage argument and retry the operation.