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
Outriggr
.
Toggle Highlighting
SQL
USE enwiki_p; select page.page_title, page_props.pp_value as defaultsort from pagelinks inner join page on page.page_title = pagelinks.pl_title and page.page_namespace = pagelinks.pl_from_namespace inner join page_props on page_props.pp_page = page.page_id inner join categorylinks on categorylinks.cl_from = page.page_id where pagelinks.pl_from=54229159 # page id of the article with links and page_props.pp_propname = "defaultsort" and categorylinks.cl_to = "Living_people" # for this article want people only, and they happen to be living
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...