This commit is contained in:
8
DevDocs/useful sql queries.txt
Normal file
8
DevDocs/useful sql queries.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
Reference in New Issue
Block a user