This query is marked as a draft This query has been published by Bulgu.

SQL

x
 
SELECT p.page_id, p.page_title, count(*) as iwlcount
FROM page p join iwlinks iwl on iwl.iwl_from = p.page_id 
where p.page_namespace = 0 and p.page_id is not in 
(SELECT pp.page_id from page pp join iwlinks iwtr on iwtr.iwl_from = pp.page_id where pp.page_namespace= 0 and iwtr.iwl_prefix = "tr" )
group by 1 order by 3 desc;
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...