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
RiazACU
.
Toggle Highlighting
SQL
USE bnwiki_p; SELECT concat("# [[:চিত্র:",REPLACE(REPLACE(p.page_title, '"', '**DOUBLEQUOTE**'), '_', ' '),"]]") FROM page p INNER JOIN (image e JOIN commonswiki.image c ON c.img_sha1 = e.img_sha1) ON e.img_name = p.page_title #LEFT JOIN categorylinks c1 ON c1.cl_from = p.page_id AND c1.cl_to = 'All_Wikipedia_files_with_a_different_name_on_Wikimedia_Commons' #LEFT JOIN categorylinks c2 ON c2.cl_from = p.page_id AND c2.cl_to = 'All_Wikipedia_files_with_the_same_name_on_Wikimedia_Commons' #LEFT JOIN categorylinks c3 ON c3.cl_from = p.page_id AND c3.cl_to = 'Wikipedia_files_on_Wikimedia_Commons_for_which_a_local_copy_has_been_requested_to_be_kept' WHERE p.page_namespace = 6 #AND c1.cl_from IS NULL #AND c2.cl_from IS NULL #AND c3.cl_from IS NULL
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...