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
MisterSynergy
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT DISTINCT logging.log_title, COUNT(pagelinks.pl_from) AS backlinks, actor_logging.actor_name, logging.log_timestamp FROM logging JOIN pagelinks ON logging.log_title=pagelinks.pl_title AND logging.log_namespace=pagelinks.pl_namespace JOIN actor_logging ON logging.log_actor=actor_logging.actor_id WHERE logging.log_namespace=0 AND pagelinks.pl_from_namespace=0 AND logging.log_type='delete' AND logging.log_action='delete' AND logging.log_page NOT IN (SELECT page_id FROM page WHERE page_namespace=0) GROUP BY logging.log_title, actor_logging.actor_name, logging.log_timestamp ORDER BY logging.log_timestamp ASC;
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...