SQL
AخA
SELECT
page_namespace AS "ns",
page_title AS "title",
LENGTH(page_title) AS "title length",
page_len AS "size",
ROUND (
(
CHAR_LENGTH(page_title)
- CHAR_LENGTH( REPLACE ( page_title, "/", "") )
) / CHAR_LENGTH("/")
) AS "count"
FROM page
WHERE page_namespace IN (2, 3)
AND ROUND (
(
CHAR_LENGTH(page_title)
- CHAR_LENGTH( REPLACE ( page_title, "/", "") )
) / CHAR_LENGTH("/")
) > 7
AND page_title NOT LIKE "Ganesh%"
AND page_title NOT LIKE "Nageh/%"
ORDER BY count DESC
LIMIT 500;
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.