If any expression is null the return value is database-specific: On PostgreSQL, the maximum not-null expression is returned. On MySQL, Oracle, and SQLite, if any expression is null, null is returned.
This method overrides django.db.models.expressions.SQLiteNumericMixin.as_sqlite.