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
لوقا
.
Toggle Highlighting
SQL
/* SELECT ROW_NUMBER() OVER(ORDER BY COUNT(DISTINCT lt_title) DESC) AS id, page_title, COUNT(DISTINCT lt_title) AS "count" FROM page INNER JOIN pagelinks ON pagelinks.pl_from = page.page_id INNER JOIN linktarget ON pagelinks.pl_target_id = linktarget.lt_id AND lt_namespace = 2 WHERE page_title LIKE "%إداريون/تصويت%" GROUP BY page_title ORDER BY "count" DESC; */ SELECT ROW_NUMBER() OVER(ORDER BY COUNT(DISTINCT lt_title) DESC) AS id, page_title, COUNT(DISTINCT lt_title) AS "count" FROM page INNER JOIN templatelinks ON templatelinks.tl_from = page.page_id INNER JOIN linktarget ON templatelinks.tl_target_id = linktarget.lt_id and lt_namespace = 10 AND lt_title in ("مع") WHERE page_title LIKE "%إداريون/تصويت%" GROUP BY page_title ORDER BY "count" 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...