Sql Year Data Type Syntax Python If Function