Questions tagged as 'calculo-relacional'

1
answer

MySQL trigger Calculate previous reading difference with current reading

I have a table that is of meter readings, the fields are: id_lecturas int(10) unsigned NOT NULL fk_contadores int(10) unsigned NULL fecha_lecturas datetime NULL valor_lecturas decimal(10,3) NULL diferencia_lecturas decimal(10,3) NULL When a...
asked by 05.11.2017 / 13:19