Ver originalSELECT fecha,existencia FROM movimientos WHERE modelo='MATE0906' AND FECHA< '2009-01-07' ORDER BY fecha DESC LIMIT 1