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
Lê Song Vĩ
.
Toggle Highlighting
SQL
USE viwiki_p; SELECT user.user_name AS "Người gửi", COUNT(*) AS "Số lượt gửi", COUNT(DISTINCT wll_receiver) AS "Số người nhận", COUNT(DISTINCT wll_receiver) AS "Số người nhận" FROM wikilove_log INNER JOIN user WHERE wikilove_log.wll_sender = user.user_id GROUP BY user.user_name ORDER BY `Số lượt gửi` DESC LIMIT 20; SELECT user.user_name AS "Người nhận", COUNT(*) AS "Số lượt nhận", COUNT(DISTINCT wll_sender) AS "Số người gửi" FROM wikilove_log INNER JOIN user WHERE wikilove_log.wll_receiver = user.user_id GROUP BY user.user_name ORDER BY `Số lượt nhận` DESC LIMIT 20; SELECT wll_type AS "Loại WikiLove" FROM wikilove_log GROUP BY wll_type; SELECT * FROM wikilove_log LIMIT 1
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...