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
Huji
.
Toggle Highlighting
SQL
use fawiki_p; SELECT ipb_id, CASE WHEN ipb_user = 0 THEN ipb_address ELSE ( SELECT user_name FROM user WHERE user_id = ipb_user ) END AS block_target, comment_text AS block_reason, ipb_expiry FROM ipblocks JOIN comment ON ipb_reason_id = comment_id WHERE ipb_by_actor = 1374100 -- پالایهٔ ویرایش AND ipb_timestamp > DATE_FORMAT( DATE_SUB(NOW(), INTERVAL 1 DAY), '%Y%m%d000000' ) AND ipb_timestamp < DATE_FORMAT(NOW(), '%Y%m%d000000') ORDER BY ipb_id
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...