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
.
Toggle Highlighting
SQL
USE ptwiki_p; SELECT proposta, página_A, (CASE WHEN página_A IN (SELECT page_title FROM page WHERE page_namespace = 0 AND NOT page_is_redirect) THEN 'existe' WHEN página_A IN (SELECT page_title FROM page WHERE page_namespace = 0 AND page_is_redirect) THEN 'redirecionamento' ELSE 'não existe' END) situação_A, página_B, (CASE WHEN página_B IN (SELECT page_title FROM page WHERE page_namespace = 0 AND NOT page_is_redirect) THEN 'existe' WHEN página_B IN (SELECT page_title FROM page WHERE page_namespace = 0 AND page_is_redirect) THEN 'redirecionamento' ELSE 'não existe' END) situação_B FROM (SELECT CONCAT('Wikipédia:', page_title) proposta, SUBSTR(page_title, 27, LOCATE(';', page_title) - 27) página_A, SUBSTR(page_title, LOCATE(';', page_title) + 2) página_B FROM page WHERE page_namespace = 4 AND page_title LIKE 'Fusão/Central\_de\_fusões/%' AND page_title LIKE '%;%' AND page_title NOT LIKE '%:%' AND page_id IN (SELECT cl_from FROM categorylinks WHERE cl_to LIKE '!Propostas\_de\_fusão\_em\_discussão%') ) p;
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...