Removes extended statistics.
DROP STATISTICS [ IF EXISTS ] <name> [, ...] [ CASCADE | RESTRICT ]
DROP STATISTICS
removes statistics object(s) from the database. Only the statistics object's owner, the schema owner, or a superuser can drop a statistics object.
IF EXISTS
Destroy two statistics objects in different schemas, without failing if they do not exist:
DROP STATISTICS IF EXISTS
accounting.users_uid_creation,
public.grants_user_role;
There is no DROP STATISTICS
command in the SQL standard.
ALTER STATISTICS, CREATE STATISTICS
Parent topic: SQL Commands