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
KRLS
.
Toggle Highlighting
SQL
(SELECT p.page_title, count(ll.ll_lang) AS 'Llengües', GROUP_CONCAT(ll.ll_lang SEPARATOR ', ') AS 'Llistat de llengües' FROM cawiki_p.page p LEFT JOIN cawiki_p.langlinks ll ON p.page_id = ll.ll_from WHERE p.page_namespace = 0 AND p.page_is_redirect <> 1 AND p.page_title IN ("Ada_Castells_Ferrer") GROUP BY p.page_title) UNION ALL (SELECT p.page_title, count(ll.ll_lang) AS 'Llengües', GROUP_CONCAT(ll.ll_lang SEPARATOR ', ') AS 'Llistat de llengües' FROM cawiki_p.page p LEFT JOIN cawiki_p.langlinks ll ON p.page_id = ll.ll_from WHERE p.page_namespace = 0 AND p.page_is_redirect <> 1 AND p.page_title IN (SELECT rd.rd_title FROM cawiki_p.page p, cawiki_p.redirect rd WHERE p.page_namespace = 0 AND p.page_is_redirect = 1 AND p.page_id = rd.rd_from AND p.page_title IN ("Ada_Colau"))GROUP BY p.page_title);
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...