nvalid operation: invalid reference to FROM-clause entry for table code example
Example: invalid reference to FROM-clause entry for table "unidades
remember to use the alias you used in from clause when using a column
remember to use the alias you used in from clause when using a column