You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 일별 DAU 및 스테이지 플레이 액션 카운트 조회 쿼리 (Play&Sweep)
select DATE_FORMAT(`Timestamp`, '%Y-%m-%d'), COUNT(DISTINCT AgentAddress), count(*) from
(select AgentAddress, `Timestamp` FROM HackAndSlashes WHERE `Timestamp` > '2022-05-14 00:00:00'
union
select AgentAddress, `Timestamp`FROM HackAndSlashSweeps WHERE `Timestamp` > '2022-05-14 00:00:00')
as a GROUP by DATE_FORMAT(`Timestamp`, '%Y-%m-%d')
# 일별 아레나 수행 계정 및 횟수 조회 쿼리
select DATE_FORMAT(`Timestamp`, '%Y-%m-%d'), COUNT(DISTINCT AgentAddress), count(*) from BattleArenas where `Timestamp` > '2022-05-14 00:00:00' GROUP by DATE_FORMAT(`Timestamp`, '%Y-%m-%d')
# 일별 강화 수행 계정 및 횟수 조회 쿼리
select DATE_FORMAT(`Timestamp`, '%Y-%m-%d'), COUNT(DISTINCT AgentAddress), count(*) from ItemEnhancements where `Timestamp` > '2022-05-14 00:00:00' GROUP by DATE_FORMAT(`Timestamp`, '%Y-%m-%d')
#일간 거래량/거래금액/거래인원 집계 쿼리 (품목 통합)
select DATE_FORMAT(`Timestamp`, '%Y-%m-%d') as date, COUNT(OrderId), sum(price), COUNT(DISTINCT SellerAvatarAddress, BuyerAvatarAddress) from (
(select OrderId , SellerAvatarAddress , BuyerAvatarAddress , Price, Timestamp from ShopHistoryConsumables WHERE `Timestamp` > '2022-05-14 00:00:00')
Union all
(select OrderId , SellerAvatarAddress , BuyerAvatarAddress , Price, Timestamp from ShopHistoryCostumes WHERE `Timestamp` > '2022-05-14 00:00:00')
Union all
(select OrderId , SellerAvatarAddress , BuyerAvatarAddress , Price, Timestamp from ShopHistoryEquipments WHERE `Timestamp` > '2022-05-14 00:00:00')
Union all
(select OrderId , SellerAvatarAddress , BuyerAvatarAddress , Price, Timestamp from ShopHistoryMaterials WHERE `Timestamp` > '2022-05-14 00:00:00')
) as a group by DATE_FORMAT(`Timestamp`, '%Y-%m-%d') ORDER BY DATE
# 일별 아레나 수행 계정 및 횟수 조회 쿼리
select DATE_FORMAT(`Timestamp`, '%Y-%m-%d'), COUNT(DISTINCT AgentAddress), count(*) from CombinationEquipments where `Timestamp` > '2022-05-14 00:00:00' GROUP by DATE_FORMAT(`Timestamp`, '%Y-%m-%d')
# 일별 강화 수행 계정 및 횟수 조회 쿼리
select DATE_FORMAT(`Timestamp`, '%Y-%m-%d'), COUNT(DISTINCT AgentAddress), count(*) from CombinationConsumables where `Timestamp` > '2022-05-14 00:00:00' GROUP by DATE_FORMAT(`Timestamp`, '%Y-%m-%d')
The text was updated successfully, but these errors were encountered:
https://planetariumhq.slack.com/archives/C03P5080KJL/p1660285618583749
The text was updated successfully, but these errors were encountered: