This commit is contained in:
liqionghai
2025-09-01 12:02:14 +08:00
parent 65a090f723
commit 7f080314d6
5 changed files with 35 additions and 11 deletions

View File

@@ -57,7 +57,7 @@ FROM YingShouZhanKuanJY_GZTH A
INNER JOIN (
SELECT
FID,
ROW_NUMBER() OVER (ORDER BY FID) as row_num1
ROW_NUMBER() OVER (ORDER BY [DATE] DESC,[FID]) as row_num1
FROM YingShouZhanKuanJY_GZTH
) B On A.FID = B.FID