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
ԱշոտՏՆՂ
.
Toggle Highlighting
SQL
WITH NonFreeImages AS (SELECT DISTINCT page_title AS title FROM page AS p JOIN categorylinks cl ON p.page_id = cl.cl_from WHERE cl.cl_to = 'Բոլոր_ոչ_ազատ_պատկերներ' AND p.page_namespace = 7), Movies AS (SELECT DISTINCT page_id as movie_id FROM page AS p JOIN categorylinks cl ON p.page_id = cl.cl_from WHERE cl.cl_to = 'Ֆիլմեր_այբբենական_կարգով' AND p.page_namespace = 0) SELECT DISTINCT page_title FROM page, il_to JOIN Movies as m ON page_id = movie_id JOIN imagelinks ON page_id = il_from WHERE page_is_redirect = 0 AND page_namespace = 0 AND il_to NOT IN (SELECT title FROM NonFreeImages) LIMIT 100
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...