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
Avrahami-isr
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT page_title as article, COUNT(DISTINCT pli.pl_from) as inlinks, COUNT(DISTINCT plo.pl_title) as outlinks FROM page JOIN pagelinks AS pli ON page.page_title = pli.pl_title AND pli.pl_namespace = 0 AND page.page_namespace = 0 AND page.page_is_redirect = 0 JOIN pagelinks AS plo ON page.page_id = plo.pl_from AND plo.pl_namespace = 0 AND page.page_namespace = 0 AND page.page_is_redirect = 0 GROUP BY article 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...