mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-20 15:30:50 +00:00
794 lines
38 KiB
Plaintext
794 lines
38 KiB
Plaintext
|
start time: Вт. сент. 17 13:59:45 MSK 2013
|
|||
|
monetdbd is running
|
|||
|
spawn mclient -u monetdb -d hits
|
|||
|
assword:
|
|||
|
Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3)
|
|||
|
Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits'
|
|||
|
Type \q to quit, \? for a list of available commands
|
|||
|
auto commit mode: on
|
|||
|
sql>
|
|||
|
sql>\q
|
|||
|
|
|||
|
times: 1
|
|||
|
query: SELECT UserID, extract (minute from EventTime) AS m, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
|||
|
spawn mclient -u monetdb -d hits
|
|||
|
password:
|
|||
|
Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3)
|
|||
|
Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits'
|
|||
|
Type \q to quit, \? for a list of available commands
|
|||
|
auto commit mode: on
|
|||
|
sql>SELECT UserID, extract (minute from EventTime) AS m, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
|||
|
|