Quantcast
Channel: ITPUB论坛-专业的IT技术社区
Viewing all articles
Browse latest Browse all 18583

求教日期区间计算SQL

$
0
0
原始数据为 id inv_date 101 2016-01-01 101 2016-01-02 101 2016-01-04 102 2016-01-07 102 2016-01-09 101 2016-01-11 需要的结果是根据ID去计算每个ID的开始日期和结束日期 STAT_dATE 当前这个记录的INV_DATE ...

Viewing all articles
Browse latest Browse all 18583

Trending Articles