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
Bulgu
.
Toggle Highlighting
SQL
USE cawiki_p; SELECT u.user_name, ipb.ipb_expiry, ipb.ipb_reason, ipb.ipb_by_text, ipb.ipb_timestamp , concat("tr.wikipedia.org/wiki/User:",replace(u.user_name," ","_")) as ltr , concat("ca.wikipedia.org/wiki/User:",replace(u.user_name," ","_")) as l2 FROM ipblocks ipb join user u on u.user_id = ipb.ipb_user join trwiki_p.user ut on ut.user_name = u.user_name #left join trwiki_p.ipblocks dig on dig.ipb_user = ut.user_id where ipb.ipb_user>0 #and dig.ipb_user is NULL #order by ut.user_editcount desc, ipb.ipb_timestamp 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...