MAX query using CAML

前端 未结 5 678
滥情空心
滥情空心 2021-01-05 05:17

I want to select a sharepoint list item which has the Maximum value for a particular column. How can I do this using CAML queries?

5条回答
  •  南方客
    南方客 (楼主)
    2021-01-05 05:59

    This can be done ordering by this field in descending way and taking the first element of the collection returned.

提交回复
热议问题