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
Mminovic
.
Toggle Highlighting
SQL
SELECT p.page_id, p.page_title, COALESCE(pp.pp_value, p.page_title) AS display_title, cl.cl_to AS category_name FROM page p LEFT JOIN page_props pp ON p.page_id = pp.pp_page AND pp.pp_propname = 'displaytitle' LEFT JOIN categorylinks cl ON p.page_id = cl.cl_from WHERE p.page_namespace = 0 ORDER BY p.page_id, cl.cl_to LIMIT 10;
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...