Task: List and Order PostgreSQL Tables by Size
Task: List and Order PostgreSQL Tables by Size: a task in Terminal-Lego-15k (Harbor dataset). Write a SQL script that lists all tables in a PostgreSQL database and orders them by size (largest first). The script should display useful information about each table's disk usage.
The task
Write a SQL script that lists all tables in a PostgreSQL database and orders them by size (largest first). The script should display useful information about each table's disk usage.
Part of PrimeIntellect/Terminal-Lego-15k.