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
Epok
.
Testé et validé le 23/07/2019.
Toggle Highlighting
SQL
USE frwiki_p; SELECT CONCAT("[[Utilisateur:", REPLACE(SUBSTRING(page_title, 1, SUBSTRING_INDEX(page_title, '/', 1)-1), '_', ' '), "|", page_title, "]]") AS sortie FROM page LEFT JOIN `user` /* Get page name, extract substring till char '/' and replace '_' by ' '. This is user name, use it to LEFT JOIN with 'user' table. */ ON user_name = REPLACE(SUBSTRING(page_title, 1, SUBSTRING_INDEX(page_title, '/', 1)-1), '_', ' ') WHERE page_namespace IN (2) AND page_title LIKE "%/%"
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...