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
Saeidpourbabak
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT catarlan.ll_title, catar.page_namespace, concat('OR page_title LIKE "',cl_to,'"'), catlan.ll_title FROM langlinks AS catarlan JOIN page AS catar ON ll_from = page_id AND catar.page_is_redirect = 0 AND catarlan.ll_lang = 'fa' AND catar.page_namespace = 0 # or 14 JOIN categorylinks ON page_id = cl_from JOIN page AS cat ON cat.page_title = cl_to AND cat.page_is_redirect = 0 AND cat.page_namespace = 14 JOIN langlinks AS catlan ON catlan.ll_from = cat.page_id AND catlan.ll_lang = 'fa' AND (1 > 2 #---------------------------------------------------------- OR cl_to LIKE "1965_animated_films" #-------------------------------------------------------- ) ORDER BY cl_to;
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...