This query is marked as a draft This query has been published by Lê Song Vĩ.

SQL

AخA
 
SELECT CONCAT('[[:Tập tin:', REPLACE(i.il_to, '_', ' '), '|', REPLACE(i.il_to, '_', ' '), ']]') AS "Tên tập tin", COUNT(*) AS "Số bài viết liên kết" FROM imagelinks i
INNER JOIN page p ON p.page_title = i.il_to
INNER JOIN categorylinks c ON p.page_id = c.cl_from
WHERE c.cl_to LIKE REPLACE("Hình không tự do", " ", "_")
GROUP BY i.il_to
HAVING COUNT(i.il_to) >= 2
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...