min ( see text ) → same as input typeComputes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as
bytea, inet, interval, money, oid, pg_lsn, tid, xid8, and also arrays and composite types containing sortable data types.