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
Cheetah90
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT page.page_title AS page_title FROM (SELECT foreign_inlinks.pl_from AS pl_from FROM (SELECT pl_from FROM pagelinks WHERE pl_namespace = 0 AND pl_title = 'Vladimir_Putin') AS putin_inlinks, (SELECT pl_from FROM pagelinks WHERE pl_namespace = 0 AND pl_title = 'Donald_Trump') AS foreign_inlinks WHERE putin_inlinks.pl_from = foreign_inlinks.pl_from) AS foreign_putin_inlinks INNER JOIN page ON foreign_putin_inlinks.pl_from = page.page_id and page.page_namespace = 0
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...