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
軽快
.
Toggle Highlighting
SQL
use jawiki_p; set @sum = ( select count(*) from logging_logindex as lli where lli.log_type = "thanks" and lli.log_timestamp between 20151231150000 and 20161231145959 ); select lli.log_title as 利用者名, count(*) as 感謝回数, concat(round(count(*)*100/@sum, 2), "%") as 割合 from logging_logindex as lli where lli.log_type = "thanks" and (lli.log_timestamp between 20151231150000 and 20161231145959) group by lli.log_title order by count(*) desc limit 30
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...