请问数据库的年龄给的是出生日期。该怎么算呢?
这样的怎么写呢?
追答你把我的汉字 换成列名就好了 日期你转换成字符串一样的比较
update Employee set Salary = Salary *1.1 where BirthDate>to_date('19600101','yyyymmdd') and BirthDate>to_date('19800101','yyyymmdd') and EmployeeName like '王%'
不对呀
数据库是这样的
追答数据库中我都没看到年份