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 lli.User_Name, count(*) as lli.Nuber_of_Thanks, concat(round(lli.Nuber_of_Thanks*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 lli.Nuber_of_Thanks 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...