Fork of lista redaktorów plwikisource z ponad 10 edycjami w ostatnim 3/4 roku by Draco flavus
This query is marked as a draft This query has been published by Draco flavus.

SQL

x
 
USE plwikisource_p;
SELECT  pl_namespace as namespace, pl_title as title, , COUNT( * ) as abc 
FROM pagelinks
LEFT JOIN page as pg1
pg1.page_namespace = pl_namespace and pg1.page_title = pl_title;
LEFT JOIN page as pg2
pg2.page_id = pl_from;
WHERE pg1.page_namespace IS NULL AND pl_namespace NOT IN ( 2, 3 ) and pg2.page_namespace != 8
HAVING COUNT(*) > 0 and COUNT(*) > SUM(pg2.page_is_redirect)
GROUP BY pl_namespace, pl_title; 
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...