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

SQL

AخA
 
USE zhwiki_p;
select CONCAT("User:", page_title) as "title", cl_to as "category" from 
(select * from page where page_title LIKE "%.js" and page_namespace = 2) userjs
left join categorylinks on userjs.page_id = categorylinks.cl_from
where categorylinks.cl_from is not null
group by 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.
All SQL code is licensed under CC0 License.

Checking query status...