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
Ruthven
.
Toggle Highlighting
SQL
USE itwiki_p; SELECT CONCAT('# [[', page_title, ']] - [[', rd_title, ']] ([[Speciale:PuntanoQui/', page_title, ']])') FROM page JOIN redirect ON page_id=rd_from WHERE page_namespace=0 AND rd_namespace = 0 AND page_title LIKE "Al%" AND NOT EXISTS ( SELECT * FROM page AS p JOIN (pagelinks, categorylinks) ON p.page_id = pl_from AND p.page_id = cl_from WHERE p.page_namespace IN (0, 4, 10, 12, 100, 102) AND pl_namespace = 0 AND pl_title = page.page_title AND NOT cat_title = 'Redirect_da_mantenere_orfani') ORDER BY page_title LIMIT 50 #GROUP BY oi_name #ORDER BY page_title #DESC ;
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...