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 a, catar.page_namespace b, concat('OR page_title LIKE "',cl_to,'"') c, catlan.ll_title d 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' WHERE (1 > 2 #---------------------------------------------------------- OR cl_to LIKE "East_Germany_at_multi-sport_events" OR cl_to LIKE "West_Germany_at_multi-sport_events" OR cl_to LIKE "Antigua_and_Barbuda_at_multi-sport_events" OR cl_to LIKE "Anguilla_at_multi-sport_events" OR cl_to LIKE "Armenia_at_multi-sport_events" OR cl_to LIKE "Eritrea_at_multi-sport_events" OR cl_to LIKE "Finnish_people_executed_by_the_Soviet_Union" #-------------------------------------------------------- ) 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...