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
Msz2001
.
Toggle Highlighting
SQL
SELECT DATE_FORMAT( DATE_ADD( STR_TO_DATE(rev_timestamp, "%Y%m%d%H%i%s"), INTERVAL 2 HOUR -- Zakładamy, że jesteśmy w CEST, czyli 2 godziny do przodu względem UTC ), "%Y-%m-%d %H:%i:%s" ) AS "Czas", user_name AS "Użytkownik", CONCAT( CASE WHEN page_namespace = 10 THEN "Szablon:" WHEN page_namespace = 14 THEN "Kategoria:" ELSE "" END, REPLACE(page_title, "_", " ") ) AS "Strona" FROM revision JOIN page ON page_id = rev_page JOIN actor ON rev_actor = actor_id JOIN user ON actor_user = user_id WHERE page_namespace IN (0, 10, 14) -- PG, szablon, kategoria AND user_name IN ("Msz2001", "Piastu", "Michał Sobkowski") AND rev_timestamp >= "20220501000000" AND rev_timestamp < "20220930235959";
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...