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
Edgars2007
.
last ID: https://quarry.wmflabs.org/run/115716/output/0/json
Toggle Highlighting
SQL
USE lvwiki_p; SELECT * #p.page_namespace, #p.page_title FROM page p, pagelinks pl2 LEFT JOIN pagelinks pl ON pl.pl_title = p.page_title AND pl.pl_namespace = p.page_namespace INNER JOIN page p2 ON p.page_id = p2.page_id #inner JOIN pagelinks pl2 ON pl2.pl_from = p.page_id #INNER JOIN categorylinks cl ON p.page_id = cl.cl_from AND cl.cl_to<>"Izolētie_raksti" AND cl.cl_to<>"Nozīmju_atdalīšana" #WHERE pl.pl_namespace IS NULL and p.page_is_redirect=0 and p.page_namespace=0 and p.page_title="Mioma" WHERE p.page_is_redirect=0 and p.page_namespace=0 and p.page_title="Mioma" and pl2.pl_from=p2.page_id #and pl_from 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...