PTT
Submit
Submit
选择语言
正體中文
简体中文
PTT
Database
[SQL ] 如何取得员工年资
楼主:
oherman
(qq)
2018-01-29 11:00:16
数据库名称:sql server 2016
数据库版本: 2016
内容/问题描述:
员工到职日为:2017-02-01
员工离职日为:2018-01-31
这样算一年○个月○天
员工到职日为:2017-02-01
员工离职日为:2020-04-01
这样算三年二个月一天
请问我如何用tsql计算相关年资?
作者:
cutekid
(可爱小孩子)
2018-01-29 12:17:00
到职日都是 一号吗
楼主:
oherman
(qq)
2018-01-29 14:27:00
都以一号起算
继续阅读
[讨论] 好用的 IDE for MySQL
pttsasho
[SQL ] 面对特例的情况怎么开Table
vi000246
Re: [SQL ] 请问tsql动态取得前后n年
cutekid
[SQL ] 请问tsql动态取得前后n年
oherman
Re: [MySQL] Select the row which one of the ...
pickman888
Re: [MySQL] Select the row which one of the ...
cutekid
[SQL ] 查询多表格的SQL
joycegirl
[MySQL] Select the row which one of the ...
rrr0832
Re: [SQL ] 资料统计问题
cutekid
[售书]OCA/OCP认证考试指南全册 Oracle Database 12c
pickman888
Links
booklink
Contact Us: admin [ a t ] ucptt.com