I want to create an alphanumeric sequence in postgresql. Table name is commerces it consists of five columns.
id, type, name, logo, parent (this is a reference to itself)