Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Categories which are grand-children of themselves
by
Estopedist1
This query is marked as a draft
This query has been published
by
Edgars2007
.
Toggle Highlighting
SQL
#USE stopthisrun; USE etwiki_p; SELECT CONCAT('* [[:Category:', REPLACE(p1.page_title,'_',' '), ']]') AS cats FROM categorylinks AS cl1 INNER JOIN page AS p1 ON p1.page_id = cl1.cl_from AND p1.page_namespace = 14 AND cl1.cl_type = 'subcat' INNER JOIN categorylinks cl2 ON cl2.cl_to = p1.page_title INNER JOIN page AS p2 ON p2.page_id = cl2.cl_from AND p2.page_namespace = 14 AND cl2.cl_type = 'subcat' WHERE p2.page_title = cl1.cl_to #ignore VÄLISMAA ASJAD #PÄHKEL * [[:Category:Eesti arheoloogia]] ja * [[:Category:Eesti esiajalugu]] (vt võõrvikide sys arutelu) #PÄHEKL * [[:Category:Eestlaste muistne vabadusvõitlus]] ja * [[:Category:Mõõgavendade ordu]] #PÄHKEL * [[:Category:Kokandus]] ja * [[:Category:Toit]] #PÄHKEL * [[:Category:Mütoloogia]] ja * [[:Category:Religioon]] #PÄHKEL * [[:Category:Sümboolika]] ja * [[:Category:Sümbolid]] #PÄHKEL * [[:Category:Poliitika]] ja * [[:Category:Politoloogia]] #PÄHKEL * [[:Category:Veliki Novgorod]] ja * [[:Category:Novgorodi ajalugu]] (segaduse pundar, sh :ru-s GROUP BY cats LIMIT 30;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...