Don't forget to congratulate X!

in Hive Statistics4 years ago

A couple of days ago I leveled up and became a Minnow! I shared in one of my posts, but something that caught my attention was that not a lot of people were sharing their tips and tricks on how to level up on hive while creating a post on their achievement. I started questioning myself whether there were many of us leveling up on a daily basis.

I went to @hivesql - of course, like always - and retrieved the info for myself to get to know about it. I actually found out that 141 hive accounts have leveled up so far during Novemeber 2021, and the month it is yet not over! I thought that it might be fun to generate some statistics on this over the past year.

Level-ups Novemeber 2021 (until 27th)

leveltotal
Minnow111
Dolphin26
Orca4

This year so far there hasn't been any Whale level-ups - I am hoping to see some before the year ends!

Level-ups 2021 (so far)

Qlik Sense - Level-ups 2021 - November 27, 2021.png

Some numbers:

LevelJanurayFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovember
Minnow104135128124116137150124119117111
Dolphin2653413322324327252426
Orca13353437554
LevelTotal
Minnow1365
Dolphin352
Orca43

Level-up this week (21st-27th Nov. 2021)

Level-ups 2020

Qlik Sense - Level-ups 2020 - November 27, 2021.png

How to

As always, if you wish to explore the data in more depth, you can do it executing the following queries:

Total amount of level-ups by category during 2021
SELECT COUNT(account) as total, level FROM (SELECT account, 
CASE
    WHEN levelId like 'M' THEN SUBSTRING(body, 179+3*LEN(account), 6)
    WHEN levelId like 'D' THEN SUBSTRING(body, 179+3*LEN(account), 7)
    WHEN levelId like '*' THEN SUBSTRING(body, 180+3*LEN(account), 4)
    WHEN levelId like 'W' THEN SUBSTRING(body, 179+3*LEN(account), 5)
END AS level,
YEAR([created]) AS levelYear,
MONTH([created]) AS levelMonth,
DAY([created]) AS levelDay
FROM (SELECT [parent_author] AS account,
[body],
LEFT(SUBSTRING([body], 179+3*LEN([parent_author]), LEN([body])),1) as levelId,
[created]
FROM [DBHive].[dbo].[Comments]
WHERE [author] LIKE 'hivebuzz' AND body LIKE '%Congratulations%You raised your level and are now %' AND YEAR([created]) LIKE 2021) idTable) levelTable
GROUP BY level
Total amount of level-ups during November
SELECT account, 
CASE
    WHEN levelId like 'M' THEN SUBSTRING(body, 179+3*LEN(account), 6)
    WHEN levelId like 'D' THEN SUBSTRING(body, 179+3*LEN(account), 7)
    WHEN levelId like '*' THEN SUBSTRING(body, 180+3*LEN(account), 4)
    WHEN levelId like 'W' THEN SUBSTRING(body, 179+3*LEN(account), 5)
END AS level
FROM
(SELECT [parent_author] AS account,
[body],
LEFT(SUBSTRING([body], 179+3*LEN([parent_author]), LEN([body])),1) as levelId,
[created]
FROM [DBHive].[dbo].[Comments]
WHERE [author] LIKE 'hivebuzz' AND body LIKE '%Congratulations%You raised your level and are now %' AND YEAR([created]) LIKE 2021 AND MONTH([created]) LIKE 11) idTable

Hopefully you get the idea! You can pretty much just play with those two queries to retrieve anything relevant reegarding level-ups!

Hope you enjoyed this post you can let me know which other queries you would like to see in the future!

Sort:  

Congratulations on becoming a Minnow

Thanks and congrats to you too

Thanks and congrats

Congrads and thank you for the kind words!
!PIZZA !LUV

Thanks and you're welcome!

Thanks so much 😊📸

Keep up the good content!

What level is a minnow? Cause I might not be one anymore once my power down is done 🤣

1mill vesting shares! I can see on your profile that you still are one 😂 I should, however, start doing the analytics accounting for those who power down 😅

Thanks! I've always been meaning to get into Hive SQL but have been putting it off. Hope to find some time in the coming year.

Awesome, you should it's pretty cool and you can learn a lot.

Thanks.

You are welcome!

PIZZA!

PIZZA Holders sent $PIZZA tips in this post's comments:
@m3ss(1/10) tipped @aicoding (x1)

You can now send $PIZZA tips in Discord via tip.cc!