Query editor
1SELECT 2 COUNT(*) as sold_count,3 SUM(amount_usd) as vol,4 token_pair as pair5FROM6tokenlon_ethereum.trades7GROUP BY token_pair8ORDER BY vol DESC
SELECT
COUNT(*) as sold_count,
SUM(amount_usd) as vol,
token_pair as pair
FROM
tokenlon_ethereum.trades
GROUP BY token_pair
ORDER BY vol DESC