Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Texts without scan, ordered by number of pages
by
Candalua
This query is marked as a draft
This query has been published
by
OrbiliusMagister
.
Toggle Highlighting
SQL
select replace(concat('[[', Titolo, ']]'), '_', ' ') AS Titolo, replace(concat('[[Discussione:', d.page_title, ']]'), '_', ' ') AS Discussione, Sottopagine from ( select SUBSTRING_INDEX(p.page_title, '/', 1) AS Titolo, count(*) as Sottopagine from page p join categorylinks on cl_from = page_id and cl_to = 'Sottopagine_senza_versione_cartacea_a_fronte' where p.page_namespace = 0 and p.page_is_redirect = 0 group by SUBSTRING_INDEX(p.page_title, '/', 1) ) i left join page d on d.page_title = Titolo and d.page_namespace = 1 order by Sottopagine desc, Titolo
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...