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
Zdzislaw
.
Toggle Highlighting
SQL
use plwikisource_p; SELECT count(SUBSTRING_INDEX(page_title, '/', 1)) as nie_trns, FIRST(page_title) as jedna_ze_stron_indeksu FROM categorylinks LEFT JOIN page ON page_id=cl_from WHERE cl_to in ('Uwierzytelniona', 'Skorygowana', 'Nieskorygowana') AND page_title NOT IN (SELECT tl_title FROM templatelinks WHERE tl_namespace=100 AND tl_from_namespace=0) GROUP BY SUBSTRING_INDEX(page_title, '/', 1) ORDER BY nie_trns DESC;
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...