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
Peter Bowman
.
https://pl.wikipedia.org/w/index.php?title=Wikipedia:Zadania_dla_bot%C3%B3w&oldid=64388086#Przekierowania *** missing condition in WHERE clause: `p2.page_namespace = 0` ***
Toggle Highlighting
SQL
select p1.page_title as "disambiguation", p2.page_title as "redirect", rd_title as "target", rd_fragment from pagelinks inner join page as p1 on p1.page_id = pl_from inner join page_props on p1.page_id = pp_page inner join page as p2 on p2.page_title = pl_title inner join redirect on p2.page_id = rd_from where pl_from_namespace = 0 and pl_namespace = 0 and pp_propname = "disambiguation" and rd_namespace = 0 and rd_fragment != null limit 10;
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...