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
XXN
.
Toggle Highlighting
SQL
/*use rowiki_p; select CONCAT('* [[',page_title,']]') as "titlu", count(cl_to) as "categorii" from page JOIN templatelinks ON tl_from = page_id join categorylinks on cl_from = page_id WHERE tl_namespace = 10 AND page_namespace = 0 and tl_title IN ("Data_nașterii_și_vârsta", "Dnv", "Bda", "Birth_date_and_age") group by cl_from having count(cl_to) < 4 order by categorii asc*/ /**/ use rowiki_p; select CONCAT('* [[',page_title,']]') as "titlu", count(cl_to) from page JOIN templatelinks ON tl_from = page_id join categorylinks on cl_from = page_id WHERE tl_namespace = 10 AND page_namespace = 0 and tl_title IN ("Data_nașterii", "Data_decesului", "Death_date", "Birth_date", "Data_decesului_și_vârsta", "Dda", "Ddv") group by cl_from having count(cl_to) < 6/**/
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...