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 trwiki_p; select now(); select count(*) as toplamRC from recentchanges rc ; select count(*) as toplamSonGun from recentchanges rc where rc.rc_timestamp > DATE_ADD(NOW(), INTERVAL -1 DAY); select count(*) as toplamRCipDegil from recentchanges rc join user u on u.user_id = rc.rc_user where u.user_id > 0; select count(*) as toplamSonGunipDegil from recentchanges rc join user u on u.user_id = rc.rc_user where rc.rc_timestamp > DATE_ADD(NOW(), INTERVAL -1 DAY) and u.user_id > 0; select count(*) as toplam1ay from recentchanges rc where rc.rc_timestamp > DATE_ADD(NOW(), INTERVAL -1 MONTH); select count(*) as toplam31gun from recentchanges rc where rc.rc_timestamp > DATE_ADD(NOW(), INTERVAL -31 DAY); select count(*) as toplam30gun from recentchanges rc where rc.rc_timestamp > DATE_ADD(NOW(), INTERVAL -30 DAY); select count(*) as toplam32gun from recentchanges rc where rc.rc_timestamp > DATE_ADD(NOW(), INTERVAL -32 DAY); SELECT MIN(rc.rc_timestamp) as ilk, DATEDIFF(NOW(),MIN(rc.rc_timestamp)) as farkgun from recentchanges rc; SELECT rc.rc_timestamp, rc.rc_user_text, rc.rc_title from recentchanges rc ORDER by 1 asc limit 100;
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...