标签:查询 rom col ges partition art esc div style
一、表结构如下:表名test
二、sql
select temp.* from (select test.*, row_number() over(partition by obd_code order by odd desc) rm from test) temp where temp.rm = 1;
标签:查询 rom col ges partition art esc div style
原文地址:http://www.cnblogs.com/lanceblog/p/7601678.html