``` WHEN OLD.rental_cost = NULL AND NEW.date_back != NULL ``` NULL will never compare properly that way. Use `IS NULL` and `IS NOT NULL` to compare against NULL values.
``` WHEN OLD.rental_cost = NULL AND NEW.date_back != NULL ``` NULL will never compare properly that way. Use `IS NULL` and `IS NOT NULL` to compare against NULL values.