This query is marked as a draft This query has been published by Wurgl.

SQL

AخA
 
SELECT CONCAT('[[ ', REPLACE(gil_page_title, '_', ' '), ' ]]') AS "Artikel",
       GROUP_CONCAT(CONCAT('[[:Datei: ', REPLACE(page_title, '_', ' '), ' ]]<br/>') SEPARATOR ' ') AS "Bilder"
  FROM page, templatelinks, linktarget, globalimagelinks
 WHERE page_namespace = 6
   AND tl_from = page_id
   AND tl_from_namespace = 6
   AND tl_target_id = lt_id
   AND lt_namespace = 10
   AND lt_title = 'PD-US-no_notice'
   AND gil_to = page_title
   AND gil_wiki = 'dewiki'
   AND gil_page_namespace_id = 0 # ANR im Zielwiki
 GROUP BY gil_page_title
 ORDER BY COUNT(*) DESC
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...