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
Elph
.
With and Without Articles in Arabic Wikipedia
Toggle Highlighting
SQL
USE enwiki_p; SELECT page_title , COUNT(*), page_len, cl_to FROM langlinks JOIN categorylinks ON ll_from = cl_from JOIN page on ll_from = page_id WHERE page_namespace = 0 AND page_is_redirect = 0 AND cl_to IN (SELECT cl_to FROM categorylinks WHERE cl_to LIKE "Aviation in Ukraine" OR cl_to LIKE "Airports in Ukraine") AND page_title NOT IN (SELECT * FROM langlinks AS t WHERE t.ll_lang="ar" AND t.ll_from = langlinks.ll_from ) GROUP BY ll_from ORDER BY COUNT(*) DESC, page_title;
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...