How do I determine the CAML equivalent for a SQL query?
-
16-10-2019 - |
Question
I want to write an equivalent CAML query for the given SQL Query below:
select top 10 * from TestTable where ItemID in ( select top 10 ItemID from TestTable order by Views desc) order by UserName desc;
How do I do this?
Solution
Check out U2U CAML Query Builder, it'll help you build any number of CAML Query possibilities that you need.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange