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
Vexations
.
Toggle Highlighting
SQL
# unreviewed articles by number of external links SELECT page_title, COUNT(*) AS links # , TRIM(LEADING 'www.' FROM SUBSTRING_INDEX(SUBSTRING_INDEX(el_to, '/', 3),'/',-1)) AS site FROM externallinks, page, pagetriage_page WHERE el_from = page_id AND page_namespace = 0 AND page_id = ptrp_page_id AND ptrp_reviewed = 0 GROUP BY page_title HAVING COUNT(*) <= 1 ORDER BY links DESC;
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...