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
Anerka
.
Toggle Highlighting
SQL
USE trwiki_p; SELECT COUNT(*) AS "Toplam", COUNT(DISTINCT page_title) AS "Toplam sayfa", COUNT(DISTINCT il_to) AS "Toplam dosya" FROM page JOIN imagelinks ON page_id = il_from WHERE (NOT EXISTS( SELECT 1 FROM image WHERE img_name = il_to)) AND (NOT EXISTS(SELECT 1 FROM commonswiki_p.page WHERE page_title = il_to AND page_namespace = 6)) LIMIT 20; USE trwiki_p; SELECT CONCAT('# [[Dosya:',il_to,']]') AS "link_to", COUNT(DISTINCT page_title) AS "Sayı" FROM page JOIN imagelinks ON page_id = il_from WHERE (NOT EXISTS( SELECT 1 FROM image WHERE img_name = il_to)) AND (NOT EXISTS(SELECT 1 FROM commonswiki_p.page WHERE page_title = il_to AND page_namespace = 6)) GROUP BY il_from_namespace ORDER BY COUNT(page_title) DESC LIMIT 20;
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...