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

SQL

AخA
 
select page_title,pl_title from page cat join pagelinks on pl_from=page_id
where page_namespace=14 and page_title regexp "^User_[^-]-[^-]*$"
and not exists (select 1 from page sub where page_namespace=14 and page_title=SUBSTRING_INDEX(cat.page_title,"-",1))
                                                                                
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...