阅读背景:

要求在SQL中获取最新更新的记录

来源:互联网 

For the below data, I need to fetch the records with latest revision. In the below given data I have two rows with Doc# 5 with Item# 048 and Revision 0 and 1 respectively. My requirement is to fetch the all the records with the max revision. @nd example is doc#17 where there are three revisions available 0,1, and 2 but the requirement is to get the latest revision 2.For the below data, I need to fetch the records




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: