Sql query to find out experience why we have to divide by 365

前端 未结 0 1711
感动是毒
感动是毒 2021-02-06 14:59

Display the first name and experience of the employees. select first_name, round((sysdate-hire_date)/365) as exp from hr.employees;

Why it is need to divide by 365?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题