I have to bring these documents from the table that have the specific word, and I have to use the order to get the first documents that have the highest score, first. eg
Document 1: this is a school. this is my school
Document 2: this is our school
Document 3: my school is this
Now if i use
select Document.Id, Document_Word.Location
from Document, Document_Word, word
where Document.Id = Document_Word.Document_Id
and Document_Word.Word_Id = Word.Id
and Word.Word = 'this'
Cancel

I want to order in decreasing order of counting a unique identifier ... I really need a LINQ query for this problem
This is my database schema.

I hope that I clearly stated my problem ...
source
share