提交 388bc4ff 编写于 作者: A Alexey Milovidov

Added another test for old issue #1087

上级 0e669495
USE test;
DROP TABLE IF EXISTS installation_stats;
CREATE TABLE installation_stats (message String, info String, message_type String) ENGINE = Log;
SELECT count(*) AS total
FROM
(
SELECT
message,
info,
count() AS cnt
FROM installation_stats
WHERE message_type LIKE 'fail'
GROUP BY
message,
info
ORDER BY cnt DESC
LIMIT 5 BY message
)
DROP TABLE installation_stats;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册