結果 : sql function to extract year from date