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
.
Klappt so nicht! personen die einen Link zu einem Ort in den USA haben, aber nicht die US-Staatsbürgerschaft
Toggle Highlighting
SQL
use dewiki_p; SELECT Person.page_title, Ort.page_title, cl_title FROM page AS Person, templatelinks, categorylinks, pagelinks, page AS Ort WHERE Person.page_namespace = 0 AND tl_from = Person.page_id AND tl_from_namespace = page_namespace AND tl_namespace = 10 AND tl_title = 'Personendaten' AND pl_from = Person.page_id AND pl_from_namespace = page_namespace AND pl_namespace = 0 AND Ort.page_title = pl_to AND Ort.page_namespace = pl_namespace AND cl_from = Ort.page_id /* AND cl_to IN (SELECT */ 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...