2021年9月5日

SqlServer 查询数据表中某个字段最新的一条记录

摘要: 查询语句如下 SID为唯一标识符,COMPONENTID字段为要查询的最新一笔 单表查询: select * from TestResult_COS_RF_TestData where SID in (select max(SID) from TestResult_COS_RF_TestData g 阅读全文

posted @ 2021-09-05 20:16 剩余价值 阅读(960) 评论(0) 推荐(0) 编辑

导航