I want to create a column in a table in postgres for special needs, this column must consist for example of a concatenation of two another column.
for example i have
LAYER: 'accessory'
TYPE: 'copper'
I want a column (symbology) to be filled automatically during an insertion or an update by
SYMBOLOGY: 'accessory - copper'
do I need a trigger to do this or is there some other ways to avoid the trigger.
Illustration
| LAYER | TYPE | SYMBOLOGY |
|---|---|---|
| accessory | copper | accessory - copper |
cordially