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
Wurgl
.
nicht kategorisierte Weiterleitungen zu Orten in Oberösterreich
Toggle Highlighting
SQL
USE dewiki_p; SELECT weiterleitung.page_title, ziel_seite.page_title FROM page as weiterleitung, redirect, categorylinks AS ziel_kategorie, page as ziel_seite WHERE weiterleitung.page_namespace = 0 /*AND weiterleitung.page_is_redirect = 1*/ AND rd_from = weiterleitung.page_id AND ziel_seite.page_title = rd_title AND ziel_seite.page_namespace = rd_namespace AND ziel_kategorie.cl_from = ziel_seite.page_id AND ziel_kategorie.cl_to = "Gemeinde_in_Oberösterreich" AND NOT EXISTS (SELECT 1 FROM categorylinks AS c2 WHERE c2.cl_from = weiterleitung.page_id ) LIMIT 5;
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...