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
Strainu
.
Toggle Highlighting
SQL
USE rowiki_p; SELECT CASE rd_namespace WHEN -2 THEN "Media" WHEN -1 THEN "Special" WHEN 0 THEN ":" WHEN 1 THEN "Discuție" WHEN 2 THEN "Utilizator" WHEN 3 THEN "Discuție Utilizator" WHEN 4 THEN "Wikipedia" WHEN 5 THEN "Discuție Wikipedia" WHEN 6 THEN "File" WHEN 7 THEN "Discuție File" WHEN 8 THEN "MediaWiki" WHEN 9 THEN "Discuție MediaWiki" WHEN 10 THEN "Template" WHEN 11 THEN "Template Talk" WHEN 12 THEN "Ajutor" WHEN 13 THEN "Discuție Ajutor" WHEN 14 THEN "Categorie" WHEN 15 THEN "Discuție Categorie" WHEN 100 THEN "Portal" WHEN 101 THEN "Discuție Portal" WHEN 102 THEN "Apendice" WHEN 103 THEN "Discuție Apendice" WHEN 828 THEN "Modul" WHEN 829 THEN "Discuție Modul" ELSE rd_namespace END AS 'NS', rd_title AS 'Țintă', page_title AS 'Redirect', CASE rd_namespace WHEN 14 THEN "" WHEN 100 THEN "" ELSE "!!!" END as "" FROM page JOIN redirect ON redirect.rd_from = page.page_id WHERE page.page_namespace = 0 AND redirect.rd_namespace <> 0 AND NOT (page_title LIKE "WP:%" OR page_title LIKE "P:%" OR page_title LIKE "A:%")
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...