筆記筆記
USE Northwind select Employeeid , year(getdate())-year(birthdate) from Employees
USE Northwind select Employeeid ,DATEDIFF(yy,birthdate,getdate()) from Employees