i want to get back all the documents over a site collection that have the biggest number of likes ? How can I do this writing a caml query? That's what i have tried so far:
SPQuery query = newSPQuery();
Query.query = @ "<where> <Eq> <FieldRef Nom= 'NumberOfLikes'/> <ValueType = 'Integer'> 5 </value> </Eq> </where>"
This enables me to have the documents that have 5 number of likes but I want those who have the biggest number of likes :s
Thanks for your help