Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Bdijkstra
.
Lists category information for category pages that have a category-link to itself. Excludes Noindex-category.
Toggle Highlighting
SQL
SELECT * FROM page WHERE page_namespace=8 AND page_title='Noindex-category'; SELECT revision.* FROM page, revision WHERE page_namespace=8 AND page_title='Noindex-category' AND page_latest=rev_id; SELECT slots.* FROM page, revision, slots WHERE page_namespace=8 AND page_title='Noindex-category' AND page_latest=rev_id AND rev_id=slot_revision_id; SELECT content.* FROM page, revision, slots, content WHERE page_namespace=8 AND page_title='Noindex-category' AND page_latest=rev_id AND rev_id=slot_revision_id AND slot_content_id=content_id; /*SELECT cl_to AS cat FROM categorylinks, page WHERE cl_to!='Wikipedia:Niet_te_indexeren_pagina\'s' AND cl_from=page_id AND page_namespace=14 AND cl_to=page_title*/
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...