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
DannyS712
.
Toggle Highlighting
SQL
USE enwikinews_p; SELECT count(*), a.* FROM archive_userindex a WHERE ar_actor = 2782834 GROUP BY ar_title /* USE wikidatawiki_p; SELECT pg.page_title AS `Redirect from`, r.rd_title AS `Redirect to` #pg.*, r.* FROM page pg JOIN redirect r ON r.rd_from = pg.page_id WHERE page_is_redirect = 1 AND pg.page_namespace = 0 AND EXISTS ( SELECT 1 FROM page pg2 WHERE pg2.page_title = pg.page_title AND pg2.page_namespace = 1 AND pg2.page_is_redirect = 0 LIMIT 1 ) AND NOT EXISTS ( SELECT 1 FROM page pg3 WHERE pg3.page_title = r.rd_title AND pg3.page_namespace = 1 LIMIT 1 ) LIMIT 100; /* SELECT pp.pp_value #pg.page_id, pl.*, pp.* FROM pagelinks pl JOIN page AS pg ON page_title = pl_title AND page_namespace = pl_namespace JOIN page_props AS pp ON pp_page = page_id AND pp_propname = 'wikibase_item' WHERE pl_from = 39377526 AND EXISTS ( SELECT 1 FROM categorylinks WHERE cl_from = pg.page_id AND cl_to = 'Living_people' ) */
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...