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
Danilo.mac
.
100 categorias vazias, 100 categorias com 1 página, 100 categorias com 2 páginas e 100 categorias com 3 páginas. O "ORDER BY RAND()" garante que as amostras sejam aleatórias, dando assim uma ideia melhor do conjunto total que elas representam. Foram excluídas as categorias iniciadas por "!" e os redirecionamentos de categorias.
Toggle Highlighting
SQL
SELECT CONCAT('Categoria:', cat_title) FROM category INNER JOIN page ON cat_title = page_title AND page_namespace = 14 WHERE cat_pages = 0 AND cat_title NOT IN ( SELECT page_title FROM page INNER JOIN categorylinks ON cl_from = page_id AND cl_to = '!Redirecionamentos_de_categorias' WHERE page_namespace = 14 ) AND cat_title NOT LIKE '!%' LIMIT 100; SELECT CONCAT('Categoria:', cat_title) FROM category INNER JOIN page ON cat_title = page_title AND page_namespace = 14 WHERE cat_pages = 1 AND cat_title NOT IN ( SELECT page_title FROM page INNER JOIN categorylinks ON cl_from = page_id AND cl_to = '!Redirecionamentos_de_categorias' WHERE page_namespace = 14 ) AND cat_title NOT LIKE '!%' LIMIT 100;SELECT CONCAT('Categoria:', cat_title) FROM category INNER JOIN page ON cat_title = page_title AND page_namespace = 14 WHERE cat_pages = 0 AND cat_title NOT IN ( SELECT page_title FROM page INNER JOIN categorylinks ON cl_from = page_id AND cl_to = '!Redirecionamentos_de_categorias' WHERE page_namespace = 14 ) AND cat_title NOT LIKE '!%' LIMIT 100;
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...