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
BilledMammal
.
Toggle Highlighting
SQL
WITH direct AS (SELECT * FROM pagelinks AS direct LEFT JOIN page on direct.pl_from = page_id AND page_is_redirect = 1 AND page_namespace = 4 WHERE direct.pl_title = "Naming_conventions_(ancient_Romans)" AND direct.pl_namespace = 4 ) #SELECT page_title #FROM direct #LEFT JOIN pagelinks AS indirect ON direct.page_title = indirect.pl_title #WHERE indirect.pl_namespace = 4 #AND direct.page_id IS NOT NULL #UNION #SELECT page_title #FROM direct #WHERE direct.page_id IS NULL SELECT * FROM direct
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...