I want to add the values that are in VLR_TOTAL
where NOMBRE
equals Expansion
and NOMBRE
equals Mantenimiento.
I have the following query:
SELECT SUM(VLR_TOTAL) FROM bodega_moviles WHERE NOMBRE = Expansion AND
NOMBRE = Mantenimiento
but throws me as a result
SUM(VLR_TOTAL)
NULL