SQLite Forum

Error Code : Error while executing SQL query on database ‘test’: no such column: price
Login
```
          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.