sharing some of my learnings from using Dune Analytics 👨💻
i just built one of my first SQL queries on Dune to track the daily transfer volume of Chainlink ( $LINK ) on Arbitrum network
after writing the query and running it, i visualized the data using a bar chart 🧵

the chart shows that the ATH (all-time high) transfer volume happened on February 19, 2024, hitting around $248M in daily volume

if you’d like to explore my query yourself, you can check it out here:
you can click “Fork” to copy my code
... then just replace the token or blockchain name to any crypto asset you want to analyze!

while working on this, i also learned about the difference between these two SQL operators:
UNION and UNION ALL
both are used to combine results from multiple SELECT queries, but they behave differently!
--
1/
UNION combines multiple query results and removes duplicate rows automatically (like SELECT DISTINCT)
it’s useful when you want unique results only
here’s an example using UNION:

2/
UNION ALL also combines query results... but it keeps all duplicates!
ideally, it's best to use it when you need every row, not just unique ones
here’s an example using UNION ALL:

2,01 тис.
0
Вміст на цій сторінці надається третіми сторонами. Якщо не вказано інше, OKX не є автором цитованих статей і не претендує на авторські права на матеріали. Вміст надається виключно з інформаційною метою і не відображає поглядів OKX. Він не є схваленням жодних дій і не має розглядатися як інвестиційна порада або заохочення купувати чи продавати цифрові активи. Короткий виклад вмісту чи інша інформація, створена генеративним ШІ, можуть бути неточними або суперечливими. Прочитайте статтю за посиланням, щоб дізнатися більше. OKX не несе відповідальності за вміст, розміщений на сторонніх сайтах. Утримування цифрових активів, зокрема стейблкоїнів і NFT, пов’язане з високим ризиком, а вартість таких активів може сильно коливатися. Перш ніж торгувати цифровими активами або утримувати їх, ретельно оцініть свій фінансовий стан.