Files
ayanova7/DevDocs/useful sql queries.txt
2018-06-29 19:47:36 +00:00

9 lines
286 B
Plaintext

Find the most indexed words in the db
=====================================
select x.*, ASEARCHDICTIONARY.AWORD from
(select awordid, count(*) as freq
from asearchkey
group by awordid) as x
left join ASEARCHDICTIONARY on x.awordid = ASEARCHDICTIONARY.aid
order by x.freq desc