PLD11: Totals directive in SQL Window

Bert Gombos

Member²
This doesn't work correctly.

-- Totals=[max:pct_free]
select *
from user_tables;

This causes warning: Unknown column for totals: "PCT_FREE]"

But "-- Totals=[max:pct_free" works sometimes.

How can I use multiple directives?
 
You should not use brackets:

-- Totals=max:pct_free

For multiple columns:

-- Totals=max:pct_free,pct_used,sum:blocks

This displays the maximum value for the pct_free and pct_used columns, and the sum for the blocks column.
 
Back
Top